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
What is difference between asp.net and asp?
What is a 404 redirect?
What does mvc represent in asp.net? : asp.net mvc
Why we use asp.net for website development?
What is a server farm in iis?
Describe in brief .net framework and its components.
What types of data validation events are commonly seen in the client-side form validation?
Will the asp.net validators run in server side or client side?
What is the use of express session?
Define session in asp.net.
What can you do with asp.net?
What are the merits and demerits of viewstate?
How can exception be handled with out the use of try catch?
What is the difference between table and query?
Explain the difference between server.transfer and response.redirect? Why would I choose one over the other?