Выберите 2 ряда в SQL
SELECT * FROM `table` WHERE id IN (1,2,3,...,n)
Pleasant Puma
SELECT * FROM `table` WHERE id IN (1,2,3,...,n)