如何更改SQL veiw的条件值
在SQL里面根据下面的条件建立了一个view, 如何通过DElphi更改条件里面的时间和灯型,并将更新的view值显示出来?谢谢SELECT C.TYP_DESC,AVG(a.LICHTSTROM)AS AVG_LUMEN FROM LP_DATA a JOIN VPE b ON a.ID_VPE=b.ID_VPE
JOIN LP_TYPE c ON a.ID_TYP=c.ID_TYP
WHERE b.DATUMUHRZEIT BETWEEN '2013/1/1 3:28:24' AND '2013/1/2 00:00:00'
--AND C.TYP_DESC='A59809C00HM'
GROUP BY C.TYP_DESC;