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 |
|
rluxmi
Starting Member
6 Posts |
Posted - 2009-05-14 : 14:26:57
|
| I have this query and I would like to present it using EXISTs. How do I do it?select distinct j1.j# from spj j1, spj j2 where j1.p# = j2.p# and j2.s = 's1';thanks |
|
|
Lamprey
Master Smack Fu Yak Hacker
4614 Posts |
Posted - 2009-05-14 : 15:16:17
|
| What have you tried so far? |
 |
|
|
rluxmi
Starting Member
6 Posts |
Posted - 2009-05-14 : 15:20:53
|
| It works now...thanks |
 |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2009-05-14 : 15:30:04
|
Excellent! E 12°55'05.63"N 56°04'39.26" |
 |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2009-05-14 : 22:36:55
|
Congratulation. You have acquired the zen of learning.[spoiler]T R Y[/spoiler] KH[spoiler]Time is always against us[/spoiler] |
 |
|
|
|
|
|