Database Error; SQL: SELECT
DISTINCT
`t`.*
FROM `wp_pods_inventory` AS `t`
WHERE ( sold_date = 0 AND id = )
ORDER BY `t`.`id` DESC, `t`.`name`, `t`.`id`
LIMIT 0, 15; Response: 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 ')
ORDER BY `t`.`id` DESC, `t`.' at line 7