This is an introductory course on Databases and SQL Querying. There are no pre-requisities for this course. If you are looking to get acquainted with the concept of Databases and Queries for maybe your next interview as an analyst, this is the right course for you. All you need is a windows machine and we will walk through step by step, right from setting up your environment to creating your first table to writing your first query. This course is structured in a way that you can follow along with me. At the end of this course, you should be comfortable writing simple queries including queries related to Dates, String manipulation, Aggregation etc.
Introduction and Setup
This is the first lesson of the multi-part series in Introduction to Databases and SQL. The course is aimed at providing 101 level introduction to Databases and writing basic queries. There is no pre-requisite to this course.
Here we look at how to setup your database environment. We Download and install SQL 2014 express edition and walk through SQL management studio. This will help viewers of this course to follow along with me.
Introduction to Querying
Here we walk through how to create your first SQL table. We look at inserting some basic data and basic querying.
We walk through installing some sample databases, especially the adventure works database. This will help us the viewers to follow along with me. Adventure works database is a sample database provided by Microsoft.
Deep Dive into Querying
We introduce basic SQL syntax and look at some code. We query the adventure works database and look at the following clauses:
SELECT, WHERE , GROUP BY , HAVING, ORDER BY, IN, BEWTEEN , DISTINCT, CALCULATED COLUMN, TEMP TABLES and INSERT, DELETE , UPDATE
SQL Joins
We introduce the concept of SQL Joins here. We walk through concepts of INNER JOIN, OUTER JOIN, LEFT OUTER JOIN, RIGHT OUTER JOIN, FULL OUTER JOIN AND CROSS JOIN.
We look at SQL syntax for SQL Joins here. We walk through syntax for INNER JOIN, OUTER JOIN, LEFT OUTER JOIN, RIGHT OUTER JOIN, FULL OUTER JOIN AND CROSS JOIN.
Dates / Aggregation and String Functions
Next we start looking at SQL Date functions. Date functions like DATEADD(), DATEDIFF(), DATEPART() , GETDATE() are useful functions and makes it easier to easily query data having dates.
Next we walk through aggregation functions like SUM(), COUNT(), AVG(). We also walk through some String functions like LEFT(), RIGHT(), LTRIM(), RTRIM(), CONCAT(), UPPER(), LOWER(), LEN()
We conclude our series of lectures on Introduction to Databases and Querying.
Rewind:
Introduction to Databases and Querying
(Database concepts, Table concepts , Basic Queries, SELECT , CRUD, JOINS, AGGREGATIONS, Dates Etc.)
Next Steps:
-Stored Procedures, Customer Functions, Triggers, Views, Temporary Tables
Advanced Concepts
-Database Tuning, Query Tuning, Indexing, CLR, Profiler, Loading Very large datasets
ETL
SSIS - Transferring data between systems and cleaning it up (beginners, Intermediate, Advanced)
Reporting
SSRS, Tableau
Big Data Analytics
Hadoop for beginners, Intermediate and Advanced