Error 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 'AND
code = 'pictogram'
ORDER BY rank ASC' at line 3
SELECT *
FROM cms_section_file
WHERE section_text_id = AND
code = 'pictogram'
ORDER BY rank ASC