Home  >  Article  >  Backend Development  >  小弟我想实现统计会员每个月消费的情况,不知道数据库如何设计

小弟我想实现统计会员每个月消费的情况,不知道数据库如何设计

WBOY
WBOYOriginal
2016-06-13 12:50:231273browse

我想实现统计会员每个月消费的情况,不知道数据库怎么设计。

本帖最后由 qq369389714 于 2013-01-13 20:58:43 编辑 我这个会员系统是推荐制的,比如我的会员ID是1 我下面有很多我推荐的会员,他们的PID 是1
我想统计出他们当月的消费总额。会员有消费的,也有不消费的, 但是数据库不知道怎么去设计。 请大家帮帮忙
数据库
------解决方案--------------------
哦,再加个时间的字段在后面比较好
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn