
Master database querying with SQL through a step-by-step introduction, environment setup, and hands-on query activities for data analysis, data science, backend development, and big data.
Explore database tools, popular databases, and environment setup; learn about objects such as tables and views, SQL statements, aggregate functions, joins, indexes, and stored procedures.
Assumptions for this course set strong computer skills as the basic prerequisite. Whether you are a developer, designer, or non-developer, your interest in SQL matters.
Define a database as a store of data, from flat files to electronic collections. Highlight data integrity, access controls, security, scalability, and how a database management system enables efficient processing.
Explore the difference between a database management system and an RDBMS, and understand how relational databases organize data in tables with interrelated items.
Sketch an elementary store database scenario to illustrate entity design in an rdbms. Highlight relationships among products, inventory, customers, and product sales.
Explore database tools across SQL Server, MySQL, MariaDB, PostgreSQL, and SQLite, including SQL Management Studio, Azure Data Studio, and VS Code extensions, with express setup for this course.
Explore database structure and objects, including schema objects, tables, views, and indexes, and master SQL for storing, querying, and managing data across databases.
Install SQL Server Express with mixed mode, install SSMS, connect to your instance, create a sample database via a query, and restore Adventure Work to explore tables, views, and synonyms.
Learn how to restore the AdventureWorks database from a backup, inspect file lists, and move data and log files to a local path with admin rights.
Explain how sql server tables store data in rows and columns, with primary keys and constraints, and how to create and alter tables with data types like integer and varchar.
Explore predefined constraints that enforce rules on single or multiple columns to maintain data integrity, accuracy, and reliability, including not null, primary key, unique, composite primary keys, default, and check.
Learn how to insert data into a customers table using insert into with specified fields and values, handle varchar, numbers, and binary, and practice inserting multiple records and basic selects.
Learn to retrieve data with select queries, filter with where clauses, and modify or remove records using update and delete commands, with practical examples.
Discover how database views function as virtual tables defined by a query, exposing a subset of data from one or more tables, simplifying complex queries, and improving security and performance.
Explore SQL comparison operators to filter data with select, update, delete, and where clauses, using greater than, less than, equal, not equal, and between.
explore core sql statements, including select distinct, top, where, order by, between, in, and like, with practical demos on the human resources.employee table to build flexible queries.
Master SQL aggregate functions such as count, max, min, and avg, and use group by and having to summarize data by fields.
Master inner joins, left joins, right joins, and full outer joins to combine related rows from two tables, and use unions to merge datasets with a shared schema.
Explore sql server built-in functions for date, string, and numeric handling, including getdate, isnumeric, len, isnull, newid, convert, cast, left, right, ltrim, trim, and abs, with practical demos.
Introduce the index as an on disk structure tied to a table or view that speeds retrieval and reduces query time, with primary keys automatically creating indexes and additional indexes.
Create and optimize non-clustered and clustered indexes, handle unique constraints and multi-column combos, follow where-clause order for performance, and monitor fragmentation.
Improve query performance on large tables by understanding index fragmentation and using rebuild or reorganize to reorder and compact index pages, with options for a single index or all indexes.
Learn how stored procedures encapsulate complex SQL logic, accept parameters, and return multiple result sets, enabling efficient, secure data access within the database environment.
Create and modify stored procedures, execute with or without parameters, returning all customers and those with id over 1000; also fetch the latest date's customers and a sales total.
Explore scalar functions in SQL Server, learn how they take inputs, return a single value, and how to create, call, and reuse them inside queries and procedures.
Compare inline and multi-statement table valued functions in SQL Server, detailing syntax, returns table, and whether the schema is predefined; learn how to return and query the resulting table.
Master SQL Server error handling with try catch, inspect error information, log to a log table, and use transactions to ensure data integrity and rollback on errors.
Learn how SQL transactions ensure data integrity by wrapping multiple modifications in begin transaction and commit, using try-catch for rollback on errors.
Explore dynamic query, a technique that builds SQL statements as strings and executes them to generate flexible queries for complex reporting based on optional input parameters.
Learn how to implement stored procedures as reusable inner routines to log errors, create a centralized error log table, and call the logging procedure from other procedures.
Use SQL to create and manage databases
Create various database objects/entities
Manipulate with simple and complex query
Perform all various query operations applicable to SQL Server, SQLite, PostgreSQL, MySQL, etc.
Database and Tools
Tables and Views (Data Types, Create and alter, Primary Keys, Constraints, Insert, Update, Delete, etc)
Comparison Expressions (Greater Than, Less Than, Not Equal to, etc)
SQL Statements Fundamentals (Between, IN, Order By, Select Where, Select Top, etc)
SQL Aggregate (SUM, Count, Group By, Having, etc)
JOINS (Inner Join, Left Outer Join, Union, Full Outer Join, etc)
In-Built Function (IsNumeric, isNULL, Left, Trim, Convert, CAST, etc)
Index and the importance (Create and Optimize Index)
Stored Procedure and functions ( SQL Transaction, Exception Handling, Scalar Value Function, Table-Valued Function, Function in Stored Procedure, Stored Procedure in Stored Procedure, Dynamic Query)
and much, much more
One of the most in-demand talents, knowing how to read and create sophisticated queries to a database using Microsoft SQL Server, will be taught to you. Any other significant SQL database, including MySQL, PostgreSQL, Amazon Redshift, Oracle, and many more, can be used with these abilities.
Since SQL is one of the most in-demand tech skills, learning it is one of the fastest methods to improve your professional prospects! You'll pick up knowledge fast in this course, and along the way, you'll face obstacles and assessments to sharpen your comprehension! You will acquire all the skills required to become a SQL Pro in this course!
The course runs at a steady pace for any learner to easily understand and practice alongside.