SQL

Using GROUP BY and HAVING

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.


Table Constraints

Restricting data by using Table Constraints in SQL Server. What are the different table constraints in SQL Server?



Working with Schemas

What is the schema object in SQL Server? How is the schema object used for organization, naming, and security?


Working with Time Precision

Explore the importance of working with time precision. Learn how the TIME data type can optimize your data storage efficiency.


What is a Function?

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.



SQL COALESCE Function

The SQL Coalesce function is used when you want to combine values from a series of columns or expressions when they might contain NULL values.


Using the INSERT Statement

How to use an INSERT statement to add records to a table in SQL Server. We will begin with just a simple INSERT statement that will add one row into the table.


IDENTITY Columns

Learn how to use IDENTITY Columns to automatically number records in your database tables for efficient data management.