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 / ar prabhakaran

d) Only the matching records from the two tables.

JOIN will return only matching column values from both tables.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you get asp.net running in apache web servers? Explain it's limitations.

529


What is the purpose of asp.net?

536


Explain difference between dataset and datareader?

602


How would you create a permanent cookie?

566


Define the types of configuration files.

530






What is the differences between a primary key and a unique key in sql server?

534


What is smpte vc-1?

549


Differentiate between a page theme and a global theme?

519


Explain the advantages of caching?

529


Explain the main function of razor in asp.net? : asp.net mvc

585


What is the function used for removing an event listener?

544


Which is better session or viewstate?

508


What are the types of authentication in asp.net?

549


What is a 401 redirect?

505


What is asp according to you?

526