MYSQL limit the JOIN rows
问题 I'v got 4 tables involve in the query: the main table items holds items list suppliers that holds the item supplier INNER JOIN by id item_categories that holds the item category INNER JOIN by id and orders table that hold orders in the follow struct: id . . . items => a JSON that hold the items array in the order example of items JSON: { "10": { "name": "item 1", "step": "1", "price": "140", "amount": "4" }, "24": { "name": "item 2", "step": "1", "price": "6.2", "amount": "1" }, "35": { "name