You are here: Re: Selecting on multiple tables « MsSQL Server « IT news, forums, messages
Re: Selecting on multiple tables

Posted by Henrik Goldman on 10/02/42 11:55

> SELECT u.username
> FROM users u
> WHERE NOT EXISTS (SELECT *
> FROM users_groups ug
> WHERE u.userid = ug.userid
> AND ug.group = 'Windows')
>
>

Thanks thats perfect. I didn't even know you could do that syntax. I guess I
learned something new today.

-- Henrik

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация