What does the following SQL statement return, assuming that
all tables and column names are correct?
SELECT FirstName, StreetAddress
FROM Employees
JOIN AddressBook
ON Employees.EmpID = AddressBook.EmpID

a) Nothing, the JOIN syntax is wrong.
b) All the records form the Employees table, and only the
matching ones form the StreetAddress table.
c) All the records from the StreetAddress table and only the
matching records form the Employees table.
d) Only the matching records from the two tables.

Answer Posted / vivek

simply ans : D

becoz single JOIN means "inner join" which return common
record

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the layouts of ASP.NET Pages?

709


What are the elements of a website?

623


explain code with multi inhertance

1732


How can you debug your.net application?

640


How do I know asp.net mvc version? : Asp.Net MVC

603






What are the advantages of using Master Pages?

692


What is bson in web api?

717


What is anonymous authentication?

681


How many types of session state management options available in asp.net?

657


What is & in a url?

631


Where is session cookies stored?

615


What are the various ways to send content from one page to another?

611


How can we identify that the page is post back in asp net?

595


Difference between using directive vs using statement?

595


What is a session government?

581