Home > Database > Mysql Tutorial > mysql-问一下各位大神sql的问题

mysql-问一下各位大神sql的问题

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 09:42:10
Original
969 people have browsed it

mysqljava报表

图片说明我要做一张报表,统计最近三十天内 进货、销售、库存每天的数量,已知有四张表
A表有前五个字段,
B表进货表有第一列的数据 可以count取出,有一个字段x存的时间
C表销售表有第二列的数据 可以count取出,有一个字段x存的时间
D表库存表有第三列的数据 可以count取出,有一个字段x存的时间
但是有一个问题,不是每天都有进货、销售、库存数据
问一下大神怎么用mysql查询符合这样报表的数据?

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template