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_MERGE_PATCH

January 4, 2024
| No Comments
| MySQL

The JSON_MERGE_PATCH function in MySQL is used to merge two JSON objects, where the values from the second JSON object overwrite the corresponding values in the first one. If a key exists in both JSON objects, the value from the second object is used. If a key exists in the first object but not in […]

Read More »

MySQL JSON_MERGE

January 4, 2024
| No Comments
| MySQL

The MySQL JSON_MERGE function is used to combine two or more JSON documents into a single document. It is a versatile tool for working with JSON data in MySQL, enabling you to merge nested structures, arrays, and scalar values. The function was introduced in MySQL 5.7.22 and has been deprecated since MySQL 8.0.3. However, it […]

Read More »

MySQL JSON_LENGTH

January 4, 2024
| No Comments
| MySQL

The JSON_LENGTH function in MySQL is used to find the number of elements in a JSON array or the number of keys in a JSON object. This function helps you retrieve the length of a JSON array or the number of keys in a JSON object within a MySQL database. The JSON_LENGTH function can be […]

Read More »

MySQL JSON_KEYS

January 4, 2024
| No Comments
| MySQL

The JSON_KEYS function in MySQL is used to extract the keys from a JSON object. It returns a JSON array containing the keys of the input JSON object. This function can be particularly useful when you want to retrieve the keys of a JSON document and use them for further processing or analysis. Syntax Here […]

Read More »

MySQL JSON_INSERT

January 4, 2024
| No Comments
| MySQL

The JSON_INSERT function in MySQL is used to insert a new value into a specified JSON document at a specified path. This function is particularly useful when working with JSON data types in MySQL, allowing you to modify and update JSON documents. Syntax Here is the syntax for the JSON_INSERT function: JSON_INSERT(json_doc, path, val[, path, […]

Read More »

MySQL JSON_EXTRACT

January 4, 2024
| No Comments
| MySQL

The JSON_EXTRACT function in MySQL is used to extract data from a JSON document. It allows you to retrieve a specific value or object from a JSON string based on a given JSON path expression. This function is particularly useful when dealing with JSON data stored in a MySQL database. Syntax JSON_EXTRACT(json_document, path) json_document: The […]

Read More »

Posts pagination

Previous 1 … 12 13 14 … 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.