CREATE TABLE table_38145 ("Rank" FLOAT, "Player" TEXT, "Country" TEXT, "Earnings  (  $  ) " FLOAT, "Events" FLOAT, "Wins" FLOAT)

Country of united states, and a Events of 22, and a Earnings ( $ ) larger than 1,340,079 has the highest rank?
SELECT MAX("Rank") FROM table_38145 WHERE "Country" = 'united states' AND "Events" = '22' AND "Earnings ( $ )" > '1,340,079'
SELECT MAX("Rank") FROM "table_38145" WHERE "Country" = 'united states' AND "Earnings ( $ )" > '1,340,079' AND "Events" = '22'