Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have two queries. The first query output is 13 columns and the second has only one column.

How do I concatenate these two queries?
Posted
Updated 13-Jul-10 0:04am
v2

1 solution

You can't. There's no sensible way for you to do it, unless they have an id in common, in which case you should do a single query with a join. If they don't have an id in common, how do you know the number of rows will even be the same ?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900