Consider the following tables:
Customers
- - - - - - - -
Customerid
Customername
Address
Orders
- - - - -
Orderid
Customerid
Orderdate
Comments
What will be the query to fetch Customername and 1st Orderdate for order placed by each customer?
Correct Answer: Select Customers.Customername,(Select Min(Orderdate) From Orders Where Customers.Customerid=Orders.Customerid) From Customers
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Microsoft SQL Server MCQ Questions