摘要: product 表 product_name、spu、create_datetime 想要查找商品名称中包涵短袖的商品一共有多少个 select count(*) from product where product_name like "%短袖%" shop 表 中有shop_name、chann 阅读全文
posted @ 2021-07-01 13:43 Camillezxl 阅读(31) 评论(0) 推荐(0) 编辑
摘要: #coding:utf-8 tuple_a = (1,2,3,4,3,2,1)#找出不重复的数,并打印出来 for i in range(len(tuple_a)):#按长度遍历列表 if tuple_a.count(tuple_a[i])==1:#查找tuple中出现一次的数 print(tupl 阅读全文
posted @ 2021-07-01 13:30 Camillezxl 阅读(75) 评论(0) 推荐(0) 编辑