I'm using the Looker Dashboarding software (see: looker.com). It creates temporary tables in your database's looker_scratch
schema with long names, each containing a dollar symbol.
These are straightforward to query using the "SQL Runner" in Looker itself, which somehow is able to escape the dollar symbol, but I can't query them using a 3rd-party SQL client.
I'm trying to query this table:
SELECT *
FROM looker_scratch.LR$5UA5D3XQDBPAYU0Q9FLFE_test
but get the error:
the # of binded parameters < the # of parameter markers
How can I query the table?
I've tried:
...FROM looker_scratch."LR$5UA5D3XQDBPAYU0Q9FLFE_test"
- says the relation does not exist...FROM looker_scratch."LR\$5UA5D3XQDBPAYU0Q9FLFE_test"
- says the relation does not exist...FROM looker_scratch.$LR\$5UA5D3XQDBPAYU0Q9FLFE_test$
- says syntax error...FROM looker_scratch.$$LR\$5UA5D3XQDBPAYU0Q9FLFE_test$$
- says syntax error...FROM looker_scratch.E'LR\$5UA5D3XQDBPAYU0Q9FLFE_test'
- says syntax error