Question

QUESTION 32 Which statement can be used for conditional queries equal to if-then-else CASE WHERE DISTINCT...

QUESTION 32

  1. Which statement can be used for conditional queries equal to if-then-else

    CASE

    WHERE

    DISTINCT

    DECODE

2.5 points   

QUESTION 33

  1. The GROUP BY clause comes before the ORDER BY clause

    True

    False

2.5 points   

QUESTION 34

  1. In the statement: SELECT Order_Item from orders o where order_id=1001; the "o" is a

    column alias

    table alias

    part of the column name

    a join operator

2.5 points   

QUESTION 35

  1. Include which clause to this statement to return the null rows: SELECT * from USERS where NAME

    EQUAL TO NULL;

    NOT EQUAL NAME;

    NVL;

    IS NULL;

2.5 points   

QUESTION 36

  1. In the statement: SELECT zip "Zip Code" from customer; "Zip Code" is a

    table alias

    column name

    column alias

    table name

2.5 points   

QUESTION 37

  1. SELECT COUNT(*) from orders; will return all rows including rows with nulls

    True

    False

0 0
Add a comment Improve this question Transcribed image text
Answer #1
QUESTION 32
WHERE

QUESTION 33
True

QUESTION 34
table alias

QUESTION 35
IS NULL;

QUESTION 36
column alias

QUESTION 37
True

Add a comment
Know the answer?
Add Answer to:
QUESTION 32 Which statement can be used for conditional queries equal to if-then-else CASE WHERE DISTINCT...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Write a SELECT statement that answers this question: What is the total quantity purchased for each...

    Write a SELECT statement that answers this question: What is the total quantity purchased for each instrument within each category? Return these columns: The category_name column from the category table The instrument_name column from the instruments table The total quantity purchased for each instrument with orders in the order_instruments table Use the WITH ROLLUP operator to include rows that give a summary for each category name as well as a row that gives the grand total. Use the IF and...

  • Answer the following SQL study guide questions... Question 1 (1 point) Unless you assign a column...

    Answer the following SQL study guide questions... Question 1 (1 point) Unless you assign a column name in the base table. the column name in the result set is the same as the 1) unique syntax 2) column alias 3) qualification 4) all of the above Question 2 (1 point) Which clause specifies the number of rows that should be skipped before rows are returned from the result set? 1) FETCH 2) OFFSET 3) FIRST 4) NEXT Question 3 (1...

  • 5. Write a SELECT statement that returns these columns from the Orders table: OrderID OrderDate ShipDate...

    5. Write a SELECT statement that returns these columns from the Orders table: OrderID OrderDate ShipDate Return only the rows where the ShipDate column contains a null value. 6. Write a SELECT statement that returns all columns from the Addresses table State is equal to CA 7. Write a SELECT statement that returns all columns from the Products table Product name has a "ru" in its name 8. Write a SELECT statement that returns these columns from the Customers table...

  • Question 5: Sevens Let's take a look at data from both of our tables, students and checkboxes, to find out if students that got the number 7 assigned to them also chose '7' for the obedien...

    Question 5: Sevens Let's take a look at data from both of our tables, students and checkboxes, to find out if students that got the number 7 assigned to them also chose '7' for the obedience question. Specifically, we want to look at the students that fulfill the below conditions and see if they also chose '7' in the question that asked students to choose the number 7 (column seven in students). reported that their favorite number (column number in...

  • QUESTION 21 Complete the table below by matching each definition with the appropriate SQL clause. -A.B.C.D.E.F.G.H.I.J.K.L.M.N....

    QUESTION 21 Complete the table below by matching each definition with the appropriate SQL clause. -A.B.C.D.E.F.G.H.I.J.K.L.M.N. A mandatory clause that is at the start of all SQL retrieval queries -A.B.C.D.E.F.G.H.I.J.K.L.M.N. A clause used to return only the values in a result table that are unique -A.B.C.D.E.F.G.H.I.J.K.L.M.N. A clause used to filter tuples according to some condition or predicate, like selection in relational algebra -A.B.C.D.E.F.G.H.I.J.K.L.M.N. A clause that is used to list the tables and any joins required in a query...

  • QUESTION 8 Which layer of the TCP/IP hierarchy presents incoming messages to the computer user? a....

    QUESTION 8 Which layer of the TCP/IP hierarchy presents incoming messages to the computer user? a. Network b. Link c. Transport d. Application 2.5 points    QUESTION 9 A relational database is a collection of one or more tables that are related by key values. True False 2.5 points    QUESTION 10 Which standards organization produced the OSI reference model for internet communication? a. IEEE b. ISO c. ANSI 2.5 points    QUESTION 11 Which of the following is used...

  • Question 19 (1 point) 19. Which statement can help us to find out which phone has...

    Question 19 (1 point) 19. Which statement can help us to find out which phone has never been ordered by customers? a. select Products.ProdName, Orders.Quantity from Products left outer join Orders on Products.ProdID=Orders.ProdID where Orders. Quantity is null; b. select Products.ProdName, Orders.Quantity from Products right outer join Orders on Products ProdID=Orders.ProdID where Orders. Quantity is null: c. select Products ProdName, Orders. Quantity from Products inner join Orders on Products. ProdID=Orders.ProdID where Orders.Quantity is null; d. select Products. ProdName, Orders.Quantity from...

  • QUESTION 9 You plan to query data using the TRANS_HIST_V view that was created by another...

    QUESTION 9 You plan to query data using the TRANS_HIST_V view that was created by another user in their schema. Which statement is true? A. The Oracle Server will retrieve the view definition from the ALL_VIEWS data dictionary view. B. The Oracle Server will retrieve data, determined by the query criteria, from the TRANS_HIST_V view. C. The Oracle Server will verify whether you have been granted access privileges to the TRANS_HIST_V view. D. The Oracle Server will automatically reset the...

  • PRINT Lab Week 2, Question 1 What channel is SYFY? --------------------- Write a SELECT statement that...

    PRINT Lab Week 2, Question 1 What channel is SYFY? --------------------- Write a SELECT statement that finds the channels named SYFYP and SYFYHDP in the CHANNEL table of the TV database. Use a WHERE clause with an OR statement to return only these two channels. Display only the ChannelNumber and DisplayName columns. Hint: Correct results will look like this (note that DisplayName is 200 characters wide, so I''ve edited a bit): ChannelNumber DisplayName ------------- ----------- 59 SYFYP 1411 SYFYHDP '...

  • #6 Write a SELECT statement that returns these columns: The count of the number of orders...

    #6 Write a SELECT statement that returns these columns: The count of the number of orders in the Orders table The sum of the tax_amount columns in the Orders table Write a SELECT statement that returns one row for each category that has products with these columns: The category_name column from the Categories table The count of the products in the Products table The list price of the most expensive product in the Products table Sort the result set so...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT