postgres-database Flashcards

1
Q

What is a database schema?

A

A collection of tables is called a schema. A schema defines how the data in a relational database should be organized.

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

What is a table?

A

Relational databases store data in relations, commonly referred to as tables. A table is a list of rows each having the same set of attributes.

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

What is a row?

A

A table is a list of rows each having the same set of attributes. For example, all students in a “students” table could have “firstName”, “lastName”, and “dateOfBirth” attributes. Attributes are commonly referred to as columns.

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