Table: rangers_player_history
Columns: nat
name
since
goals
ends
transfer_fee

Question: I want the ends for transfer fee of free and goals being 0 for roy carroll
SQL: SELECT "ends" FROM rangers_player_history WHERE "transfer_fee" = 'free' AND "goals" = 0 AND "name" = 'roy carroll'

Question: I want the total number of ends for filip šebo and Goals more than 2
SQL: SELECT COUNT("ends") FROM rangers_player_history WHERE "name" = 'filip šebo' AND "goals" > 2