Originally Posted by Old Pedant
NOTE: Do you REALLY want this grouped by tag??? Wouldn't it make more sense to have it grouped by (say) leg1? So you would have the lowest rate for all "BHM-MAD" flights? But that's up to you and a trivial change to the SQL query, of course.
it could be whats called an "open jaw" trip.. BHM-MAD + BCN-BHM which would be different than just BHM-MAD-BHM.. so i added the tag to track each individual search.. thats why i chose to use the tag as the 'go-to' for this.. the script behind this is pretty good, so routes become fairly versitile... it assumes nothing.. like BHM-MAD for leg one could have MOW-BKK for leg2..