| 发表于:2007-04-06 10:29:113楼 得分:10 |
select * from table2 where cast(substr(char(speed),2,2) as integer) in (select max(cast(substr(char(speed),2,2) as integer)) as t from table2 where cast(substr(char(speed),2,2) as integer) > 70 and cast(substr(char(speed),2,2) as integer) <79) db2是很麻烦,上面的能得到你要的. | | |
|