I have a table "A", "A" has a Column AreaId
, When I select * from "A"
, I wanna show results where AreaId in my account.Other, I hava a table "B",it means I hava some AreaIds, It possible thousands or hundreds.So, When I select from A , I will select * from A where areaId in (1,2,3,4,5,6,7.....1000)
,it is too slowHow can I solve this, Thank you
Now I use in(.....) and redis, but it too slow