Hi!!
I came across a query problem and was wondering if someone could help me out.Here it goes...
suppose there a a table having columns MATERIAL(varchar),COST(number),PDATE(DATE)
and there is data in the table as material name its cost and purchase date example entry(computer,100,12-jul-2002).there r many entries of this form.now the problem is to find out the cost of a material say computer at a particular date(there may be no entry for that desired date so result refect the cost corressponding to the date closest and previous to the desired date for exaple if there r entries for computer on 8th july,10th july and 17th july the results of query for 12th july sholud give the results of 10th july)
Hope someone can help me out as I am at my wits end
Thanx
parul