as有两个用法

1 query时,用来返回重新指定的值

example : select id as systemId from user;

2用来copy另外一张表的所有数据

example:create 表 as select * from 表2

in 用来查询所有涵盖该值得所有集合(这个比较常用)

select * from 表 where id in (‘’,‘’);值可以数字和汉字,可以包含一个或者多个

相关文章:

  • 2021-07-08
  • 2022-12-23
  • 2022-12-23
  • 2021-07-03
  • 2022-12-23
  • 2021-07-10
  • 2021-12-25
  • 2021-05-25
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-15
  • 2022-12-23
  • 2022-03-04
相关资源
相似解决方案