I have a table with several columns such as "pcode", "completion in %" and "pstatus". For example:
pcode P_Name     completion  subordinate         pstatus
p123  inventory     10%         sanjay           progrssing  
p123  test          20%         komal            progrssing
p124  asd           20%         ritika           progrssing
p124  qwsdf         10%         asd              progrssing
I want to get result with different code with highest complete% with other column. All field are text. I'm using asp.net using c# and msaccess database.
What I'm looking for as a result is:
pcode P_Name completion subordinate pstatus p123 test 20% komal progrssing p124 asd 20% ritika progrssing
 
     
    