sql查询当天的数据

SELECT count(1) from t_order where ORDER_ID = "P2201270918510001"   and  TO_DAYS(PAY_TIME) = TO_DAYS(now())

你可能感兴趣的:(数据库,sql,linq,p2p)