100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4,6 TrustPilot
logo-home
Examen

WGU C170, WGU Full Study Pack

Puntuación
-
Vendido
-
Páginas
51
Grado
A+
Subido en
16-09-2022
Escrito en
2022/2023

WGU C170, WGU Full Study Pack 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? Many-to-many Which two examples are attributes? 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? Set-to-Null 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, Which two columns are created as something other than variable-length strings in this statement? member_id expiration 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 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? 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 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; What does WHERE identify in a basic SQL SELECT statement? 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; 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? GROUP BY PRODNUM; Which data definition language statement affects databases or objects in them? ALTER What does the DELETE statement do? 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. 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 Which two SQL data types can represent images or sounds? TINYBLOB BINARY 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? CUSTOMER Which method creates an empty copy of a table and then populates it from the original table? CREATE TABLE ... LIKE followed by INSERT INTO ... SELECT : ALTER TABLE tbl_name action [, action ] ... ; What does this syntax allow? Choose 2 answers Dropping indexes Changing column data types Which command eliminates a table? DROP TABLE Why is a view used to give controlled access to data? 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 SELECT privilege for every column referred to elsewhere in the statement SELECT product_name, product_number, mfg_city FROM product; Which statement, when added before this statement, generates a view? CREATE VIEW viewprod AS What is the proper command to change a view? ALTER VIEW DROP VIEW EMPLOYEE; What happens as a result of the execution of this statement to the HRDB table on which the EMPLOYEE view is based? The view is discarded. 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? Cascaded delete 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)); What does the clause PRIMARY KEY followed by a field name in parentheses mean in a CREATE TABLE statement? 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? FOREIGN KEY ( customer_name ) REFERENCES table_name ( customer_name ) Which ALTER TABLE statement adds a foreign key constraint to a child table? ALTER TABLE child ADD FOREIGN KEY (par_id) REFERENCES parent (par_id) ON DELETE CASCADE; The database administrator has been tasked with implementing an index to speed up the retrieval of data based on the city values. The database is using the InnoDB engine. What is the correct syntax to create an index to be built on the city field based on the database information? ALTER TABLE `Salesperson` ADD INDEX 'city_index' (`city`) What is the name of the special internal database where the query optimizer

Mostrar más Leer menos
Institución
WGU C170
Grado
WGU C170











Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Escuela, estudio y materia

Institución
WGU C170
Grado
WGU C170

Información del documento

Subido en
16 de septiembre de 2022
Número de páginas
51
Escrito en
2022/2023
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

  • wgu c170
  • wgu full study pack

Conoce al vendedor

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
BrilliantScores Chamberlain College Of Nursng
Ver perfil
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
2849
Miembro desde
4 año
Número de seguidores
2236
Documentos
16200
Última venta
19 horas hace
latest updated documents, correct, verified & graded A study materials

get bundles, documents, test banks, case studies, shadow health's, ATIs, HESIs, study guides, summary, assignments & every kind of study materials.

3.8

777 reseñas

5
389
4
117
3
117
2
37
1
117

Documentos populares

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes