select TOTALAMOUNT from t_sale_order_head
  whehe INPUTDATE='2004-5-7'
  加上"whehe INPUTDATE='2004-5-7'"后就无法查询
  不知道是为什么
  请各位帮忙了