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 / john
select * from table1
union
select * from table2
-- Union will give distinct value of both tables
| Is This Answer Correct ? | 38 Yes | 2 No |
Post New Answer View All Answers
How can i Relate Tables in SSIS
What is use of attribute hierarchy optimized state? : sql server analysis services, ssas
What is shared lock?
What does ss stand for sexually?
How to encrypt Strored Procedure in SQL SERVER?
What programming language would you use to create embedded functions in ssrs?
Explain for xml explicit mode?
What is the use of stored procedure?
List some advantages and disadvantages of stored procedure?
What are the new features introduced in SQL Server 2000 (or the latest release of SQL Server at the time of your interview)? What changed between the previous version of SQL Server and the current version?
What are the types of normalization?
What are the types of ssrs?
How would you go about developing a ssrs report?
How to handle error or exception in sql?
Is mysql the same as sql server?