当我尝试在下面的Oracle DB上执行DQL代码时,我收到了错误消息:
DQL Parsing error: mismatched input 'Where' expecting set null in phase PARSER at line 19, column 0
查询:
Select count(*),
test_instance.status
From (Select test.user_14,
test.user_12,
test.user_03,
test_instance.assign_rcyc,
test_instance.status,
test_set_folder.hierarchical_path,
test_set.name
From test
Inner Join test_instance On test.id = test_instance.test_id
Inner Join test_set On test_set.id = test_instance.cycle_id
Inner Join test_set_folder On test_set_folder.id = test_set.parent_id
Where (test.user_14 = 'App1' Or test.user_14 = 'App2' Or test.user_14 = 'App3' Or
test.user_14 = 'App4' Or test.user_14 = 'App5')
And test.user_12 = 'Regression' And test_instance.assign_rcyc = '267'
And (test_set_folder.hierarchical_path Like 'AAAAAUAAEAABAAB%' Or
test_set_folder.hierarchical_path Like 'AAAAAUAAEAABAAD%')
)
Where test.user_14 = 'App1'
Group By test_instance.status
任何帮助表示感谢。