SQL
-- Add a new attribute 'address'
ALTER TABLE Student ADD address
VARCHAR(100);
-- Modify data type of 'age' to
SMALLINT
ALTER TABLE Student MODIFY age
SMALLINT;
-- Drop the 'major' attribute
ALTER TABLE Student DROP COLUMN
major;
SQL
-- Add a new attribute 'address'
ALTER TABLE Student ADD address
VARCHAR(100);
-- Modify data type of 'age' to
SMALLINT
ALTER TABLE Student MODIFY age
SMALLINT;
-- Drop the 'major' attribute
ALTER TABLE Student DROP COLUMN
major;
(PL/SQL) PROCEDURAL LANGUAGE / STRUCTURED QUERY LANGUAGE 1) Explain about the structure of PL/SQL program. How to create and execute a ...
No comments:
Post a Comment