Task: Text to Code
Input (English): Step 1: For each row in Projects table, find the corresponding rows in Documents table.
Step 2: find the number of rows of each value of Projects's Project_ID in the results of step 1.
Step 3: find Documents's Project_ID, Project_Details in the results of step 1 whose corresponding value in step 2 is greater than or equals 2
Output (English): SELECT T2.Project_ID , T1.Project_Details FROM Projects AS T1 JOIN Documents AS T2 ON T1.Project_ID = T2.Project_ID GROUP BY T1.Project_ID HAVING Count ( * ) > = 2