Fundamental of Database Lab 1
Fundamental of Database Lab 1
◼ Try your console (making mistake is appreciable, you will learn from their mistake )
Some queries(commands)
Show databases; ..
Lab 1 : Installing MySQL Server
Use mysql;
Show tables;
Desc db;
..continue
Lab 1 : Installing MySQL Server
Before proceeding to the next lab exercises make sure that you know
• What is database
• What is schema
• What is database management system
• What is table
• What is query
• What is MySQL
Working on SQL console
Creating a simple student database which holds the students information
Tables in the student database are
Experiment in Insert command and insert at least 20 student information in both tables.
insert into student_grades (student_id,CGPA) values ("AIT123",3)
update student_grades set CGPA=3.2 (i.e use where condition)
delete from student_grades where student_id="abcd"
drop table student_info