How can I write a query so that data from one table is summed up and added to another one?

前端 未结 0 1218
难免孤独
难免孤独 2020-12-21 01:50

I have tables "sales" and "pr_sh", I need to sum pr_sh ("earn") where date I get from user. I write this date and amount ("earnings")

相关标签:
回答
  • 消灭零回复
提交回复
热议问题