Rules for SQL Flashcards

1
Q

Primary Key

A

Must be made to never be NULL. Must be unique.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Unique Key

A

Must be unique. One can be NULL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Foreign key

A

The key in this table that corresponds to another table’s primary key.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

DDL

A

Data Definition Language - CREATE, ALTER, DROP

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

DML

A

Data Manipulation Language- what I’m used to

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

DCL

A

Data Control Language - GRANT, REVOKE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

TCL

A

Transaction Control Language - SAVEPOINT, ROLLBACK, COMMIT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

INSERT INTO

A

A command to create new values in a table. Syntax-INSERT INTO TABLE_NAME (column1, column2, column3,…columnN)
VALUES (value1, value2, value3,…valueN);

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Relational Database Management System

A

A program that allows you to create, update, and administer a relational database. Most relational database management systems use the SQL language to access the database

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Three ways of using CSS

A

Inline - by using the style attribute in HTML elements
Internal - by using a element in the <head> section
External - by using an external CSS file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly