- Exam Code: 070-761
- Exam Name: Querying Data with Transact-SQL
- Updated: Nov 22, 2026
- Q & A: 205 Questions and Answers
In 2026, the gap between a stale bank and the live exam can quietly sink a candidate. Actual4Dumps closes that gap with daily monitoring, verified answers, and 205 Microsoft Querying Data with Transact-SQL practice questions that follow the exam as it evolves.
| Section | Objectives |
|---|---|
| Work with SELECT queries | - Advanced SELECT operations
|
| Programming with Transact-SQL | - Error handling and transactions
|
| Modify data | - Data manipulation language (DML)
|
| Query multiple tables | - Joins
|
| Data aggregation and grouping | - Aggregation functions
|
| Advanced querying features | - Subqueries and expressions
|
No formal prerequisites; recommended knowledge of relational databases and basic Transact-SQL.
Microsoft Learn Certification Page: register for 070-761
Pearson VUE Microsoft Exams: register for 070-761
The Microsoft Querying Data with Transact-SQL bank is maintained by a team of IT specialists who research the 070-761 questions in depth and organize the verified answers into an effective study sequence. Their ongoing work is what keeps the material professional rather than generic.
Let the topic weights guide how you divide your study hours.
The online engine simulates the formal 070-761 test, lets you set your own time limit, and points out your mistakes after each session. Because it runs in a browser, you can practice anywhere and anytime, whether you are waiting for someone or sitting on a bus, and make real use of spare minutes.
The package includes 205 practice questions for the 070-761 exam, all verified by our IT specialists. A free demo is available so you can review the style before purchasing.
Microsoft Learn T-SQL Learning Paths: Visit official page
SQL Server T-SQL Documentation: Visit official page
The passing score for 070-761 is 700 (on a 1000 scale), and the official exam fee is USD 165 (varies by country/region). Keeping these figures in view helps you set a realistic target for your practice sessions.
You will face 40-60 (approximate) questions in 120 minutes minutes on the real 070-761 exam. Rehearsing under the same limits on the Actual4Dumps engine turns time management into a trained reflex.
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.
You are developing a database to track customer orders. The database contains the following tables:
Sales.Customers, Sales.Orders, and Sales.OrderLines.
The following table describes the columns in Sales.Customers.
The following table describes the columns in Sales.Orders.
The following table describes the columns in Sales.OrderLines.
You need to create a database object that calculates the total price of an order including the sales tax. The database object must meet the following requirements:
- Reduce the compilation cost of Transact-SQL code by caching the plans and reusing them for repeated execution.
- Return a value.
- Be callable from a SELECT statement.
How should you complete the Transact-SQL statements? To answer, select the appropriate Transact-SQL segments in the answer area.
Correct Answer:

Explanation
Box 1: FUNCTION
To be able to return a value we should use a scalar function.
CREATE FUNCTION creates a user-defined function in SQL Server and Azure SQL Database. The return value can either be a scalar (single) value or a table.
Box 2: RETURNS decimal(18,2)
Use the same data format as used in the UnitPrice column.
Box 3: BEGIN
Transact-SQL Scalar Function Syntax include the BEGIN ..END construct.
CREATE [ OR ALTER ] FUNCTION [ schema_name. ] function_name
( [ { @parameter_name [ AS ][ type_schema_name. ] parameter_data_type
[ = default ] [ READONLY ] }
[ ,...n ]
]
)
RETURNS return_data_type
[ WITH <function_option> [ ,...n ] ]
[ AS ]
BEGIN
function_body
RETURN scalar_expression
END
[ ; ]
Box 4: @OrderPrice * @CalculatedTaxRate
Calculate the price including tax.
Box 5: END
Transact-SQL Scalar Function Syntax include the BEGIN ..END construct.
References: https://msdn.microsoft.com/en-us/library/ms186755.aspx
Note: This question is part of a series of questions that use the same or similar answer choices. An answer choice may be correct for more than one question in the series. Each question is independent of the other questions in this series. Information and details provided in a question apply only to that question.
You create a table by running the following Transact-SQL statement:
You are developing a report that aggregates customer data only for the year 2014. The report requires that the data be denormalized.
You need to return the data for the report.
Which Transact-SQL statement should you run?

