shop 表 中有shop_name、channel_id、status、 product 表 product_name、spu、create_datetime 想要查找 符合 product_name为上衣短袖且spu是123且create_datetime为2021年5月5日,channel_id为JD的shop_name UID关联字段 select s.shop_name from shop s left join product p on s.UID = p.UID and p.product_name = "上衣短袖" and p.spu = " 123 " and p.create_datetime = "2021年5月5日" and s.channel_id = "JD"
SQL语句练习
标签:查找 col 字段 channel sql语句 from select 1年 stat
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did116806