id key val
1 1 10
2 2 20
...
8 8 80
select * from a where key in(1,2,1,5,2,8)
查询结果:1,2,5,8 记录
但我想要:1,2,1,5,2,8 记录