![]() |
#2
bb38522008-06-24 16:21
|
SQL:select * from RecipeView where executeoffice= 4008
and addtime>='2008-06-20'
and addtime<='2008-6-23'
and medsortname=''
and doccode= ''
and opecode= ''
其中medsortname='', and doccode= '', and opecode= ''这三个条件只有一个存在时,如何才能使之能查询
也就是这三个条件都为空时,也可以查询。