CDB::Query error (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 ')' at line 9)
SELECT `mm_user_data`.*, `mm_medic_titles`.`name` AS `title`, `mm_medic_levels`.`name` AS `level` FROM `mm_user_data` LEFT JOIN `mm_medic_titles` ON `mm_user_data`.`medic_title_id` = `mm_medic_titles`.`id` LEFT JOIN `mm_medic_levels` ON `mm_user_data`.`medic_level_id` = `mm_medic_levels`.`id` WHERE(`mm_user_data`.`user_id` = )