Mostly
Asked
SQL
functions
- By Sakshi Yadav
Use Case: Counts the number of rows in a dataset.
Use Case: Adds up values in a numeric column.
Use Case: Calculates the average value of a
numeric column.
Use Case: Finds the maximum value in a column.
Use Case: Finds the minimum value in a column.
Use Case: Rounds a numeric value to a specified
number of decimal places.
Use Case: Combines two or more strings into one
string.
Use Case: Returns the length of a string.
Use Case: Extracts a portion of a string.
Use Case: Removes leading and trailing spaces
from a string.
Use Case: Converts a string to uppercase or
lowercase.
Use Case: Returns the first non-null value from a
list of expressions.
Use Case: Creates conditional logic in SQL queries.
Use Case: Extracts a specific part of a date.
Use Case: Calculates the difference between two
dates.