i'm have SQL query:
SELECT a.id, b.id
FROM a
LEFT JOIN b ON b.id = 50
WHERE a.something = 'something'
AND a table
is really empty, and so it should be. But table b not empty and have valid result on b.id = 50
. This query print empty set.
As a result i need:
| a.id | b.id |
|------ |------ |
| null | 50 |