Tento dotaz vždy vrátí alespoň 1 řádek
SELECT * FROM (__your old query__)aaa
UNION
SELECT NULL as research_cost, NULL as tech_name, NULL as research_prev,
... etc [FROM DUAL] // DUAL is a dummy table in mysql
Tento dotaz vždy vrátí alespoň 1 řádek
SELECT * FROM (__your old query__)aaa
UNION
SELECT NULL as research_cost, NULL as tech_name, NULL as research_prev,
... etc [FROM DUAL] // DUAL is a dummy table in mysql