Task: Text to Code
Input (English): SQL: SELECT order_id , order_details FROM Orders GROUP BY order_id HAVING Count ( * ) > = 2
Feedback: You have to use order id of invoice table.
Output (English): SELECT T2.order_id ,  T2.order_details FROM Invoices AS T1 JOIN Orders AS T2 ON T1.order_id  =  T2.order_id GROUP BY T2.order_id HAVING count(*)  >  2