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

What is the equivalent of date() and time() in asp.net?

513


How can you send an email message from an asp.net web page?

519


What are validator? How do you disable them?

599


List the major built-in objects in asp.net?

542


Please briefly explain the usage of global.asax?

528






Explain diff. Between friend and protected friend?

492


What are the namespace classes used in asp.net mvc? : asp.net mvc

538


What is the use of session in web application?

481


What is application variable?

515


What are the different types of sessions in asp.net? Name them?

674


What is viewstate parameter?

519


How does session authentication work?

505


How many types of state management are there in asp net?

518


How to implement Authentication and Authorization?

560


What is autopost?

518