MySQL_Exception


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 '2021-11-09 16:15:54' ORDER BY approvdate ASC' at line 1


select * from video where active = '1' and public = '1' and channel='251' and contents_group = '1' and detail1='60482 \' and year(approvdate) ='2021-11-09 16:15:54' ORDER BY approvdate ASC