PostreSQL Databases Flashcards

1
Q

What is a database schema?

A

A schema is a collection of tables. 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

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. Rows are called “records” or “tuples”. A row is a record in the spreadsheet.

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

What is a column?

A

A column is an attribute. Columns represent values attributed to a record/row.

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