070-761 Exam Question 46

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 contain the following columns:

You need to determine the total number of customers who have only deposit accounts.
Which Transact-SQL statement should you run?
  • 070-761 Exam Question 47

    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 several connected tables. The tables contain sales data for customers in the United States only.
    You have the following partial query for the database. (Line numbers are included for reference only.)

    You need to complete the query to generate the output shown in the following table.

    Which statement clause should you add at line 3?
  • 070-761 Exam Question 48

    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?
  • 070-761 Exam Question 49

    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:

    The Task table includes the following columns:

    You plan to run the following query to update tasks that are not yet started:
    UPDATE Task SET StartTime = GETDATE() WHERE StartTime IS NULL
    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?
  • 070-761 Exam Question 50

    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 several connected tables. The tables contain sales data for customers in the United States only.
    You have the following partial query for the database. (Line numbers are included for reference only.)

    You need to complete the query to generate the output shown in the following table.

    Which statement clause should you add at line 3?