...

/

Quiz Yourself: Subqueries

Quiz Yourself: Subqueries

Test your knowledge of subqueries in T-SQL.

We'll cover the following...

Subqueries Quiz

1.

Consider the following query:

INSERT INTO Orders (CustomerId, ItemId, Price, Address, OrderDate)

(Select all that apply.) Which option(s) are valid for the above INSERT INTO statement?

A.
SELECT * FROM OrderHistory;
B.
SELECT Id, Id FROM Items;
C.
SELECT ClientNumber, ArticleId, SalesPrice, DeliverTo, GETDATE() FROM DeliveryHistory;
D.
SELECT ClientName, ArticleName, SalesPrice, DeliverTo, GETDATE() FROM DeliveryHistory;

1 / 5