pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Elphick <olly@lfix.co.uk>
To: KH Lim <limspirit@hotmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Problem with the postgresql operator.
Date: 15 Jan 2002 10:35:22 +0000
Message-ID: <1011090923.9010.32.camel@linda> (raw)
In-Reply-To: <OE675sUJliuVPPfnkR30000cd43@hotmail.com>
References: <OE675sUJliuVPPfnkR30000cd43@hotmail.com>

On Tue, 2002-01-15 at 06:39, KH Lim wrote:
> Dear All,
> 
>     What is the correct operator for not equal to in select statement? I'm a bit confuse.
> 
> Situation
> 
> Let say I want to select stock_key from stock_lot with the condition stock_lot's lot_no is not equal to stocks' lot_no. What select statement should I use?

The operator is != 

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C

     "For I know that my redeemer liveth, and that he shall 
      stand at the latter day upon the earth"             
                                       Job 19:25 

view thread (4+ messages)  latest in thread

Message-ID: <1011090923.9010.32.camel@linda>
Permalink:  ../1011090923.9010.32.camel@linda/
Also on:    postgresql.org/message-id/1011090923.9010.32.camel@linda

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: olly@lfix.co.uk, limspirit@hotmail.com
  Subject: Re: Problem with the postgresql operator.
  In-Reply-To: <1011090923.9010.32.camel@linda>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox