100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
D427 DATA MANAGEMENT - APPLICATIONS (WESTERN GOVERNORS UNIVERSITY) TEST 2 EXAM WITH ANSWER KEY 2024/2025 $18.49   Add to cart

Exam (elaborations)

D427 DATA MANAGEMENT - APPLICATIONS (WESTERN GOVERNORS UNIVERSITY) TEST 2 EXAM WITH ANSWER KEY 2024/2025

 2 views  0 purchase
  • Course
  • D427 DATA MANAGEMENT - APPLICATIONS (WESTERN GOVE
  • Institution
  • D427 DATA MANAGEMENT - APPLICATIONS (WESTERN GOVE

D427 DATA MANAGEMENT - APPLICATIONS (WESTERN GOVERNORS UNIVERSITY) TEST 2 EXAM WITH ANSWER KEY 2024/2025

Preview 4 out of 49  pages

  • September 10, 2024
  • 49
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • D427 DATA MANAGEMENT - APPLICATIONS (WESTERN GOVE
  • D427 DATA MANAGEMENT - APPLICATIONS (WESTERN GOVE
avatar-seller
YANCHY
lOMoARcPSD|15963292




D427 DATA MANAGEMENT - APPLICATIONS (WESTERN GOVERNORS
UNIVERSITY) TEST 2 EXAM WITH ANSWER KEY 2024/2025

, lOMoARcPSD|15963292




D427 Test 2
1. Portland, OR 97212

How many attributes are present in the address fragment?
a. 1
b. 2
c. 3
d. 4

2. The Patient table has the following
columns: 昀椀 rst_name – varchar(20)
last_name – varchar(30)
birthdate – date
patient_id – int

Which column should be designated at the primary key for the Patient table?

a. 昀椀 rst_name
b. last_name
c. birthdate
d. patient_id




3. The Exam table has the following
columns: exam_id – int
exam_date – date
exam_reason – varchar (100)
patient_id – int

Which column should be designated as the foreign key for the Exam table?

a. exam_id
b. exam_date
c. exam_reason
d. patient_id




)

, lOMoARcPSD|15963292




e. Varchar
f. Integer
g. Binary
h. Decimal


4. Which of the following is a DDL (Data De 昀椀 nition Language) command?

a. INSERT
b. SELECT
c. CREATE INDEX
d. UPDATE


5. Which of the following is a DML(Data Manipulation Language) command?

a. CREATE VIEW
b. CREATE TABLE
c. INSERT
d. ALTER INDEX


7.
CREATE TABLE Exam (
exam_id INT NOT NULL AUTO_INCREMENT,
exam_date DATE NOT NULL,
exam_reason VARCHAR (100),
patient_id INT NOT NULL,
PRIMARY KEY (exam_id),
FOREIGN KEY (patient_id) REFERENCES Patient (patient _id) ON DELETE CASCADE
);




Looking at the Patient and Exam tables above and the CREATE TABLE for the Exam
table with foreign key reference statement above, what would happen to exams in the
Exam table that are linked to a patient if that patient is deleted.




)

, lOMoARcPSD|15963292




a. Those exams would remain in the database.
b. Those exams would be deleted also.
c. The Patient ID for those exams would be changed to NULL.
d. Nothing would happen.



8.
CREATE TABLE Exam (
exam_id INT NOT NULL AUTO_INCREMENT,
exam_date DATE NOT NULL,
exam_reason VARCHAR (100),
patient_id INT NOT NULL,
PRIMARY KEY (exam_id),
FOREIGN KEY (patient_id) REFERENCES Patient (patient _id) ON DELETE RESTRICT
);




Looking at the Patient and Exam tables above and the CREATE TABLE for the Exam
table with foreign key reference statement above, what would happen to exams in the
Exam table that are linked to a patient if that patient is deleted.


a. Those invoices would remain in the database.
b. Those invoices would be deleted also.
c. The Customer ID for those invoices would be changed to NULL.
d. The delete of the Customer would not be allowed.




9.
CREATE TABLE Exam (
exam_id INT NOT NULL AUTO_INCREMENT,
exam_date DATE NOT NULL,




)

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 YANCHY. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

74735 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
$18.49
  • (0)
  Add to cart