Janowo
January 27, 2023, 8:44am
1
Hello Everyone,
I am starting my journey with coding and that is why I ask for Your patience:)
I have question about problem with opening saved file
Learn SQL by Building a Student Database: Part 1.
When I open a file I can see only CodeRoad, but there is no terminal.
Where can I find it?
Greetnigs and thank You for this forum,
Jan
When you click on that hamburger icon youâll find some list option in there click on the one that says terminal then click on new terminal .
Janowo
January 27, 2023, 11:56am
3
Ok, but i donât see the history of my script.
hbar1st
January 27, 2023, 12:01pm
4
What do you mean by the âhistory of the scriptâ?
If you want to edit the script just double click the name in the file explorer pane
Janowo
January 27, 2023, 8:33pm
5
I meant I can save the query like in SSMS and after opening again see what I have written in erlier steps. I can see only CodeRoad.
When I log again do I have to use shortcut command \c?
is there option to see past steps in terminal?
no the terminal will not retain anything when it is closed and restarted.
To see a history of all the steps you completed you should scroll up on the CodeRoad tab and select the menu button at the top left to review the History.
The steps you have to do when you logoff and log back in depend on what you were doing.
If it helps, Iâve been dipping in and out of the relational database stuff, so I might know what issue youâre talking about.
When you go back into CodeRoad again and the project window opens up, you will need to start up a new terminal window of course.
Then youâll need to log back into PostgreSQL :
psql --username=freecodecamp --dbname=postgres
Then connect to the database:
c\ database_name
Then you should find everything as you left it.
Janowo
January 27, 2023, 10:10pm
8
Thank You. Now it is clear for me:)
1 Like
Janowo
January 27, 2023, 10:41pm
9
My another question is what does mean this sign: (>
E.g. students(>
I see it in terminal instead of students=>
hbar1st
January 27, 2023, 11:04pm
10
hmm, maybe you didnât finish your last command?
(you have to use semicolon after each sql command)
Janowo
January 28, 2023, 9:02am
11
Yes, I typed enter instead shift, it is my often mistake with 5 fingerđŹ
What should I do then. My commands donât work.
hbar1st
January 28, 2023, 10:26am
12
You can try typing a semicolon and enter
This may close the command
If that doesnât work then exit the terminal and restart a new one.