2.02 Structured Query Language

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/8

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

9 Terms

1
New cards

Structured Query Language

a high-level computer language for storing, manipulating, and retrieving data.

standard language for relational databases, commonly supported in non-relational databases.

2
New cards

Strings

must be surrounded by single quotes or double quotes, e.g. ‘string’ or “string”

3
New cards

numeric values

123

4
New cards

Binary values

represented with x’0’ where the 0 is any hex value, e.g. x’ofa2’

5
New cards

Data Definition Language

defines the structure of the database.

  • CREATE, ALTER, DROP

6
New cards

Data Manipulation Language

manipulates data stored in a database.

  • INSERT, UPDATE, DELETE

7
New cards

Data Query Language

retrieves data from the database.

  • SELECT

8
New cards

Data Control Language

controls database user access.

  • GRANT, REVOKE

9
New cards

Data Transaction Language

  • manages database transactions.

  • SAVEPOINT, ROLLBACK, COMMIT