You are here: Re: SQL Query Help « MsSQL Server « IT news, forums, messages
Re: SQL Query Help

Posted by das on 05/19/06 21:36

Untested reply:

You would need 2 queries, first will be the same one that you have in
the select list, the other inner query will basically return you the
list of individuals who have the 'AC1' in their ATTRIB_DEF field.

select .... from ..
where individual not in (select disintct individual from ... where
ATTRIB_DEF like '%AC1%')

Hope that helps.

 

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

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