我在将数据选择到表格并回显时遇到问题,例如
--------------------------------------
id | bought | customerName |
--------------------------------------
1 | 70 | customer 1 |
2 | 20 | customer 2 |
3 | 50 | customer 3 |
4 | 30 | customer 4 |
5 | 80 | customer 5 |
6 | 100 | customer 6 |
--------------------------------------
我想要做的是通过购买并选择购买 50 到 100 之间的顺序,这将导致
customer 3 --- 50
customer 1 --- 70
customer 5 --- 80
customer 6 --- 100