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