Commit c22965d
committed
Fix GROUP BY in show_departments() for PostgreSQL strictness
PostgreSQL requires all non-aggregated columns in GROUP BY clause,
unlike MySQL which allows functional dependency. Add dept_name and
manager to GROUP BY.1 parent bf33f26 commit c22965d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
| 171 | + | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| |||
0 commit comments