CREATE TABLE table_name_18 (total_cargo__metric_tonnes_ INT, code__iata_icao_ VARCHAR, rank VARCHAR)

What is the highest total cargo of an airport ranked larger than 19 with a code of BKK/VTBS?
SELECT MAX(total_cargo__metric_tonnes_) FROM table_name_18 WHERE code__iata_icao_ = "bkk/vtbs" AND rank > 19
SELECT MAX("total_cargo__metric_tonnes_") FROM "table_name_18" WHERE "bkk/vtbs" = "code__iata_icao_" AND "rank" > 19