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 |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2005-10-31 : 18:54:34
|
| Doug writes "I want to meet two conditions which must be met to get my query.the 1st WHERE clause is >15 from 1 table and the other Where clause that has to be met is a name from another table. How is this done?" |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2005-10-31 : 19:36:43
|
emmm... what???maybe:select * from table1 t1 join table2 t2 on t1.id = t2.idwhere t1.col1 > 15 and t2.name = 'some value'Go with the flow & have fun! Else fight the flow |
 |
|
|
|
|
|