Writing a SELECT statement
What are the basics in writing a T-SQL SELECT? How to return columns and records from a table in SQL Server.
What are the basics in writing a T-SQL SELECT? How to return columns and records from a table in SQL Server.
In this post, we discuss what columns and records are in a SQL table including an explanation of objects and entities.
How to use the ORDER BY statement to sort records in a T-SQL statement in both ascending and descending order.
How to use the WHERE statement to filter records when a value IS NULL or IS NOT NULL in a T-SQL statement.
What is a SQL Function and how to use a function in a T-SQL statement? We use the GetDate() and LEFT() functions as examples.
How to work with NULL values in Aggregate Functions in a T-SQL statement. How to fix issues with NULL values with the AVG() and COUNT() functions.
In this post, we discuss how to use the GROUP BY and HAVING clause in a T-SQL statement and how to use them with aggregate functions.
Understanding the difference between Parent Tables and Child Tables and the difference between Primary Keys vs Foreign Keys.
This demonstration will walk through how to create table relationships and foreign key constraints using SQL.
How to write T-SQL SELECT statements using multiple tables and what are the differences between using Inner Joins, Left Outer Joins, Right Outer Joins, and Full Outer Joins.