Correct Answer: D 🗳️
Note: This question is part of a series of questions that use the same or similar answer choices. An answer choice may be correct for more than one question in the series. Each question is independent of the other questions in this series. Information and details provided in a question apply only to that question.
You create a table by running the following Transact-SQL statement:
You need to audit all customer data.
Which Transact-SQL statement should you run?

Correct Answer: H 🗳️
Explanation: Only visible for Actual4Dumps members. You can sign-up / login (it's free).
You have a database containing the following tables:
Servers
Errors
You have a user-defined, scalar function named IPLookup that takes a DNS name as a parameter and returns the IP address of the server. You have an additional user-defined, scalar function named DNSLookup, that takes an IP address as a parameter and returns a DNS name.
You create a view named vwErrors by running the following Transact-SQL statement:
You need to insert data by using the view.
How should you complete the Transact-SQL statement? To answer, drag the appropriate Transact-SQL segments to the correct location. Each Transact-SQL segments 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.
Correct Answer:

Explanation
References: https://docs.microsoft.com/en-us/sql/t-sql/queries/output-clause-transact-sql
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 are developing a database to track customer orders. The database contains the following tables:
Sales.Customers, Sales.Orders, and Sales.OrderLines. The following table describes the columns in Sales.Customers.
The following table describes the columns in Sales.Orders.
The following table describes the columns in Sales.OrderLines.
End of repeated scenario
You need to create a common table expression (CTE) that returns the total number of orders per year for each customer.
Which five 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.
Correct Answer:


Viewing page 1 out of 41 pages.
Viewing questions 1-5 out of 205 questions.
Over 32976+ Satisfied Customers
The 070-761 questions and answers are the best tools I used. I confirm that they work and quite well actually.
I passed with the 070-761 practice dump. And i am very happy that about 95% of the questions came. So the exam is a piece of cake.
For me, choosing these 070-761 exam questions is the best way to save time, i got an excellent score and passed the exam! Thank you, Actual4Dumps team!
Thank you very much for offering me an admission to online program and i successfully passed my 070-761 exam. I really feel joyful!
I would like to recommend everyone taking the MCP 070-761 exam to go through the pdf files by Actual4Dumps. Great questions and answers. Genuinely in the exam. Passed my 070-761 exam today.
Fortunately, after putting so much efforts, i passed the 070-761 exam last week, Actual4Dumps’s exam material did help! Thanks so much!
There are about 4 new questions in real 070-761 exam, but I still passed it with the help of 070-761 study dump. Still a vaild materials.
It was entirely different from the classroom training.
Your 070-761 exam dump is easy to understand. I really love it and had a nice time studying with it. I got my certification today. Thank you!
I found 070-761 exam questions are very important for preparing and passing the exam. Thanks so much! It is all worth it!
It was really a dream for me to get 93% in the 070-761 exam.
Updated dumps for 070-761 certification at Actual4Dumps. Older versions aren't as beneficial as the latest ones. Passed my exam 2 days ago with 95% marks. Thank you Actual4Dumps.
I am from United States, i cleared the 070-761 exam 91% yesterday. All the questions from this dump only.
Heard Actual4Dumps from one of my friend,your material is really useful for me.
Use 070-761 testing tools for the 070-761 exam and become a certified professional in the first attempt. I strongly recommend it to you.
Waw i'm so impressed guys, now i finally passed with this 070-761 practice engine that are helpful for real exam. Thank you !
I have reviewed your 070-761 questions and can confirm this.
Perfect site! I scored 98% on this 070-761 exam.
Passed exam today 97% Most of the question still appear in the 070-761 exam.
It is a good choice to help pass the 070-761 exam. I have passed my 070-761 last week and i will buy the other exam braindumps this time. Actual4Dumps is really a good platform to help pass the exams!
Just wanted to say thank you as I felt that study materials for 070-761 exam prepared me well.
Actual4Dumps has the latest exam dumps for the 070-761 certification exam. Passed my exam with 96% marks. Thank you for the amazing pdf files Examout
I passed my 070-761 exam at second attempt only after using this 070-761 practice test, very proper material!
Actual4Dumps 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.
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.
If you prepare for the exams using our Actual4Dumps 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.
Actual4Dumps 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.