What is the best way to select multiple rows by ID in sql? August 11, 2023 by Tarik SELECT * FROM `table` where ID in (5263, 5625, 5628, 5621) is probably better, but not faster.