database - Get Maximum Value -
i using ms access database. have table (proposal) following properties: proposalid - pk, title, requestedamount, researcherid - fk
i want run sql query candidate has requested highest amount. query didn't work is:
select proposalid, title, max(requestedamount) budget, researcherid proposal;
how can fix this.. thanks
select proposalid, title, requestedamount bugdet, researcherid proposal requestedamount = (select max(requestedamount) proposal);
you can try one...
Comments
Post a Comment