hi!
im having a problem of how can i produce this. i've attached the sample data as the result of my query, now i created a table into which ill put some of those columns and also the other columns in the table will be computed. please check the attached for the data, there are types of chin_code, mostly there would only be 1 FRT, and 1 BSC ( i didnt have it in the sample), then there's TRKNO and sometimes TRKND, in my table basically some of the columns are
for example on the data i have 5 TRKNO and 1 FRT, when i put this on the table it should contain 6 row still but the value for the FRTAMT should be also put on the rows of TRKNO, i dont know how to display it, but heres my sample..
but if TRKNO is only 1 and 1 FRT so that would be two row in resultset, or if we also have TRKND as you can see we have value for truckdest, it should only be merged into one row
origin dest frtamt bscamt trucko truckdest
MNL DGT 500 0 0 0
MNL DGT 0 0 600 700
it should be displayed inputed to the table like this
origin dest frtamt bscamt trucko truckdest
MNL DGT 500 0 600 700
but if there is more than 1 TRKNO or TRKND, it should be compared to every TRKND or vice versa, for example
Bookmarks