Détection incendie

SELECT categories.* FROM (SELECT DISTINCT CAST(SUBSTRING(members.anchor, 10) AS UNSIGNED) AS target FROM ams_members AS members WHERE (members.member LIKE 'article:25') AND (members.anchor LIKE 'category:%')) AS ids, ams_categories AS categories WHERE (categories.id = ids.target) AND (categories.active='Y') AND ((categories.expiry_date is NULL) OR (categories.expiry_date <= '0000-00-00 00:00:00') OR (categories.expiry_date > '2024-04-18 06:33:48')) ORDER BY rank, title, edit_date DESC LIMIT 0,40
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 ', title, edit_date DESC LIMIT 0,40' at line 1

SELECT articles.* FROM ams_articles AS articles WHERE (articles.anchor LIKE 'section:6') AND ((articles.active='Y') AND NOT ((articles.publish_date is NULL) OR (articles.publish_date <= '0000-00-00')) AND ((articles.expiry_date is NULL) OR (articles.expiry_date <= '0000-00-00 00:00:00') OR (articles.expiry_date > '2024-04-18 06:33:48'))) ORDER BY rank, publish_date DESC, title LIMIT 0,7
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 ', publish_date DESC, title LIMIT 0,7' at line 1

SELECT sections.* FROM ams_sections AS sections WHERE (sections.anchor='' OR sections.anchor IS NULL) AND (sections.active='Y') AND (sections.index_map = 'Y') AND ((sections.activation_date is NULL) OR (sections.activation_date <= '2024-04-18 06:33:48')) AND ((sections.expiry_date is NULL) OR (sections.expiry_date <= '0000-00-00 00:00:00') OR (sections.expiry_date > '2024-04-18 06:33:48')) ORDER BY rank, title, edit_date DESC LIMIT 0,5
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 ', title, edit_date DESC LIMIT 0,5' at line 1

L’entreprise étudie et réalise tout type d’installation de détection et alarme du type 1 au type 4 (Réalisation de l’étude, installation, délivrance procès-verbal de réception, formation, constitution du dossier SSI, vérifications périodiques.)

L’entreprise étudie et réalise tout type d’installation de détection et alarme du type 1 au type 4
(Réalisation de l’étude, installation, délivrance procès-verbal de réception, formation, constitution du dossier SSI, vérifications périodiques.)