SQL
SQL
(
Rollno Number,
Name Varchar2(10),
Age Number,
Marks Number,
Section Char,
);
// to check the table
Select *
From Student
// insert into table
insert into student
values(1,'Raju',23,80,'A');
SYNTAX:
ex:
Select *
from student
order by name desc
// aggregate functions
select *
from student
where max(age) or min(age) or sum(marks) or avg(salary)
means it will provid only the count which is having equal or above 2
//subquery
Select *
from emp
where deptno = (select deptno
from dept
where loc= 'mumbai');