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

Author: mysqltutor_05ut1l

MySQL EXCEPT

December 3, 2023
| No Comments
| MySQL

The MySQL EXCEPT operator is a set operation that returns rows that are present in the first result set but not in the second result set. It is similar to the UNION operator, which returns rows that are present in any of the result sets, but the EXCEPT operator only returns rows that are unique […]

Read More »

MySQL UNION ALL

December 3, 2023
| No Comments
| MySQL

The UNION ALL is a SQL operator used in database queries to combine the result sets of two or more SELECT statements. Unlike the UNION operator, which removes duplicate rows from the combined result set, UNION ALL includes all rows, including duplicates. This means that if a row appears in more than one SELECT statement, […]

Read More »

MySQL UNION

December 3, 2023
| No Comments
| MySQL

The UNION operator in MySQL is used to combine the result sets of two or more SELECT statements into a single result set. This can be useful when you want to retrieve and display data from multiple tables or queries as if it were coming from a single source. Syntax The basic syntax for using […]

Read More »

MySQL Subquery

December 3, 2023
| No Comments
| MySQL

A subquery in MySQL is a query nested within another query, allowing you to retrieve data from one or more tables based on the results of another query. Subqueries are enclosed in parentheses and can be used in various parts of a SQL statement, such as SELECT, FROM, WHERE, and HAVING clauses. Here are the […]

Read More »

MySQL EXISTS

December 3, 2023
| No Comments
| MySQL

The EXISTS keyword in MySQL is used in conjunction with a subquery to test for the existence of rows returned by the subquery. It is often employed in the context of a conditional statement or a WHERE clause to filter results based on the presence or absence of records in a specified subquery. Syntax Here’s […]

Read More »

MySQL ROLLUP

December 3, 2023
| No Comments
| MySQL

The ROLLUP is a powerful and flexible feature in MySQL used for generating subtotals and grand totals in result sets. It is particularly useful when working with aggregated data to obtain a hierarchical summary. This feature is commonly employed in data warehousing and business intelligence applications where summarizing data at various levels is a common […]

Read More »

Posts pagination

Previous 1 … 33 34 35 … 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.