CREATE TABLE "appearances_and_goals" (
  "name" text,
  "position" text,
  "league_apps" text,
  "league_goals" real,
  "fa_cup_apps" real,
  "fa_cup_goals" real,
  "league_cup_apps" real,
  "league_cup_goals" real,
  "total_apps" text,
  "total_goals" real
);

Question: What's the most league cup apps for Jimmy Lawson having 0 league cup goals?
SQL: SELECT MAX("league_cup_apps") FROM "appearances_and_goals" WHERE "league_cup_goals"=0 AND "name"='jimmy lawson';

Question: What's the total goals for Alan Sweeney having 0 FA Cup goals and fewer than 0 League Cup apps?
SQL: SELECT AVG("total_goals") FROM "appearances_and_goals" WHERE "fa_cup_goals"=0 AND "name"='alan sweeney' AND "league_cup_apps"<0;

Question: What's the total number of league cup apps when the league goals were less than 0?
SQL: SELECT COUNT("league_cup_apps") FROM "appearances_and_goals" WHERE "league_goals"<0;