Skip to content

MySQL Tutorial

Learn MySQL

Menu
  • Home
  • Data types
  • Functions
    • Aggregate Functions
    • Cast Functions
    • Comparison Functions
    • DATE Functions
    • Flow Control Functions
    • Math functions
    • String Functions
    • Window Functions
    • REGEXP Functions
    • JSON Functions
    • XML Functions
    • Information Functions
    • Encryption Functions

Category: MySQL

Learn MySQL Tutorial

MySQL JSON_VALUE

January 4, 2024
| No Comments
| MySQL

The JSON_VALUE function in MySQL is used to extract a scalar value from a JSON document. It allows you to retrieve a specific value from a JSON string based on a specified JSON path expression. This function is part of MySQL’s support for JSON, which enables you to work with JSON data within the relational […]

Read More »

MySQL JSON_VALID

January 4, 2024
| No Comments
| MySQL

The JSON_VALID function in MySQL is used to check whether a given string is a valid JSON document or not. This function is particularly useful when you need to ensure that the data stored in a column with the JSON data type is well-formed JSON. Syntax Here is the syntax for the JSON_VALID function: JSON_VALID(json_document) […]

Read More »

MySQL JSON_UNQUOTE

January 4, 2024
| No Comments
| MySQL

MySQL’s JSON_UNQUOTE function is used to remove quotation marks from a JSON string and return the unquoted result. This can be useful when you want to extract a specific value from a JSON string or manipulate the data within a JSON object. Syntax The basic syntax for the JSON_UNQUOTE function is as follows: JSON_UNQUOTE(json_string) json_string: […]

Read More »

MySQL JSON_TYPE

January 4, 2024
| No Comments
| MySQL

The JSON_TYPE function in MySQL is used to determine the type of a given JSON value. It takes a JSON value as an argument and returns a string that represents the type of the value. Valid JSON values include objects, arrays, scalar types (e.g., integers, strings, booleans), and null values. Syntax JSON_TYPE(json_val) Where: json_val is […]

Read More »

MySQL JSON_TABLE

January 4, 2024
| No Comments
| MySQL

The JSON_TABLE function in MySQL is a powerful feature introduced in MySQL 8.0 for handling JSON data. It allows you to transform JSON data into relational format, enabling you to query and extract specific information from JSON documents. Syntax The basic syntax of the JSON_TABLE function is as follows: JSON_TABLE( json_data, path_expression COLUMNS ( column_name1 […]

Read More »

MySQL JSON_STORAGE_SIZE

January 4, 2024
| No Comments
| MySQL

In MySQL, the JSON_STORAGE_SIZE is a valuable function for managing and optimizing the storage of JSON data. It provides information about the amount of storage space occupied by a JSON document, both in string representation and in binary form. This information can be used to track storage usage, estimate data growth, and optimize database performance. […]

Read More »

Posts pagination

Previous 1 … 9 10 11 … 39 Next

MySQL tutorial

  • MySQL Database
  • MySQL Create table
  • MySQL Insert
  • MySQL Update
  • MySQL Delete
  • MySQL Select
  • MySQL From
  • MySQL Where
  • MySQL Order By
  • MySQL Select distinct
  • MySQL AND
  • MySQL OR
  • MySQL IN
  • MySQL NOT IN
  • MySQL BETWEEN
  • MySQL LIKE
  • MySQL LIMIT
  • MySQL EXISTS
  • MySQL GROUP BY
  • MySQL HAVING
  • MySQL IS NULL
  • MySQL Joins
  • MySQL INNER JOIN
  • MySQL LEFT JOIN
  • MySQL RIGHT JOIN
  • MySQL CROSS JOIN
  • MySQL SELF JOIN
  • MySQL ROLLUP
  • MySQL Subquery
  • MySQL UNION
  • MySQL UNION ALL
  • MySQL EXCEPT
  • MySQL CASE
  • MySQL IF-THEN-ELSE

Recent Posts

  • MySQL SUBDATE function
  • MySQL STR_TO_DATE function
  • MySQL convert string to date
  • MySQL datetime format
  • MySQL create temporary table
  • MySQL current datetime
  • MySQL TRUNCATE
  • MySQL SHOW EVENTS
  • MySQL ALTER EVENT
  • MySQL DROP EVENT

© MySQL Tutorial 2025.