Quiz Yourself: Subqueries
Test your knowledge of subqueries in T-SQL.
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;
Question 1 of 50 attempted
Get hands-on with 1400+ tech skills courses.