S
siddharth
Guest
i need help designing a query in MS Access. i'll go straight into the nature of the problem and ask my questions subsequently.
i have this DB with one particular field named POWER. The columns under this feild are integers. I need to design a query that will return me the range in which a particular number lies. say, if i look for 320 then the query should return the records that match 320. in the event that there is no match, then the query should return, the closest upper limit and lower limit from the existing enitities (like 345 and 312) I was wondering if this could be done. If yes, could somebody explain to me how i can create a query to this end.
i have this DB with one particular field named POWER. The columns under this feild are integers. I need to design a query that will return me the range in which a particular number lies. say, if i look for 320 then the query should return the records that match 320. in the event that there is no match, then the query should return, the closest upper limit and lower limit from the existing enitities (like 345 and 312) I was wondering if this could be done. If yes, could somebody explain to me how i can create a query to this end.