column does not exist error

From: Dave Coventry <dgcoventry(at)gmail(dot)com>
To: pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: column does not exist error
Date: 2009-11-18 13:23:38
Message-ID: 4cba5adc0911180523p6ee4c085pe967df012fc5279d@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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)

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Raymond O'Donnell 2009-11-18 13:25:37 Re: Creating new database
Previous Message Vidhya Bondre 2009-11-18 13:16:40 Re: Creating new database