发布网友 发布时间:2022-04-29 01:35
共2个回答
懂视网 时间:2022-04-09 23:59
正确是:
SELECT DISTINCT(s.goods_id),g.`name` from shoppinglist s,goods g
WHERE s.goods_id=g.id
2、
select c.`name`,g.`name`, FORMAT(s.number/g.unit_price , 2)from customer c,shoppinglist s,goods g
where c.id=s.customer_id and s.goods_id=g.id
3、
SELECT * from customer c where c.date>‘2012-11-1‘ order by c.id asc
4、
SELECT c.`name` from customer c,shoppinglist s where c.id=s.customer_id GROUP BY s.customer_id
HAVING sum(s.number)>=50
网易-数据库
标签:rom 错误 ber strong where img customer sel mat
热心网友 时间:2022-04-09 21:07
没用数据库,直接使用文件存储在服务器