Forest index
Gibson Digital Enterprises

Quick Guide #1

How to create a new database and table. The names 'testdatabase' and 'testtable' are for example purpose only:


1) Run the forest environment.

 $ ./forest

2) To create the database:

 [prompt] CREATE DATABASE testdatabase

3) To show that the database was created:

 [prompt] SHOW DATABASES

4) To activate the database for use:

 [prompt] USE testdatabase

5) To create the table:

 [prompt] CREATE TABLE testtable INT Id VARCHAR LastName

6) To show that the table was created:

 [prompt] SHOW TABLES

7) To verify the table's data types and columns:

 [prompt] DESCRIBE testtable