2018年10月3日
摘要: select t.id,t.code,t.title,t.shop_id shopId, t.type,t.start_time startTime,t.end_time endTime, shop.shop_name shopName, t.member_level memberLevel, t.require_Include requireIn... 阅读全文
posted @ 2018-10-03 16:15 程序员自我修养张振力 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 1、表结构: 2、插入数据: 3、查询出有两门以上不及格的学生: 4、查询出全部及格的学生: 阅读全文
posted @ 2018-10-03 16:07 程序员自我修养张振力 阅读(9242) 评论(0) 推荐(0) 编辑
摘要: 1、表结构与数据: 2、查询出重复的数据: 3、查询出要保留的重复数据: 4、最终的SQL: 5、补充 : 其中这样写mysql中不能如下这样写: 会报错:You can't specify target table 'tablezzl' for update in FROM clause,不能在同 阅读全文
posted @ 2018-10-03 14:24 程序员自我修养张振力 阅读(78156) 评论(2) 推荐(3) 编辑