SELECT date AS date, race AS race, pos AS pos, g_pos AS g_pos, ag_pos AS ag_pos, ag AS ag, bib AS bib, fname AS fname, lname AS lname, gen AS gen, age AS age, time AS time, city AS city, st AS st FROM roadrunners WHERE fname LIKE '%Michael%' AND lname LIKE '%O'Loughlin%' ORDER BY date DESC, lname
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Loughlin%' ORDER BY date DESC, lname' at line 1