Performance of nested select
问题 I know this is a common question and I have read several other posts and papers but I could not find one that takes into account indexed fields and the volume of records that both queries could return. My question is simple really. Which of the two is recommended here written in an SQL-like syntax (in terms of performance). First query: Select * from someTable s where s.someTable_id in (Select someTable_id from otherTable o where o.indexedField = 123) Second query: Select * from someTable