CREATE TABLE "squad_stats" (
  "player" text,
  "l_apps" real,
  "c_apps" real,
  "total_apps" real,
  "total_g" real
);

Question: What is Bartolo's Total G when his L Apps is 29 and his C Apps are larger than 5?
SQL: SELECT AVG("total_g") FROM "squad_stats" WHERE "l_apps"=29 AND "player"='bartolo' AND "c_apps">5;