Commands 1 Flashcards
1
Q
extracts data from a database
A
SELECT
2
Q
updates data in a database
A
UPDATE
3
Q
Deletes data from the database
A
DELETE
4
Q
inserts new data into a database
A
INSERT INTO
5
Q
creates a new database
A
CREATE DATABASE
6
Q
modifes a database
A
ALTER DATABASE
7
Q
creates a new table
A
CREATE TABLE
8
Q
modifies a table
A
ALTER TABLE
9
Q
deletes a table
A
DROP TABLE
10
Q
creates an index (search key)
A
CREATE INDEX
11
Q
Deletes an Index
A
DROP INDEX
12
Q
used to sort the result-set in ascending or descending order.
A
ORDER BY
13
Q
clause that lets you specify the maximum number of rows the result set will have.
A
LIMIT
14
Q
specifies where to start from.
A
OFFSET
15
Q
Used to select values within a range
A
BETWEEN
Values must be separated by the and keyword