Unknown column even thoug it exits

Posted by george on Stack Overflow See other posts from Stack Overflow or by george
Published on 2012-08-28T09:23:27Z Indexed on 2012/08/28 9:38 UTC
Read the original article Hit count: 297

Filed under:
|

I have

SELECT
servisler.geo_location,
servisler.ADRES_MERKEZ,
servisler.ADRES_ILCE,
servisler.ADRES_IL,
servisler.FIRMA_UNVANI,
servisler.ADRES_ISTEL,
servisler.YETKILI_ADISOYADI,
urun_gruplari.GRUP_ADI
FROM
servisler
INNER JOIN urun_gruplari ON kullanici_cihaz.URUN_GRUP_NO= urun_gruplari.RECNO
INNER JOIN kullanici ON kullanici.SERVIS_RECNO = servisler.RECNO
INNER JOIN kullanici_cihaz ON kullanici.RECNO = kullanici_cihaz.KUL_RECNO AND kullanici_cihaz.URUN_GRUP_NO = urun_gruplari.RECNO
where kullanici.kullanici = 'MAR.EDI.003'

but it says

[Err] 1054 - Unknown column 'kullanici_cihaz.URUN_GRUP_NO' in 'on clause'

enen though the column exits. What is its problem?

schema
Server version: 5.1.33-community-log

© Stack Overflow or respective owner

Related posts about mysql

Related posts about query