Task: Text to Code
Input (English): Step 1: find the number of rows of each value of id in medicine table.
Step 2: find id, Trade_Name in medicine table whose corresponding value in step 1 is greater than or equals 3
Output (English): SELECT id , Trade_Name FROM medicine GROUP BY id HAVING Count ( * ) > = 3