Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section. You will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have a database that includes the tables shown in the exhibit (Click the Exhibit button.)
You need to create a Transact-SQL query that returns the following information:
✑ the customer number
✑ the customer contact name
✑ the date the order was placed, with a name of DateofOrder
✑ a column named Salesperson, formatted with the employee first name, a space, and the employee last name
✑ orders for customers where the employee identifier equals 4
The output must be sorted by order date, with the newest orders first.
The solution must return only the most recent order for each customer.
Solution: You run the following Transact-SQL statement:
Does the solution meet the goal?
chaoxes
Highly Voted 4 years, 11 months agoBillybob0604
Most Recent 4 years, 5 months agoVermonster
4 years, 5 months agoSimSql
4 years, 6 months agoAndy7622
4 years, 7 months agoAEscajeda
4 years, 8 months agoOooo
4 years, 9 months agoBabyBee
4 years, 6 months agoBacky
4 years, 11 months agoBacky
4 years, 11 months agomamarach
5 years agoAnette
5 years, 1 month agoAnette
5 years, 1 month agoRicky7876
5 years, 1 month agohumpp
5 years, 2 months agomoehijawe
5 years, 5 months agojortizhuedo
5 years, 3 months agoVanesa30
5 years, 3 months agogeekeek1
4 years, 5 months agoavramov
5 years, 7 months agoAbhilash_KK
5 years, 9 months agoM4x
5 years, 9 months agoTr4ckz
5 years, 8 months agoAlmosawi
5 years, 8 months agoAndy7622
4 years, 7 months agoexam_taker5
5 years, 11 months agoAshleyLiang
5 years, 10 months agoM4x
5 years, 9 months ago