CREATE TABLE table_40865 ("Played" TEXT, "Wins" TEXT, "Losses" TEXT, "Tied" TEXT, "Win %" TEXT)

Which win has a loss of IPL?
SELECT "Wins" FROM table_40865 WHERE "Losses" = 'ipl'
SELECT "Wins" FROM "table_40865" WHERE "Losses" = 'ipl'