1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
-- ============================================================ -- Welcome to QueryForge Studio -- A SQL database engine built from scratch in C++. -- ============================================================ -- -- How to use this studio: -- * The files on the left (01 - 17) are a guided tour. -- Open them in order to build up a "company" database -- and try every feature. -- * Put your cursor on a statement and press Cmd/Ctrl+Enter -- to run just that statement, or Shift+Cmd/Ctrl+Enter to -- run the whole file. The Run button runs the selection -- (or the whole file if nothing is selected). -- * Results show up in the terminal panel below as tables. -- -- Step 1: every session must log in first. -- The default superuser is root / root. LOGIN root root; -- Step 2: list every command the engine understands. HELP; -- Now open 01_database.sql to begin the tour.
QueryForge terminal โ press Run or โ/Ctrl+Enter. Don't forget to log in first: click ๐ค in the status bar (default: root / root).