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 '%Sean%' AND lname LIKE '%O'Day%' ORDER BY date DESC, lname
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'Day%' ORDER BY date DESC, lname' at line 1