I am a new learner database developer. I am now using Oracle 11g. Following the Developer tutorial on MODIFYING THE DEPARTMENTS REPORT I have encountered the following problem.
Scroll down to Source, and replace the default Region Source script with the
(select count(*)from oehr_employees where department_id = d.department_id)
"Number of Employees",
substr(e.first_name,1,1)||'.'||e.last_name "Manager Name",
FROM OEHR_DEPARTMENTS d,
6. Click Apply Changes.
7. Click Apply Changes to confirm.
8. Right-click Departments and select Edit Report Attributes.
9. Click the Edit icon next to Number of Employees.
10. Under Column Definition, select center for Column Alignment.
11. Click Apply Changes.
When I did it there was an error message as follows:
ErrorRegion Source Query cannot be parsed, please check the syntax of your query. (ORA-00909: invalid number of arguments)+ Unable to show report.
Below is the syntax that was to be replaced:
Now; how should I correct it? I cannot move forward