Re: I don't understand...

From: "Gabor Csuri" <gcsuri(at)coder(dot)hu>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: I don't understand...
Date: 2001-05-21 11:09:09
Message-ID: 9east6$1uos$1@news.tht.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi All again,

after I deleted the "null row" from carname:
SELECT DISTINCT h_name
FROM haszon
WHERE h_name NOT IN (SELECT cn_name FROM carname)

+---------------+
| h_name |
+---------------+
| DAEWOO-FSO |
| DAEWOO-LUBLIN |
| GAZ |
| TATA |
+---------------+
Query OK, 4 rows in set (0,13 sec)

It's working now, but is it correct?

Bye, Gabor.

> I think it's good, but
> SELECT DISTINCT h_name
> FROM haszon
> WHERE h_name NOT IN (SELECT cn_name FROM carname)
>
> +--------+
> | h_name |
> +--------+
> +--------+
> Query OK, 0 rows in set (0,10 sec)
>
> Why ?
>
> postgres-7.1 rpm on RedHat 7.0
>
> Thanks, Gabor

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Arsalan Zaidi 2001-05-21 11:46:31 Using 7.1rc1 under RH 6.2
Previous Message Patrick Welche 2001-05-21 11:08:17 Re: cvs snapshot compile problems