100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
DATABASE MANAGEMENT APPLICATIONS EXAM PRE-ASSESSMENT AND OBJECTIVE ASSESMENT CA$18.14   Add to cart

Exam (elaborations)

DATABASE MANAGEMENT APPLICATIONS EXAM PRE-ASSESSMENT AND OBJECTIVE ASSESMENT

1 review
 13 views  0 purchase
  • Course
  • Institution

WGU D427 DATABASE MANAGEMENT APPLICATIONS EXAM PRE-ASSESSMENT AND OBJECTIVE ASSESMENT | ACCURATE CURRENTLY TESTING EXAMS | ACCURATE AND VERIFIED FOR GUARANTEED PASS | LATEST UPDATE

Preview 4 out of 42  pages

  • July 9, 2024
  • 42
  • 2023/2024
  • Exam (elaborations)
  • Questions & answers

1  review

review-writer-avatar

By: RegisteredNurse • 3 months ago

Very Informative, detailed and timely, I passed, thank you very much

avatar-seller
WGU D427 DATABASE MANAGEMENT APPLICATIONS
EXAM PRE-ASSESSMENT AND OBJECTIVE ASSESMENT |
ACCURATE CURRENTLY TESTING EXAMS | ACCURATE
AND VERIFIED FOR GUARANTEED PASS | LATEST UPDATE
How many attributes are present in the address fragment?

-1
-2
-3
-4
3
2. The Patient table has the following columns:

first_name varchar(20)
last_name varchar (30)
birthdate date
patient_id int

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

- first_name
- last_name
- birthdate
- patient_id
patient_id
3. The Exam table has the following columns:
exam_id int
exam_date date
exam_reason varchar(100)
patient_number int

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

- exam_id
- exam_date
- exam_reason
- patient_id
patient_id

,4. Which data type represents numbers with fractional values:

- varchar
- integer
- binary
- decimal
decimal
5. Which of the following is a DDL (Data Definition Language) command?

- INSERT
- SELECT
- CREATE INDEX
- UPDATE
CREATE INDEX

CREATE, ALTER, DROP
6. Which of the following is a DML (Data Manipulation Language) command?

- CREATE VIEW
- CREATE TABLE
- INSERT
- ALTER INDEX
INSERT
7. Patient Table
PK patient id
first name
last name
birthdate

Exam Table
PK exam id
exam date
exam reason
FK patient id

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
);

What would happen to exams in the Exam table that are linked to a patient if that patient is
deleted?

- Those exams would remain in the database
- Those exams would be deleted also
- The Patient ID for those exams would be changed to NULL
- Nothing would happen
Those exams would be deleted also
8. Patient Table
PK patient id
first name
last name
birthdate

Exam Table
PK exam id
exam date
exam reason
FK patient id

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
);

What would happen to exams in the Exam table that are linked to a patient if that patient is
deleted.

- Those invoices would remain in the database
- Those invoices would be deleted also
- The Customer ID for those invoices would be changed to NULL
- The delete of the Customer would not be allowed
The delete of the Customer would not be allowed

, 9.
Patient Table
PK patient id
first name
last name
birthdate
Exam Table
PK exam id
exam date
exam reason
FK patient id
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 SET TO
NULL );
what would happen to exams in the Exam table that are linked to a patient if that patient is
deleted.
Those invoices would remain in the database.
Those invoices would be deleted also.
The Customer ID for those invoices would be changed to NULL.
The delete of the Customer would not be allowed.
The Customer ID for those invoices would be changed to NULL
10.
Which of the following are true about materialized view (Choose 2)?

- It is a base table.

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

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

67096 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
CA$18.14
  • (1)
  Add to cart