I have a table that include the station information.
I have a table that include the data of the station.
Stations are two type; parent and child. There are a self-relation on the table.
I want to get data from table, but i want to calculate value from child datas and display this data on the parent station like parent station data.
I hope this is clear. I added a picture for station, data tables and wanted result table. You can see it as attachment.