[ create a new paste ] login | about

Link: http://codepad.org/6dluuvD7    [ raw code | fork ]

Plain Text, pasted on Oct 26:
users table
username | parent


shop_items
itemid     | parentitem


shop_order_head
orderid | username  |date | orderstatus


shop_order_row
orderid | itemid | quantity


question:
get shop_order_row.quantity per item(including children) boss that has been ordered and has orderstatus 2.









Create a new paste based on this one


Comments: