select lit.*,a=k1.p,o=k2.p from lit left outer join k as k1 on k1.r=lit.per and k1.t=15 and k1.v=1 left outer join k as k2 on k2.r=lit.ort and k2.t=14 and k2.v=1 where lit= and sz&4=4 and sz&1=1[156] [1] [0] "[Microsoft][ODBC SQL Server Driver][SQL Server]Falsche Syntax in der Nähe des 'and'-Schlüsselworts."