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 / swetha

40 rows but using cross join we can get no of rows

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you move the resources after pausing the node? : sql server database administration

594


What is format parameter in ssrs?

109


Write a SQL queries on Self Join and Inner Join.

615


What is the difference between grant and with grant while giving permissions to the user?

506


What are the different index configurations a table can have?

511






How do I uninstall sql server 2014?

518


Explain the microsoft sql server delete command? : SQL Server Architecture

580


How except clause is differs from not in clause?

536


What are the types of table?

546


What is the sql server agent?

584


How to divide query output into multiple groups with the group by clause in ms sql server?

563


How do you implement session management in SQL Server mode?

554


what's new in sql server 2016?

557


Which autogrowth database setting is good?

615


How to write an inner join with the where clause in ms sql server?

553