Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

WGU - Pre-Assessment: Data Management - Applications (FJO1) (PFJO

Beoordeling
-
Verkocht
-
Pagina's
11
Cijfer
A+
Geüpload op
13-02-2023
Geschreven in
2022/2023

A salesperson is authorized to sell many products and a product can be sold by many salespersons. Which kind of binary relationship does this scenario describe? Ans- Many-to-many Which two examples are attributes? A person attending a meeting An employee number A sales meeting A meeting code Ans- An employee number A meeting code Which delete rule sets column values in a child table to a missing value when the matching data is deleted from the parent table? Ans- Set-to-Null In this entity-relationship diagram, Salesperson 361 is related to two customers. The table follows the restrict delete rule. What happens if someone tries to delete Salesperson 361 from the customer records? Ans- The delete is prohibited. Refer to the given SQL statement. CREATE TABLE member ( member_id INT UNSIGNED NOT NULL AUTO_INCREMENT, PRIMARY KEY (member_id), last_name VARCHAR(20) NOT NULL, first_name VARCHAR(20) NOT NULL, suffix VARCHAR(5) NULL, expiration DATE NULL, email VARCHAR(100) NULL, street VARCHAR(50) NULL, city VARCHAR(50) NULL, state VARCHAR(2) NULL, zip VARCHAR(10) NULL, phone VARCHAR(20) NULL, interests VARCHAR(255) NULL ); Which two columns are created as something other than variable-length strings in this statement? Ansmember_id expiration Employee_ID Employee_Name Office_Address 12342 Jacob 54123 Main Street 12346 Michael 354 Center Avenue 12846 Ethan 54123 Main Street 12887 Joshua 54123 Main Street 12894 Daniel 354 Center Avenue 13097 Alexander 354 Center Avenue 13112 Anthony 54123 Main Street 13411 William 354 Center Avenue 13987 Christopher 354 Center Avenue 13998 Matthew 54123 Main Street This database table has ten different employee numbers in the first column. Employee_ID is the primary key. In addition, it has ten different names in the second column and two office addresses repeated five times each in the third column. Which action should be used to translate this data into third normal form? Ans- Move the data from the third column into its own table. A database manager starts to convert data that has been normalized into a form that conforms to the relational model. A simple primary key has been established and all the repeating groups have been deleted. In which form is this data? Ans- Second normal form Two attributes in two related tables have the exact same domain of values. The attribute is a primary key in one table. Which kind of key is the attribute in the other table? Ans- Foreign 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? Ans- Cascaded delete Refer to the given information. CREATE TABLE 'test1' ( contact_id INT(10), name VARCHAR(10), event_id INT(5), Which command should be added to the end to make the event_id attribute the primary key within a CREATE TABLE statement? PRIMARY KEY = event_id); PRIMARY KEY (event_id)); (PRIMARY KEY: event_id); PRIMARY (event_id)' Ans- PRIMARY KEY (event_id)); What does the clause PRIMARY KEY followed by a field name in parentheses mean in a CREATE TABLE statement? Ans- The column, in parentheses, is the primary key for the table. Which statement should be used so that it assigns a foreign key to the customer name? Ans- FOREIGN KEY ( customer_name ) REFERENCES table_name ( customer_name ) Which command creates a database only if it does not already exist? Ans- CREATE DATABASE IF NOT EXISTS db_name ; Refer to the given SQL statement. SELECT PRODNUM, PRODNAME FROM PRODUCT Which line should be added to the end of the statement to return the product numbers and product names for products that cost 20 dollars? Ans- WHERE PRODCOST=20; What does WHERE identify in a basic SQL SELECT statement? Ans- The rows to be included Refer to the given SQL statement. SELECT EMPNUM FROM EMPLOYEE

Meer zien Lees minder
Instelling
Vak

Voorbeeld van de inhoud

WGU - Pre-Assessment: Data
Management - Applications (FJO1)
(PFJO)
A salesperson is authorized to sell many products and a product can be sold by many salespersons.



Which kind of binary relationship does this scenario describe? Ans- Many-to-many



Which two examples are attributes?

A person attending a meeting

An employee number

A sales meeting

A meeting code Ans- An employee number

A meeting code



Which delete rule sets column values in a child table to a missing value when the matching data is
deleted from the parent table? Ans- Set-to-Null



In this entity-relationship diagram, Salesperson 361 is related to two customers. The table follows the
restrict delete rule.



What happens if someone tries to delete Salesperson 361 from the customer records? Ans- The delete is
prohibited.



Refer to the given SQL statement.



CREATE TABLE member

(

member_id INT UNSIGNED NOT NULL AUTO_INCREMENT,

, PRIMARY KEY (member_id),

last_name VARCHAR(20) NOT NULL,

first_name VARCHAR(20) NOT NULL,

suffix VARCHAR(5) NULL,

expiration DATE NULL,

email VARCHAR(100) NULL,

street VARCHAR(50) NULL,

city VARCHAR(50) NULL,

state VARCHAR(2) NULL,

zip VARCHAR(10) NULL,

phone VARCHAR(20) NULL,

interests VARCHAR(255) NULL

);



Which two columns are created as something other than variable-length strings in this statement? Ans-
member_id

expiration



Employee_ID Employee_Name Office_Address

12342 Jacob 54123 Main Street

12346 Michael 354 Center Avenue

12846 Ethan 54123 Main Street

12887 Joshua 54123 Main Street

12894 Daniel 354 Center Avenue

13097 Alexander 354 Center Avenue

13112 Anthony 54123 Main Street

13411 William 354 Center Avenue

13987 Christopher 354 Center Avenue

13998 Matthew 54123 Main Street

Geschreven voor

Vak

Documentinformatie

Geüpload op
13 februari 2023
Aantal pagina's
11
Geschreven in
2022/2023
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$10.79
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
CertifiedGrades Chamberlain College Of Nursing
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
145
Lid sinds
3 jaar
Aantal volgers
61
Documenten
8739
Laatst verkocht
1 maand geleden
High Scores

Hi there! Welcome to my online tutoring store, your ultimate destination for A+ rated educational resources! My meticulously curated collection of documents is designed to support your learning journey. Each resource has been carefully revised and verified to ensure top-notch quality, empowering you to excel academically. Feel free to reach out to consult with me on any subject matter—I'm here to help you thrive!

3.9

38 beoordelingen

5
21
4
6
3
2
2
3
1
6

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen