PHP+mysql member and consumption record table big data connection query, how to solve it, urgently looking for a solution
古月
古月 2019-06-02 18:54:51
0
0
1202
1.会员表:有会员卡号,姓名,电话,性别,积分等字段(千万级数据)
2.消费记录表:关联字段会员卡号(千万级数据,有分表,按消费时间分表)

以下为搜索条件,现需要根据搜索条件查出对应的会员列表(需统计总数量)

如:查询会员年龄在46-60岁,性别:女,积分在100-200之间,近90天内消费过2次且消费金额在100-200元直接的所有会员,并统计总数

图片1.png

古月
古月

reply all(0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!