There is a table1 with records (1,2,3,4,5,6) and table2
with records (4,5,6,7,8,9).write a query so as to get the
result as 1,2,3,4,5,6,7,8,9
Answer Posted / guru
Union gives the result in two records
We have to use cross join like below
select * from table1,table2
| Is This Answer Correct ? | 0 Yes | 8 No |
Post New Answer View All Answers
What is acid db?
How many columns can we include on clustered index ?
How can I tell if sql server is 32 or 64 bit?
can a database be shrunk with users active? : Sql server administration
How to call a function from a stored procedure in SQL Server ?
Do you know query execution plan?
State the difference between union and union all?
What is difference between global temporary tables and local temporary tables?
What is an example of a primary key?
What is database black box testing?
Explain sql delete command?
How do you send email on SQL Server?
How to check if a table is being used in sql server?
what purpose does the model database serve? : Sql server database administration
How to delete multiple rows with one delete statement in ms sql server?