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 |
Johnph
Posting Yak Master
103 Posts |
Posted - 2013-06-05 : 15:55:49
|
I have two tables that looks like this:COL1123456COL2ABCI need this result:COL1 COL21 A1 B1 C2 A2 B2 C3 A3 B3 C4 A4 B4 C5 A5 B5 C |
|
James K
Master Smack Fu Yak Hacker
3873 Posts |
Posted - 2013-06-05 : 17:29:16
|
[code]SELECT a.COL1, b.COL2 FROM TableA a CROSS JOIN TableB BORDER BY a.COL1, b.COL2[/code] |
 |
|
Bustaz Kool
Master Smack Fu Yak Hacker
1834 Posts |
Posted - 2013-06-05 : 19:45:14
|
WHERE Col1 < 6=================================================May my silences become more accurate. -Theodore Roethke (1908-1963) |
 |
|
|
|
|