nerdexam
Microsoft

70-457 · Question #30

You support a database structure shown in the exhibit. (Click the Exhibit button.) You need to write a query that displays the following details: - Total sales made by sales people, year, city, and…

The correct answer is C. Option C. The question about BlogEntry is wrong. We need to "append" the text, with the query proposal in the answer, we overwrite the whole string. The correct answer to this question is C.

Manage Data

Question

You support a database structure shown in the exhibit. (Click the Exhibit button.) You need to write a query that displays the following details:

  • Total sales made by sales people, year, city, and country
  • Sub totals only at the city level and country level
  • A grand total of the sales amount

Which Transact-SQL query should you use?

Exhibits

70-457 question #30 exhibit 1
70-457 question #30 exhibit 2

Options

  • AOption A
  • BOption B
  • COption C
  • DOption D

How the community answered

(23 responses)
  • A
    9% (2)
  • B
    17% (4)
  • C
    70% (16)
  • D
    4% (1)

Explanation

The question about BlogEntry is wrong. We need to "append" the text, with the query proposal in the answer, we overwrite the whole string. The correct answer to this question is C.

Topics

#GROUPING SETS#ROLLUP#aggregation#T-SQL

Community Discussion

No community discussion yet for this question.

Full 70-457 Practice