Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: SQL command/I'm stuck

Re: SQL command/I'm stuck

From: ImPrecise <f_puhan_at_precise.com>
Date: Sun, 30 Jun 2002 00:02:11 -0400
Message-ID: <f_puhan-1CA576.00021130062002@vienna7.his.com>


In article <c0f10b81.0206291932.46a7e7c2_at_posting.google.com>,  chico8574_at_hotmail.com (Ric) wrote:

> I'm using SQL 8.0.
>
> I have translated the English sentence of "Get supplier numbers and
> status for suppliers in Paris" to the SQL command:
>
> select s#, status from supplier where upper(city) = 'PARIS';
>
> I don't know what to type for "Get color and city for "non Paris"
> parts with weight greater than 10 (hint: <> is the operator for not)"
>
> Any help would be appreciated.

SELECT
  color, city
FROM
  supplier
WHERE
  UPPER(city) != 'PARIS'
AND
  WEIGHT > 10
/

-- 
The underscore character does not belong in my address. You know the drill...
***
Anyone sufficiently smart enough to configure and use USEnet for research should
be smart enough to Read The Freakin' Documentation!
Received on Sat Jun 29 2002 - 23:02:11 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US