How to Get SQL Percentage Calculation as Easy as Pie
Percentage calculation in SQL can be a bit like traversing an unfamiliar labyrinth. If you’re a...
SQL Aggregate Functions: Easy Tips for Newbies
SQL Aggregate Functions are functions that perform calculations and return a summarized result. With these, it’s easy to do these...
SQL Cheat Sheet: What is SQL, SQL Commands, and SQL Injection
Using Structured Query Language (SQL) can seem complicated at first, but further, it will become easier and much more convenient. You only...
How to Use SQL Server T-SQL Function SUM: 5 Use Cases
The T-SQL SUM function is one of the fundamental functions. Its purpose is to calculate the sum of...
SQL SELECT DISTINCT: Performance Best Practices
Is SQL DISTINCT good (or bad) when you need to remove duplicates in results? Some say it’s good and add DISTINCT when...
Understanding SQL Server Security Function HAS_Permis_BY_Name and Its USE Cases
There are multiple instances when we want to check the permission on a securable for a principal. Before going ahead, let’s see what...
How to Use SQL SUM Function
SQL is a powerful and widely-used programming language for data storage, retrieval, and...
User-Defined Functions in SQL Server
User-defined functions in SQL Server (UDFs) are key objects that each developer should be aware of. Although they are very useful in many...
SQL Server ORDER BY Clause: The 5 Do’s and Don’ts to Sort Data Like a Pro
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...
GROUP BY in SQL Server: 3 Easy Examples to Group Results
Grouping is an important feature that helps organize and arrange data. There are a lot of ways to...