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
Explain the truncate command? : SQL Server Architecture
Does hive support indexing?
What is normalization process?
What do you mean by collation recursive stored procedure?
What is single-user mode and what are the steps you should follow to start sql server in single-user mode?
Explain contrast amongst grouped and non-bunched records?
What stored by the model? : sql server database administration
mention different types of relationships in the dbms?
Can you name a few encryption mechanisms in sql server?
What is the difference between ddl and dml?
Explain what are the basic functions for master, msdb, model, tempdb databases?
What is a result set object returned by mssql_query()?
How many types of cursor type are there?
What are points to remember while using the fillfactor argument?
Explain different backup plans?