100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Data Management-Applications Questions and Correct Answers Latest Update, Graded A+ $9.99   Add to cart

Exam (elaborations)

Data Management-Applications Questions and Correct Answers Latest Update, Graded A+

 4 views  0 purchase
  • Course
  • Data Management Applications
  • Institution
  • Data Management Applications

Which command creates a database only if it does not already exist? o :## CREATE DATABASE IF NOT EXISTS db_name; SELECT PRODNUM, SUM(QUANTITY)FROM SALESPERSONWhich line, when added to the end of the statement, returns the total number of each kind of product by product number? o :## GROUP BY...

[Show more]

Preview 2 out of 5  pages

  • August 22, 2024
  • 5
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • Data Management Applications
  • Data Management Applications
avatar-seller
ExamArsenal
1|Page : 2024 | Grade A+




Data Management-Applications
Questions and Correct Answers
Latest Update, Graded A+

Which command creates a database only if it does not already exist?

o :## CREATE DATABASE IF NOT EXISTS db_name;



SELECT PRODNUM, SUM(QUANTITY)FROM SALESPERSONWhich line, when added to

the end of the statement, returns the total number of each kind of product by

product number?

o :## GROUP BY PRODNUM;



Which data definition language statement affects databases or objects in them?

o :## ALTER



Which two SQL data types can represent images or sounds?

o :## Binary, Tinyblob



Which method creates an empty copy of a table and then populates it from the

original table?

o :## CREATE TABLE ... LIKE followed by INSERT INTO ... SELECT :



ALTER TABLE tbl_name action [, action ] ... ;What does this syntax allow?



Master01: DO NOT COPY AND PASTE!! August 22, 2024 Latest Update

, 2|Page : 2024 | Grade A+


o :## Dropping indexes, Changing column data



What is the correct syntax to create an index to be built on the city field based on

the database information?

o :## ALTER TABLE 'Salesperson' ADD INDEX 'city_index' (citycity)



Which clause in a CREATE TABLE statement creates an index on a field?

o :## INDEX index_name (index_columns)



A database administrator needs to modify an index on the CUSTOMER table called

IDX_NAME because there are multiple customers with the same name. It has been

determined that it would be desirable to modify the index to also include the

telephone number.Which command line will modify the IDX_NAME index on the

CUSTOMER table to include both NAME and TELEPHONE as part of the index?

o :## ALTER INDEX IDX_NAME ON CUSTOMER(NAME, TELEPHONE);



Which syntax is the correct way to use the DROP INDEX command to drop a primary

key from a table?

o :## DROP INDEX PRIMARYPRIMARY ON tbl_name ;



When a product is deleted from the product table, all corresponding rows for the

product in the pricing table are deleted automatically as well.What is this

referential integrity technique called?

o :## Cascaded delete




Master01: DO NOT COPY AND PASTE!! August 22, 2024 Latest Update

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller ExamArsenal. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $9.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

67866 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$9.99
  • (0)
  Add to cart