• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 3 out of 18 pages
Exam (elaborations)

SQL Practice Final Exam Answers

Document preview thumbnail
Preview 3 out of 18 pages

A relational database _____. - Answer- consists of tables called relations Which command(s) can you use to delete an entire table and its data? - Answer- DROP TABLE Which element belongs in the blank if you want to display data from all rows with a credit limit greater than the credit limit of one or more category B cardholders? WHERE (CREDIT_LIMIT _____ (SELECT CREDIT_LIMIT FROM CARDHOLDER WHERE CATEGORY = 'B')) - Answer- ANY Which of the following is a valid SQL command? - Answer- DROP TABLE LEVEL1_CUSTOMER; When a subquery involves a table listed in the outer query, the subquery is called a(n) _____. - Answer- correlated subquery What do you need to know to complete the FIRST step in the process of creating a new table using data from an existing table, called CANDY, in MySQL? - Answer- the columns from CANDY that you want to include and their characteristics KimTay sells _____. - Answer- pet supplies James has created a new MySQL table called FAVORITES and would like to populate it with data from the existing CANDY table. Which command can he use to add data for rows with a rating of seven or more? - Answer- INSERT INTO FAVORITES (SELECT ID, NAME, PRICE, RATING FROM CANDY WHERE (RATING 7)); Which is the correct sequence of elements for a SQL command that will change a value in an existing table row? - Answer- UPDATE, table name, SET, column name, equal sign, new value Which command should Josephine use if she would like to add a new row to the BMI table in MySQL? - Answer- INSERT INTO BMI VALUES ('Emily', 'Cross', 66, 115); To list all the columns in a table and their properties in MySQL, use the LIST COLUMNS command. - Answer- False How does the procedure for adding rows to an existing MySQL table compare to that for populating a new table that has just been created? - Answer- They are identical. Which is the correct sequence of elements in a command to remove rows from a MySQL


Document information

Uploaded on
September 18, 2023
Number of pages
18
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers
$12.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
QUEENSEXAMS
4.1
(61)
Sold
230
Followers
180
Items
4965
Last sold
3 months ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions

Whoops! We can’t load your doc right now. Try again or contact support.