Database Management > QUESTIONS & ANSWERS > WGU Data Management - Applications - C170 OA GSA1 (All)
WGU Data Management - Applications - C170 OA GSA1 Add New Row Answer- INSERT INTO table_name (column1, column2, ...) VALUES (value1, value2, value3, ...); Update Row Answer- UPDATE table_name SET c... olumn1 = value1, column2 = value2, ... WHERE condition; Delete Row Answer- DELETE FROM table_name WHERE condition; Inner Join Answer- SELECT column_name(s) FROM table1 INNER JOIN table2 ON table1.column_name = table2.column_name; CREATE VIEW Answer- CREATE VIEW viewname AS SELECT Col1, Col2 FROM table WHERE condition; Concatenate Answer- CONCAT(Col1, Col2) AS NewColumnName; Create Index Answer- CREATE INDEX index_name ON table_name (column1, column2, ...); Create Database Answer- CREATE DATABASE databasename; Drop Database Answer- DROP DATABASE databasename; Create Table Answer- CREATE TABLE table_name ( column1 datatype, column2 datatype, column3 datatype, .... ); Set Primary Key Answer- CREATE TABLE Persons ( ID int NOT NULL, LastName varchar(255) NOT NULL, FirstName varchar(255), Age int, PRIMARY KEY (ID) ); Set Foreign Key Answer- CREATE TABLE Orders ( OrderID int NOT NULL, OrderNumber int NOT NULL, PersonID int, PRIMARY KEY (OrderID), FOREIGN KEY (PersonID) REFERENCES Persons(PersonID) ); [Show More]
Last updated: 1 year ago
Preview 1 out of 2 pages
Connected school, study & course
About the document
Uploaded On
May 20, 2022
Number of pages
2
Written in
This document has been written for:
Uploaded
May 20, 2022
Downloads
0
Views
85
In Browsegrades, 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 © Browsegrades · High quality services·