标签: tableau
如何使用MySQL数据库通过Tableau中的自定义sql执行动态sql。
SET @table_name:='tableA'; SET @sql:=CONCAT('SELECT count(*) as issue_count FROM ',@table_name); PREPARE dynamic_statement FROM @sql; EXECUTE dynamic_statement;