Table: tour_de_romandie_results
Columns: rank
previous_rank
name
nationality
team
points

Question: Tell me the team with a rank less than 13 and points more than 79 and previous rank of 4
SQL: SELECT "team" FROM tour_de_romandie_results WHERE "rank" < 13 AND "points" > 79 AND "previous_rank" = '4'

Question: I want to know the sum of points with a previous rank of 3
SQL: SELECT SUM("points") FROM tour_de_romandie_results WHERE "previous_rank" = '3'

Question: Tell me the previous rank for italy with points more than 100
SQL: SELECT "previous_rank" FROM tour_de_romandie_results WHERE "nationality" = 'italy' AND "points" > 100

Question: Tell me the sum of rank for australia when points are less than 79
SQL: SELECT SUM("rank") FROM tour_de_romandie_results WHERE "nationality" = 'australia' AND "points" < 79