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

SELECT DISTINCT

December 1, 2023
| No Comments
| MySQL

The SELECT DISTINCT statement in MySQL is used to retrieve unique values from a specified column or combination of columns in a table. It is particularly useful when you want to eliminate duplicate rows from the result set. Syntax Here’s the basic syntax of the SELECT DISTINCT statement: SELECT DISTINCT column1, column2, … FROM table_name; […]

Read More »

MySQL FROM

December 1, 2023
| No Comments
| MySQL

The FROM clause in MySQL is an essential component of a SQL (Structured Query Language) statement, particularly in the context of the SELECT statement. It specifies the table or tables from which the data will be retrieved or manipulated. The basic syntax of a SELECT statement with the FROM clause is as follows: Syntax SELECT […]

Read More »

MySQL ORDER BY

December 1, 2023
| No Comments
| MySQL

The ORDER BY clause in MySQL is a powerful SQL statement that allows you to sort the result set of a query based on one or more columns. This clause is particularly useful when you want to present your query results in a specific order, whether it be ascending or descending. Syntax The basic syntax […]

Read More »

MySQL OR

December 1, 2023
| No Comments
| MySQL

The MySQL OR clause is a logical operator that allows you to combine multiple conditions in a query, where at least one of the conditions must be true for a record to be included in the result set. This clause is often used in conjunction with the WHERE clause to create more complex and flexible […]

Read More »

MySQL AND

December 1, 2023
| No Comments
| MySQL

The AND clause in MySQL is a logical operator used to combine multiple conditions in a SQL query. It allows you to retrieve data from a database table based on multiple conditions, and all conditions specified in the AND clause must be true for a row to be included in the result set. Syntax Here’s […]

Read More »

MySQL WHERE

November 30, 2023
| No Comments
| MySQL

The WHERE clause in MySQL is a powerful and essential component of SQL queries. It allows you to filter the rows retrieved from a table based on specified conditions. This clause is commonly used in conjunction with SELECT, UPDATE, DELETE, and INSERT statements to narrow down the results or specify the affected rows. Here’s a […]

Read More »

Posts pagination

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