1z0-071 Exam Question 121

View the exhibit and examine the structure in ORDERSand ORDER_ITEMStables.

You need to create a view that displays the ORDER_ID, ORDER_DATE, and the total number of items in each order.
Which CREATEVIEWstatement would create the views successfully?
  • 1z0-071 Exam Question 122

    View the Exhibit and examine the structure of the PRODUCT table.

    Which two tasks would require subqueries? (Choose two.)
  • 1z0-071 Exam Question 123

    View the Exhibit and examine the data in the PRODUCTS table. (Choose the best answer.)

    You must display product names from the PRODUCTS table that belong to the 'Software/other' category with minimum prices as either $2000 or $4000 and with no unit of measure.
    You issue this query:
    SQL > SELECT prod_name, prod_category, prod_min_price FROM products
    Where prod_category LIKE '%Other%' AND (prod_min_price = 2000 OR prod_min_price = 4000) AND prod_unit_of_measure <> ' '; Which statement is true?
  • 1z0-071 Exam Question 124

    Examine the business rule:
    Each student can work on multiple projects and each project can have multiple students.
    You need to design an Entity Relationship Model (ERD) for optimal data storage and allow for generating reports in this format:
    STUDENT_ID FIRST_NAME LAST_NAME PROJECT_ID PROJECT_NAME PROJECT_TASK
    Which two statements are true in this scenario?
  • 1z0-071 Exam Question 125

    View the Exhibits and examine PRODUCTS and SALES tables.
    Exhibit 1

    Exhibit 2

    You issue the following query to display product name the number of times the product has been sold:

    What happens when the above statement is executed?