1

Topic: if sql

SELECT
CASE type WHEN ' zakupka'
THEN (select name from service_provider)
ELSE (select name from users)
END AS name
FROM transactions;
How to correct or how correctly to write