DB - Lab 1
DB - Lab 1
Example:- create table student (name char(30) , regdno number(10) , branch char(20) ) ;
Output :-
Table Column Data Type Length Precision
STUDENT NAME Char 30 -
REGDNO Number - 10
BRANCH Char 20 -
Examples:-
insert into student values (’abhaya’, 1901229015 , ’CSE’ );
1 row created.
1
4. Command Name:- select
OR
Output:- NAME
abhaya
abhilash
abhishek
aditya
Example:- commit;
Output:- Commit statement not applicable. All statements are automatically committed .