Microsoft Querying Data with Transact-SQL - 070-761

Microsoft 070-761 test insides dumps
  • Exam Code: 070-761
  • Exam Name: Querying Data with Transact-SQL
  • Updated: Oct 23, 2026
  • Q & A: 205 Questions and Answers
Already choose to buy "PDF"
Price: $59.99 

About Microsoft Querying Data with Transact-SQL : 070-761 exam dumps

Good after-sales service is patience, courtesy, and respect — around the clock. The PassExamDumps team handles every question about the Microsoft Querying Data with Transact-SQL materials 24/7, and treats reputation as something earned one customer at a time. In 2026, that standard comes with every 070-761 exam purchase.

Microsoft 070-761 Exam Syllabus Topics:
SectionWeightObjectives
Topic 1: Program databases by using Transact-SQL25-30%- Create database programmability objects by using Transact-SQL
  • 1. Create user-defined functions
  • 2. Create views
  • 3. Create stored procedures
- Implement data types and NULLs
  • 1. Use implicit and explicit conversions
  • 2. Handle NULL values
  • 3. Choose appropriate data types
- Implement error handling and transactions
  • 1. Use TRY...CATCH
  • 2. Manage transaction isolation
  • 3. Implement transactions
  • 4. Use THROW and RAISERROR
Topic 2: Manage data with Transact-SQL40-45%- Query multiple tables by using joins
  • 1. Write queries using outer joins
  • 2. Handle NULL values in join columns
  • 3. Write queries using cross joins
  • 4. Write queries using inner joins
  • 5. Write queries using self joins
- Modify data
  • 1. Write UPDATE statements
  • 2. Write DELETE statements
  • 3. Use the OUTPUT statement
  • 4. Write INSERT statements
- Create Transact-SQL SELECT queries
  • 1. Identify proper SELECT query structure
  • 2. Write queries to satisfy business requirements
  • 3. Construct results from multiple queries using set operators
  • 4. Distinguish between UNION and UNION ALL behavior
  • 5. Identify queries that return expected results based on table structure or data
- Implement functions and aggregate data
  • 1. Use aggregate functions
  • 2. Use scalar functions
  • 3. Use GROUP BY and HAVING
  • 4. Use ranking functions
Topic 3: Query data with advanced Transact-SQL components30-35%- Query data by using subqueries and APPLY
  • 1. Use correlated and non-correlated subqueries
  • 2. Use EXISTS and NOT EXISTS
  • 3. Use APPLY
- Query temporal and non-relational data
  • 1. Query temporal tables
  • 2. Output results as XML or JSON
  • 3. Query JSON data
  • 4. Query XML data
- Query data by using table expressions
  • 1. Use common table expressions
  • 2. Use views
  • 3. Use inline table-valued functions
  • 4. Use derived tables
- Group and pivot data by using queries
  • 1. Use ROLLUP and CUBE
  • 2. Use grouping sets
  • 3. Use PIVOT and UNPIVOT

070-761 Exam Facts and Product Details

Patient, courteous, and available around the clock. Our team handles Microsoft Querying Data with Transact-SQL questions 24/7 with genuine respect for your time — whether you need help downloading, installing, or understanding an update. We treat our reputation as something earned one customer at a time, which is why so many candidates who finish the 070-761 exam with us come back when their next certification appears on the horizon.

No formal prerequisite exam. Intended for SQL Server database administrators, system engineers, and developers with two or more years of experience writing Transact-SQL queries. Exam 70-762 was also required to earn MCSA: SQL 2016 Database Development.

A dedicated team of experts compiles the Microsoft Querying Data with Transact-SQL question bank and maintains it continuously: new questions are added as the exam evolves in the market, and the content is recomposed against the latest syllabus and trends. Difficult topics are distilled into clear, study-friendly form, and every answer is expert-verified. The 070-761 exam bank you buy is a living product, not a frozen file.

The 070-761 exam is the official assessment behind the Microsoft Querying Data with Transact-SQL certification from Microsoft. Credentials like this carry weight because they demonstrate something specific: the ability to solve problems under pressure, verified by an independent exam. In a competitive field, that visible proof of skill is what helps a candidate stand out — and thorough preparation is what earns it.

