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

WGU C170 - PRE-ASSESSMENT LATEST 2021 GRADED A+

Note
-
Vendu
-
Pages
14
Grade
A
Publié le
29-12-2021
Écrit en
2021/2022

WGU C170 - PRE-ASSESSMENT LATEST 2021 GRADED A+ 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? One-to-one One-to-many Many-to-many One-to-one binary correct answer- Many-to-many Which two examples are attributes? Choose 2 answers A person attending a meeting An employee number A sales meeting A meeting code correct answer- 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? Restrict Cascade Matching Set-to-Null correct answer- Set-to-Null 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? Choose 2 answers member_id last name suffix expiration email city c orrect answer- 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 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? Move the data from the third column into the first column. Move the data from the third column into its own table. Move the data from the first two columns into separate tables. Move the data from the second column into the third column. correct answer- 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? First normal form Second normal form Third normal form Fourth normal form correct answer- 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? Foreign Primary Compound Composite correct answer- Foreign Which command creates a database only if it does not already exist? IF NOT EXISTS db_name ; CREATE DATABASE IF NEW db_name ; CREATE DATABASE IF NOT EXISTS db_name ; IF NOT EXISTS CREATE DATABASE db_name ; correct answer- 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? WHERE PRODCOST=20; AND PRODCOST=20; WHERE PRODCOST=20; AND PRODCOST=20; correct answer- WHERE PRODCOST=20; What does WHERE identify in a basic SQL SELECT statement? The associative entity The rows to be included A table's intersection data A range of included columns correct answer- The rows to be included Refer to the given SQL statement. SELECT EMPNUM FROM EMPLOYEE Which line added to the end of the statement returns employee numbers of at least 1000? WHERE EMPNUM = 1000+; WHERE EMPNUM 1000; WHERE EMPNUM = 1000; WHERE EMPNUM = 1000; correct answer- WHERE EMPNUM = 1000; Refer to the given SQL statement. SELECT PRODNUM, SUM(QUANTITY) FROM SALESPERSON Which line, when added to the end of the statement, returns the total number of each kind of product by product number? SUM PRODNUM; COUNT PRODNUM; ORDER BY PRODNUM; GROUP BY PRODNUM; correct answer- GROUP BY PRODNUM; Which data definition language statement affects databases or objects in them? SELECT INSERT ALTER NULL correct answer- ALTER What does the DELETE statement do? It removes views. It removes rows from a table. It removes columns from a table. It removes columns not named in the column list. correct answer- It removes rows from a table. Which condition must be in effect to use the INSERT INTO ... VALUES syntax for an INSERT statement? The VALUES list must contain a value for each non-null valued column in the table. The VALUES list must contain a value for each row in the table. The INSERT INTO portion of the statement must generate a LOAD DATA statement. The INSERT INTO portion of the statement must refer to a sampdb database table. correct answer- The VALUES list must contain a value for each non-null valued column in the table. Refer to the given SQL statement. CREATE TABLE mytbl ( f FLOAT(10,4), c CHAR(15) NOT NULL DEFAULT 'none', i TINYINT UNSIGNED NULL ); Which kind of data type is FLOAT in this statement? Decimal Integer String Data correct answer- Decimal Which two SQL data types can represent images or sounds? Choose 2 answers INT FLOAT BINARY TERNARY TINYBLOB SOUNDBLOB correct answer- TINYBLOB BINARY Refer to the given SQL statement. CREATE TABLE CUSTOMER (CustomerID INT NOT NULL AUTO_INCREMENT, LastName VARCHAR(100) NOT NULL, FirstName VARCHAR(100) NOT NULL, PRIMARY KEY ( CustomerID )); Which component of the command indicates the table's name? TABLE CUSTOMER CustomerID CUSTOMER INT correct answer- CUSTOMER Which method creates an empty copy of a table and then populates it from the original table? INSERT TABLE ... SELECT followed by INSERT INTO ... LIKE : CREATE TABLE ... LIKE followed by INSERT INTO ... SELECT : CREATE TABLE ... INTO followed by INSERT INTO: INSERT TABLE ... LIKE followed by SELECT: correct answer- CREATE TABLE ... LIKE followed by INSERT INTO ... SELECT : Refer to the given SQL syntax. ALTER TABLE tbl_name action [, action ] ... ; What does this syntax allow? Choose 2 answers Adding rows Dropping indexes Changing storage space Changing column data types correct answer- Dropping indexes Changing column data types Which command eliminates a table? TRUNCATE TABLE DELETE TABLE REMOVE TABLE DROP TABLE correct answer- DROP TABLE Why is a view used to give controlled access to data? To add complexity to encryption techniques To move complicated security routines to subqueries To restrict access to persons retrieving and modifying sensitive information To limit many-to-many relationships between various entities and attributes correct answer- To restrict access to persons retrieving and modifying sensitive information A database manager plans to create a view of a table and has these two elements: • The CREATE VIEW privilege for the table • A level of privilege for every column selected by the SELECT What else does the manager need to create this view? The values created by the syntax INSERT INTO tbl_name VALUES(...),(...),... ; The SELECT privilege for every column referred to elsewhere in the statement A reciprocal level of privilege for every row selected by the SELECT statement The level of privilege for every column that is part of the base table correct answer- The SELECT privilege for every column referred to elsewhere in the statement Download to view full exam.

Montrer plus Lire moins









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

Infos sur le Document

Publié le
29 décembre 2021
Nombre de pages
14
Écrit en
2021/2022
Type
Examen
Contient
Questions et réponses

Sujets

  • wgu c170

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.
Wiseman NURSING
Voir profil
S'abonner Vous devez être connecté afin de suivre les étudiants ou les cours
Vendu
7259
Membre depuis
4 année
Nombre de followers
3859
Documents
27500
Dernière vente
6 heures de cela
Premier Academic Solutions

3.9

1486 revues

5
734
4
267
3
228
2
81
1
176

Documents populaires

Récemment consulté par vous

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