我有一个IN
子句的查询。
select * from student where id in (1, 2, 3, 4, 5)
引擎将如何解析和执行这个 SQL 查询?
是这样,在五个不同的查询中解析还是其他?
select * from student where id = 1
select * from student where id = 2
select * from student where id = 3
select * from student where id = 4
select * from student where id = 5