Menu

Articles

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

How the FIELD() function works in Mariadb?

The MariaDB FIELD() function is used to return the index position of a string within a list of strings.

How the GLENGTH() function works in Mariadb?

The MariaDB GLENGTH() function is used to return the length of a lstring in units of its spatial reference.

MariaDB COUNT(DISTINCT): Unique Values, Multiple Columns and NULL

Learn MariaDB COUNT(DISTINCT) for unique values and combinations, how it handles NULL and empty results, and how it differs from SELECT DISTINCT.

How the COT() function works in Mariadb?

The COT() function is a mathematical function that returns the cotangent of a given angle. The function returns a decimal value that represents the cotangent of the angle in radians.

How the EXTRACTVALUE() function works in Mariadb?

The EXTRACTVALUE() function is an XML function that extracts a value from an XML document using an XPath expression.

How the COS() function works in Mariadb?

The COS() function is a mathematical function that returns the cosine of a given angle. The function returns a decimal value between -1 and 1, representing the cosine of the angle in radians.

How the EXTRACT() function works in Mariadb?

The EXTRACT() function is a date and time function that extracts a specific part of a date or time value.

How the CONVEXHULL() function works in Mariadb?

The CONVEXHULL() function is a spatial function that returns the convex hull of a geometry. The convex hull of a geometry is the smallest convex polygon that contains the geometry.

How the ExteriorRing() function works in Mariadb?

The ExteriorRing() function is a spatial function that returns the exterior ring of a polygon.

How the CONVERT() function works in Mariadb?

The MariaDB CONVERT() function is used to convert a value from one data type to another.