2) Consider a Table name A which has below records
ID
---
5
5
5
5
5
Consider another table B which has below records
ID
--
5
5
5
5
5
5
5
5
How many rows will be returned by each of the below queries
a) select * from A inner join B on A.id = b.ID
b) select * from A left join B on A.id = b.ID
c) select * from A right join B on A.id = b.ID
Answer Posted / abhishek6555
Solution :
a) 40 rows
b) 40 rows
c) 40 rows
http://abhishekgaikwadtech.blogspot.in/2015/07/t-sql-interview-question-2.html
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
You want to generate a report that is formatted as a chart. Can you use the report wizard to create such a report?
Explain sql server service broker?
Can we perform backup restore operation on tempdb? : sql server database administration
Do you know the policy based administration feature of sql server 2008?
How can a database be repaired?
If you are given access to a SQL Server, how do you find if the SQL Instance is a named instance or a default instance?
What do you mean by sql server agent?
What are the essential components of sql server service broker?
what is database replication? : Sql server database administration
How to define and use table alias names in ms sql server?
What do you think of this implementation? Can this be implemented better?
Difference between primary key and clustered index?
What is policy management?
What types of replication are supported in sql server?
Why use update_statistics command in sql server?