首页
编程
java
php
前端
首页
编程
java
php
前端
题目不会写 求大家看看
第二题和第三题求求答案
图片看不太清楚哦
select * from 表名 where 消费金额>20
第二题?
group_concat结合distinct筛选符合条件的记录_grandesucesso的博客-CSDN博客
首先,创建一张外卖平台的“订单信息表”order_list,如下:查询: 2018年1月只吃了“麻辣烫”和“汉堡”的用户数量select count(*) from (select user_id, group_concat(distinct order_category) 下单菜品from order_listwhere date_format(order_time, "%Y-%m")='2018-1'group by user_idhaving 下单菜品 like '汉堡,麻辣烫'
https://blog.csdn.net/grandesucesso/article/details/107568598
点击展开全文