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 / alka
say table1 has col1 & table2 has col1 column
select col1 from table1
union
select col2 from table2
| Is This Answer Correct ? | 8 Yes | 4 No |
Post New Answer View All Answers
How many categories of functions based their return modes?
What is the use of keyword with encryption.
What is DCL?
How do I start and stop sql server?
how can you attach more than 20 ldf files in sql server
what is the difference in login security modes between v6.5 and 7.0? : Sql server database administration
Tell me what is fill factor?
What are the advantages of using cte?
What is lookup override?
How to create a dml trigger using create trigger statements?
List the advantages of using stored procedures?
Why use stored procedures in sql server?
What do you mean by subquery?
What is row-level compre?
‘Order by’ is not allowed in a view how can you sort information from a view?