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.
| Author |
Topic |
|
gb143
Starting Member
1 Post |
Posted - 2001-10-22 : 11:10:15
|
| Hey everyone, I have two tables.ADDRESSdr_idtypeaddr1citystatezipandDrNAMEdr_idfnamelnamespecialtyorgEach doctor can have multiple address. They are seperated in ADDRESS by the field TYPE in ADDRESS. 1,2,3,4,5,6,7,8I currently do an inner join query where i want all the doctors with (3 or 6) as the typeso i get multiple records if they have two type 3's or both 3 and 6 or 3 and two 6's.No matter how many 3's or 6's they have, i just want the doctor name to appear one time.instead ofDr Bill Hospital 3Dr Bill Hospital 3Dr Bill Hospital 6Dr BOB Hospital 6I would like to see just one of those recordsDr Bill Hospital 3Dr BOB Hospital 6Edited by - gb143 on 10/22/2001 11:16:55 |
|
|
|
|
|