Y
yyjqtww
Unregistered / Unconfirmed
GUEST, unregistred user!
SELECT s.isbn, SUM(s.linqu_total), t.isbn, SUM(t.linqu_total), l.isbn, SUM(l.buy_total)
FROM ystudentlinshu AS s, yteacherlinshu AS t, ylinshoutab AS l
WHERE s.xueqi = '1999春'
GROUP BY s.isbn, t.isbn, l.isbn
ORDER BY s.isbn
我有了上面语句,为何不能统计出s,t,l三张表的相同ISBN的数量呢,只有一部分统计,可是有些相同
的并不统计,为什么呢??
FROM ystudentlinshu AS s, yteacherlinshu AS t, ylinshoutab AS l
WHERE s.xueqi = '1999春'
GROUP BY s.isbn, t.isbn, l.isbn
ORDER BY s.isbn
我有了上面语句,为何不能统计出s,t,l三张表的相同ISBN的数量呢,只有一部分统计,可是有些相同
的并不统计,为什么呢??