Statements

SQL SELECT DISTINCT: Performance Best Practices

Database development, Statements

Is SQL DISTINCT good (or bad) when you need to remove duplicates in results? Some say...
Read More

SQL OR Statement: The Basics

Database development, Statements

Now and then, you need to create a complex SQL query using multiple statements together. While these query types can be tedious to create,...
Read More

How to Use SQL SUM Function

Database development, Statements

SQL is a powerful and widely-used programming language for data storage, retrieval, and manipulation. One of the most commonly-used...
Read More

User-Defined Functions in SQL Server

Database administration, Database Optimization & Structure, SQL Server, Statements

User-defined functions in SQL Server (UDFs) are key objects that each developer should be aware of....
Read More

SQL BETWEEN-Smart Tips to Scan for a Range of Values

Database development, Statements

SQL BETWEEN is an operator used to specify a range of values to test. The returned value can be inclusive or within the range. Or it can be...
Read More

SQL Server ORDER BY Clause: The 5 Do’s and Don’ts to Sort Data Like a Pro

Database development, Statements

Ugly. That’s what unsorted data looks like. We make data easy for the eyes by sorting them. And that’s what SQL ORDER BY is for. Use...
Read More

Overview of T-SQL PRINT Statement

Database development, Statements

PRINT statements are crucial in any programming language. They will allow the routine or program...
Read More

GROUP BY in SQL Server: 3 Easy Examples to Group Results

Database development, SQL Server, Statements

Grouping is an important feature that helps organize and arrange data. There are a lot of ways to do it, and one of the most effective...
Read More

How to Comment MySQL Code: Best Practices

Database development, MySQL, Statements

Comments are used to add information to the code. It is mostly ignored by the compiler, but human specialists can read those comments when...
Read More

How to Use a ROUND Function in SQL Server

Database development, Statements

The ROUND function in SQL Server is a powerful tool that allows you to round numeric values to a...
Read More
Close