2.9f

studied byStudied by 0 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 4

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

5 Terms

1

What is a composite primary key in database design?

A composite primary key consists of multiple columns that together uniquely identify a row, ensuring it is not null and minimal.

New cards
2

How are composite keys represented in SQL?

Composite keys are enclosed in parentheses.

New cards
3

What does the CREATE TABLE statement ensure regarding a primary key?

It ensures that a column or group of columns is always unique and non-null.

New cards
4

What is the purpose of the AUTO INCREMENT keyword in SQL?

It defines a column that automatically receives an incrementing value when a new row is inserted.

New cards
5

Where does the AUTO INCREMENT keyword appear in a CREATE TABLE statement?

It follows the column's data type.

New cards
robot