realtor-lp-backend/sql/property/fetch_with_realtor_id.sql

18 lines
339 B
MySQL
Raw Normal View History

2023-05-04 18:48:50 +00:00
SELECT
id,
project_id,
realtor_id,
media as "media: _",
property_type as "property_type: _",
property_sale_type as "property_sale_type: _",
country,
city,
district,
price_usd,
rooms,
bathrooms,
area,
admin_tag,
time_created,
last_updated
FROM property WHERE realtor_id = $1;