Re: column does not exist error

From: "Naoko Reeves" <naoko(at)lawlogix(dot)com>
To: "Dave Coventry" <dgcoventry(at)gmail(dot)com>, "pgsql-general General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: column does not exist error
Date: 2009-11-18 13:31:57
Message-ID: 076DC33A3D38CE4BBC64D35DDD9DE70C098DA789@mse4be2.mse4.exchange.ms
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

SELECT title FROM node WHERE type='client'; Would this work?

-----Original Message-----
From: pgsql-general-owner(at)postgresql(dot)org
[mailto:pgsql-general-owner(at)postgresql(dot)org] On Behalf Of Dave Coventry
Sent: Wednesday, November 18, 2009 6:24 AM
To: pgsql-general General
Subject: [GENERAL] column does not exist error

Tearing my hair out, can anyone see what I'm doing wrong?

SELECT title FROM node WHERE type=client;

ERROR: column "client" does not exist
LINE 1: SELECT title FROM node WHERE type=client;

Yet this works:

SELECT type FROM node;
type
--------
client
client
client
client
client
(5 rows)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Kellerer 2009-11-18 13:33:37 Re: column does not exist error
Previous Message Raymond O'Donnell 2009-11-18 13:31:12 Re: column does not exist error