You may create or drop tables, indexes or views using the following functions.
create-tableFunction
create-table name description &key database
(create-table [manager] '(([id] (char 10) not-null )([salary] integer)))
CREATE TABLE MANAGER (ID CHAR(10) NOT NULL,SALARY INTEGER)drop-table
Function
drop-table name &key database
Function
create-index name &key on unique attributes database
(create-index [manager]
:on [emp]
:unique t
:attributes '([ename] [sal]))
drop-indexFunction
drop-index name &key database
Function
create-view name &key column-list as with-check-option database
manager with the records in the employee table whose job title isMANAGER.
(create-view [manager]
:as [select [*] :from [emp] :where
[= [job] "MANAGER"]])
drop-viewFunction
drop-view name &key database