Mysql查询:FROM `pet_info` LEFT JOIN ON `pet_info`.`id` = `lostpets`.`petid` WHEN `pet_info`.pet_user_id` = 581You have an error in your SQL syntax; check the manual that corresponds
下面是一个演示查询,注意它非常简单,只在base_price为0的地方使用Fetches,而且它仍然选择条件3: CASE course_enrollment_settings.base_priceWHEN course_enrollment_settings.base_price = 0 THEN 1 WHEN course_enrol