Passing the 070-761 exam requires 700/1000, and registration costs $165 USD. Success takes perspiration — and a smart way to spend it, which is exactly what objective-aligned practice with verified answers provides.

The official outline divides the 070-761 exam into weighted domains, including:

  • Program databases by using Transact-SQL (25-30%)
  • Query data with advanced Transact-SQL components (30-35%)
  • Manage data with Transact-SQL (40-45%)

The Microsoft Querying Data with Transact-SQL bank at PassExamDumps is recomposed against this syllabus whenever it shifts, so the material tracks the exam's own direction.

The 070-761 exam contains 40-60 questions with 120 minutes minutes to complete them. Solving problems under time pressure is a skill of its own — and timed practice is how you build it.

Microsoft Querying Data with Transact-SQL Sample Questions:
Question #1

You create a table named Sales.Categories by running the following Transact-SQL statement:

You add the following data to the table.

You need to create a query that uses a common table expression (CTE) to show the parent category of each category. The query must meet the following requirements:
* Return all columns from the Categories table in the order shown.
* Exclude all categories that do not have a parent category.
Construct the query using the following guidelines:
* Name the expression ParentCategories.
* Use PC as the alias for the expression.
* Use C as the alias for the Categories table.
* Use the AS keyword for all table aliases.
* Use individual column names for each column that the query returns.
* Do not use a prefix for any column name.
* Do not surround object names with square brackets.

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 the 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. You may check syntax as many times as needed.

Reveal Solution  Discussion  0

Correct Answer:

Please see explanation
Explanation
1 WITH ParentCategories pc (CategoryID, Name, PatentCategoryID) AS (SELECT c.categoryID,c.name,c.parentcategoryid
2 FROM sales.categories c
3 WHERE parentcategoryid is not null
4 )
5 SELECT * FROM parentcategories
Note: On Line 1 replace c with WITH ParentCategories pc (CategoryID, Name, PatentCategoryID) AS Note: The basic syntax structure for a CTE is:
WITH expression_name [ ( column_name [,...n] ) ]
AS
( CTE_query_definition )
References: https://technet.microsoft.com/en-us/library/ms190766(v=sql.105).aspx

Question #2

You need to create a table named Sales that meets the following requirements:

Which Transact-SQL statement should you run?

  • A. Option D
  • B. Option C
  • C. Option A
  • D. Option B
Reveal Solution  Discussion  0

Correct Answer: D  🗳️

