Answers for "mysql return column names with empty values row"

SQL
0

mysql return column names when table is empty

select myQuery.*
from (select 1) as ignoreMe
left join (
select * from myTable where false -- insert your query here
) as myQuery on true
Posted by: Guest on February-18-2021

Code answers related to "mysql return column names with empty values row"

Code answers related to "SQL"

Browse Popular Code Answers by Language