Код: Выделить всё
select name,
profession.expertise,
resonsible.name,
building.locker
from technicians
join profession on technicin.profession = profession.id
join responsible on techician.responsible = responsible.id
join building on technician.locker = buiding.id
псевдопитон
Код: Выделить всё
result_list = requests.get("https://sample.com/api/v1/technicians")
for technician in result_list:
professn = requests.get("https://sample.com/api/v1/technicians/technician_ID/profession")
resopnsible = requests.get("https://sample.com/api/v1/technicians/technician_ID/responsible")
building = requests.get("https://sample.com/api/v1/technicians/technician_ID/building")
Подробнее здесь: https://stackoverflow.com/questions/790 ... efficiancy