- Exam Code: 070-761
- Exam Name: Querying Data with Transact-SQL
- Updated: Oct 08, 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:


Over 32976+ Satisfied Customers
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!
All great!
They are the real 070-761 questions.
This 070-761 program was very useful and I would suggest that all the people out there give it a try.
I bought the 070-761 exam material from Actual4Dumps and my friend bought from the other website, now I passed my exam, but he failed. He will buy your 070-761 exam materials as well. Both of us believe in your website-Actual4Dumps.
Passed the exam as 98% scores! All the questions are easy and the same with the 070-761 training guide. You are doing great!
I recommend all to study from the dumps at Actual4Dumps. I achieved 94% marks in the 070-761 exam. Great work team Actual4Dumps.
Cannot write in words the level of happiness I am feeling right now. Just passed Microsoft 070-761 exam and got more than my expectations. Actual4Dumps 070-761 dumps 070-761 100 Real exam
Have passed 070-761 exam.
Actual 070-761 test questions are most related to the real 070-761 exam is important in my career.
I cleared the 070-761 exam yesterday. And i here noted that these 070-761 exam questions are updated and real.
070-761 testwas not possible for me if it wasn't for the 070-761 questions and answers from Actual4Dumps, that made the preparation so easy, and writing the exam even easier.
I just want to tell you that I have passed the 070-761 exam with full marks, the 070-761 questions are the same as you offered.
These 070-761 question answers came in quite handy to me. I'm surprised to know most questions from dumps came in the exam.
Plz go to get the latest 070-761 dump version.
The 070-761 exam was hard but thanks to Actual4Dumps 070-761 dumps I passed in my first attempt. These dumps are super valid and the best.
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.