fbpx
 SELECT  a.id, a.user, ( a.premier_jour ) AS price,  a.adresse, 1 as 'type_search', a.reduction_un, a.reduction_deux, a.reduction_trois, a.reduction_quatre,a.reservation_instantanee, a.vehicule,a.rabais, a.disponibilite_precision,a.longitude,a.latitude,a.premier_jour,a.jour_suivant ,a.prix_par_km ,a.ville,a.image1,k.id AS keybox_id, a.longue_duree,a.deplacement, a.arret_bus, a.arret_gare, a.arret_aeroport,a.date_circulation, a.model, a.description,  ( 3959 * acos( cos( radians(46.500839) ) * cos( radians( latitude ) ) * cos( radians( longitude ) - radians(6.782250) ) + sin( radians(46.500839) ) * sin( radians( latitude ) ) ) ) AS distance,  m.marque, c.cylindree, mt.type, ca.carburant  FROM `#__autos` as a  LEFT JOIN `#__autos_marque` as m  ON a.marque=m.id  LEFT JOIN `#__autos_cylindree` as c ON a.cylindree=c.id  LEFT JOIN `#__autos_type` as mt ON a.type=mt.id  LEFT JOIN `#__autos_carburant` as ca ON a.carburant=ca.id  LEFT JOIN `#__autos_keybox` as k ON a.id = k.id_auto  WHERE a.published=1  AND a.vehicule="auto"  AND a.type IN(89)    HAVING distance < 3  UNION ALL  SELECT  a.id, a.user, ( a.premier_jour ) AS price,  a.adresse_2 as adresse, 2 as 'type_search', a.reduction_un, a.reduction_deux, a.reduction_trois, a.reduction_quatre,a.reservation_instantanee, a.vehicule,a.rabais, a.disponibilite_precision,a.longitude_2 as longitude,a.latitude_2 as latitude,a.premier_jour,a.jour_suivant ,a.prix_par_km ,a.ville,a.image1,k.id AS keybox_id, a.longue_duree,a.deplacement, a.arret_bus, a.arret_gare, a.arret_aeroport,a.date_circulation, a.model, a.description,  ( 3959 * acos( cos( radians(46.500839) ) * cos( radians( latitude_2 ) ) * cos( radians( longitude_2 ) - radians(6.782250) ) + sin( radians(46.500839) ) * sin( radians( latitude_2 ) ) ) ) AS distance,  m.marque, c.cylindree, mt.type, ca.carburant  FROM `#__autos` as a  LEFT JOIN `#__autos_marque` as m  ON a.marque=m.id  LEFT JOIN `#__autos_cylindree` as c ON a.cylindree=c.id  LEFT JOIN `#__autos_type` as mt ON a.type=mt.id  LEFT JOIN `#__autos_carburant` as ca ON a.carburant=ca.id  LEFT JOIN `#__autos_keybox` as k ON a.id = k.id_auto  WHERE a.published=1  AND a.vehicule="auto"  AND a.type IN(89)    HAVING distance < 3  ORDER BY distance 
 SELECT  a.id, a.user, ( a.premier_jour ) AS price,  a.adresse, 1 as 'type_search', a.reduction_un, a.reduction_deux, a.reduction_trois, a.reduction_quatre,a.reservation_instantanee, a.vehicule,a.rabais, a.disponibilite_precision,a.longitude,a.latitude,a.premier_jour,a.jour_suivant ,a.prix_par_km ,a.ville,a.image1,k.id AS keybox_id, a.longue_duree,a.deplacement, a.arret_bus, a.arret_gare, a.arret_aeroport,a.date_circulation, a.model, a.description,  ( 3959 * acos( cos( radians(46.500839) ) * cos( radians( latitude ) ) * cos( radians( longitude ) - radians(6.782250) ) + sin( radians(46.500839) ) * sin( radians( latitude ) ) ) ) AS distance,  m.marque, c.cylindree, mt.type, ca.carburant  FROM `#__autos` as a  LEFT JOIN `#__autos_marque` as m  ON a.marque=m.id  LEFT JOIN `#__autos_cylindree` as c ON a.cylindree=c.id  LEFT JOIN `#__autos_type` as mt ON a.type=mt.id  LEFT JOIN `#__autos_carburant` as ca ON a.carburant=ca.id  LEFT JOIN `#__autos_keybox` as k ON a.id = k.id_auto  WHERE a.published=1  AND a.vehicule="auto"  AND a.type IN(89)    HAVING distance < 3  UNION ALL  SELECT  a.id, a.user, ( a.premier_jour ) AS price,  a.adresse_2 as adresse, 2 as 'type_search', a.reduction_un, a.reduction_deux, a.reduction_trois, a.reduction_quatre,a.reservation_instantanee, a.vehicule,a.rabais, a.disponibilite_precision,a.longitude_2 as longitude,a.latitude_2 as latitude,a.premier_jour,a.jour_suivant ,a.prix_par_km ,a.ville,a.image1,k.id AS keybox_id, a.longue_duree,a.deplacement, a.arret_bus, a.arret_gare, a.arret_aeroport,a.date_circulation, a.model, a.description,  ( 3959 * acos( cos( radians(46.500839) ) * cos( radians( latitude_2 ) ) * cos( radians( longitude_2 ) - radians(6.782250) ) + sin( radians(46.500839) ) * sin( radians( latitude_2 ) ) ) ) AS distance,  m.marque, c.cylindree, mt.type, ca.carburant  FROM `#__autos` as a  LEFT JOIN `#__autos_marque` as m  ON a.marque=m.id  LEFT JOIN `#__autos_cylindree` as c ON a.cylindree=c.id  LEFT JOIN `#__autos_type` as mt ON a.type=mt.id  LEFT JOIN `#__autos_carburant` as ca ON a.carburant=ca.id  LEFT JOIN `#__autos_keybox` as k ON a.id = k.id_auto  WHERE a.published=1  AND a.vehicule="auto"  AND a.type IN(89)    HAVING distance < 3  ORDER BY distance 

On a pas de MPV à puidoux disponible pour le moment, nous te proposons d'autres véhicules parmi notre flotte de plus de 2000 véhicules ici

Kein Ergebnis

Jetzt CHF 10.00 Rabatt sichern!
Melde dich für den kostenlosen Newsletter an und sichere dir einen Rabatt von CHF 10.00 !

Melde dich jetzt an! loading
Der Mindestwert einer Vermietung beträgt 80 CHF. Deine Daten werden nicht an Dritte weitergegeben.
Du kannst jederzeit das Abo kündigen.