SQL – Common Table Expression (CTE) Table of content A Common Table Expression (CTE) can make it easier to manage and write complex queries by making them more readable and simple, like database views and derived tables. We can reuse or rewrite the query by breaking down the complex queries into simple blocks. The SQL […]
Category Archives: sql
SQL – Database Tuning Table of content SQL Database Tuning Database Tuning in SQL is a set of activities performed to optimize a database and prevents it from becoming a bottleneck. There are various techniques with which you can configure the optimal performance of a particular database. Database tuning overlaps with query tuning; so, good […]
SQL – Group By vs Order By Table of content In SQL, we have two commonly used clauses that help us to manipulate data; Group By clause and Order By clause. A Group By clause is used to arrange the identical data/records into groups and the Order By clause is used to sort the data […]