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 / jagadeesh
select isnull(a.id,b.id) from table1 a
full outer join table2 b
on a.id=b.id
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How to create a view using data from another view?
Explain the xml support sql server extends?
what is an extended stored procedure? Can you instantiate a com object by using t-sql? : Sql server database administration
How we can refresh the view?
Explain what is lock escalation and what is its purpose?
Do you know query execution plan?
Where are sql server usernames and passwords stored in the sql server?
Is it possible for a stored procedure to call itself or recursive stored procedure? How many levels of sp nesting are possible?
What is the default port for SQL Server over a firewall?
What is entity data services?
What are sql server procedures?
What is the difference between DataRow.Delete() and DataRow.Remove()?
Call by value and call by reference in procedure and function, with NOCOPY.
What are the different acid properties?
What is lock escalation and what is its purpose?