Organisation People Contact A A

1064: 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 '' at line 1 query:select * from resources where id = 
1064: 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 ')' at line 10 query:
          select
           id,
           afbeelding,
           title,
           (select id from people where id = cases.people) people_id,
           (select titel from people where id = cases.people) titel,
           (select title from people where id = cases.people) persoon,
           (select titel_onderzoekslijn from people where id = cases.people) onderzoekslijn
          from cases
          where active = 1 and id in (select distinct record_id from types_onetomany where modules_id = 70 and types_id = )
Resources