Explanation: Only visible for PassExamDumps members. You can sign-up / login (it's free).

Question #3

A company's sales team is divided in two different regions, North and South. You create tables named SalesNorth and SalesSouth. The SalesNorth table stores sales data from the North region. The SalesSouth table stores sales data from the South region. Both tables use the following structure:

You need to create a consolidated result set that includes all records from both tables.
Which Transact-SQL statement should you run?

  • A. SELECT SalesNorth.salesID, SalesNorth.customer,
    SalesNorth.amount, SalesSouth.salesID, SalesSouth.customer,
    SalesSouth.amount
    FROM SalesNorth
    LEFT JOIN SalesSouth
    ON SalesNorth.salesID=SalesSouth.salesID
  • B. SELECT SalesNorth.salesID, SalesNorth.customer,
    SalesNorth.amount, SalesSouth.SalesID, SalesSouth.customer,
    SalesSouth.amount
    FROM SalesNorth
    JOIN SalesSouth ON SalesNorth.salesID = SalesSouth.salesID
  • C. SELECT salesID, customer, amount
    FROM SalesNorth
    UNION ALL
    SELECT salesID, customer, amount
    FROM SalesSouth
  • D. SELECT salesID, customer, amount
    FROM SalesNorth
    UNION
    SELECT salesID, customer, amount
    FROM SalesSouth
Reveal Solution  Discussion  0

Correct Answer: C  🗳️

Explanation: Only visible for PassExamDumps members. You can sign-up / login (it's free).

Question #4

Note: This question is part of a series of questions that use the same scenario. For your convenience, the scenario is repeated in each question. Each question presents a different goal and answer choices, but the text of the scenario is exactly the same in each question in this series.
Start of repeated scenario
You have a database that contains the tables shown in the exhibit. (Click the Exhibit button.)

You review the Employee table and make the following observations:
- Every record has a value in the ManagerID except for the Chief Executive Officer (CEO).
- The FirstName and MiddleName columns contain null values for some records.
- The valid values for the Title column are Sales Representative manager, and CEO.
You review the SalesSummary table and make the following observations:
- The ProductCode column contains two parts: The first five digits represent a product code, and the last seven digits represent the unit price. The unit price uses the following pattern: ####.##.
- You observe that for many records, the unit price portion of the ProductCode column contains values.
- The RegionCode column contains NULL for some records.
- Sales data is only recorded for sales representatives.
You are developing a series of reports and procedures to support the business. Details for each report or procedure follow.
Sales Summary report: This report aggregates data by year and quarter. The report must resemble the following table.

Sales Manager report: This report lists each sales manager and the total sales amount for all employees that report to the sales manager.
Sales by Region report: This report lists the total sales amount by employee and by region. The report must include the following columns: EmployeeCode, MiddleName, LastName, RegionCode, and SalesAmount. If MiddleName is NULL, FirstName must be displayed. If both FirstName and MiddleName have null values, the world Unknown must be displayed/ If RegionCode is NULL, the word Unknown must be displayed.
Report1: This report joins data from SalesSummary with the Employee table and other tables. You plan to create an object to support Report1. The object has the following requirements:
- be joinable with the SELECT statement that supplies data for the report
- can be used multiple times with the SELECT statement for the report
- be usable only with the SELECT statement for the report
- not be saved as a permanent object
Report2: This report joins data from SalesSummary with the Employee table and other tables.
You plan to create an object to support Report1. The object has the following requirements:
Sales Hierarchy report. This report aggregates rows, creates subtotal rows, and super-aggregates rows over the SalesAmount column in a single result-set. The report uses SaleYear, SaleQuarter, and SaleMonth as a hierarchy. The result set must not contain a grand total or cross-tabulation aggregate rows.
Current Price Stored Procedure: This stored procedure must return the unit price for a product when a product code is supplied. The unit price must include a dollar sign at the beginning. In addition, the unit price must contain a comma every three digits to the left of the decimal point, and must display two digits to the left of the decimal point. The stored procedure must not throw errors, even if the product code contains invalid data.
End of Repeated Scenario
You need to create the query for the Sales by Region report.
Which function should you apply to each column? To answer, select the appropriate options in the answer area.

Reveal Solution  Discussion  0

Correct Answer:


Explanation

Box 1: COALESCE
COALESCE evaluates the arguments in order and returns the current value of the first expression that initially does not evaluate to NULL.
If MiddleName is NULL, FirstName must be displayed. If both FirstName and MiddleName have null values, the world Unknown must be displayed.
The following example shows how COALESCE selects the data from the first column that has a nonnull value.
SELECT Name, Class, Color, ProductNumber,
COALESCE(Class, Color, ProductNumber) AS FirstNotNull
FROM Production.Product;
Not NULLIF: NULLIF returns the first expression if the two expressions are not equal. If the expressions are equal, NULLIF returns a null value of the type of the first expression.
Box 2: COALESCE
If RegionCode is NULL, the word Unknown must be displayed.
References: https://docs.microsoft.com/en-us/sql/t-sql/language-elements/coalesce-transact-sql

Question #5

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section. you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have a database that tracks orders and deliveries for customers in North America. The database contains the following tables:
Sales.Customers

Application.Cities

Sales.CustomerCategories

The company's development team is designing a customer directory application. The application must list customers by the area code of their phone number. The area code is defined as the first three characters of the phone number.
The main page of the application will be based on an indexed view that contains the area and phone number for all customers.
You need to return the area code from the PhoneNumber field.
Solution: You run the following Transact-SQL statement:

Does the solution meet the goal?

  • A. Yes
  • B. No
Reveal Solution  Discussion  0

Correct Answer: B  🗳️

Explanation: Only visible for PassExamDumps members. You can sign-up / login (it's free).

Viewing page 1 out of 41 pages.
Viewing questions 1-5 out of 205 questions.

2%

What Clients Say About Us

PassExamDumps really did a great job! Though I purchased the study materials, but I always suspect the rightness of the exam questions. But you confirm that they were all the most valid questions. And I began to study hard then I truly got a successful pass. Thank you! Really grateful!

Ella Ella       5 star  

Hello, every body! The 070-761 exam simulator will help you pass the exam with flying colors. Don't panic, take it easy! As you see, i passed with ease!

Lillian Lillian       4.5 star  

Very informative study guide for the 070-761 exam. I scored 95% marks studying from these. Thank you PassExamDumps for helping me. Recommended to all.

Basil Basil       5 star  

070-761 exam is making numerous offers so that you can use your desired exam tests paper according to your convenience.

Odelia Odelia       4.5 star  

If you don't want to waste your money, PassExamDumps pdf file for 070-761 is the ultimate guide to pass your exams with no hustle. Experienced suggestion. I got 92% marks.

Todd Todd       4.5 star  

When I decided to take MCP exam, I was not confused or scared as many exam candidates usually are. The basic reason of my confidence was PassExamDumps brain dumps with the support of PassExamDumps!

Maurice Maurice       5 star  

Those guides and test papers carried all the stuff useful during exam prep.

Jacqueline Jacqueline       4.5 star  

Finally passed the 070-761 exam! This PassExamDumps is quite popular. The 070-761 exam materials are valid and the services are considerate. I regret i didn't find this PassExamDumps easier. Later on i won't have to worry about my exams anymore.

Marshall Marshall       5 star  

Almost all 070-761 questions and the corresponding answers are showing up in the real exam. So, i suggest you to buy it without any doubts. It is easy to pass it.

Montague Montague       4.5 star  

Do not have words to describe my jubilance as well as PassExamDumps praise for amassing 100% accurate dumps. The real exam dumps' data was engineered to get through the exam in a single go. I have passed

Alvin Alvin       5 star  

Wow, passed with 96%.
Amazing dump for Microsoft

Barry Barry       4 star  

One of my firend passed 070-761 exam last month, and he introduced PassExamDumps to me. I Passed it too. Thanks for your good help!

Louis Louis       4.5 star  

I just want to tell you that I have cleared my 070-761 exams with a high score. I didn't ever think about getting such a high score. It is one

Dinah Dinah       4.5 star  

Absolutely satisfied with the dumps at PassExamDumps for the 070-761 exam. Latest questions included in them. I suggest all to prepare for the exam with these dumps. I passed my 070-761 exam with 98% marks.

Rudolf Rudolf       5 star  

The 070-761 training questions are sufficient enough for all 070-761 candidates. Also, these 070-761 exam questions cover all the exam topics precisely. So, you won’t have any difficulty to pass the exam!

Sibyl Sibyl       4.5 star  

Today is a happy day,i want to cheer,just passed my 070-761 exam with your material.

Isidore Isidore       4.5 star  

Passed my 070-761 today with 95% marks. Studied from the pdf exam material by PassExamDumps. I highly recommend these files to all those taking this exam in future.

Lambert Lambert       4.5 star  

I prepared my 070-761 exam only with their materials.

Tess Tess       4.5 star  

LEAVE A REPLY

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

Quality and Value

PassExamDumps Practice Exams are written to the highest standards of technical accuracy, using only certified subject matter experts and published authors for development - no all study materials.

Tested and Approved

We are committed to the process of vendor and third party approvals. We believe professionals and executives alike deserve the confidence of quality coverage these authorizations provide.

Easy to Pass

If you prepare for the exams using our PassExamDumps testing engine, It is easy to succeed for all certifications in the first attempt. You don't have to deal with all dumps or any free torrent / rapidshare all stuff.

Try Before Buy

PassExamDumps offers free demo of each product. You can check out the interface, question quality and usability of our practice exams before you decide to buy.

Our Clients