Table: south_wales_derby_stats
Columns: competition
total_matches
cardiff_win
draw
swansea_win

Question: How many average total matches have a swansea win less than 3, fa cup as the competition, with a draw less than 0?
SQL: SELECT AVG("total_matches") FROM south_wales_derby_stats WHERE "swansea_win" < 3 AND "competition" = 'fa cup' AND "draw" < 0

Question: How many cardiff wins have a draw greater than 27?
SQL: SELECT COUNT("cardiff_win") FROM south_wales_derby_stats WHERE "draw" > 27

Question: How many average total matches have league cup as the competition, with a draw greater than 0?
SQL: SELECT AVG("total_matches") FROM south_wales_derby_stats WHERE "competition" = 'league cup' AND "draw" > 0