select 新增表格批量查询

select

  • from 查询表
    where id in (select t.c1 from tom_test1 t)

select t.*,rowid from tom_test1 t;
这个作用是用于复制excel数据

运行之后,出现表格,我复制excel 多行上去,但是,只是合并在一行,并不会跟excel分多行展示
这个使用,只是我用来批量查询数据
或者如果其他比较好的批量查询,也可以说一下,谢谢/

不知所云

SELECT
  *
FROM 查询表 a
JOIN tom_test1 b ON a.id=b.c1

有多少列就选择多少列,然后粘贴

img

in 超出1000条数据就无法使用,并且数据量大的时候效率低,

select ta.* from 查询表 ta where exists (select 1 from tom_test1 t where t.id = ta.id)