MySQL CONCAT() Function
Learn how to use the MySQL CONCAT function for text and string manipulation with syntax, examples, and related SQL dialect notes.
CONCAT(value1, value2, ...)
Smart SQL Tools for Every Database
Reference Library
Search 259 SQL function pages across MySQL, PostgreSQL, SQL Server, and Oracle. Each page includes syntax, examples, and practical usage notes aligned with this site's tools.
Showing 259 of 259 functions.
Learn how to use the MySQL CONCAT function for text and string manipulation with syntax, examples, and related SQL dialect notes.
CONCAT(value1, value2, ...)
Learn how to use the MySQL CONCAT_WS function for text and string manipulation with syntax, examples, and related SQL dialect notes.
CONCAT_WS(value1, value2, ...)
Learn how to use the MySQL SUBSTRING function for text and string manipulation with syntax, examples, and related SQL dialect notes.
SUBSTRING(text, start, length)
Learn how to use the MySQL LEFT function for text and string manipulation with syntax, examples, and related SQL dialect notes.
LEFT(text, number_of_characters)
Learn how to use the MySQL RIGHT function for text and string manipulation with syntax, examples, and related SQL dialect notes.
RIGHT(text, number_of_characters)
Learn how to use the MySQL REPLACE function for text and string manipulation with syntax, examples, and related SQL dialect notes.
REPLACE(text, search, replacement)
Learn how to use the MySQL TRIM function for text and string manipulation with syntax, examples, and related SQL dialect notes.
TRIM(text)
Learn how to use the MySQL LTRIM function for text and string manipulation with syntax, examples, and related SQL dialect notes.
LTRIM(text)
Learn how to use the MySQL RTRIM function for text and string manipulation with syntax, examples, and related SQL dialect notes.
RTRIM(text)
Learn how to use the MySQL UPPER function for text and string manipulation with syntax, examples, and related SQL dialect notes.
UPPER(text)
Learn how to use the MySQL LOWER function for text and string manipulation with syntax, examples, and related SQL dialect notes.
LOWER(text)
Learn how to use the MySQL LENGTH function for text and string manipulation with syntax, examples, and related SQL dialect notes.
LENGTH(text)
Learn how to use the MySQL CHAR_LENGTH function for text and string manipulation with syntax, examples, and related SQL dialect notes.
CHAR_LENGTH(text)
Learn how to use the MySQL LOCATE function for text and string manipulation with syntax, examples, and related SQL dialect notes.
LOCATE(search_text, text)
Learn how to use the MySQL INSTR function for text and string manipulation with syntax, examples, and related SQL dialect notes.
INSTR(search_text, text)
Learn how to use the MySQL LPAD function for text and string manipulation with syntax, examples, and related SQL dialect notes.
LPAD(text)
Learn how to use the MySQL RPAD function for text and string manipulation with syntax, examples, and related SQL dialect notes.
RPAD(text)
Learn how to use the MySQL REVERSE function for text and string manipulation with syntax, examples, and related SQL dialect notes.
REVERSE(text)
Learn how to use the MySQL REPEAT function for text and string manipulation with syntax, examples, and related SQL dialect notes.
REPEAT(text)
Learn how to use the MySQL REGEXP_REPLACE function for text and string manipulation with syntax, examples, and related SQL dialect notes.
REGEXP_REPLACE(text, search, replacement)
Learn how to use the MySQL NOW date function with practical examples and cross-dialect alternatives.
NOW()
Learn how to use the MySQL CURDATE date function with practical examples and cross-dialect alternatives.
CURDATE()
Learn how to use the MySQL CURRENT_DATE date function with practical examples and cross-dialect alternatives.
CURRENT_DATE()
Learn how to use the MySQL CURRENT_TIMESTAMP date function with practical examples and cross-dialect alternatives.
CURRENT_TIMESTAMP()
Learn how to use the MySQL DATE_ADD date function with practical examples and cross-dialect alternatives.
DATE_ADD(date, INTERVAL value unit)
Learn how to use the MySQL DATE_SUB date function with practical examples and cross-dialect alternatives.
DATE_SUB(date, INTERVAL value unit)
Learn how to use the MySQL DATEDIFF date function with practical examples and cross-dialect alternatives.
DATEDIFF(date1, date2)
Learn how to use the MySQL DATE_FORMAT date function with practical examples and cross-dialect alternatives.
DATE_FORMAT(date, format)
Learn how to use the MySQL YEAR date function with practical examples and cross-dialect alternatives.
YEAR()
Learn how to use the MySQL MONTH date function with practical examples and cross-dialect alternatives.
MONTH()
Learn how to use the MySQL DAY date function with practical examples and cross-dialect alternatives.
DAY()
Learn how to use the MySQL DAYNAME date function with practical examples and cross-dialect alternatives.
DAYNAME()
Learn how to use the MySQL MONTHNAME date function with practical examples and cross-dialect alternatives.
MONTHNAME()
Learn how to use the MySQL LAST_DAY date function with practical examples and cross-dialect alternatives.
LAST_DAY()
Learn how to use the MySQL STR_TO_DATE date function with practical examples and cross-dialect alternatives.
STR_TO_DATE()
Learn how to use the MySQL TIMESTAMPDIFF date function with practical examples and cross-dialect alternatives.
TIMESTAMPDIFF(date1, date2)
Learn how to use the MySQL IFNULL function to handle NULL values and default replacements.
IFNULL(value, replacement)
Learn how to use the MySQL COALESCE function to handle NULL values and default replacements.
COALESCE(value1, value2, ...)
Learn how to use the MySQL NULLIF function to handle NULL values and default replacements.
NULLIF(value1, value2)
Learn how to use the MySQL COUNT aggregate function for summary queries and reports.
COUNT(*) or COUNT(column)
Learn how to use the MySQL SUM aggregate function for summary queries and reports.
SUM(expression)
Learn how to use the MySQL AVG aggregate function for summary queries and reports.
AVG(expression)
Learn how to use the MySQL MIN aggregate function for summary queries and reports.
MIN(expression)
Learn how to use the MySQL MAX aggregate function for summary queries and reports.
MAX(expression)
Learn how to use the MySQL GROUP_CONCAT aggregate function for summary queries and reports.
GROUP_CONCAT(expression, delimiter)
Learn how to use the MySQL BIT_AND aggregate function for summary queries and reports.
BIT_AND(expression)
Learn how to use the MySQL BIT_OR aggregate function for summary queries and reports.
BIT_OR(expression)
Learn how to use the MySQL STDDEV aggregate function for summary queries and reports.
STDDEV(expression)
Learn how to use the MySQL VARIANCE aggregate function for summary queries and reports.
VARIANCE(expression)
Learn how to use the MySQL ROUND numeric function for calculations in SQL.
ROUND(number, decimal_places)
Learn how to use the MySQL CEIL numeric function for calculations in SQL.
CEIL(number)
Learn how to use the MySQL FLOOR numeric function for calculations in SQL.
FLOOR(number)
Learn how to use the MySQL ABS numeric function for calculations in SQL.
ABS(number)
Learn how to use the MySQL MOD numeric function for calculations in SQL.
MOD(number, divisor)
Learn how to use the MySQL POWER numeric function for calculations in SQL.
POWER(number, exponent)
Learn how to use the MySQL SQRT numeric function for calculations in SQL.
SQRT(number)
Learn how to use the MySQL RAND numeric function for calculations in SQL.
RAND(number)
Learn how to use the MySQL GREATEST numeric function for calculations in SQL.
GREATEST(number)
Learn how to use the MySQL LEAST numeric function for calculations in SQL.
LEAST(number)
Learn how to use the MySQL JSON_EXTRACT JSON function to read or modify JSON values in SQL.
JSON_EXTRACT(json_value, path)
Learn how to use the MySQL JSON_ARRAY JSON function to read or modify JSON values in SQL.
JSON_ARRAY(json_value, path)
Learn how to use the MySQL JSON_OBJECT JSON function to read or modify JSON values in SQL.
JSON_OBJECT(json_value, path)
Learn how to use the MySQL JSON_SET JSON function to read or modify JSON values in SQL.
JSON_SET(json_value, path)
Learn how to use the MySQL JSON_REMOVE JSON function to read or modify JSON values in SQL.
JSON_REMOVE(json_value, path)
Learn how to use the MySQL JSON_CONTAINS JSON function to read or modify JSON values in SQL.
JSON_CONTAINS(json_value, path)
Learn how to use the MySQL JSON_KEYS JSON function to read or modify JSON values in SQL.
JSON_KEYS(json_value, path)
Learn how to use the MySQL JSON_LENGTH JSON function to read or modify JSON values in SQL.
JSON_LENGTH(json_value, path)
Learn how to use the MySQL ROW_NUMBER window function for ranking, offsets, and analytical queries.
ROW_NUMBER() OVER (ORDER BY column)
Learn how to use the MySQL RANK window function for ranking, offsets, and analytical queries.
RANK() OVER (ORDER BY column)
Learn how to use the MySQL DENSE_RANK window function for ranking, offsets, and analytical queries.
DENSE_RANK() OVER (ORDER BY column)
Learn how to use the MySQL LAG window function for ranking, offsets, and analytical queries.
LAG(column, offset) OVER (ORDER BY column)
Learn how to use the MySQL LEAD window function for ranking, offsets, and analytical queries.
LEAD(column, offset) OVER (ORDER BY column)
Learn how to use the MySQL FIRST_VALUE window function for ranking, offsets, and analytical queries.
FIRST_VALUE() OVER (ORDER BY column)
Learn how to use the MySQL LAST_VALUE window function for ranking, offsets, and analytical queries.
LAST_VALUE() OVER (ORDER BY column)
Learn how to use the MySQL NTILE window function for ranking, offsets, and analytical queries.
NTILE() OVER (ORDER BY column)
Learn how to use the PostgreSQL CONCAT function for text and string manipulation with syntax, examples, and related SQL dialect notes.
CONCAT(value1, value2, ...)
Learn how to use the PostgreSQL STRING_AGG function for text and string manipulation with syntax, examples, and related SQL dialect notes.
STRING_AGG(expression, delimiter)
Learn how to use the PostgreSQL SPLIT_PART function for text and string manipulation with syntax, examples, and related SQL dialect notes.
SPLIT_PART(text)
Learn how to use the PostgreSQL SUBSTRING function for text and string manipulation with syntax, examples, and related SQL dialect notes.
SUBSTRING(text, start, length)
Learn how to use the PostgreSQL POSITION function for text and string manipulation with syntax, examples, and related SQL dialect notes.
POSITION(search_text, text)
Learn how to use the PostgreSQL REPLACE function for text and string manipulation with syntax, examples, and related SQL dialect notes.
REPLACE(text, search, replacement)
Learn how to use the PostgreSQL TRIM function for text and string manipulation with syntax, examples, and related SQL dialect notes.
TRIM(text)
Learn how to use the PostgreSQL LTRIM function for text and string manipulation with syntax, examples, and related SQL dialect notes.
LTRIM(text)
Learn how to use the PostgreSQL RTRIM function for text and string manipulation with syntax, examples, and related SQL dialect notes.
RTRIM(text)
Learn how to use the PostgreSQL UPPER function for text and string manipulation with syntax, examples, and related SQL dialect notes.
UPPER(text)
Learn how to use the PostgreSQL LOWER function for text and string manipulation with syntax, examples, and related SQL dialect notes.
LOWER(text)
Learn how to use the PostgreSQL LENGTH function for text and string manipulation with syntax, examples, and related SQL dialect notes.
LENGTH(text)
Learn how to use the PostgreSQL LEFT function for text and string manipulation with syntax, examples, and related SQL dialect notes.
LEFT(text, number_of_characters)
Learn how to use the PostgreSQL RIGHT function for text and string manipulation with syntax, examples, and related SQL dialect notes.
RIGHT(text, number_of_characters)
Learn how to use the PostgreSQL REGEXP_REPLACE function for text and string manipulation with syntax, examples, and related SQL dialect notes.
REGEXP_REPLACE(text, search, replacement)
Learn how to use the PostgreSQL TO_CHAR function for text and string manipulation with syntax, examples, and related SQL dialect notes.
TO_CHAR(text)
Learn how to use the PostgreSQL NOW date function with practical examples and cross-dialect alternatives.
NOW()
Learn how to use the PostgreSQL CURRENT_DATE date function with practical examples and cross-dialect alternatives.
CURRENT_DATE()
Learn how to use the PostgreSQL CURRENT_TIMESTAMP date function with practical examples and cross-dialect alternatives.
CURRENT_TIMESTAMP()
Learn how to use the PostgreSQL DATE_TRUNC date function with practical examples and cross-dialect alternatives.
DATE_TRUNC(part, date)
Learn how to use the PostgreSQL EXTRACT date function with practical examples and cross-dialect alternatives.
EXTRACT(part FROM date)
Learn how to use the PostgreSQL AGE date function with practical examples and cross-dialect alternatives.
AGE()
Learn how to use the PostgreSQL TO_DATE date function with practical examples and cross-dialect alternatives.
TO_DATE()
Learn how to use the PostgreSQL TO_TIMESTAMP date function with practical examples and cross-dialect alternatives.
TO_TIMESTAMP()
Learn how to use the PostgreSQL MAKE_DATE date function with practical examples and cross-dialect alternatives.
MAKE_DATE()
Learn how to use the PostgreSQL JUSTIFY_DAYS date function with practical examples and cross-dialect alternatives.
JUSTIFY_DAYS()
Learn how to use the PostgreSQL JUSTIFY_INTERVAL date function with practical examples and cross-dialect alternatives.
JUSTIFY_INTERVAL()
Learn how to use the PostgreSQL COALESCE function to handle NULL values and default replacements.
COALESCE(value1, value2, ...)
Learn how to use the PostgreSQL NULLIF function to handle NULL values and default replacements.
NULLIF(value1, value2)
Learn how to use the PostgreSQL COUNT aggregate function for summary queries and reports.
COUNT(*) or COUNT(column)
Learn how to use the PostgreSQL SUM aggregate function for summary queries and reports.
SUM(expression)
Learn how to use the PostgreSQL AVG aggregate function for summary queries and reports.
AVG(expression)
Learn how to use the PostgreSQL MIN aggregate function for summary queries and reports.
MIN(expression)
Learn how to use the PostgreSQL MAX aggregate function for summary queries and reports.
MAX(expression)
Learn how to use the PostgreSQL ARRAY_AGG aggregate function for summary queries and reports.
ARRAY_AGG(expression)
Learn how to use the PostgreSQL BOOL_AND aggregate function for summary queries and reports.
BOOL_AND(expression)
Learn how to use the PostgreSQL BOOL_OR aggregate function for summary queries and reports.
BOOL_OR(expression)
Learn how to use the PostgreSQL JSON_AGG aggregate function for summary queries and reports.
JSON_AGG(expression)
Learn how to use the PostgreSQL ROUND numeric function for calculations in SQL.
ROUND(number, decimal_places)
Learn how to use the PostgreSQL CEIL numeric function for calculations in SQL.
CEIL(number)
Learn how to use the PostgreSQL FLOOR numeric function for calculations in SQL.
FLOOR(number)
Learn how to use the PostgreSQL ABS numeric function for calculations in SQL.
ABS(number)
Learn how to use the PostgreSQL MOD numeric function for calculations in SQL.
MOD(number, divisor)
Learn how to use the PostgreSQL POWER numeric function for calculations in SQL.
POWER(number, exponent)
Learn how to use the PostgreSQL SQRT numeric function for calculations in SQL.
SQRT(number)
Learn how to use the PostgreSQL RANDOM numeric function for calculations in SQL.
RANDOM(number)
Learn how to use the PostgreSQL GREATEST numeric function for calculations in SQL.
GREATEST(number)
Learn how to use the PostgreSQL LEAST numeric function for calculations in SQL.
LEAST(number)
Learn how to use the PostgreSQL JSONB_EXTRACT_PATH JSON function to read or modify JSON values in SQL.
JSONB_EXTRACT_PATH(json_value, path)
Learn how to use the PostgreSQL JSONB_SET JSON function to read or modify JSON values in SQL.
JSONB_SET(json_value, path)
Learn how to use the PostgreSQL JSONB_ARRAY_LENGTH JSON function to read or modify JSON values in SQL.
JSONB_ARRAY_LENGTH(json_value, path)
Learn how to use the PostgreSQL JSON_BUILD_OBJECT JSON function to read or modify JSON values in SQL.
JSON_BUILD_OBJECT(json_value, path)
Learn how to use the PostgreSQL TO_JSON JSON function to read or modify JSON values in SQL.
TO_JSON(json_value, path)
Learn how to use the PostgreSQL ROW_TO_JSON JSON function to read or modify JSON values in SQL.
ROW_TO_JSON(json_value, path)
Learn how to use the PostgreSQL ROW_NUMBER window function for ranking, offsets, and analytical queries.
ROW_NUMBER() OVER (ORDER BY column)
Learn how to use the PostgreSQL RANK window function for ranking, offsets, and analytical queries.
RANK() OVER (ORDER BY column)
Learn how to use the PostgreSQL DENSE_RANK window function for ranking, offsets, and analytical queries.
DENSE_RANK() OVER (ORDER BY column)
Learn how to use the PostgreSQL LAG window function for ranking, offsets, and analytical queries.
LAG(column, offset) OVER (ORDER BY column)
Learn how to use the PostgreSQL LEAD window function for ranking, offsets, and analytical queries.
LEAD(column, offset) OVER (ORDER BY column)
Learn how to use the PostgreSQL FIRST_VALUE window function for ranking, offsets, and analytical queries.
FIRST_VALUE() OVER (ORDER BY column)
Learn how to use the PostgreSQL LAST_VALUE window function for ranking, offsets, and analytical queries.
LAST_VALUE() OVER (ORDER BY column)
Learn how to use the PostgreSQL NTILE window function for ranking, offsets, and analytical queries.
NTILE() OVER (ORDER BY column)
Learn how to use the PostgreSQL PERCENT_RANK window function for ranking, offsets, and analytical queries.
PERCENT_RANK() OVER (ORDER BY column)
Learn how to use the SQL Server CONCAT function for text and string manipulation with syntax, examples, and related SQL dialect notes.
CONCAT(value1, value2, ...)
Learn how to use the SQL Server STRING_AGG function for text and string manipulation with syntax, examples, and related SQL dialect notes.
STRING_AGG(expression, delimiter)
Learn how to use the SQL Server SUBSTRING function for text and string manipulation with syntax, examples, and related SQL dialect notes.
SUBSTRING(text, start, length)
Learn how to use the SQL Server LEFT function for text and string manipulation with syntax, examples, and related SQL dialect notes.
LEFT(text, number_of_characters)
Learn how to use the SQL Server RIGHT function for text and string manipulation with syntax, examples, and related SQL dialect notes.
RIGHT(text, number_of_characters)
Learn how to use the SQL Server REPLACE function for text and string manipulation with syntax, examples, and related SQL dialect notes.
REPLACE(text, search, replacement)
Learn how to use the SQL Server TRIM function for text and string manipulation with syntax, examples, and related SQL dialect notes.
TRIM(text)
Learn how to use the SQL Server LTRIM function for text and string manipulation with syntax, examples, and related SQL dialect notes.
LTRIM(text)
Learn how to use the SQL Server RTRIM function for text and string manipulation with syntax, examples, and related SQL dialect notes.
RTRIM(text)
Learn how to use the SQL Server UPPER function for text and string manipulation with syntax, examples, and related SQL dialect notes.
UPPER(text)
Learn how to use the SQL Server LOWER function for text and string manipulation with syntax, examples, and related SQL dialect notes.
LOWER(text)
Learn how to use the SQL Server LEN function for text and string manipulation with syntax, examples, and related SQL dialect notes.
LEN(text)
Learn how to use the SQL Server CHARINDEX function for text and string manipulation with syntax, examples, and related SQL dialect notes.
CHARINDEX(search_text, text)
Learn how to use the SQL Server PATINDEX function for text and string manipulation with syntax, examples, and related SQL dialect notes.
PATINDEX(text)
Learn how to use the SQL Server FORMAT function for text and string manipulation with syntax, examples, and related SQL dialect notes.
FORMAT(text)
Learn how to use the SQL Server STUFF function for text and string manipulation with syntax, examples, and related SQL dialect notes.
STUFF(text)
Learn how to use the SQL Server STRING_SPLIT function for text and string manipulation with syntax, examples, and related SQL dialect notes.
STRING_SPLIT(text)
Learn how to use the SQL Server TRANSLATE function for text and string manipulation with syntax, examples, and related SQL dialect notes.
TRANSLATE(text)
Learn how to use the SQL Server GETDATE date function with practical examples and cross-dialect alternatives.
GETDATE()
Learn how to use the SQL Server SYSDATETIME date function with practical examples and cross-dialect alternatives.
SYSDATETIME()
Learn how to use the SQL Server CURRENT_TIMESTAMP date function with practical examples and cross-dialect alternatives.
CURRENT_TIMESTAMP()
Learn how to use the SQL Server DATEADD date function with practical examples and cross-dialect alternatives.
DATEADD(datepart, number, date)
Learn how to use the SQL Server DATEDIFF date function with practical examples and cross-dialect alternatives.
DATEDIFF(date1, date2)
Learn how to use the SQL Server DATENAME date function with practical examples and cross-dialect alternatives.
DATENAME(part FROM date)
Learn how to use the SQL Server DATEPART date function with practical examples and cross-dialect alternatives.
DATEPART(part FROM date)
Learn how to use the SQL Server EOMONTH date function with practical examples and cross-dialect alternatives.
EOMONTH()
Learn how to use the SQL Server ISDATE date function with practical examples and cross-dialect alternatives.
ISDATE()
Learn how to use the SQL Server ISNULL function to handle NULL values and default replacements.
ISNULL(value, replacement)
Learn how to use the SQL Server COALESCE function to handle NULL values and default replacements.
COALESCE(value1, value2, ...)
Learn how to use the SQL Server NULLIF function to handle NULL values and default replacements.
NULLIF(value1, value2)
Learn how to use the SQL Server COUNT aggregate function for summary queries and reports.
COUNT(*) or COUNT(column)
Learn how to use the SQL Server SUM aggregate function for summary queries and reports.
SUM(expression)
Learn how to use the SQL Server AVG aggregate function for summary queries and reports.
AVG(expression)
Learn how to use the SQL Server MIN aggregate function for summary queries and reports.
MIN(expression)
Learn how to use the SQL Server MAX aggregate function for summary queries and reports.
MAX(expression)
Learn how to use the SQL Server CHECKSUM_AGG aggregate function for summary queries and reports.
CHECKSUM_AGG(expression)
Learn how to use the SQL Server STDEV aggregate function for summary queries and reports.
STDEV(expression)
Learn how to use the SQL Server VAR aggregate function for summary queries and reports.
VAR(expression)
Learn how to use the SQL Server ROUND numeric function for calculations in SQL.
ROUND(number, decimal_places)
Learn how to use the SQL Server CEILING numeric function for calculations in SQL.
CEILING(number)
Learn how to use the SQL Server FLOOR numeric function for calculations in SQL.
FLOOR(number)
Learn how to use the SQL Server ABS numeric function for calculations in SQL.
ABS(number)
Learn how to use the SQL Server POWER numeric function for calculations in SQL.
POWER(number, exponent)
Learn how to use the SQL Server SQRT numeric function for calculations in SQL.
SQRT(number)
Learn how to use the SQL Server RAND numeric function for calculations in SQL.
RAND(number)
Learn how to use the SQL Server SIGN numeric function for calculations in SQL.
SIGN(number)
Learn how to use the SQL Server JSON_VALUE JSON function to read or modify JSON values in SQL.
JSON_VALUE(json_value, path)
Learn how to use the SQL Server JSON_QUERY JSON function to read or modify JSON values in SQL.
JSON_QUERY(json_value, path)
Learn how to use the SQL Server JSON_MODIFY JSON function to read or modify JSON values in SQL.
JSON_MODIFY(json_value, path)
Learn how to use the SQL Server ISJSON JSON function to read or modify JSON values in SQL.
ISJSON(json_value, path)
Learn how to use the SQL Server OPENJSON JSON function to read or modify JSON values in SQL.
OPENJSON(json_value, path)
Learn how to use the SQL Server ROW_NUMBER window function for ranking, offsets, and analytical queries.
ROW_NUMBER() OVER (ORDER BY column)
Learn how to use the SQL Server RANK window function for ranking, offsets, and analytical queries.
RANK() OVER (ORDER BY column)
Learn how to use the SQL Server DENSE_RANK window function for ranking, offsets, and analytical queries.
DENSE_RANK() OVER (ORDER BY column)
Learn how to use the SQL Server LAG window function for ranking, offsets, and analytical queries.
LAG(column, offset) OVER (ORDER BY column)
Learn how to use the SQL Server LEAD window function for ranking, offsets, and analytical queries.
LEAD(column, offset) OVER (ORDER BY column)
Learn how to use the SQL Server FIRST_VALUE window function for ranking, offsets, and analytical queries.
FIRST_VALUE() OVER (ORDER BY column)
Learn how to use the SQL Server LAST_VALUE window function for ranking, offsets, and analytical queries.
LAST_VALUE() OVER (ORDER BY column)
Learn how to use the SQL Server NTILE window function for ranking, offsets, and analytical queries.
NTILE() OVER (ORDER BY column)
Learn how to use the SQL Server PERCENT_RANK window function for ranking, offsets, and analytical queries.
PERCENT_RANK() OVER (ORDER BY column)
Learn how to use the Oracle CONCAT function for text and string manipulation with syntax, examples, and related SQL dialect notes.
CONCAT(value1, value2, ...)
Learn how to use the Oracle LISTAGG function for text and string manipulation with syntax, examples, and related SQL dialect notes.
LISTAGG(expression, delimiter)
Learn how to use the Oracle SUBSTR function for text and string manipulation with syntax, examples, and related SQL dialect notes.
SUBSTR(text, start, length)
Learn how to use the Oracle INSTR function for text and string manipulation with syntax, examples, and related SQL dialect notes.
INSTR(search_text, text)
Learn how to use the Oracle REPLACE function for text and string manipulation with syntax, examples, and related SQL dialect notes.
REPLACE(text, search, replacement)
Learn how to use the Oracle TRIM function for text and string manipulation with syntax, examples, and related SQL dialect notes.
TRIM(text)
Learn how to use the Oracle LTRIM function for text and string manipulation with syntax, examples, and related SQL dialect notes.
LTRIM(text)
Learn how to use the Oracle RTRIM function for text and string manipulation with syntax, examples, and related SQL dialect notes.
RTRIM(text)
Learn how to use the Oracle UPPER function for text and string manipulation with syntax, examples, and related SQL dialect notes.
UPPER(text)
Learn how to use the Oracle LOWER function for text and string manipulation with syntax, examples, and related SQL dialect notes.
LOWER(text)
Learn how to use the Oracle LENGTH function for text and string manipulation with syntax, examples, and related SQL dialect notes.
LENGTH(text)
Learn how to use the Oracle LPAD function for text and string manipulation with syntax, examples, and related SQL dialect notes.
LPAD(text)
Learn how to use the Oracle RPAD function for text and string manipulation with syntax, examples, and related SQL dialect notes.
RPAD(text)
Learn how to use the Oracle REGEXP_REPLACE function for text and string manipulation with syntax, examples, and related SQL dialect notes.
REGEXP_REPLACE(text, search, replacement)
Learn how to use the Oracle REGEXP_SUBSTR function for text and string manipulation with syntax, examples, and related SQL dialect notes.
REGEXP_SUBSTR(text)
Learn how to use the Oracle SYSDATE date function with practical examples and cross-dialect alternatives.
SYSDATE()
Learn how to use the Oracle SYSTIMESTAMP date function with practical examples and cross-dialect alternatives.
SYSTIMESTAMP()
Learn how to use the Oracle CURRENT_DATE date function with practical examples and cross-dialect alternatives.
CURRENT_DATE()
Learn how to use the Oracle ADD_MONTHS date function with practical examples and cross-dialect alternatives.
ADD_MONTHS()
Learn how to use the Oracle MONTHS_BETWEEN date function with practical examples and cross-dialect alternatives.
MONTHS_BETWEEN(date1, date2)
Learn how to use the Oracle LAST_DAY date function with practical examples and cross-dialect alternatives.
LAST_DAY()
Learn how to use the Oracle NEXT_DAY date function with practical examples and cross-dialect alternatives.
NEXT_DAY()
Learn how to use the Oracle EXTRACT date function with practical examples and cross-dialect alternatives.
EXTRACT(part FROM date)
Learn how to use the Oracle TO_DATE date function with practical examples and cross-dialect alternatives.
TO_DATE()
Learn how to use the Oracle TO_CHAR date function with practical examples and cross-dialect alternatives.
TO_CHAR(date, format)
Learn how to use the Oracle TRUNC date function with practical examples and cross-dialect alternatives.
TRUNC(part, date)
Learn how to use the Oracle NVL function to handle NULL values and default replacements.
NVL(value, replacement)
Learn how to use the Oracle NVL2 function to handle NULL values and default replacements.
NVL2(value, replacement)
Learn how to use the Oracle COALESCE function to handle NULL values and default replacements.
COALESCE(value1, value2, ...)
Learn how to use the Oracle NULLIF function to handle NULL values and default replacements.
NULLIF(value1, value2)
Learn how to use the Oracle DECODE function to handle NULL values and default replacements.
DECODE(value, replacement)
Learn how to use the Oracle COUNT aggregate function for summary queries and reports.
COUNT(*) or COUNT(column)
Learn how to use the Oracle SUM aggregate function for summary queries and reports.
SUM(expression)
Learn how to use the Oracle AVG aggregate function for summary queries and reports.
AVG(expression)
Learn how to use the Oracle MIN aggregate function for summary queries and reports.
MIN(expression)
Learn how to use the Oracle MAX aggregate function for summary queries and reports.
MAX(expression)
Learn how to use the Oracle STDDEV aggregate function for summary queries and reports.
STDDEV(expression)
Learn how to use the Oracle VARIANCE aggregate function for summary queries and reports.
VARIANCE(expression)
Learn how to use the Oracle ROUND numeric function for calculations in SQL.
ROUND(number, decimal_places)
Learn how to use the Oracle CEIL numeric function for calculations in SQL.
CEIL(number)
Learn how to use the Oracle FLOOR numeric function for calculations in SQL.
FLOOR(number)
Learn how to use the Oracle ABS numeric function for calculations in SQL.
ABS(number)
Learn how to use the Oracle MOD numeric function for calculations in SQL.
MOD(number, divisor)
Learn how to use the Oracle POWER numeric function for calculations in SQL.
POWER(number, exponent)
Learn how to use the Oracle SQRT numeric function for calculations in SQL.
SQRT(number)
Learn how to use the Oracle GREATEST numeric function for calculations in SQL.
GREATEST(number)
Learn how to use the Oracle LEAST numeric function for calculations in SQL.
LEAST(number)
Learn how to use the Oracle JSON_VALUE JSON function to read or modify JSON values in SQL.
JSON_VALUE(json_value, path)
Learn how to use the Oracle JSON_QUERY JSON function to read or modify JSON values in SQL.
JSON_QUERY(json_value, path)
Learn how to use the Oracle JSON_OBJECT JSON function to read or modify JSON values in SQL.
JSON_OBJECT(json_value, path)
Learn how to use the Oracle JSON_ARRAY JSON function to read or modify JSON values in SQL.
JSON_ARRAY(json_value, path)
Learn how to use the Oracle JSON_EXISTS JSON function to read or modify JSON values in SQL.
JSON_EXISTS(json_value, path)
Learn how to use the Oracle ROW_NUMBER window function for ranking, offsets, and analytical queries.
ROW_NUMBER() OVER (ORDER BY column)
Learn how to use the Oracle RANK window function for ranking, offsets, and analytical queries.
RANK() OVER (ORDER BY column)
Learn how to use the Oracle DENSE_RANK window function for ranking, offsets, and analytical queries.
DENSE_RANK() OVER (ORDER BY column)
Learn how to use the Oracle LAG window function for ranking, offsets, and analytical queries.
LAG(column, offset) OVER (ORDER BY column)
Learn how to use the Oracle LEAD window function for ranking, offsets, and analytical queries.
LEAD(column, offset) OVER (ORDER BY column)
Learn how to use the Oracle FIRST_VALUE window function for ranking, offsets, and analytical queries.
FIRST_VALUE() OVER (ORDER BY column)
Learn how to use the Oracle LAST_VALUE window function for ranking, offsets, and analytical queries.
LAST_VALUE() OVER (ORDER BY column)
Learn how to use the Oracle NTILE window function for ranking, offsets, and analytical queries.
NTILE() OVER (ORDER BY column)
Learn how to use the Oracle PERCENT_RANK window function for ranking, offsets, and analytical queries.
PERCENT_RANK() OVER (ORDER BY column)