WGU C170 Data Management - Applications SQL Syntax STUDY NOTES
CREATE TABLE syntax DDL - correct answer CREATE TABLE tableName ( colName dataType constraint INDEX indexName (colName) PRIMARY KEY (colName, colName) or colName dataType PRIMARY KEY FOREIGN KEY (colName, colName) REFERENCES tableName (colName) ); CREATE INDEX syntax DDL - correct answer CREATE [UNIQUE] INDEX indexName ON tableName (colName); UNIQUE should only be used on a column that should not have duplicate values. DROP INDEX syntax DDL - correct answer DROP INDEX indexName; DROP INDEX 'PRIMARY' ON tableName; drops PK ALTER INDEX DDL - correct answer ALTER INDEX indexName ON tableName (colName, colName);
Escuela, estudio y materia
- Institución
- WGU C170 - DATA MANAGEMENT APPLICATIONS
- Grado
- WGU C170 - DATA MANAGEMENT APPLICATIONS
Información del documento
- Subido en
- 10 de febrero de 2024
- Número de páginas
- 4
- Escrito en
- 2023/2024
- Tipo
- Examen
- Contiene
- Preguntas y respuestas
Temas
-
sql syntax
-
wgu c170 data management applications
Documento también disponible en un lote