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 TRUNCATE

February 27, 2024
| No Comments
| MySQL

The TRUNCATE function in MySQL is used to quickly delete all rows from a table and reset the auto-increment counter, if the table has an auto-increment column. It is a faster and more efficient alternative to the DELETE statement when you want to remove all records from a table. Unlike DELETE, which removes rows one […]

Read More »

MySQL SHOW EVENTS

January 7, 2024
| No Comments
| MySQL

The SHOW EVENTS statement in MySQL displays information about events managed by the Event Scheduler, a component that allows for scheduling recurring or one-time tasks to be executed automatically on the server. This statement is useful for examining the current status of events, identifying their scheduling information, and verifying their execution history. Syntax Here’s a […]

Read More »

MySQL ALTER EVENT

January 7, 2024
| No Comments
| MySQL

The ALTER EVENT statement in MySQL is used to modify the properties of an existing event. An event in MySQL is a scheduled task that can be executed at a specified time or interval. The ALTER EVENT statement allows you to change various attributes of an event without having to drop and recreate it. Syntax […]

Read More »

MySQL DROP EVENT

January 7, 2024
| No Comments
| MySQL

The MySQL DROP EVENT statement is used to remove a scheduled event from the database. In MySQL, an event is a task that is executed according to a specified schedule. Events can be used to automate repetitive database tasks, such as backups, data maintenance, or other periodic operations. Syntax Here is the basic syntax for […]

Read More »

MySQL CREATE EVENT

January 7, 2024
| No Comments
| MySQL

The MySQL CREATE EVENT statement is used to create and schedule events that will be executed at specified intervals or specific points in time. Events in MySQL are similar to scheduled tasks or cron jobs in other systems. They allow you to automate recurring tasks such as database maintenance, data updates, or any other operations […]

Read More »

MySQL DROP TRIGGER

January 7, 2024
| No Comments
| MySQL

In MySQL, the DROP TRIGGER statement is used to remove a trigger from a database. Triggers are database objects that are associated with a specific table and are executed automatically when certain events occur on that table, such as INSERT, UPDATE, or DELETE operations. Syntax The syntax for the DROP TRIGGER statement is as follows: […]

Read More »

Posts pagination

Previous 1 2 3 … 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.