The order table how to implement
CodePudding user response:
Table link more, group by group, the basic idea is thisCodePudding user response:
The ORDER table is how to createCodePudding user response:
This left right connections to is like thisCodePudding user response:
This simple order according to the customer table or table has been left links to the rest of the tableThen the sum (case when then end) group