Exercises made during "Databases" classes (III winter semester, 2018/19)
- Introduction to PostgreSQL: psql, schemas
- Simple queries, nulls,
SELECT, ORDER BY, IN, BETWEEN, IS [NOT] NULL
- Date functions, patterns, combining query results, calculations
LIKE, SIMLAR TO, EXTRACT(), DATE_PART(), UNION, INTERSECT, EXCEPT, SUM, CASE WHEN
- Multiple table queries
NATURAL JOIN, LEFT/RIGHT/FULL [OUTER] JOIN, SELECT DISTINCT, WITH
- Aggregate functions, subqueries
GROUP BY, COUNT(), SUM(), AVG()
- Data manipulation
INSERT INTO, DELETE FROM, UPDATE
- Database design, conceptual and logical model
- Normalization
- Database implementation, columns, data types, integrity, sequences
BEGIN, COMMIT, CREATE SCHEMA, DROP TABLE, CREATE TABLE, CHECK(), REFERENCES, COPY, CURRVAL(), ALTER TABLE, ADD CONSTRAINT, SERIAL
- Advanced subqueries
- PL/pgSQL language