I have a query that looks something like that:
SELECT a, b, c,
(SELECT d from B limit 0,1) as d
FROM A
WHERE d >= 10
I get the result that I want when I run the query without the where
clause but when I add the where
clause the query fails.
Does anyone have a suggestion how to solve that?