Re: matching empty column - Mailing list pgsql-novice

From Alan Hodgson
Subject Re: matching empty column
Date
Msg-id 200608241031.29263@hal.medialogik.com
Whole thread Raw
In response to matching empty column  (Srinivas Iyyer <srini_iyyer_bio@yahoo.com>)
List pgsql-novice
On Thursday 24 August 2006 10:27, Srinivas Iyyer <srini_iyyer_bio@yahoo.com>
wrote:
>  tar_id | mid   | seq_id | lscore
> --------+-------+--------+--------
>   32014 |       |  50473 |    814
>   32015 |    67 |  50473 |    814
> The mid column is empty in certain places. how can I
> search if there are empty spaces in mid.
>

select tar_id from table where mid is null;

(assuming it's a numeric and not a text field set to '')

--
Alan

pgsql-novice by date:

Previous
From: Srinivas Iyyer
Date:
Subject: Re: matching empty column
Next
From: Bruno Wolff III
Date:
Subject: Re: matching empty column