Free Microsoft 70-461 Exam Dumps Questions & Answers
| Exam Code/Number: | 70-461Join the discussion |
| Exam Name: | Querying Microsoft SQL Server 2012/2014 |
| Certification: | Microsoft |
| Free Question Number: | 252 |
| Publish Date: | Aug 07, 2026 |
| # of views: | 4535 |
|
|
|
You have a database that contains the following related tables:
You create a view named OrderSummary by using the following Transact-SQL statement:
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
You develop a Microsoft SQL Server database that contains a table named Employee, defined as follows:
You need to create a view that contains two computed columns representing the month and the year of the [HireDate] of each Employee.
Which function should you use?
You administer a Microsoft SQL Server 2012 database named ContosoDb. The database contains a table named Suppliers and a column named IsActive in the Purchases schema. You create a new user named ContosoUser in ContosoDb. ContosoUser has no permissions to the Suppliers table. You need to ensure that ContosoUser can delete rows that are not active from Suppliers. You also need to grant ContosoUser only the minimum required permissions. Which Transact-SQL statement should you use?
You have a database named Sales that contains the tables shown in the exhibit. (Click the Exhibit button).
You need to create a query for a report. The query must meet the following requirements:
* NOT use object delimiters.
* Use the first initial of the table as an alias.
* Return the most recent order date for each customer.
* Retrieve the last name of the person who placed the order.
The solution must support the ANSI SQL-99 standard.
Part of the correct T-SQL statement has been provided in the answer area. Provide the complete code.
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?
