SQL模糊查询,联表查询JoinON 发表于 2022-01-20 更新于 2022-01-21 分类于 MySQL 阅读次数: 123456-- 模糊查询-- like结合 %(代表0到任意个字符) _(代表一个字符)select [] from [] where xxx like '刘%'-- inselect [] from [] where xxx in (a, b, c); 1234567-- join-- join on 连接查询-- where 等值查询select A.a, b, c, dfrom xxx as Ainner join yyy as Bon A.a = B.a ------ THEEND ------ 欢迎关注我的其它发布渠道 WeChat RSS