Query failed: 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 'ORDER BY p.`lname` ASC, p.`fname` ASC' at line 1
SELECT p.*, s.name as state FROM `players` p INNER JOIN `sites_entries` s ON p.`hs_st` = s.`id` WHERE p.`school_id`= ORDER BY p.`lname` ASC, p.`fname` ASC