是取出来吧
select max(f1) from table where day:=old day
其中OLD DAY 是你要输入的天数

解决方案 »

  1.   

    你怎么在这问这个问题呢?你该去SQLSER那问
      

  2.   

    select max(f1) from table1 group by day
      

  3.   

    select Max(fl) iTemp from TableName
      

  4.   

    select max(f1) from table1 group by day
      

  5.   

    select month,day,max(f1) 
    from table1 
    group by month,day
      

  6.   

    select max(f1) from table1 where month=:month group by day
    就把month这个月每一天的最大值取出
      

  7.   

    select Max(fl) from Table1 where month=:yourmonth group by day
      

  8.   

    select year, month, max(f1) from table1 group by year, month
      

  9.   

    你要求每天是吧?
    select year, month, day max(f1) from table1 group by year, month, day.
    刚才错了.
      

  10.   

    select ftime,month,day,max(fl) from talbe1 group by day,month