Errore del database

Error Number: 1064

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 4

SELECT count(*) as `count` FROM `span_neuropsicologi` LEFT JOIN `span_users` as `cb_users` ON `cb_users`.`id`=`span_neuropsicologi`.`created_by` LEFT JOIN `span_profiles` as `profiles` ON `profiles`.`user_id`=`span_neuropsicologi`.`created_by` LEFT JOIN `span_profiles` as `rel_u_r` ON `rel_u_r`.`id`=`span_neuropsicologi`.`u_r` WHERE ( )