In the docs is this example:
SELECT DISTINCT department.name
FROM department
JOIN employee ON department.id = employee.department_id
JOIN salary_payments ON employee.id = salary_payments.employee_id
WHERE salary_payments.date BETWEEN '2020-06-01' AND '2020-06-30'
GROUP BY department.name
HAVING COUNT(employee.id) > 10;
-- Explanation of the above query in human readable format
--
I have tried copying this into the playground with code-davinci-002 but it just spews out the same query over and over again.
ChatGPT/davinci-003 works fine but the actual codex cant handle it's own sample from it's docs.
Is code-davinci-002 capable of writing explanations of code?