CREATE TABLE table_name_52 (rank INT, heat VARCHAR, nationality VARCHAR, lane VARCHAR)

What rank is from Japan, has a lane smaller than 7 and a heat smaller than 3?
SELECT SUM(rank) FROM table_name_52 WHERE nationality = "japan" AND lane < 7 AND heat < 3
SELECT SUM("rank") FROM "table_name_52" WHERE "heat" < 3 AND "japan" = "nationality" AND "lane" < 7