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 - 2006-06-12 : 09:53:11
|
mahesh writes "hello,anybody please convert the query into ANSI sql standard: SELECT TABLE1.xyz,TABLE2.abc,FROM TABLE2 a, TABLE1, TABLE2 WHERE a.pub_id = 3211702 AND ( a.ww IS NULL OR a.ww = 0 ) AND ( TABLE1.deleted IS NULL OR TABLE1.deleted = 0 ) AND TABLE1.gg_id = a.pp_id AND TABLE1.root_id = 10000546 AND TABLE1.xyz *= TABLE2.xyz AND TABLE2.publication_id = 3211702 AND ( TABLE2.aa IS NULL OR TABLE2.aa = 0 ) ORDER BY TABLE1.xx, TABLE1.yy,TABLE1.zzTHanks & Regards,MAhesh Sony" |
|
AndrewMurphy
Master Smack Fu Yak Hacker
2916 Posts |
Posted - 2006-06-13 : 08:55:35
|
select * from table2 ainner join table1 on x=yinner join table2 on c=dwhere q=wetc....try to fill in the blanks for yourself and experience some learning. |
|
|
Arnold Fribble
Yak-finder General
1961 Posts |
Posted - 2006-06-13 : 09:42:04
|
TABLE1.xyz *= TABLE2.xyzturns into a LEFT OUTER JOIN. |
|
|
|
|
|