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

Question: Name the lg for ermengol
SQL: SELECT "l_g" FROM "squad_stats" WHERE "player"='Ermengol';

Question: Name the nat for total apps for 27
SQL: SELECT "nat" FROM "squad_stats" WHERE "total_apps"=27;

Question: Name the number of apps for total g is 8
SQL: SELECT COUNT("l_apps") FROM "squad_stats" WHERE "total_g"=8;

Question: Name the player for l apps is 27
SQL: SELECT "player" FROM "squad_stats" WHERE "l_apps"=27;