答案 0 :(得分:0)
也许此查询可以解决您的问题
Select * from cart_data where requested_card_non = 1
答案 1 :(得分:0)
"SELECT * FROM cart_data ORDER BY requested_cart_no"
或可选择分配订单ASC | DESC
"SELECT * FROM cart_data ORDER BY requested_cart_no DESC"
或者,对于单个记录使用'WHERE'子句,运算符(= |> |< |> = ...)和您需要的值。 ES:
"SELECT * FROM cart_data WHERE requested_cart_no > 5"