categories: Technology, Science & Productivity
Create and modify tables by setting constraints to columns and using some of the most useful built-in functions in SQL as well as data type conversion.
Master SQL skills, use SQL to query data and perform analysis and start your professional job as a software developer using databases and data on a daily basis.
Calculate the difference between two rows in SQL and learn how to use the SQL window functions to find the difference between two rows in the same table.
Free lessons
Introduction
Download PostgreSQL
Tools Used in This Course
Install PostgreSQL
Download SQLectron
1. Introduction
Introduction
Tools Used in This Course
2. Setting Up Course Tools
Download PostgreSQL
Install PostgreSQL
Download SQLectron
Install SQLectron
Connect to PostgreSQL - Credentials
Connect to PostgreSQL Using SQLectron
Import Course Data Using SQLectron
FOR WINDOWS 32-BIT USERS: SQL Alternative - DBeaver
3. Nested Queries
Selectception: A Select Query Inside Another Select Query!
4. Casting & Data Conversion
Auto Data Conversion in SQL
Cast Date to Character
Cast Number to Character
Cast Timestamp to Character
Cast Character to Number
Cast Character to Date & Timestamp
5. Combination Relationships
UNION
UNION ALL
Important Note about Combining Queries
INTERSECT
EXCEPT
6. Joins in SQL
Employees & Departments Tables Revised
Entity Relationship Diagram (ERD)
Cartesian Join
Table Aliases with Joins
Why I Don't Recommend Cartesian Joins
Inner Join
In-Depth Look into Join Types in SQL
Outer Join - Right, Left & Full
7. SQL Data Definition Language (DDL)
Constraints in SQL
Primary Keys
NOT NULL Constraint
UNIQUE Constraint
DEFAULT Constraint
Foreign Keys
Use Foreign Keys with Joins - Books & Publishers
Foreign Keys - Properties
Create a New Table with Select Statement
A Trick to Create an Empty Table with Select Statement
Insert New Records Using Select Statement
Views
Schemas
Create & Use Schemas
8. Access Control
Introduction to Access Control
Create User
Grant SELECT to User
Grant Insert & Update to User
Revoke Privilege from User
User Groups
Data analysis requires working with a large amount of data and performing manipulation on it. If you are interested in data science and want to pursue a career in it, SQL is listed as one of the most in-demand skills in the skill set for data analyst roles. Therefore, this training course was prepared to help you learn about mastering SQL step-by-step to improve your skills to reach the advanced level.
If you wish to have more information, we recommend you check parts one and two of this course.
Data Engineer
814 Learners
3 Courses