how can i query for a minimum value of of one of the column in my database through java
Use min to retrieve the minimum value from one column of database table.
Suppose you have a table named emp where there is a column 'SALARY' then to get the minimum salary from the 'SALARY' column, you have to use the given query:
select min(SALARY) from emp;
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.