Try this: SELECT * from order_items where order_id in (select ID from orders order by ID desc limit 100); DAQ
Соглашаюсь с условиями обработки персональных данных