ConsultancyProject1_Auslast.../docs/table-export.sql

4 lines
372 B
MySQL
Raw Normal View History

2024-05-07 21:31:03 +02:00
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;