Online Access Free 70-461 Practice Test

Exam Code:70-461
Exam Name:Querying Microsoft SQL Server 2012/2014
Certification Provider:Microsoft
Free Question Number:252
Posted:Jul 21, 2026
Rating
100%

Question 1

You administer a Microsoft SQL Server 2012 database named ContosoDb. Tables are defined as shown in the exhibit. (Click the Exhibit button.)

You need to display rows from the Orders table for the Customers row having the CustomerId value set to 1 in the following XML format.

Which Transact-SQL query should you use?

Question 2

You develop a database for a travel application. You need to design tables and other database objects.
You create a view that displays the dates and times of the airline schedules on a report.
You need to display dates and times in several international formats.
What should you do?

Question 3

You have a SQL Server database that contains all of the sales data for your company.
You need to create a query to update the rows in a table. The solution must write original and updated values to a separate table.
Which clause should you add to the UPDATE statement in the query?

Question 4

You have a data warehouse that contains the data for all the customers of your company.
You need to create a stored procedure that generates a list of customer addresses. The list must meet the following requirements:
* The procedure must accept a string value.
* The procedure should return all customers who reside in a city whose name begins with the provided value.
* If a user provides a blank value, the procedure must execute, and then return a blank result set.
Part of the correct Transact-SQL has been provided in the answer area below. Enter the code in the answer area that resolves the problem and meets the stated goals or requirements. You can add code within code that has been provided as well as below it.


Use the 'Check Syntax' button to verify your work. Any syntax or spelling errors will be reported by line and character position.

Question 5

You develop a SQL Server database for an online theater sales company. The database includes the following four tables:

The following diagram shows the tables and their relationships:

Add Comments

Your email address will not be published. Required fields are marked *

insert code
Type the characters from the picture.