[thelist] Tricky SQL

rudy r937 at interlog.com
Tue Jun 18 14:27:02 CDT 2002


>  SELECT 'mens', score FROM soccer_mens
>     WHERE gameDate = yesterday" to get
> UNION ALL
>  SELECT 'womens', score FROM soccer_womens
>     WHERE gameDate = yesterday" to get
> UNION ALL
>   et cetera

feh

haste makes waste

see them typos above?  edit them oot

you definitely want a union -- these tables should not be joined


rudy




More information about the thelist mailing list