This example creates a database named people
. A table named friends
is created and is automatically added to the database. DISPLAY TABLES is used to display the tables in the database, and LIST DATABASES is used to list information about the tables in the database.
CREATE DATABASE people
CREATE TABLE friends (FirstName C(20), LastName C(20))
CLEAR
DISPLAY TABLES && Displays tables in the database
LIST DATABASE && Lists table information