postgres-database Flashcards

1
Q

What is a database schema?

A

A collection of inter-linked tables is called a schema. A schema defines how the data in a relational database should be organized. In relational databases, you typically have to define your schema up front and the database server will make sure that any data being written to the database conforms to that schema.

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

What is a table?

A

A table is a list of rows each having the same set of attributes. Attributes are commonly referred to as columns. You might visualize a database table as a sort of spreadsheet where each row is a record in that spreadsheet.

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

What is a row?

A

Each entry for the table.

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