Professional Documents
Culture Documents
Creating table
o/p:-
2.sum():-it is used to add the all id’s ina table data,and return output
o/p:-
3.max():-this aggregate function is used to print the maximum marks in
marks attribute
o/p:-
o/p:-
o/p:-
*avg function perform on two attributes and perform division
operations
Example:-select avg(marks)\avg(id) from data;
o\p:-