Notice: Undefined variable: max in /home/ on line 1089Notice: Undefined variable: min in /home/ on line 1092Exception: Error: 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 p.status = '1'' at line 1
Error No: 1064
SELECT COUNT(DISTINCT AS total FROM product p WHERE UNIX_TIMESTAMP(p.date_available) <= UNIX_TIMESTAMP('2024-06-22 06:00:06') AND (p.price > ) AND p.status = '1' in /home/ on line 43