select pet_id, name, type, breed, gender from pet
where gender ='F' or gender ='X'
and where name like '%S'
order by gender;
代码返回错误,说明ORA-00936:缺少表达式
答案 0 :(得分:3)
link_to
答案 1 :(得分:0)
SELECT pet_id,
name,
type,
breed,
gender
FROM pet
WHERE gender in ('F','X')
---Where remove and from here
and name LIKE '%S'
ORDER BY gender;