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 CREATE TRIGGER

January 7, 2024
| No Comments
| MySQL

In MySQL, a trigger is a set of instructions that are automatically executed (or “triggered”) in response to specific events on a particular table. These events can include INSERT, UPDATE, or DELETE operations. The CREATE TRIGGER statement is used to define a new trigger in MySQL. Syntax Here is the basic syntax for creating a […]

Read More »

MySQL DROP INDEX

January 7, 2024
| No Comments
| MySQL

In MySQL, the DROP INDEX statement is used to remove one or more indexes from a table. Indexes in a database are structures that enhance the speed of data retrieval operations on database tables. They provide a quick way to look up data based on the values in specific columns. While indexes can significantly improve […]

Read More »

MySQL CREATE INDEX

January 7, 2024
| No Comments
| MySQL

The CREATE INDEX statement is a fundamental SQL command used in MySQL databases to create indexes on tables. Indexes are data structures that help MySQL retrieve data from tables more efficiently. They are essentially pointers or lookup tables that store the location of specific rows in a table based on certain columns. By creating indexes […]

Read More »

MySQL DROP VIEW

January 7, 2024
| No Comments
| MySQL

The DROP VIEW statement in MySQL is used to remove an existing view from the database. A view in MySQL is a virtual table based on the result of a SELECT query. It allows users to simplify complex queries, encapsulate logic, and present data in a more meaningful way. Syntax Here is the basic syntax […]

Read More »

MySQL CREATE VIEW

January 7, 2024
| No Comments
| MySQL

In MySQL, a CREATE VIEW statement is used to create a virtual table based on the result set of a SELECT query. A view is a named, saved query that can be treated like a table, allowing you to simplify complex queries, encapsulate logic, and provide a layer of abstraction over the underlying tables. Views […]

Read More »

MySQL CREATE FUNCTION

January 7, 2024
| No Comments
| MySQL

The CREATE FUNCTION statement in MySQL is used to create a user-defined stored function. A stored function is a set of SQL statements that perform a specific task and can be reused in various parts of a SQL query or script. Functions are part of MySQL’s support for procedural programming, allowing developers to encapsulate logic […]

Read More »

Posts pagination

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