Garantie de satisfaction à 100% Disponible immédiatement après paiement En ligne et en PDF Tu n'es attaché à rien 4.2 TrustPilot
logo-home
Examen

WGU D427 Practice Test 1 with ANSWER KEY

Note
-
Vendu
-
Pages
23
Grade
A+
Publié le
08-04-2025
Écrit en
2024/2025

WGU D427 Practice Test 1 with ANSWER KEY

Établissement
Cours










Oups ! Impossible de charger votre document. Réessayez ou contactez le support.

École, étude et sujet

Établissement
Cours

Infos sur le Document

Publié le
8 avril 2025
Nombre de pages
23
Écrit en
2024/2025
Type
Examen
Contient
Questions et réponses

Sujets

Aperçu du contenu

D427 Practice Test 1
1. Seattle, WA 98111
USA
How many attributes are present in the address fragment?

a. 1
b. 2
c. 3
d. 4

2. The Book table has the following columns:
genre – varchar(20)
pages – integer
author_id – char(3)
isbn_number – varchar(20)
Which column should be designated as the primary key for the Book table?

a. genre
b. pages
c. author_id
d. isbn_number

3. The Book table has the following columns:
genre – varchar(20)
pages – integer
author_id – char(3)
isbn_number – varchar(20)
Which column should be designated as the foreign key for the Book table?

a. genre
b. pages
c. author_id
d. isbn_number

4. Which data type represents numbers with fractional values:

a. Integer
b. Decimal
c. Character
d. Binary

,5. Which of the following is a DDL commands?

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


6. Which of the following is a DML command?

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


7.
CREATE TABLE Invoice (
invoice_id INT NOT NULL AUTO_INCREMENT,
date DATE NOT NULL,
customer_id INT NOT NULL UNIQUE,
PRIMARY KEY (invoice_id),
FOREIGN KEY (customer_id) REFERENCES Customer (customer_id) ON DELETE
CASCADE
);
Looking at the Customer and Invoice tables and the CREATE TABLE for the Invoice table with
foreign key reference statement above, what would happen to invoices in the Invoice table that are
linked to a customer if that customer 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. Nothing would happen.


Customer ID (PK) Invoice ID (PK)
Customer Last Name Date
Customer First Name Customer ID (FK)
Street Address
City
State
Zip

, 8. CREATE TABLE Invoice (
invoice_id INT NOT NULL AUTO_INCREMENT,
date DATE NOT NULL,
customer_id INT NOT NULL,
PRIMARY KEY (invoice_id),
FOREIGN KEY (customer_id) REFERENCES Customer (customer_id) ON DELETE
RESTRICT
);


Looking at the Customer and Invoice tables and the CREATE TABLE for the Invoice table with
foreign key reference statement above, what would happen to invoices in the Invoice table that are
linked to a customer if that customer is deleted.


a) Those customers would remain in the customer 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 invoices would not be allowed.


Customer ID (PK) Invoice ID (PK)
Customer Last Name Date
Customer First Name Customer ID (FK)
Street Address
City
State
Zip


9. CREATE TABLE Invoice (
invoice_id INT NOT NULL AUTO_INCREMENT,
date DATE NOT NULL,
customer_id INT NOT NULL,
PRIMARY KEY (invoice_id),
FOREIGN KEY (customer_id) REFERENCES Customer (customer_id) ON DELETE SET TO
NULL
);
€11,49
Accéder à l'intégralité du document:

Garantie de satisfaction à 100%
Disponible immédiatement après paiement
En ligne et en PDF
Tu n'es attaché à rien

Faites connaissance avec le vendeur

Seller avatar
Les scores de réputation sont basés sur le nombre de documents qu'un vendeur a vendus contre paiement ainsi que sur les avis qu'il a reçu pour ces documents. Il y a trois niveaux: Bronze, Argent et Or. Plus la réputation est bonne, plus vous pouvez faire confiance sur la qualité du travail des vendeurs.
ACESpecials Rasmussen College
S'abonner Vous devez être connecté afin de suivre les étudiants ou les cours
Vendu
49
Membre depuis
4 année
Nombre de followers
37
Documents
825
Dernière vente
1 mois de cela
ACESpecials Educational Materials

PS: Boost your exam performance with my comprehensive study package Deals {CHECK OUT DISCOUNTS ON MY BUNDLES, I ASLO OFFER PACKAGE DEALS TO ALL MY STUDY MATERIAL} I have developed a range of study materials that cover all aspects of Courses, from the basics to advanced topics. My materials are designed to provide clear and concise explanations of complex concepts, with plenty of helpful examples and practice problems to reinforce your learning. I've received multiple academic awards during my time at university and have been recognized for my excellence in teaching. Download my materials today and start acing your exams! “Thank you in advance for your purchase! If you find my documents to be helpful, write a review! Refer other learners so that they can also benefit from my study materials."

Lire la suite Lire moins
3,5

6 revues

5
1
4
3
3
1
2
0
1
1

Pourquoi les étudiants choisissent Stuvia

Créé par d'autres étudiants, vérifié par les avis

Une qualité sur laquelle compter : rédigé par des étudiants qui ont réussi et évalué par d'autres qui ont utilisé ce document.

Le document ne convient pas ? Choisis un autre document

Aucun souci ! Tu peux sélectionner directement un autre document qui correspond mieux à ce que tu cherches.

Paye comme tu veux, apprends aussitôt

Aucun abonnement, aucun engagement. Paye selon tes habitudes par carte de crédit et télécharge ton document PDF instantanément.

Student with book image

“Acheté, téléchargé et réussi. C'est aussi simple que ça.”

Alisha Student

Foire aux questions