Of course it isn't possible to write
SELECT (some subselect) AS blah FROM t WHERE blah = 'const'
What is the best way to do this?
SELECT (some subselect) FROM t WHERE (some subselect) = 'const'
?- View?
- Stored Function?
- HAVING?
- other?
Of course it isn't possible to write
SELECT (some subselect) AS blah FROM t WHERE blah = 'const'
What is the best way to do this?
SELECT (some subselect) FROM t WHERE (some subselect) = 'const'
?
you can move
(some subselect)
as table in theFROM
: