CASE statement with IN/OR
Hello,
I'm trying to write a query with case statement.
the condition is
when project_ref =393 then select qtn_ref in (7070000,7060000))
and when project_ref =391 and select q.qtn_ref=8700000
I need this condition in 'WHERE' statement.
I can use 2 SELECT queries using 'IF ELSE', but I woud like to find out if there's any way to use CASE so I can write 1 query.
Tring to do something like this but it doesn't work.
SELECT *
FROM table
WHERE qtn_ref = case when project_ref =393 then 7070000 or 7060000
when project_ref =391 then 8700000
Anyone can help, please?

