table is student
used this command you can get minimum value from student table
Group BY
SELECT MIN(mark)
FROM student
GROUP BY mark
it out put is this.
there have'nt no them names.ok let us see this example, r
NAME & MARK
consider following command
SELECT name,MIN(mark)
FROM student
GROUP BY mark
FROM student
GROUP BY mark
it output may be,
No comments:
Post a Comment