SQL execution statement
Right-click the database connection file " hr " - "Add SQL Execution Statement", as shown below:
A form pops up, as shown below:
Change the display name to "department name", set the return type to "string", and write the sql statement, as shown below:
After clicking OK, as shown below: