string(862) "SELECT COUNT(*) AS count,
sqrt(pow(69*(classifieds.lat - 56.17811), 2) + pow(42.5*(classifieds.lon - -4.37868), 2)) AS distance
FROM classifieds
WHERE 1 AND (classifieds.lat BETWEEN ('56.17811' - 75/69.0) AND ('56.17811' + 50/69.0)) AND (classifieds.lon BETWEEN ('-4.37868' - 75/42.5) AND ('-4.37868' + 50/42.5)) AND classifieds.make = "toyota" AND (classifieds.mileage >= 10000 AND classifieds.mileage <= 30000) AND NOT (MATCH(title) AGAINST('(+(mot m.o.t m.o.t.) +(fail failed expired "run out"))' IN BOOLEAN MODE) OR MATCH(description) AGAINST('(+(mot m.o.t m.o.t.) +(fail failed expired "run out"))' IN BOOLEAN MODE) OR title LIKE '%no mot%' OR description LIKE '%no mot%') AND expiry >= NOW() AND ingested = 1
HAVING distance <= '50'
"
string(1164) "SELECT classifieds.*,
classifieds.seller as user_name,
NULL as user_email,
NULL as seller_id,
sqrt(pow(69*(classifieds.lat - 56.17811), 2) + pow(42.5*(classifieds.lon - -4.37868), 2)) AS distance , 0 AS title_match, 0 AS desc_match
FROM classifieds
WHERE 1 AND (classifieds.lat BETWEEN ('56.17811' - 75/69.0) AND ('56.17811' + 50/69.0)) AND (classifieds.lon BETWEEN ('-4.37868' - 75/42.5) AND ('-4.37868' + 50/42.5)) AND classifieds.make = "toyota" AND (classifieds.mileage >= 10000 AND classifieds.mileage <= 30000) AND NOT (MATCH(title) AGAINST('(+(mot m.o.t m.o.t.) +(fail failed expired "run out"))' IN BOOLEAN MODE) OR MATCH(description) AGAINST('(+(mot m.o.t m.o.t.) +(fail failed expired "run out"))' IN BOOLEAN MODE) OR title LIKE '%no mot%' OR description LIKE '%no mot%') AND expiry >= NOW() AND ingested = 1
GROUP BY classifieds.id
HAVING distance <= '50' ORDER BY posted DESC, (title_match+desc_match) DESC LIMIT 0,20"
string(864) "SELECT COUNT(*) AS count,
sqrt(pow(69*(classifieds.lat - 56.17811), 2) + pow(42.5*(classifieds.lon - -4.37868), 2)) AS distance
FROM classifieds
WHERE 1 AND (classifieds.lat BETWEEN ('56.17811' - 135/69.0) AND ('56.17811' + 90/69.0)) AND (classifieds.lon BETWEEN ('-4.37868' - 135/42.5) AND ('-4.37868' + 90/42.5)) AND classifieds.make = "toyota" AND (classifieds.mileage >= 10000 AND classifieds.mileage <= 30000) AND NOT (MATCH(title) AGAINST('(+(mot m.o.t m.o.t.) +(fail failed expired "run out"))' IN BOOLEAN MODE) OR MATCH(description) AGAINST('(+(mot m.o.t m.o.t.) +(fail failed expired "run out"))' IN BOOLEAN MODE) OR title LIKE '%no mot%' OR description LIKE '%no mot%') AND expiry >= NOW() AND ingested = 1
HAVING distance <= '90'
"
string(1166) "SELECT classifieds.*,
classifieds.seller as user_name,
NULL as user_email,
NULL as seller_id,
sqrt(pow(69*(classifieds.lat - 56.17811), 2) + pow(42.5*(classifieds.lon - -4.37868), 2)) AS distance , 0 AS title_match, 0 AS desc_match
FROM classifieds
WHERE 1 AND (classifieds.lat BETWEEN ('56.17811' - 135/69.0) AND ('56.17811' + 90/69.0)) AND (classifieds.lon BETWEEN ('-4.37868' - 135/42.5) AND ('-4.37868' + 90/42.5)) AND classifieds.make = "toyota" AND (classifieds.mileage >= 10000 AND classifieds.mileage <= 30000) AND NOT (MATCH(title) AGAINST('(+(mot m.o.t m.o.t.) +(fail failed expired "run out"))' IN BOOLEAN MODE) OR MATCH(description) AGAINST('(+(mot m.o.t m.o.t.) +(fail failed expired "run out"))' IN BOOLEAN MODE) OR title LIKE '%no mot%' OR description LIKE '%no mot%') AND expiry >= NOW() AND ingested = 1
GROUP BY classifieds.id
HAVING distance <= '90' ORDER BY posted DESC, (title_match+desc_match) DESC LIMIT 0,20"
string(864) "SELECT COUNT(*) AS count,
sqrt(pow(69*(classifieds.lat - 56.17811), 2) + pow(42.5*(classifieds.lon - -4.37868), 2)) AS distance
FROM classifieds
WHERE 1 AND (classifieds.lat BETWEEN ('56.17811' - 135/69.0) AND ('56.17811' + 90/69.0)) AND (classifieds.lon BETWEEN ('-4.37868' - 135/42.5) AND ('-4.37868' + 90/42.5)) AND classifieds.make = "toyota" AND (classifieds.mileage >= 10000 AND classifieds.mileage <= 45000) AND NOT (MATCH(title) AGAINST('(+(mot m.o.t m.o.t.) +(fail failed expired "run out"))' IN BOOLEAN MODE) OR MATCH(description) AGAINST('(+(mot m.o.t m.o.t.) +(fail failed expired "run out"))' IN BOOLEAN MODE) OR title LIKE '%no mot%' OR description LIKE '%no mot%') AND expiry >= NOW() AND ingested = 1
HAVING distance <= '90'
"
string(1166) "SELECT classifieds.*,
classifieds.seller as user_name,
NULL as user_email,
NULL as seller_id,
sqrt(pow(69*(classifieds.lat - 56.17811), 2) + pow(42.5*(classifieds.lon - -4.37868), 2)) AS distance , 0 AS title_match, 0 AS desc_match
FROM classifieds
WHERE 1 AND (classifieds.lat BETWEEN ('56.17811' - 135/69.0) AND ('56.17811' + 90/69.0)) AND (classifieds.lon BETWEEN ('-4.37868' - 135/42.5) AND ('-4.37868' + 90/42.5)) AND classifieds.make = "toyota" AND (classifieds.mileage >= 10000 AND classifieds.mileage <= 45000) AND NOT (MATCH(title) AGAINST('(+(mot m.o.t m.o.t.) +(fail failed expired "run out"))' IN BOOLEAN MODE) OR MATCH(description) AGAINST('(+(mot m.o.t m.o.t.) +(fail failed expired "run out"))' IN BOOLEAN MODE) OR title LIKE '%no mot%' OR description LIKE '%no mot%') AND expiry >= NOW() AND ingested = 1
GROUP BY classifieds.id
HAVING distance <= '90' ORDER BY posted DESC, (title_match+desc_match) DESC LIMIT 0,20"
string(864) "SELECT COUNT(*) AS count,
sqrt(pow(69*(classifieds.lat - 56.17811), 2) + pow(42.5*(classifieds.lon - -4.37868), 2)) AS distance
FROM classifieds
WHERE 1 AND (classifieds.lat BETWEEN ('56.17811' - 135/69.0) AND ('56.17811' + 90/69.0)) AND (classifieds.lon BETWEEN ('-4.37868' - 135/42.5) AND ('-4.37868' + 90/42.5)) AND classifieds.make = "toyota" AND (classifieds.mileage >= 10000 AND classifieds.mileage <= 45000) AND NOT (MATCH(title) AGAINST('(+(mot m.o.t m.o.t.) +(fail failed expired "run out"))' IN BOOLEAN MODE) OR MATCH(description) AGAINST('(+(mot m.o.t m.o.t.) +(fail failed expired "run out"))' IN BOOLEAN MODE) OR title LIKE '%no mot%' OR description LIKE '%no mot%') AND expiry >= NOW() AND ingested = 1
HAVING distance <= '90'
"
string(1166) "SELECT classifieds.*,
classifieds.seller as user_name,
NULL as user_email,
NULL as seller_id,
sqrt(pow(69*(classifieds.lat - 56.17811), 2) + pow(42.5*(classifieds.lon - -4.37868), 2)) AS distance , 0 AS title_match, 0 AS desc_match
FROM classifieds
WHERE 1 AND (classifieds.lat BETWEEN ('56.17811' - 135/69.0) AND ('56.17811' + 90/69.0)) AND (classifieds.lon BETWEEN ('-4.37868' - 135/42.5) AND ('-4.37868' + 90/42.5)) AND classifieds.make = "toyota" AND (classifieds.mileage >= 10000 AND classifieds.mileage <= 45000) AND NOT (MATCH(title) AGAINST('(+(mot m.o.t m.o.t.) +(fail failed expired "run out"))' IN BOOLEAN MODE) OR MATCH(description) AGAINST('(+(mot m.o.t m.o.t.) +(fail failed expired "run out"))' IN BOOLEAN MODE) OR title LIKE '%no mot%' OR description LIKE '%no mot%') AND expiry >= NOW() AND ingested = 1
GROUP BY classifieds.id
HAVING distance <= '90' ORDER BY posted DESC, (title_match+desc_match) DESC LIMIT 0,20"
Cheap Toyota Cars For Sale In Stirling And Falkirk With Less Than 30,000 Miles And Valid MOT | Cheapmoto.co.uk
2001 Toyota Yaris 1.3vvti Automatic Spares repairs as needs MOT. Starts & drives good. All paper work there, couple small rattles from the front suspension. Just had 3 new tyres, belonged to a friend who has since just purchased a new car. This car no longer needed. £500 Edinburgh