Re: Using AND in query

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: aravind chandu <avin_friends(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Using AND in query
Date: 2010-08-07 21:10:54
Message-ID: 4C5DCBDE.7010903@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 07/08/2010 20:40, aravind chandu wrote:

> condition in where clause :
> table.date in date() to date() and table.item = "laptop" and table.item
> = "Desktop"

I don't think this is correct - you need "BETWEEN".

Ray.

--
Raymond O'Donnell :: Galway :: Ireland
rod(at)iol(dot)ie

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Kellerer 2010-08-07 21:18:15 Re: Using AND in query
Previous Message aravind chandu 2010-08-07 19:40:41 Using AND in query