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
期望以下sql不会触发规则00079,其中虽然有别名重复,但是是针对相同的表和列,不应该触发规则 SELECT DISTINCT t_mem.first_name AS mem_first_name, t_mem.last_name AS mem_last_name, t_mem.phone AS mem_phone FROM expense AS t_exp INNER JOIN budget AS t_bud ON t_exp.link_to_budget = t_bud.budget_id INNER JOIN member AS t_mem ON t_mem.member_id = t_exp.link_to_member WHERE t_exp.cost > ( SELECT AVG(t_exp.cost) FROM expense AS t_exp INNER JOIN budget AS t_bud ON t_exp.link_to_budget = t_bud.budget_id INNER JOIN member AS t_mem ON t_mem.member_id = t_exp.link_to_member );
截图或日志(Log)
如何复现(To Reproduce)
问题原因
解决方案
变更影响面
受影响的模块或功能
外部引用的潜在问题或风险
版本兼容性
测试建议
The text was updated successfully, but these errors were encountered:
版本信息(Version)
v4.25.02
问题描述(Describe)
期望以下sql不会触发规则00079,其中虽然有别名重复,但是是针对相同的表和列,不应该触发规则
SELECT DISTINCT t_mem.first_name AS mem_first_name, t_mem.last_name AS mem_last_name, t_mem.phone AS mem_phone FROM expense AS t_exp INNER JOIN budget AS t_bud ON t_exp.link_to_budget = t_bud.budget_id INNER JOIN member AS t_mem ON t_mem.member_id = t_exp.link_to_member WHERE t_exp.cost > ( SELECT AVG(t_exp.cost) FROM expense AS t_exp INNER JOIN budget AS t_bud ON t_exp.link_to_budget = t_bud.budget_id INNER JOIN member AS t_mem ON t_mem.member_id = t_exp.link_to_member );
截图或日志(Log)
如何复现(To Reproduce)
问题原因
解决方案
变更影响面
受影响的模块或功能
外部引用的潜在问题或风险
版本兼容性
测试建议
The text was updated successfully, but these errors were encountered: