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 GROUP BY

December 3, 2023
| No Comments
| MySQL

The GROUP BY is a clause in the SQL language, and when used with the SELECT statement, it is used to group rows that have the same values in specified columns into summary rows. This is particularly useful when you want to perform aggregate functions, such as counting, summing, averaging, or finding the maximum/minimum values, […]

Read More »

MySQL SELF JOIN

December 3, 2023
| No Comments
| MySQL

A SELF-JOIN in MySQL occurs when a table is joined with itself. This can be useful in scenarios where you want to compare rows within the same table or establish relationships between rows based on certain conditions. A self-join is typically used when you have a hierarchical structure or when you need to compare related […]

Read More »

MySQL CROSS JOIN

December 3, 2023
| No Comments
| MySQL

The CROSS JOIN in MySQL is a type of join operation that combines each row from one table with every row from another table. Unlike other join types, such as INNER JOIN or LEFT JOIN, CROSS JOIN doesn’t require any matching criteria between the tables. It simply generates the Cartesian product of the two tables […]

Read More »

MySQL RIGHT JOIN

December 3, 2023
| No Comments
| MySQL

A RIGHT JOIN in MySQL is a type of join operation that combines rows from two tables based on a specified condition, and it returns all the rows from the right table (the second table mentioned in the query) and the matched rows from the left table (the first table mentioned in the query). If […]

Read More »

MySQL LEFT JOIN

December 3, 2023
| No Comments
| MySQL

A LEFT JOIN in MySQL is a type of join operation that combines rows from two or more tables based on a specified condition and includes unmatched rows from the left table. This means that even if there is no match in the right table, all the rows from the left table will still be […]

Read More »

MySQL INNER JOIN

December 3, 2023
| No Comments
| MySQL

In MySQL, an INNER JOIN is a type of join operation that combines rows from two or more tables based on a related column between them. The result set includes only the rows that have matching values in the specified columns. Syntax The basic syntax of an INNER JOIN is as follows: SELECT columns FROM […]

Read More »

Posts pagination

Previous 1 … 35 36 37 … 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.