Learn SQL by Building a Student Database: Part 1 - Build a Student Database: Part 1

Tell us what’s happening:

Can’t display table details. When I try to display table “students” with command “\d students” there is a warning message saying “Type \d students in the psql prompt”

Your code so far

\d students

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36 Edg/125.0.0.0

Challenge Information:

Learn SQL by Building a Student Database: Part 1 - Build a Student Database: Part 1

Folks I found a workaround:

Everytime this happens, log out of the psql shell using shortcut “\q” and then type the command to login again to pysql with the freecodecamp credential.

I’ve seen in other post users reporting this only happens after using CTRL+C, but I’ve experienced it even when not using, so be careful.