postgres Flashcards

1
Q

What is PostgreSQL and what are some alternative relational databases?

A

PostgreSQL is a Relational Database Management System (RDBMS)

MySQL(free), SQL Server by Microsoft, Oracle by Oracle corporation

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

What are some advantages of learning a relational database?

A

domains can be modeled well using a relational database. They can store and modify data in a way that makes data corruption as unlikely as possible.

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

What is one way to see if PostgreSQL is running?

A

while using two terminals. one using top

and one starting the sql process sudo service postgresql start or using

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

What is a database schema?

A

a collection of tables. 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
5
Q

What is a table?

A

A table is a list of rows each having a same set of attributes.

it is also called a relation

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

What is a row?

A

a single structured item in a data structure.

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