sql 高级查询探索

来源:互联网 发布:淘宝refa旗舰店真的吗 编辑:程序博客网 时间:2024/05/21 10:08

  select * from qssq where qq=any( select account from devices where info like "a0000000000%")


从一个表中查询   另外一个表中ccount和 这个表的qq相等 如果不加上any就只能查询1条了。

原创粉丝点击