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_DEPTH

January 4, 2024
| No Comments
| MySQL

The JSON_DEPTH function in MySQL is used to determine the depth of a given JSON document or JSON array. The depth of a JSON document refers to the level of nesting within the structure. In other words, it indicates how deeply elements are nested within the JSON hierarchy. Syntax Here is the syntax for the […]

Read More »

MySQL JSON_CONTAINS_PATH

January 3, 2024
| No Comments
| MySQL

The JSON_CONTAINS_PATH function in MySQL is used to check if a JSON document contains a specified path expression. This function returns 1 if the path expression is found in the JSON document; otherwise, it returns 0. Syntax Here is the syntax for the JSON_CONTAINS_PATH function: JSON_CONTAINS_PATH(json_doc, path[, one_or_all]) json_doc: The JSON document to be searched. […]

Read More »

MySQL JSON_CONTAINS

January 3, 2024
| No Comments
| MySQL

The MySQL JSON_CONTAINS function is used to check whether a specified JSON value or path exists within a JSON document or array. The JSON_CONTAINS function is useful for querying JSON data stored in MySQL databases. Syntax The general syntax for the JSON_CONTAINS function is as follows: JSON_CONTAINS(json_doc, val[, path]) json_doc: The JSON document or array […]

Read More »

MySQL JSON_ARRAY_INSERT

January 3, 2024
| No Comments
| MySQL

The JSON_ARRAY_INSERT function in MySQL is used to insert one or more values into a specified position within a JSON array. This function is particularly useful when working with JSON data in MySQL, allowing you to modify and update JSON arrays easily, enabling the insertion of new data points without altering the entire document. Syntax […]

Read More »

MySQL JSON_ARRAY_APPEND

January 3, 2024
| No Comments
| MySQL

The JSON_ARRAY_APPEND function in MySQL is used to append values to a specified JSON array within a JSON document. This function is part of the JSON functions introduced in MySQL 5.7 for working with JSON data types. Syntax Here is the syntax for the JSON_ARRAY_APPEND function: JSON_ARRAY_APPEND(json_doc, path, val[, path, val]…) json_doc: The JSON document […]

Read More »

MySQL JSON_ARRAY

January 3, 2024
| No Comments
| MySQL

The JSON_ARRAY function in MySQL is used to create a JSON array from a list of values. This function can be helpful when you want to generate a JSON array in MySQL for use in JSON-related operations or when storing JSON data in a table. Using JSON_ARRAY directly within MySQL queries provides several advantages: Performance: […]

Read More »

Posts pagination

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