D. Richard Hipp wrote:
> On Feb 24, 2009, at 2:15 PM, John Elrick wrote:
>
>   
SNIP
>>
>> Is there any way to eliminate the second (select y_value from y where
>> y_id = x_id)?   If so, what would the query look like?
>>
>>     
>
> SELECT coalesce((SELECT y_value FROM y WHERE y_id=x_id), 'darn') FROM x;
>
>   

Thank you.


John
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to