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

Hi there Everyone, this is my first crack at this and am stuck on something super simple, so please excuse my ignorance. Trying to execute the /1 shortcut in psql prompt and can’t get past it…pasted my progress so far, any help would be appreciated. thanks

codeally@d519545ec4cd:~/project$ echo SQL
SQL
codeally@d519545ec4cd:~/project$ psql --username=freecodecamp --dbname=postgres
Border style is 2.
Title is " ".
Pager usage is off.
psql (12.9 (Ubuntu 12.9-2.pgdg20.04+1))
Type “help” for help.

postgres=> \1
invalid command \1
Try ? for help.
postgres=> /1
postgres->

Your browser information:

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

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

Link to the challenge:

hi there,

It is not a 1 , I believe you mean /l which is ‘list’ (l for list)

ty so much i was stuck on that for like an hour it was driving me crazy

1 Like