时间比较

    技术2022-05-11  106

    SELECT SUM(ylmx_flag * ylmx_shuliang) AS SUM, ylmx_huono, ylmx_mbianhao,       yl_cangkuname, ylmx_clname, yl_timeFROM Kylmingxi, kyongliaoWHERE Kylmingxi.ylmx_ylbianhao = kyongliao.yl_bianhaoGROUP BY ylmx_huono, ylmx_mbianhao, ylmx_clname, yl_cangkuname, yl_timeHAVING yl_time >= '2005-12-22'

    注:Ms server 为time>'2005-12-22'而Access中为time>#2005-12-22#


    最新回复(0)