阅读背景:

SQL - 合并不按预期工作(或希望!)

来源:互联网 

I'm attempting to use a coalesce, but obviously am misunderstanding something. In the code below, the code after the first from (including the paren) - up to '= en.personID) st)' gives a listing of distinct stateIDs as expected. But when I run the entire code I get an error: Incorect syntax near the keyword 'where'. Can anyone see what I am doing wrong? Can you use a select/subquery in a coalesce? Thank you!I'm attempting to use a coalesce, but obviously




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: