Manual Experiment 1.1
Manual Experiment 1.1
1
Aim: To implement different types of DDL, DML, DCL queries.
S/W Requirement: Oracle Database Express Edition
Practical:
I. CREATE Command:
This command is used to create relations or tables. The column name must be specified along
the data types. Each table must have at least one column.
Syntax: Create table <tablename>(col1,datatype, col2,datatype…… coln,datatype);
So CT
II. DESCRIBE Command:
It is use to describe the table.It includes information like table name, column name, data type
etc.
Syntax: Describe <tablename>;
V. DELETE Command:
It is used to remove rows from a table. The entire row can be deleted using this command.
Syntax: Delete from<table name> where condition;
As shown here the row is deleted and table is shown in next figure.
ALTER Command
It is used to make changes in table. It can be used to add a new column or modify an existing
one. It is also used to delete a column.