Table Creation Pract 1 PDF
Table Creation Pract 1 PDF
Note (Reg No: 1 entered two times in the table, this data is redundant, can be avoided when you
give primary key constraint, will be covered in upcoming portions)
1 as SR1
2 as SR2
3 as SR3
4 as SR4
5 as SR5
(Hint Try to change INTEGER to VARCHAR2 – Use Alter command
(This modification will not be allowed as there are values in the columns, So update the column
values to null )
UPDATE table_name
SET your_column_name = NULL;
UPDATE table_name
SET column1 = value1
WHERE condition;
------------------------------------------------------------------------------------------------------------------
2. Create table
---------------------------------------------------------------------------------------------------------------------
3. Create table