SQL

Rank in SQL

How to use row_number in SQL | SQL RANK() function | dense_rank SQL

How to rank in SQL

In this blog, we will understand how to rank in SQL your data. We will first understand what is SQL rank function then dense_rank SQL. Then also understand row number SQL. We will first create SQL table and then insert our data to understand these three functions in SQL i.e. rank function SQL, oracle dense_rank, oracle row_number.

How to use row_number in SQL | SQL RANK() function | dense_rank SQL Read More »

SQL CASE WHEN statement

Oracle CASE statement || SQL CASE statement with 2 Example

oracle case statement

The SQL CASE statement is a logical statement that helps in putting values based on logical arguments. The CASE statement goes through conditions and returns a value when the first condition is met. So, once a condition is true, it will stop reading and return the result. If no conditions are true, it returns the value in the ELSE clause. If no conditions meet the criteria then NULL value will return.

Oracle CASE statement || SQL CASE statement with 2 Example Read More »

SQL GROUP BY CLAUSE

Group by SQL function || Group by in SQL with examples

Group by SQL function

Group by in SQL is a function by which we are grouping column values against record groups. It helps in aggregating columns data and getting summary of values. Group by SQL function is a very useful and frequently used SQL function.
The GROUP BY clause groups records into summary rows.
GROUP BY returns one record for each group.
GROUP BY is used with aggregates like COUNT, MAX, SUM, SUM and AVERAGE.

Group by SQL function || Group by in SQL with examples Read More »

Scroll to Top