How to Update Data in MySQL
How to use an UPDATE query to change existing data in your MySQL tables, with the syntax explained.
How to use an UPDATE query to change existing data in your MySQL tables, with the syntax explained.
How to use an INSERT query to add data to a MySQL table, including the optional column list.
How to select a MySQL database so your queries know which one to run against.
Two ways to create a MySQL database: with phpMyAdmin or by running a CREATE DATABASE query yourself.
A PHP workaround for running subqueries on MySQL 4, which lacks subquery support: fetch IDs into an array and implode them into an IN clause.
How to select a random row from a MySQL table using ORDER BY RAND() LIMIT 1, a more efficient approach than fetching all rows in your code.
How to reseed a MySQL primary key with ALTER TABLE AUTO_INCREMENT so new user IDs and order numbers do not reveal that your site just launched.
How to use the MySQL EXPLAIN statement to check whether your queries are using indexes, read its output, and find slow JOIN or ORDER BY columns.
How to use the MySQL PASSWORD() and OLD_PASSWORD() functions, why the hash length changed in MySQL 4.1, and how to avoid breaking your app.
How to fix the MySQL error Incorrect usage of UNION and ORDER BY by wrapping each SELECT statement in parentheses when you order data sets.
How to import large MySQL SQL dump files without phpMyAdmin timeouts, using the free BigDump script to split and import the file automatically.