我想用SQL查询Redash中的一列,但它不支持中文。有谁能够帮助我?谢谢!
SELECT user_history.id, user_history.user_id AS `汉字id`
FROM data_platform.user_history
WHERE dt = {{ dt}}
答案 0 :(得分:0)
您的汉字id
格式不正确。下面的查询将在MySQL数据库上运行,但不一定要在Google BigQuery上运行。
SELECT user_history.id, user_history.user_id AS '汉字id'
FROM data_platform.user_history
WHERE dt = {{ dt}}