DBMS1
DBMS1
(COMPUTER SCIENCE)
KATHMANDU, NEPAL
2024
WORK DONE
A. Database practical session-1
b)
Get inside the database.
d.
Delete the table.
Student_name---------varchar(100)
Student_address-------varchar(100)
Student_grade----------integer(int)
c. Insert any 6 records using ‘insert’ and ‘values’ command.
h. Display all the records of students whose grade is 12. Use ‘where’ command.
i. Display all the records of students whose grade is 12 and who are from address
“Kathmandu”. Use ‘and’ operator.
j. Update the student’s name with any other name who has id 1.
l. Display the records of students in sorted order using field ‘student_name’. Use
‘order by field name asc/desc’.
m. Alter the table with following fields.
Add one more field student_section---varchar(100). [Use alter and add command]
Change the size of field student_address--200 [Use alter and modify command]