You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
场景需求如下:
用户A拥有数据表ta,用户B需要查询ta来进行计算,查询的sql语句类似:
SELECT
(
CASE
WHEN ta.code1 IN ('01', '02') THEN 3000
WHEN ta.code1 = '03' THEN 2000
ELSE 0
END +
CASE
WHEN ta.code2 = 1 THEN 10000
ELSE 0
END +
FLOOR(ta.value / 1000)
) AS result
FROM ta
WHERE ta.ID = 'id0001';
要求用户B能够查询到上述sql语句的计算结果,但是不能查询到ta中的数据
请问对应的CCL应该要怎么设置?
The text was updated successfully, but these errors were encountered:
Issue Type
CCL
Have you searched for existing issues?
Yes
Link to Relevant Documentation
No response
Question Details
The text was updated successfully, but these errors were encountered: