Table: players_2008_09
Columns: nat
name
moving_from
type
transfer_window
ends
transfer_fee
source

Question: What is the type of the player who ended in 2013, had a summer transfer window, and moved from kalmar ff?
SQL: SELECT "type" FROM players_2008_09 WHERE "ends" = 2013 AND "transfer_window" = 'summer' AND "moving_from" = 'kalmar ff'

Question: Where did the player with a transfer type, a summer transfer window, and ended before 2013 move from?
SQL: SELECT "moving_from" FROM players_2008_09 WHERE "type" = 'transfer' AND "transfer_window" = 'summer' AND "ends" < 2013

Question: What is the transfer window for larsson?
SQL: SELECT "transfer_window" FROM players_2008_09 WHERE "name" = 'larsson'

Question: What is the average end year of the player from swe and a summer transfer window?
SQL: SELECT AVG("ends") FROM players_2008_09 WHERE "nat" = 'swe' AND "transfer_window" = 'summer'