Recordsetclown
Technical User
Hi folks,
The following query gives me a list of all field names and values associated with each listingsdb_id value in my table.
SELECT r2.listingsdbelements_field_name as field, r2.listingsdbelements_field_value as value
FROM default_en_listingsdbelements AS r1
INNER
JOIN default_en_listingsdbelements AS r2
ON r2.listingsdb_id = r1.listingsdb_id
How can I reference specific field names, e.g., streetnumber, streetname, from that result to concatenate them into a complete address?
Thanks for any help.
The following query gives me a list of all field names and values associated with each listingsdb_id value in my table.
SELECT r2.listingsdbelements_field_name as field, r2.listingsdbelements_field_value as value
FROM default_en_listingsdbelements AS r1
INNER
JOIN default_en_listingsdbelements AS r2
ON r2.listingsdb_id = r1.listingsdb_id
How can I reference specific field names, e.g., streetnumber, streetname, from that result to concatenate them into a complete address?
Thanks for any help.