I have a table called program within it are several fields including:
id_program
id_student
how I want to get id_student based on highest id_program volumes of data
let say row in table:-
row 1 : id_program : 1, id_student :001,
row 2 : id_program : 2, id_student :001,
row 3 : id_program : 3, id_student :002,
row 4 : id_program : 4, id_student :001,
row 5 : id_program : 5, id_student :003.
query that i need is it will result like this :-
highest program : 001
Number program : 3
id_program
id_student
how I want to get id_student based on highest id_program volumes of data
let say row in table:-
row 1 : id_program : 1, id_student :001,
row 2 : id_program : 2, id_student :001,
row 3 : id_program : 3, id_student :002,
row 4 : id_program : 4, id_student :001,
row 5 : id_program : 5, id_student :003.
query that i need is it will result like this :-
highest program : 001
Number program : 3
Comment