Can anyone help me in calculating Avg,Min and Max with the SQL Plus this is because i do not know how the function should be written in the SQL Plus, that is am simply nook in this programming field, so your help would be highly appreciated.
Can anyone help me in calculating Avg,Min and Max with the SQL Plus this is because i do not know how the function should be written in the SQL Plus, that is am simply nook in this programming field, so your help would be highly appreciated.
The subquery needs to return the average per pilot, so something like this:
where table_1 > (select avg(x.avg_table_1) from pilots)
On a slightly unrelated note, which database platform uses "SQL Plus"?
check up SQL MAX command to get highest value of data We will apply the AVG command here like this to the field mark
SELECT avg( mark ) FROM `table_1`
In the above query there would be list of records where the column name will be class in that table you want to calculate the average on the mark column and that table would be consist of the table called student.Code:SELECT class, avg( mark ) as avg_mark FROM `student` GROUP BY class
Bookmarks