Question 71

View the Exhibit and examine the details of PRODUCT_INFORMATION table.
PRODUCT_NAME
CATEGORY_ID
SUPPLIER_ID
Inkjet C/8/HQ
12
102094
Inkjet C/4
12
102090
LaserPro 600/6/BW
12
102087
LaserPro 1200/8/BW
12
102099
Inkjet B/6
12
102096
Industrial 700/ID
12
102086
Industrial 600/DQ
12
102088
Compact 400/LQ
12
102087
Compact 400/DQ
12
102088
HD 12GB /R
13
102090
HD 10GB /I
13
102071
HD 12GB @7200 /SE
13
102057
HD 18.2GB @10000 /E
13
102078
HD 18.2GB @10000 /I
13
102050
HD 18GB /SE
13
102083
HD 6GB /I
13
102072
HD 8.2GB@5400
13
102093
You have the requirement to display PRODUCT_NAME from the table where the CATEGORY_ID column has values 12 or 13, and the SUPPLIER_ID column has the value 102088. You executed the following SQL statement:
SELECT product_name
FROM product_information
WHERE (category_id = 12 AND category_id = 13) AND supplier_id = 102088; Which statement is true regarding the execution of the query?
  • Question 72

    The customers table has the following structure:
    You need to write a query that does the following tasks:
    1. Display the first name and tax amount of the customers. Tax is 5% of their credit limit.
    2. Only those customers whose income level has a value should be considered.
    3. Customers whose tax amount is null should not be considered.
    Which statement accomplishes all the required tasks?
  • Question 73

    Which two statements are true regarding the UNION and UNION ALL operators? (Choose two.)
  • Question 74

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

    Evaluate the following SQL statement:

    Which statement is true regarding the outcome of the above query?
  • Question 75

    Examine the types and examples of relationship that follow:
    1 One-to-one a) teacher to Student
    2 One-to-many b) Employees to Manager
    3 Many-to-one c) Person to SSN
    4 Many-to-many d) Customers to Products
    Which option indicates correctly matched relationships?