4 lines
372 B
MySQL
4 lines
372 B
MySQL
|
SELECT CONCAT('https://www.e-domizil.ch/rental/offer/', properties.property_platform_id) AS url, extractions.body, extractions.header, extractions.type, extractions.created_at, regions.name FROM `extractions`
|
||
|
LEFT JOIN properties ON properties.id = extractions.property_id
|
||
|
LEFT JOIN seeds ON seeds.id = properties.seed_id
|
||
|
LEFT JOIN regions ON regions.id = seeds.region_id;
|