Learn SQL by building a student database - Part 2

The bash script that I input is
echo "$($PSQL "SELECT course FROM courses WHERE course < 'D';")"
But the correct answer is
echo "$($PSQL "SELECT course FROM courses WHERE course < 'D'")"
Why shouldn’t I add semicolon at the end of the query?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.