- [x] Read the introduction to SQL - [ ] Understand basic concepts - [ ] Install required softwares - [ ] Download PostgreSQL - [x] Download Azure Data Studio - [ ] Install PostgreSQL with default configs - [ ] Install ADS - [ ] Run and configure ADS to work with Postgres - [ ] Create connection to the Postgres instance - [x] Create your own database - [ ] Get familiar with different data types in Postgres - [x] Write a suitable data type for each of the fields below: - `[FILL HERE]` for flight time - `[FILL HERE]` for email address - `[FILL HERE]` for a boolean variable - `[FILL HERE]` for stature - [x] Store some data - [ ] Create a table with arbitrary columns with data types you learned in the previous section - [ ] Insert some sample data into your table - [ ] Retrieve your data with different `SELECT` statements and different conditions - [ ] Try to change at least one of your table columns attributes using `ALTER` statement - [x] Perceive the importance and usage of each key - [x] Add primary key constraint to your table - [x] Try inserting different values for primary key and check whether it produces error or not - Try inserting duplicate primary key. Error [ ] - Try inserting `NULL` primary key. Error [ ] - [x] Create a new table which is related to your existing table with a foreign key - [x] Try inserting different values for foreign key to produce different errors - Try inserting none existing foreign key. Error [ ] - Try inserting duplicate foreign key. Error [ ] - Try inserting `NULL` foreign key. Error [ ] - [x] Perceive different types of joins - [x] Write the corresponding set operation for each join like the given example - A Inner Join B : A ∩ B - A Left Outer Join B : `[FILL HERE]` - A Right Outer Join B : `[FILL HERE]` - A Full Outer Join B : `[FILL HERE]` - [x] Test different joins on you tables - [ ] Work with functions - [x] Write a query for each present function in the document
[FILL HERE]for flight time[FILL HERE]for email address[FILL HERE]for a boolean variable[FILL HERE]for statureSELECTstatements and different conditionsALTERstatementNULLprimary key. Error [ ]NULLforeign key. Error [ ][FILL HERE][FILL HERE][FILL HERE]