Mark Alambar

Results 6 comments of Mark Alambar

> @zhoubin7您好,请将您的问题中文翻译成英文。 @zhaojinchao95 Hello, I have updated my question

> 请启用`sql-show`([参考道具](https://shardingsphere.apache.org/document/current/en/user-manual/shardingsphere-jdbc/yaml-config/rules/sharding/))并在日志中提供逻辑 SQL 和实际 SQL。 -- Logic SQL: SELECT IFNULL(sum(o.order_amount - o.refund_amount), 0.00) AS todayRealTimeTurnover, IFNULL(SUM(CASE WHEN ori.is_first_order = 1 THEN o.order_amount - o.refund_amount END), 0.00) AS todayFirstOrderTurnover, IFNULL(SUM(CASE WHEN...

@RaigorJiang ![image](https://user-images.githubusercontent.com/38552814/217730877-5ea3a572-49c2-4f7e-b0cf-691599c958b5.png)

@RaigorJiang hi,I removed the subquery of the in condition in the sql, and it worked normally

> @zhoubin7 这真是个好消息,感谢您的反馈。 > > 可能分片场景下的子查询需要开启联合查询,可以尝试配置 [sql-federation-type](https://shardingsphere.apache.org/document/current/en/user-manual/common-config/props/)。 ![image](https://user-images.githubusercontent.com/38552814/217981236-f0a498e1-2ae6-43a4-b7d2-9c28c8df1a17.png) The error occurred while setting parameters ### SQL: SELECT u.user_id, u.dept_id, u.user_name, u.nick_name, u.email, u.avatar, u.phonenumber, u.password, u.sex, u.status, u.del_flag, u.login_ip, u.login_date,...

join All associated tables need to be configured with the binding table