PostgresSQL Flashcards
What is PostgreSQL and what are some alternative relational databases?
MySQL, SQLite & MariaDB
What are some advantages of learning a relational database?
Relational databases are arguably the most widely used kind of database. SQLite is an embedded relational database that is deployed in a staggeringly high number of devices and applications
What is one way to see if PostgreSQL is running?
sudo service postgresql status
What is a database schema?
a
What is a table?
list of row with the same attribute
What is a row?
set of
What is SQL and how is it different from languages like JavaScript?
SQL is declarerity programming language
How do you retrieve specific columns from a database table?
a
How do you filter rows based on some specific criteria?
where
What are the benefits of formatting your SQL?
a
What are four comparison operators that can be used in a where clause?
= > < !
How do you limit the number of rows returned in a result set?
limit clous
How do you retrieve all columns from a database table?
select *
How do you control the sort order of a result set?
order by
How do you add a row to a SQL table?
insert into table name “content” values ‘value’