SQL Help

Between 2006 and 2009 these tutorials lived at guelphdad.wefixtech.co.uk/sqlhelp, written by David J. Lake — a familiar, patient voice on the MySQL forums of that era. Forum threads all over the web still link here. Rather than let those links rot, we've rewritten every tutorial from scratch for modern MySQL 8 and put each one back at its original address. Same questions — they never stopped being asked — with today's answers.

Retrieving the rows you actually want

Keys, IDs and duplicates

Schema design & data cleanup

Working with the mysql client

The lost articles

The 2006 sidebar carried a hidden comment listing tutorials David planned but never published. We're finishing the set: