70-761 Exam Details

  • Exam Code
    :70-761
  • Exam Name
    :Querying Data with Transact-SQL
  • Certification
    :Microsoft Certifications
  • Vendor
    :Microsoft
  • Total Questions
    :228 Q&As
  • Last Updated
    :Jan 21, 2022

Microsoft 70-761 Online Questions & Answers

  • Question 101:

    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 have a database that contains tables named Customer_CRMSystem and Customer_HRSystem. Both tables use the following structure:

    The tables include the following records:

    Customer_CRMSystem

    Customer_HRSystem

    Records that contain null values for CustomerCode can be uniquely identified by CustomerName.

    You need to create a list of all unique customers that appear in either table.

    Which Transact-SQL statement should you run?

    A. B. C. D. E. F. G.

  • Question 102:

    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 develop a query that meets the following requirements:

    Output data by using a tree-like structure.

    Allow mixed content types.

    Use custom metadata attributes.

    Which Transact-SQL statement should you run?

    A. Option A
    B. Option B
    C. Option C
    D. Option D
    E. Option E
    F. Option F
    G. Option G
    H. Option H

  • Question 103:

    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 JOIN SalesSouth ON SalesNorth.salesID = SalesSouth.salesID
    B. SELECT SalesNorth.salesID, SalesNorth.customer, SalesNorth.amount, SalesSouth.salesID, SalesSouth.customer, SalesSouth.amount FROM SalesNorth LEFT 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

  • Question 104:

    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 return normalized data for all customers that were added in the year 2014. Which Transact-SQL statement should you run?

    B. C. D. E. F. G. H.

  • Question 105:

    SIMULATION

    You have a database that includes the following tables. All of the tables are in the Production schema.

    You need to create a query that returns a list of product names for all products in the Beverages category.

    Construct the query using the following guidelines:

    Use the first letter of the table name as the table alias.

    Use two-part column names.

    Do not surround object names with square brackets.

    Do not use implicit joins.

    Do not use variables.

    Use single quotes to surround literal values.

    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.

    A. Check the answer below

  • Question 106:

    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 questionsin this series. Information and details provided in a question apply only to that question.

    You have a database for a banking system. The database has two tables named tblDepositAcct and tblLoanAcct that store deposit and loan accounts, respectively. Both tables include the following columns:

    You need to determine the total number of different customers who have at least one account. Which Transact-SQL statement should you run?

    A. Option A
    B. Option B
    C. Option C
    D. Option D
    E. Option E
    F. Option F
    G. Option G
    H. Option H

  • Question 107:

    You have a database that contains the following tables: Customer

    CustomerAudit

    Where the value of the CustomerID column equals 3, you need to update the value of the CreditLimit column to 1000 for the customer. You must ensure that the change to the record in the Customer table is recorded on the CustomerAudit table.

    Which Transact-SQL statement should you run?

    A. Option A
    B. Option B
    C. Option C
    D. Option D

  • Question 108:

    DRAG DROP

    You have a database that contains a table named Users. The table is defined as follows:

    You have the following Comma Separated Values (CSV) file:

    You need to load data from the CSV file into the Users table while meeting the following requirements:

    If a field value is not provided in the file, insert a NULL value for the corresponding column

    Load all records into the table with the correct UserId from the file Which three 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.

    Select and Place:

    Select and Place:

  • Question 109:

    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

  • Question 110:

    HOTSPOT

    You need to develop a Transact-SQL statement that meets the following requirements:

    The statement must return a custom error when there are problems updating a table.

    The error number must be value50555.

    The error severity level must be14.

    A Microsoft SQL Server alert must be triggered when the error condition occurs.

    Which Transact-SQL segment should you use for each requirement? To answer, select the appropriate Transact-SQL segments in the answer area.

    Hot Area:

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 70-761 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.