Ocurrió un error con la base de datos

Error Number: 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 md_fecha = '2024-03-19'' at line 4

SELECT `md_diario`.*, `establecimientos`.`nombre_establecimiento` FROM (`md_diario`) JOIN `establecimientos` ON `establecimientos`.`ID_establecimiento` = `md_diario`.`ID_establecimiento` WHERE `md_diario`.`ID_establecimiento` IN () AND md_fecha = '2024-03-19'

Filename: /var/www/vhosts/conmenu.com/httpdocs/models/establecimientos_model.php

Line Number: 15477