070-461 무료 덤프문제 온라인 액세스
| 시험코드: | 070-461 |
| 시험이름: | Querying Microsoft SQL Server 2012/2014 |
| 인증사: | Microsoft |
| 무료 덤프 문항수: | 252 |
| 업로드 날짜: | 2026-11-29 |
A database contains tables as shown in the exhibit. (Click the Exhibit button.) Customer who are inactive are moved from the Customers table to the InactiveCustomers table. Any orders for inactive customers are removed from the Orders table.
You write the following SELECT statement to return all the inactive customers:
SELECT CustomerId FROM InactiveCustomers
You need to extend the SELECT statement to include customers who do not have any orders.
Which four 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.
Exhibit

You are working with a table that has an XML column that contains information about books. Each book may have an associated price.
You need to write with a query that returns the price of each book as a non-xml value.
Which XML method should you use?
You are creating queries for a shopping cart application.
You have the following requirements:
* Query1 must list products where less than 100 units have been sold in total.
* Query2 must list products where more than 10 units have been sold in a single order.
You need to identify the correct sub-queries to complete the outer queries that you have written.
Which Transact-SQL statement or statements should you use? To answer, drag the appropriate SQL statements to the correct locations. Each SQL statement may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
You develop a Microsoft SQL Server database. You design a table to store product information. The table is defined as follows:
You need to meet the following requirements:
* If a product has a product category value "REGULAR", the product should have a sub-category with a length of two characters.
* If a product has the product category other than "REGULAR", the product may or may not have a sub-category.
Which Transact-SQL statement should you use?
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.

