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 to display Alert in ASP.NET

735


Explain difference betn dataset and recordset?

614


What is caching in asp.net?

649


How do you do client-side validation in .net? How to disable validator control by client side javascript?

622


Types of instancing properties and explain each. Tell the difference between multiuse,singleuse and globalmultiuse and which is default ?

2375






Why session management is required?

640


Explain managed code an un-managed code.

686


Explain About WebService

763


What is the Intermittent crashing of application in production?

650


What are session state modes? List some of the important session state modes of asp.net.

628


Explain what does mvc represent in asp.net? : asp.net mvc

589


Why do you use the app_code folder in asp.net?

639


What is asp.net file?

726


What are the different authentication modes in asp.net?

619


Why do we need master page in asp.net?

617