nerdexam
Microsoft

70-433 · Question #109

70-433 Question #109: Real Exam Question with Answer & Explanation

The correct answer is C. SELECT SalesOrderID, FirstName +' ' + LastName as SalesPersonName. See the full explanation below for the reasoning.

Question

You have a table named Sales.SalesOrderHeader and a table named Person.Person. You are tasked to write a query that returns SalesOrderID and SalesPersonName that have an OrderDate greater than 20040101. SalesPersonName should be made up by concatenating the columns named FirstName and LastName from the table named Person.Person. You need to write a query to return data, sorted in alphabetical order, by the concatenation of FirstName and LastName. Which Transact-SQL statement should you use?

Options

  • ASELECT SalesOrderID, FirstName + ' ' + LastName as SalesPersonName
  • BSELECT SalesOrderID, FirstName + ' ' + LastName as SalesPersonName
  • CSELECT SalesOrderID, FirstName +' ' + LastName as SalesPersonName
  • DSELECT SalesOrderID, FirstName + ' ' + LastName as SalesPersonName

Community Discussion

No community discussion yet for this question.

Full 70-433 Practice