Question 131

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 query a database that includes two tables: Project and Task. The Project table includes the following columns:


You plan to run the following query to update tasks that are not yet started:

You need to return the total count of tasks that are impacted by this UPDATE operation, but are not associated with a project.
What set of Transact-SQL statements should you run?
  • Question 132

    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 named Customers. Data stored in the table must be exchanged between web pages and web servers by using AJAX calls that use REST endpoint.
    You need to return all customer information by using a data exchange format that is text-based and lightweight.
    Which Transact-SQL statement should you run?

  • Question 133

    DRAG DROP
    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 function that calculates the highest tax rate charged for an item in a specific order.
    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.

    Question 134

    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:

    B:

    C:

    D:

    E:

    F:

    G:

    H:
  • Question 135

    You create three tables by running the following Transact-SQL statements:

    For reporting purposes, you need to find the active user count for each role, and the total active user count.
    The result must be ordered by active user count of each role. You must use common table expressions (CTEs).
    Which four 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.