Menu

Articles

For side-by-side syntax and behavior across database engines, browse the cross-database SQL comparison guides.

How the FROM_DAYS() function works in Mariadb?

The MariaDB FROM_DAYS() function is used to convert a day count (the number of days since the year 0) to a DATE value.

How the IN() operator works in Mariadb?

The IN operator is a logical operator that tests whether a value or an expression matches any value in a list of values.

How the CURDATE() function works in Mariadb?

The CURDATE() function is a date and time function that returns the current date as a value in YYYY-MM-DD format.

How the FROM_BASE64() function works in Mariadb?

The MariaDB FROM_BASE64() function is used to decode a string that is encoded using the base64 encoding scheme.

MariaDB IFNULL(): Syntax, NULL Fallbacks and Examples

Learn how MariaDB IFNULL(expr1, expr2) handles SQL NULL, differs from empty strings, affects AVG and SUM, and compares with COALESCE and NVL.

How the CUME_DIST() function works in Mariadb?

The MariaDB CUME_DIST() function is used to calculate the cumulative distribution of a value within a group of values.

How the FOUND_ROWS() function works in Mariadb?

The MariaDB FOUND_ROWS() function is used to retrieve the number of rows that would be returned by a SELECT statement, regardless of any LIMIT clause that may have been applied.

How the IF() function works in Mariadb?

The IF() function is a conditional function that returns a value based on a given condition.

How the CROSSES() function works in Mariadb?

The CROSSES() function is a spatial function that returns 1 if two geometries cross each other, 0 if they do not, or NULL if either geometry is NULL or invalid.

How the FORMAT() function works in Mariadb?

The FORMAT() function is a string function that formats and returns the given number as a string, adding separators to appropriate positions and rounding the results to the given decimal position.