strongduanmu commented on issue #22822:
URL:
https://github.com/apache/shardingsphere/issues/22822#issuecomment-1367765173
The latest result.
```sql
sharding_db=> select * from t_new_order o inner join t_merchant m
using(merchant_id) where o.user_id > 10 and o.user_id < 15 order by o.order_id,
7 fetch first 3 rows only;
merchant_id | order_id | user_id | status | remark | creation_date |
country_id | merchant_name | business_code | telephone | creation_date
-------------+----------+---------+--------+--------+---------------+------------+---------------+---------------+-------------+---------------
5 | 1100 | 11 | init | TESt | 2017-08-08 |
86 | lenovo | 86000005 | 86100000005 | 2017-08-08
6 | 1101 | 11 | init | test | 2017-08-08 |
86 | moutai | 86000006 | 86100000006 | 2017-12-08
9 | 1200 | 12 | finish | finish | 2017-08-08 |
86 | vivo | 86000009 | 86100000009 | 2017-11-08
(3 rows)
sharding_db=>
sharding_db=> select * from t_new_order o inner join t_merchant m
using(merchant_id) where o.user_id > 10 and o.user_id < 15 order by o.order_id,
7 fetch next 3 row only;
merchant_id | order_id | user_id | status | remark | creation_date |
country_id | merchant_name | business_code | telephone | creation_date
-------------+----------+---------+--------+--------+---------------+------------+---------------+---------------+-------------+---------------
5 | 1100 | 11 | init | TESt | 2017-08-08 |
86 | lenovo | 86000005 | 86100000005 | 2017-08-08
6 | 1101 | 11 | init | test | 2017-08-08 |
86 | moutai | 86000006 | 86100000006 | 2017-12-08
9 | 1200 | 12 | finish | finish | 2017-08-08 |
86 | vivo | 86000009 | 86100000009 | 2017-11-08
(3 rows)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]