Learn SQL and Database by Examples

SQLiz.com provides database-related articles, tutorials to help you learn SQL and Databases. You can find MySQL, PostgreSQL, Oracle, SQL Server, SQLite, Mongo, Redis tutorials here.

All tutorials on the site come with practical examples. Hope to help you learn SQL and databases faster.

How the YEAR() function works in Mariadb?

The YEAR() function in MariaDB is a date function that extracts the year part from a given date.

How the WITHIN() function works in Mariadb?

The WITHIN() function in MariaDB is a spatial function used to determine whether a geometry is within another geometry.

How the WEIGHT_STRING() function works in Mariadb?

The WEIGHT_STRING() function in MariaDB is used to return the weight string of a string.

How the WEEKOFYEAR() function works in Mariadb?

The WEEKOFYEAR() function in MariaDB is used to return the week number for a given date.

How the WEEKDAY() function works in Mariadb?

The WEEKDAY() function in MariaDB is a date function that returns the index of the day of the week for a given date.

How the WEEK() function works in Mariadb?

The MariaDB WEEK() function is one such feature that allows users to extract the week number from a date.

How the VERSION() function works in Mariadb?

The MariaDB VERSION() function is quite useful for users who need to know the version of the MariaDB server they are working with.

How the VARIANCE() function works in Mariadb?

In MariaDB, the VARIANCE() function is used to calculate this measure for a set of numbers.

How the VAR_SAMP() function works in Mariadb?

The VAR_SAMP() function in MariaDB is used to calculate the sample variance of a set of values.

How the VAR_POP() function works in Mariadb?

The VAR_POP() function in MariaDB is used to calculate the population variance of a set of values.

How the UUID() function works in Mariadb?

The UUID() function in MariaDB is used to generate a universally unique identifier (UUID), which is a 128-bit number that is designed to be unique across space and time.

How the UUID_SHORT() function works in Mariadb?

The UUID_SHORT() function in MariaDB is used to generate a 64-bit universally unique identifier (UUID).

How the REGEXP() function works in Mariadb?

The REGEXP() function is a string function that returns 1 if a string matches a given regular expression pattern, or 0 otherwise.

How the UTC_TIMESTAMP() function works in Mariadb?

The UTC_TIMESTAMP() function in MariaDB returns the current date and time in the Coordinated Universal Time (UTC) time zone.

How the REGEXP_SUBSTR() function works in Mariadb?

The REGEXP_SUBSTR() function is a string function that returns the substring that matches a given regular expression pattern in a subject string.

How the PointOnSurface() function works in Mariadb?

The PointOnSurface() function is a built-in function in Mariadb that returns a point geometry that is guaranteed to lie on the surface of a given geometry.

How the UTC_TIME() function works in Mariadb?

The UTC_TIME() function in MariaDB is used to retrieve the current time in the UTC (Coordinated Universal Time) time zone.

How the REGEXP_REPLACE() function works in Mariadb?

The REGEXP_REPLACE() function is a string function that returns a new string where the occurrences of a regular expression pattern are replaced by a specified replacement string in a subject string.

How the PointN() function works in Mariadb?

The PointN() function is a built-in function in Mariadb that returns the N-th point of a linestring geometry.

How the UTC_DATE() function works in Mariadb?

The UTC_DATE() function in MariaDB is used to retrieve the current date in the UTC (Coordinated Universal Time) time zone.

How the REGEXP_INSTR() function works in Mariadb?

The REGEXP_INSTR() function is a string function in Mariadb that returns the position of the first occurrence of a regular expression pattern in a string.

How the PointFromWKB() function works in Mariadb?

The PointFromWKB() function is a built-in function in Mariadb that returns a point geometry that represents a location in a two-dimensional space.

How the USER() function works in Mariadb?

he USER() function in MariaDB is used to retrieve the username and hostname of the user that is currently connected to the MariaDB server.

How the RANK() function works in Mariadb?

The RANK() function is a window function in Mariadb that returns the rank of a row within a partition of a result set.

How the PointFromText() function works in Mariadb?

The PointFromText() function is a built-in function in Mariadb that returns a point geometry that represents a location in a two-dimensional space.

How the UPPER() function works in Mariadb?

The UPPER() function in MariaDB is used to convert a string to uppercase.

How the RAND() function works in Mariadb?

The RAND() function is a mathematical function in Mariadb that returns a random decimal number between 0 and 1.

How the POINT() function works in Mariadb?

The POINT() function is a built-in function in Mariadb that returns a point geometry that represents a location in a two-dimensional space.

How the UPDATEXML() function works in Mariadb?

The UPDATEXML() function in MariaDB is used to modify a portion of an XML-formatted string by replacing, inserting, or deleting nodes or values within the XML structure.

How the RADIANS() function works in Mariadb?

The RADIANS() function is a mathematical function in Mariadb that returns the value of an angle in radians.