有没有办法根据数量列选择行?

时间:2016-10-13 20:14:52

标签: mysql

我有一张包含以下内容的表:

self.history.layer.borderWidth = 1
self.history.layer.borderColor = UIColor.mainColor().CGColor

选择订单时,我会回来:

 id qty product_id

在mysql中有没有办法选择这个呢?

 id qty product_id
 1   2   123
 2   1   234

有点像 id qty product_id 1 1 123 1 1 123 2 1 234 栏上的爆炸。

0 个答案:

没有答案