
Learn the basics of SQL using Microsoft SQL Server 2012, covering select statements, where clause, order by, normalization, joins, group by and having, with practice problems and supporting documents.
Feel free to review this PDF or watch the next two video lectures that walk you through how to install SQL Server Express and configure the AdventureWorks database.
Learn how to download SQL Server Express, install the database engine and management tools, and load the AdventureWorks sample database using the included MDF file.
Learn to attach the AdventureWorks2012 database to your SQL Server by copying the .MDF file to the data folder, removing the log row, and attaching via SQL Server Management Studio.
Master literal select statements and run your first queries in AdventureWorks 2012 using management studio, returning strings with single quotes and creating multiple columns.
Master basic select techniques by using select star to view all columns, applying top to limit rows, and defining readable column aliases with brackets or quotes.
Query views as virtual tables to retrieve consolidated data easily, then practice selecting specific columns from views like human resources.v employee and sales.v individual customer.
Use the where clause to filter rows by column values, applying operators like greater than, less than, equal to, and not equal, with practical examples.
In this lesson, you will learn how to use the AND and OR logical operators to combine criteria within your WHERE clause.
Master building complex where clauses with and and or operators, and learn how parentheses affect evaluation order in SQL queries. Explore predicate logic and truth tables to verify results.
Explore how SQL evaluates boolean expressions in where clauses by using parentheses to control and/or precedence, with examples using ListPrice, Color, and StandardCost.
Master the in and between operators and like wildcards to filter data in HumanResources.vEmployee and Sales.vStoreWithDemographics, using percent and underscore for flexible name and sales range queries.
Master the where clause in SQL with wildcards, brackets, and ranges to filter data, and learn is null versus is not null for null values, using and or.
Master how to order results with ORDER BY using column names, ordinals, or aliases, choose ASC or DESC, and note aliases work there but not in where.
Apply inner joins as intersections of tables to return columns in a single query. Use table aliases and join on product subcategory IDs to show product name and subcategory name.
Expand your understanding of inner joins by matching production.product with production.productSubcategory to reveal subcategory names and linking to production.productCategory for category names.
Learn to use left outer joins and inner joins to combine sales order data with salesperson, employee, and territory names, showing totals even when a salesperson is missing.
Learn to build a complete sql statement using from, inner and left outer joins, where, and order by, filtering the northwest territory and ordering by total due with table aliases.
Explore SQL aggregate functions, including standard deviation and variance, and sum with a 2006 order date filter. Learn to avoid summing non-numeric values and prep for group by and having.
Group by clause groups values to answer questions like sales by salesperson or stock by product. Use aggregate functions with group by, ensuring all selected columns are grouped or aggregated.
Learn how the having clause filters groups by aggregates, using department employee counts and sales totals to illustrate grouping, count, sum, and conditional operators like between and in.
Do you want to learn a skill that can help you earn nearly $100,000 per year? If so, then this course is for you!
SQL (Structured Query Language) is the language we use to interact with databases that store data. This allows us to retrieve data with ease and simplicity. As terms like business intelligence and big data become more familiar, businesses will need more people to learn the SQL language.
This course will teach you how to use the SQL language within Microsoft SQL Server, one of the most popular database engines in the world.
You will have plenty of video lessons to teach you the majority of the content. Each section includes practice problems or additional e-books to help reinforce what you learn in the video tutorials.