永洪社区
标题:
为什么这样sql跑不出来数据,有没有大神知道
[打印本页]
作者:
yanwen890
时间:
2023-11-1 13:26
标题:
为什么这样sql跑不出来数据,有没有大神知道
select
*
from
(
select
' 楚雄一车间'
as
workshop
from
dual
union
all
select
' 楚雄二车间'
as
workshop
from
dual
)
t
where
workshop
=
'楚雄一车间'
作者:
yanwen890
时间:
2023-11-1 13:32
原来是要用双引号
作者:
yhdata_lyaa
时间:
2023-11-1 13:37
yanwen890 发表于 2023-11-1 13:32
原来是要用双引号
欢迎光临 永洪社区 (http://club.yonghongtech.com/)
Powered by Discuz! X3.4