Task: Text to Code
Input (English): Step 1: find the number of rows of each value of document_type_code in Documents table.
Step 2: find document_type_code in Documents table whose corresponding value in step 1 is greater than 10000
Output (English): SELECT document_type_code FROM Documents GROUP BY document_type_code HAVING Count ( * ) > 10000