CREATE TABLE "joystiq" (
  "year" real,
  "game" text,
  "genre" text,
  "platform_s" text,
  "developer_s" text
);

Question: What year had Third-Person Shooter?
SQL: SELECT AVG("year") FROM "joystiq" WHERE "genre"='third-person shooter';

Question: What year was Portal?
SQL: SELECT MAX("year") FROM "joystiq" WHERE "game"='portal';

Question: Who was the developer(s) of the genre Adventure?
SQL: SELECT "developer_s" FROM "joystiq" WHERE "genre"='adventure';

Question: What's the platform of the genre RPG?
SQL: SELECT "platform_s" FROM "joystiq" WHERE "genre"='rpg';

Question: What's the genre of developer(s) Lionhead Studios?
SQL: SELECT "genre" FROM "joystiq" WHERE "developer_s"='lionhead studios';

Question: What's year was the genre Adventure?
SQL: SELECT "year" FROM "joystiq" WHERE "genre"='adventure';