Error SELECT distinct(Promos_TRF_Origen),Promos.*,Images.* FROM Promos,Promos_Categorias,Images WHERE Promos_Categorias_Categoria_ID IN(4) and Promos_Categorias_Promo_ID = Promos_ID and Promos_Mostrar=1 AND Promos_Destino_ID='GTA' AND Images_Tipo = 'PROMOS' AND Images_Item_ID = Promos_ID AND Promos_TRF_Origen='AEROPUERTO VIEDMA' AND Promos_TRF_Destino='HOTEL LAS GRUTAS' order by