MySQL Articles
FLUSH TABLES WITH READ LOCK for Parallel Consistent Snapshots
LOCK TABLES for Parallel Consistent Snapshots
SET FOREIGN_KEY_CHECK
Drop existing parent tables (Removing or disable foreign key constraints)
Duplicate entry for key error
Session Variables
How to Generate IDs
Select Top N per Each Group
Select and Update in Single Statement (Increment Counter avoiding Race Condition)
Select Rows Depending on Value in Previous Row (Remove Duplicates in Each Sequence)
Join to Different Tables Based on Condition in Table (Switch Join - Select Tables Based on Condition)