how to get the last value of a column in oracle database :  
I am new in programming need your help, i have a table in oracle 10g and i want to get the last value of specified column of a table based on saome condition how can i do this I used netbeans 7.0 for swing? how to write the query for this in netbeans for exp. Suppose i want to get the last value of balance column based on condition where student id =101 and class =nursery and acadminc year=2014
I hope you are understand my problem 
