Error performing query class 1aSELECT Dist4, relay FROM STclassification, STdistances WHERE STclassification.Compnr=4001 and STdistances.D=9 and C=1 and STclassification.D=STdistances.D and STdistances.Compnr=4001 LIMIT 1