Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 TSQL Query

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2000-12-12 : 14:01:36
Arun writes "select patient_id from perscription where drug_cd in ('Asprin','Advil')

This select statement gives result set or either and both.

The result set I require is patients which have been prescribed both only not one or the other."
   

- Advertisement -