样的一张表:x1\x2  10000 11000 12000 
           200       6      8    10
           400       4      7     9
  如:我要查  x2=11000/x1=200  对应的值为 8
              x2=10500/x1=200  对应的值用差值算法计算出来:
                            6+(8-6)*(10500-10000)/(11000-10000)
希望各位大哥帮我想想这个查询写?
只要实现相同的功能,也可以提出别的解决办法,如改变表的结构,用简单的语句实现定位读出也可以?
分数不够再给,解答者到如下三个帖子写个字,同时给分http://expert.csdn.net/Expert/topic/2319/2319334.xml?temp=.4965784
http://expert.csdn.net/Expert/topic/2319/2319772.xml?temp=.8948328
http://expert.csdn.net/Expert/topic/2319/2319700.xml?temp=.8581659