create table
create table
----Aggregate Fuction----
--MAX--
select max(marks) from student;
--MIN--
select min(marks) from student;
--AVGERAGE--
select avg(marks) from student;
--COUNT--
select count(marks) from student;
--SUM--
select sum(marks) from student;
--Group by clause--
select city ,count(name)
from student
Group by city;
select grade,count(name)
from student
group by grade;
---Update---
update student
set grade = 'O'
where grade = 'A';
update student
set marks = 86
where rollno = 105;
update student
set grade = 'B'
where marks between 80 and 90;
select * from student;
update student
set marks = marks +1;
--Delete--
insert into student values
(107,'Yong',20,'F','Pune'),
(108,'heer',16,'F','Kosamba')
select * from student;