Practical solutions

MySQL Howtos How-To Guides

Solve the problem. Keep building. Collection of MySQL how-to articles

Find the answer you need

Browse practical solutions, grouped by the task you're working on.

__COUNT__ entries on this page

How to List All Stored Procedures in MySQLThis tutorial demonstrates how to list all stored procedures in MySQL using data directory, workbench, and show procedure status command. MySQL Money Data TypeThis tutorial demonstrates the use of DECIMAL type to store monetary data in MySQL. How to Update Multiple Columns in Multiple Rows With Different Values in MySQLThis tutorial demonstrates how can we use one statement to update multiple columns in multiple rows with different values in MySQL. How to Create a Function in MySQLThis tutorial demonstrates how to create a function in MySQL. How to Group the Datetime Column by Date Only in MySQLThis tutorial educates about how we can group the datetime type column by date only in MySQL. How to Insert Into Multiple Tables in MySQLThis tutorial demonstrates how to insert into multiple tables using MySQL transactions and stored procedures. How to Export Data From MySQL to a CSV FileThis tutorial demonstrates how to export data from MySQL into a CSV file. How to Concatenate Two Columns in MySQLThis article demonstrates different way of concatenate two columns in MySQL. MySQL With ClauseThis tutorial teaches you MySQL with clause. It also guides you that where and how can you use MySQL With clause Event Scheduler or Set a Timer in MySQLYou will learn about how to create an event to update data in the table and then dump into a separate file. How to Search Rows to Find Substrings in MySQLWe will learn how to search rows to find substrings in MySQL using wildcard and LOCATE() function. How to Export MySQL Database Using MysqldumpWe will learn about how to export MySQL database using mysqldump command-line utility. We will also learn how to export tables from a particular database. Intersect Operator in MySQLYou will learn about INTERESCT operator in MySQL and its emulation in various ways. How to Escape Sequences in MySQLYou will learn about escape sequence characters in MySQL. You will also see how you can use escape sequences with wild card characters to find a pattern. How to Delete With Join in MySQLThis tutorial demonstrates how to use JOIN in MySQL to delete items in a table. Where vs Having in MySQLThis tutorial educates about the where clause and the having clause individually and the differences between them using code examples. How to Use the ORDER BY Clause With Multiple Columns in MySQLThis tutorial educates about the use of the order by clause with multiple columns in MySQL. How to Drop Foreign Key in MySQLThis article introduces how to drop MySQL foreign key. How to Get the Current Date and Time in MySQLThis tutorial demonstrates how to get the current date and time in MySQL and compares the NOW(), CURRENT_TIMESTAMP(), and SYSDATE() functions. How to Optimize Tables and Databases in MySQLThis tutorial demonstrates how to optimize tables and databases in MySQL using Windows and Ubuntu operating systems. How to Enforce Like Case Sensitive in MySQLThis article introduces how to enforce like keyword to be case sensitive in MySQL. How to Describe Database Table With Mysqli_query in PHPThis article teaches you how to describe a database table using mysqli_query. We'll describe the table using the SQL DESCRIBE command. The result in the browser will look like what you'll see in the MySQL console. How to Drop Constraint From the MySQL TableThis article introduces how drop constraints from the MySQL table. MySQL Group by With Count FunctionThis quick article discusses the use of group by clause in conjunction with count function in MySQL.