我在此查询后收到错误。
<StackLayout>
<Button x:Name="Button_LoadStatic" Text="Load Static HTML" Clicked="OnButtonStaticLoadClicked" />
<controls:HybridWebView x:Name="HybridWebView_Main"
HorizontalOptions="FillAndExpand"
VerticalOptions="FillAndExpand"
BackgroundColor="Yellow"
HeightRequest="300" />
</StackLayout>
答案 0 :(得分:0)
你错过了一个逗号并将你移到了小组前的哪个地方
Select
count(*) ,
a.entity_id
FROM pcspro.bas2016_process_and_verify a,
pcspro.bas2016_mailout_return b,
pcspro.bas2016_universe c
WHERE a.entity_id = b.entity_id
AND b.entity_id = c.entity_id
--AND c.entity_id = a.entity_id --no need
AND STATUS IS NOT NULL AND ENTITY_REPORTED_STATUS = 'W'
GROUP BY a.entity_id
答案 1 :(得分:-1)
您应该在ANSI SQL中重写您的查询:
Select count(*),
entity_id
FROM pcspro.bas2016_process_and_verify a
INNER JOIN pcspro.bas2016_mailout_return b
USING(entity_id)
INNER JOIN pcspro.bas2016_universe c
USING(entity_id)
WHERE STATUS IS NOT NULL
AND ENTITY_REPORTED_STATUS = 'W'
GROUP BY entity_id;