Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

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

Rating
-
Sold
-
Pages
5
Grade
A+
Uploaded on
22-08-2024
Written in
2024/2025

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? 2 | P a g e : 2 0 2 4 | G r a d e A + Master01: DO NOT COPY AND PASTE!! August 22, 2024 Latest Update 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 a

Show more Read less
Institution
Data Management Applications
Course
Data Management Applications

Content preview

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

Written for

Institution
Data Management Applications
Course
Data Management Applications

Document information

Uploaded on
August 22, 2024
Number of pages
5
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$10.49
Get access to the full document:

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


Also available in package deal

Thumbnail
Package deal
Data Management – Applications Questions and Correct Answers Latest Update, Graded A+
-
3 2024
$ 36.97 More info

Get to know the seller

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.
Graders NURSING
View profile
Follow You need to be logged in order to follow users or courses
Sold
521
Member since
2 year
Number of followers
167
Documents
28008
Last sold
1 week ago
Study Smart

Your one-stop resource for high-quality, exam-focused study materials. Here, you'll find expertly crafted summaries, past exam papers, notes, and assignments tailored to help you succeed in your courses. Every document is written with clarity, accuracy, and exam performance in mind—saving you hours of studying and helping you boost your grades. ✅ Clear and well-structured content ✅ Covers key exam topics and common questions ✅ Trusted by students for academic success ✅ Instant downloads and affordable prices Whether you're cramming for finals or just staying ahead in class, my materials are designed to make your studying smarter, not harder. Take a look around and get the edge you need!

Read more Read less
3.8

123 reviews

5
54
4
26
3
22
2
4
1
17

Trending documents

Recently viewed by you

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

Frequently asked questions