Computer Science > EXAM > WGU - C170 - Data Management Applications (All)
WGU - C170 - Data Management Applications Create Database Syntax ans: CREATE DATABASE db_name; Simple SFW query syntax ans: SELECT * FROM db_name WHERE column_name operator value; Cardinality... : Inside or outside? ans: Outside Modality: Inside or outside? ans: Inside What commands are used with data definition? ans: create, alter, drop, truncate, comment, rename What commands are used with data manipulation? ans: Select, Insert, Update, Delete, Merge, Call, Explain Plan, Lock Table Create Table Syntax ans: CREATE TABLE table_name ( column_name1 data_type(size), column_name2 data_type(size), ); What does AUTO_INCREMENT attribute do for numeric values? ans: It generates a series of unique identifier values. CREATE VIEW SYNTAX ans: CREATE VIEW view_name AS SELECT column_name(s) FROM table_name WHERE condition Primary Key Syntax ans: CREATE TABLE table_name ( column1 data_type(size) PRIMARY KEY (column1) ); Create Index Syntax ans: CREATE INDEX index_name ON table_name(column_name) Insert syntax ans: INSERT INTO table_name VALUES (value1,value2,value3,...); Grant command syntax ans: GRANT privileges ON object TO user; Drop Syntax: Table, Index, Database ans: DROP TABLE table_name; ALTER TABLE table_name DROP INDEX index_name; DROP DATABASE database_name Count() Syntax ans: SELECT COUNT(column_name) FROM table_name; returns # of values in a column SELECT COUNT(*) FROM table_name; returns number of records in a table Inner Join Description ans: Returns all rows when there is at least one match in BOTH tables Left Join Description ans: Return all rows from the left table, and the matched rows from the right table Right Join Description ans: Return all rows from the right table, and the matched rows from the left table [Show More]
Last updated: 2 years ago
Preview 1 out of 2 pages
Buy this document to get the full access instantly
Instant Download Access after purchase
Buy NowInstant download
We Accept:
Can't find what you want? Try our AI powered Search
Connected school, study & course
About the document
Uploaded On
Sep 16, 2022
Number of pages
2
Written in
This document has been written for:
Uploaded
Sep 16, 2022
Downloads
0
Views
56
In Scholarfriends, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Scholarfriends · High quality services·