I am getting ‘No data returned’ message when trying to create a temp table using the syntax CREATE TEMPORARY TABLE temp_table SELECT columns FROM table. The temp table fails to show up in the schema either.
I am wondering if it is due to the lack of creating temporary table permission. How should I check whether I have permission or not?
MySQL temporary tables are per-session. They exists only in current session.
If second session is established or new one in parallel (like the one that will refresh schema view) the temporary table will not be visible.
Redash is hard on multi-statements.
instead try with sub_query, something like:
…
join (select … from …) t
1 Like
Login or sign up disabled while the site is in read only mode