SQL: Fix name and extension.