exam questions

Exam 70-761 All Questions

View all questions & answers for the 70-761 exam

Exam 70-761 topic 1 question 189 discussion

Actual exam question from Microsoft's 70-761
Question #: 189
Topic #: 1
[All 70-761 Questions]

DRAG DROP -
You are developing a training management solution. You run the following Transact-SQL statement:

You need to create an indexed view to return all the courses where the value of TrainerEval is equal to or higher than 8.5.
Which three Transact-SQL segments should you use to develop the solution? To answer, move the appropriate Transact-SQL segments from the list of Transact-
SQL segments to the answer area and arrange them in the correct order.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:
References:
https://docs.microsoft.com/en-us/sql/relational-databases/views/create-indexed-views

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Vermonster
4 years, 5 months ago
view must be created WITH SCHEMABINDING and first index must be UNIQUE CLUSTERED
upvoted 1 times
...
Jangstar
4 years, 9 months ago
You would need a GO batch separator to run it. CREATE in general has to be the first statement in a batch, otherwise the code is fine since it doesn't talk about what comes before it.
upvoted 1 times
Andy7622
4 years, 6 months ago
'GO' is proprietary for SSMS.
upvoted 1 times
...
...
Anette
5 years ago
it shows error: Incorrect syntax near the keyword 'create'.
upvoted 1 times
Andy7622
4 years, 6 months ago
it won't work in one batch .
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...