Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_86 (
    score VARCHAR,
    country VARCHAR
)

QUESTION: What was the score of the player from South Africa?
SQL QUERY:

Response: SELECT score FROM table_name_86 WHERE country LIKE "%south africa%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_20354_5 (
    transcription VARCHAR,
    thai_name VARCHAR
)

QUESTION: What's the transcription for the Thai name ?
SQL QUERY:

Response: SELECT transcription FROM table_20354_5 WHERE thai_name LIKE "%พฤษภาคม%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_67499 (
    "Year" real,
    "Team" text,
    "Co-Drivers" text,
    "Class" text,
    "Laps" real,
    "Pos." text,
    "Class Pos." text
)

QUESTION: Which Class Pos has a Year larger than 1997, a Team of corvette racing, a Class of gt1, and 327 laps?
SQL QUERY:

Response: SELECT "Class Pos." FROM table_67499 WHERE "Year" > 1997 AND "Team" LIKE '%corvette racing%' AND "Class" LIKE '%gt1%' AND "Laps" = 327


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_22594 (
    "No. in series" real,
    "No. in season" real,
    "Title" text,
    "Directed by" text,
    "Written by" text,
    "Original air date" text,
    "Production code" text
)

QUESTION: What is the production code for episode 26 in the series?
SQL QUERY:

Response: SELECT "Production code" FROM table_22594 WHERE "No. in series" = 26


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_71 (
    points_for VARCHAR,
    drawn VARCHAR,
    tries_against VARCHAR
)

QUESTION: what is the points for when the club has 0 drawn and 60 tries against?
SQL QUERY:

Response: SELECT points_for FROM table_name_71 WHERE drawn LIKE '%0%' AND tries_against LIKE '%60%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_40 (
    position VARCHAR,
    high_school VARCHAR
)

QUESTION: What position does the player from malvern prep play?
SQL QUERY:

Response: SELECT position FROM table_name_40 WHERE high_school LIKE "%malvern prep%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_39 (
    airport VARCHAR,
    iata VARCHAR
)

QUESTION: Which airport has an IATA of AMS?
SQL QUERY:

Response: SELECT airport FROM table_name_39 WHERE iata LIKE "%ams%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_58 (
    venue VARCHAR,
    opponent VARCHAR
)

QUESTION: Where was the venue that Linfield was the opponent?
SQL QUERY:

Response: SELECT venue FROM table_name_58 WHERE opponent LIKE "%linfield%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_2508633_5 (
    pick__number INTEGER,
    nfl_team VARCHAR
)

QUESTION: What is the highest pick number the los angeles raiders got?
SQL QUERY:

Response: SELECT MAX(pick__number) FROM table_2508633_5 WHERE nfl_team LIKE "%los angeles raiders%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_70408 (
    "School" text,
    "Team" text,
    "Division Record" text,
    "Overall Record" text,
    "Season Outcome" text
)

QUESTION: What is the overall record of Indian River?
SQL QUERY:

Response: SELECT "Overall Record" FROM table_70408 WHERE "School" LIKE '%indian river%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_2668243_17 (
    incumbent VARCHAR,
    candidates VARCHAR
)

QUESTION: Name the incumbent for robert monell (j) 63.6% tilly lynde 36.4%
SQL QUERY:

Response: SELECT incumbent FROM table_2668243_17 WHERE candidates LIKE "%robert monell (j) 63.6% tilly lynde 36.4%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_81 (
    opponent VARCHAR,
    week VARCHAR,
    date VARCHAR
)

QUESTION: Which Opponent has a Week larger than 2 on november 19, 1995?
SQL QUERY:

Response: SELECT opponent FROM table_name_81 WHERE week > '2' AND date LIKE '%november 19, 1995%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_70 (
    home_team VARCHAR,
    tie_no VARCHAR
)

QUESTION: Who is the home team with a tie no. 12?
SQL QUERY:

Response: SELECT home_team FROM table_name_70 WHERE tie_no LIKE "%12%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_11 (
    density__hab_km²_ VARCHAR,
    city_district VARCHAR
)

QUESTION: What is the density of San Sebasti n?
SQL QUERY:

Response: SELECT density__hab_km²_ FROM table_name_11 WHERE city_district LIKE '%san sebastián%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_50630 (
    "Season" text,
    "Series" text,
    "Team" text,
    "Races" text,
    "Wins" text,
    "Poles" text,
    "F/Laps" text,
    "Podiums" text,
    "Points" text,
    "Position" text
)

QUESTION: What are the Podiums that has a Poles of 3?
SQL QUERY:

Response: SELECT "Podiums" FROM table_50630 WHERE "Poles" LIKE '%3%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_13262 (
    "Rank" text,
    "Nation" text,
    "Gold" real,
    "Silver" real,
    "Bronze" real,
    "Total" real
)

QUESTION: Which Bronze has a Silver of 15, and a Total smaller than 54?
SQL QUERY:

Response: SELECT MIN("Bronze") FROM table_13262 WHERE "Silver" = 15 AND "Total" < 54


Prompt:
TABLE DESCRIPTION:
CREATE TABLE TRANSACTIONS (
    investor_id VARCHAR,
    share_count INTEGER
)

QUESTION: Show the average share count of transactions for different investors.
SQL QUERY:

Response: SELECT investor_id, AVG(share_count) FROM TRANSACTIONS GROUP BY investor_id


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_37046 (
    "Date" text,
    "Visitor" text,
    "Score" text,
    "Home" text,
    "Record" text
)

QUESTION: Who was the visitor on October 31?
SQL QUERY:

Response: SELECT "Visitor" FROM table_37046 WHERE "Date" LIKE '%october 31%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_41 (
    game VARCHAR,
    opponents VARCHAR
)

QUESTION: In which game did the opponents score 14 points?
SQL QUERY:

Response: SELECT game FROM table_name_41 WHERE opponents LIKE "%14%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE airlines (
    country VARCHAR
)

QUESTION: Which countries has the most number of airlines?
SQL QUERY:

Response: SELECT country FROM airlines GROUP BY country ORDER BY COUNT(*) DESC LIMIT 1


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_66 (
    date VARCHAR,
    tier VARCHAR
)

QUESTION: Which date has the tier of Itf $10k?
SQL QUERY:

Response: SELECT date FROM table_name_66 WHERE tier LIKE '%itf $10k%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_46 (
    player VARCHAR,
    to_par VARCHAR,
    year_s__won VARCHAR
)

QUESTION: Who won in 1979 with +8 to par?
SQL QUERY:

Response: SELECT player FROM table_name_46 WHERE to_par LIKE '%+8%' AND year_s__won LIKE '%1979%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_31 (
    partner VARCHAR,
    score VARCHAR
)

QUESTION: What Partner had a Score of 6 3, 2 6, 6 3?
SQL QUERY:

Response: SELECT partner FROM table_name_31 WHERE score LIKE "%6–3, 2–6, 6–3%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_12338595_1 (
    interview VARCHAR,
    state VARCHAR
)

QUESTION: Which interview score belongs to the state of Nevada contestant?
SQL QUERY:

Response: SELECT interview FROM table_12338595_1 WHERE state LIKE "%nevada%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_6 (
    qual VARCHAR,
    laps VARCHAR
)

QUESTION: What is the qual when there are 125 laps?
SQL QUERY:

Response: SELECT qual FROM table_name_6 WHERE laps LIKE '%125%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_12485020_1 (
    ds_division VARCHAR,
    main_town VARCHAR
)

QUESTION: Kaluvanchikudy is the main town in what DS division?
SQL QUERY:

Response: SELECT ds_division FROM table_12485020_1 WHERE main_town LIKE "%kaluvanchikudy%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_47 (
    record VARCHAR,
    date VARCHAR
)

QUESTION: Tell me the record for december 3
SQL QUERY:

Response: SELECT record FROM table_name_47 WHERE date LIKE "%december 3%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_10718631_2 (
    original_air_date VARCHAR,
    no_in_series VARCHAR
)

QUESTION: When did the 113 episode air?
SQL QUERY:

Response: SELECT original_air_date FROM table_10718631_2 WHERE no_in_series LIKE '%113%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_1341598_39 (
    district VARCHAR,
    incumbent VARCHAR
)

QUESTION: In which district is Robert W. Edgar the incumbent?
SQL QUERY:

Response: SELECT district FROM table_1341598_39 WHERE incumbent LIKE "%robert w. edgar%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_69162 (
    "Name" text,
    "Years" text,
    "Gender" text,
    "Area" text,
    "Authority" text,
    "Decile" text
)

QUESTION: What genders did Lynmore Primary School take?
SQL QUERY:

Response: SELECT "Gender" FROM table_69162 WHERE "Name" LIKE '%lynmore primary school%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_37 (
    home_team VARCHAR,
    away_team VARCHAR
)

QUESTION: Which home team had an away team of Reading?
SQL QUERY:

Response: SELECT home_team FROM table_name_37 WHERE away_team LIKE "%reading%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_86 (
    game VARCHAR,
    location_attendance VARCHAR
)

QUESTION: What game number was played at amway arena?
SQL QUERY:

Response: SELECT game FROM table_name_86 WHERE location_attendance LIKE "%amway arena%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_68 (
    jankovic INTEGER,
    round VARCHAR,
    tournament VARCHAR
)

QUESTION: What is the highest result for Jankovic at Indian Wells and round of SF?
SQL QUERY:

Response: SELECT MAX(jankovic) FROM table_name_68 WHERE round LIKE "%sf%" AND tournament LIKE "%indian wells%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_32 (
    position VARCHAR,
    college VARCHAR
)

QUESTION: Rutgers college holds what position?
SQL QUERY:

Response: SELECT position FROM table_name_32 WHERE college LIKE "%rutgers%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_31 (
    golden_point_s__scorer VARCHAR,
    venue VARCHAR
)

QUESTION: What Golden point(s) has the Venue Allianz Stadium?
SQL QUERY:

Response: SELECT golden_point_s__scorer FROM table_name_31 WHERE venue LIKE '%allianz stadium%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE race (
    CLASS VARCHAR
)

QUESTION: What is the race class with most number of races.
SQL QUERY:

Response: SELECT CLASS FROM race GROUP BY CLASS ORDER BY COUNT(*) DESC LIMIT 1


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_1266602_1 (
    crew_chief VARCHAR,
    team VARCHAR
)

QUESTION: What's the total number of crew chiefs of the Fas Lane Racing team?
SQL QUERY:

Response: SELECT COUNT(crew_chief) FROM table_1266602_1 WHERE team LIKE "%fas lane racing%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE airports (
    city VARCHAR,
    country VARCHAR
)

QUESTION: Return the cities with more than 3 airports in the United States.
SQL QUERY:

Response: SELECT city FROM airports WHERE country LIKE '%united states%' GROUP BY city HAVING COUNT(*) > 3


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_29 (
    date VARCHAR,
    visitor VARCHAR
)

QUESTION: Name the date when the visitor is nets
SQL QUERY:

Response: SELECT date FROM table_name_29 WHERE visitor LIKE '%nets%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_10875694_11 (
    system VARCHAR,
    title VARCHAR
)

QUESTION: What is the total number of James Bond 007: Everything or Nothing for each system?
SQL QUERY:

Response: SELECT COUNT(system) FROM table_10875694_11 WHERE title LIKE "%james bond 007: everything or nothing%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_1566852_6 (
    cover_model VARCHAR,
    date VARCHAR
)

QUESTION: Who were the cover model(s) on the 4-05 issue?
SQL QUERY:

Response: SELECT cover_model FROM table_1566852_6 WHERE date LIKE "%4-05%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_1 (
    place VARCHAR,
    country VARCHAR,
    to_par VARCHAR
)

QUESTION: What place is the player from the United States with a to par of e?
SQL QUERY:

Response: SELECT place FROM table_name_1 WHERE country LIKE "%united states%" AND to_par LIKE "%e%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_92 (
    time VARCHAR,
    speed VARCHAR
)

QUESTION: What is the time of the rider with a speed of 102.962mph?
SQL QUERY:

Response: SELECT time FROM table_name_92 WHERE speed LIKE "%102.962mph%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_95 (
    kilgore__r_ VARCHAR,
    potts__i_ VARCHAR
)

QUESTION: What was Kilgore's (R) percentage when Potts (I) polled at 1%?
SQL QUERY:

Response: SELECT kilgore__r_ FROM table_name_95 WHERE potts__i_ LIKE "%1%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_68 (
    year INTEGER,
    position VARCHAR,
    competition VARCHAR
)

QUESTION: What is the sum of Year(s), when Postion is 6th, and when Competition is Commonwealth Games?
SQL QUERY:

Response: SELECT SUM(year) FROM table_name_68 WHERE position LIKE "%6th%" AND competition LIKE "%commonwealth games%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_27515452_3 (
    age INTEGER,
    hometown VARCHAR
)

QUESTION: what is the oldest and lives in veraguas
SQL QUERY:

Response: SELECT MAX(age) FROM table_27515452_3 WHERE hometown LIKE "%veraguas%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE campuses (
    campus VARCHAR,
    YEAR VARCHAR
)

QUESTION: Which campus was opened between 1935 and 1939?
SQL QUERY:

Response: SELECT campus FROM campuses WHERE YEAR >= '1935' AND YEAR <= '1939'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_50 (
    number INTEGER,
    name VARCHAR
)

QUESTION: What is Tim Andree's greatest number?
SQL QUERY:

Response: SELECT MAX(number) FROM table_name_50 WHERE name LIKE "%tim andree%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_7 (
    tournament VARCHAR
)

QUESTION: What is 1993, when 1992 is 'SF', and when Tournament is 'Paris'?
SQL QUERY:

Response: SELECT 1993 FROM table_name_7 WHERE 1992 LIKE "%sf%" AND tournament LIKE "%paris%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_47 (
    other INTEGER,
    albanians VARCHAR,
    roma VARCHAR
)

QUESTION: Tell me the lowest other for albanians more than 8793 and Roma less than 1030
SQL QUERY:

Response: SELECT MIN(other) FROM table_name_47 WHERE albanians > 8793 AND roma < 1030


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_74018 (
    "District" text,
    "Incumbent" text,
    "Party" text,
    "First elected" text,
    "Result" text,
    "Candidates" text
)

QUESTION: What is the district for the party federalist and the candidates are william craik (f) 51.0% benjamin edwards 49.0%?
SQL QUERY:

Response: SELECT "District" FROM table_74018 WHERE "Party" LIKE '%federalist%' AND "Candidates" LIKE '%william craik (f) 51.0% benjamin edwards 49.0%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_15362 (
    "D 48" text,
    "D 47" text,
    "D 46" text,
    "D 45" text,
    "D 44" text,
    "D 43" text,
    "D 42" text,
    "D 41" text
)

QUESTION: Name the D 43 when it has D 45 of d 25
SQL QUERY:

Response: SELECT "D 43" FROM table_15362 WHERE "D 45" LIKE '%d 25%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_62480 (
    "Tie no" text,
    "Home team" text,
    "Score" text,
    "Away team" text,
    "Date" text
)

QUESTION: What is Away Team, when Home Team is 'West Ham United'?
SQL QUERY:

Response: SELECT "Away team" FROM table_62480 WHERE "Home team" LIKE '%west ham united%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_201_9 (
    id number,
    "year" number,
    "film title" text,
    "duration" text,
    "film type" text,
    "shoot location" text
)

QUESTION: list the films that had a collaboration with b. dziworski .
SQL QUERY:

Response: SELECT "film title" FROM table_201_9 WHERE "shoot location" LIKE '%in collaboration with b. dziworski%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_70 (
    home_team VARCHAR,
    away_team VARCHAR
)

QUESTION: What is the Home team at the Blackburn Rovers Away game?
SQL QUERY:

Response: SELECT home_team FROM table_name_70 WHERE away_team LIKE "%blackburn rovers%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_15187735_6 (
    netflix VARCHAR,
    segment_b VARCHAR
)

QUESTION: What is the Netflix Episode when the Segment B is s Highlighter?
SQL QUERY:

Response: SELECT netflix FROM table_15187735_6 WHERE segment_b LIKE '%s highlighter%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_94 (
    city VARCHAR,
    date VARCHAR
)

QUESTION: What is the name of the City with December 21 as a Date?
SQL QUERY:

Response: SELECT city FROM table_name_94 WHERE date LIKE "%december 21%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_39671 (
    "Games" real,
    "Drawn" real,
    "Lost" real,
    "Points difference" text,
    "Points" real
)

QUESTION: Which average Drawn has Games larger than 7?
SQL QUERY:

Response: SELECT AVG("Drawn") FROM table_39671 WHERE "Games" > 7


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_16295365_2 (
    school VARCHAR,
    conf_record VARCHAR
)

QUESTION: Name the school where conference record is 12-6
SQL QUERY:

Response: SELECT school FROM table_16295365_2 WHERE conf_record LIKE "%12-6%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_171236_1 (
    population VARCHAR,
    census_ranking VARCHAR
)

QUESTION: If the census ranking is 231 of 5,008, what was the population?
SQL QUERY:

Response: SELECT population FROM table_171236_1 WHERE census_ranking LIKE "%231 of 5,008%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_41378 (
    "Team 1" text,
    "Agg." text,
    "Team 2" text,
    "1st leg" text,
    "2nd leg" text
)

QUESTION: What was the team 1 for the tie that had a first leg score of 2-3?
SQL QUERY:

Response: SELECT "Team 1" FROM table_41378 WHERE "1st leg" LIKE '%2-3%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_204_647 (
    id number,
    "year" number,
    "film" text,
    "role" text,
    "language" text
)

QUESTION: are there more films in 2008 or 2005 ?
SQL QUERY:

Response: SELECT "year" FROM table_204_647 WHERE "year" IN (2008, 2005) GROUP BY "year" ORDER BY COUNT("film") DESC LIMIT 1


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_28 (
    bullet VARCHAR,
    length VARCHAR
)

QUESTION: Which bullet has a Length of 33.78 (1.33)?
SQL QUERY:

Response: SELECT bullet FROM table_name_28 WHERE length LIKE "%33.78 (1.33)%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_35151 (
    "Player" text,
    "Position" text,
    "Round" real,
    "Pick" real,
    "NFL Club" text
)

QUESTION: What club is robert gallery a part of
SQL QUERY:

Response: SELECT "NFL Club" FROM table_35151 WHERE "Player" LIKE '%robert gallery%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_12108 (
    "Date" text,
    "Tournament" text,
    "Surface" text,
    "Opponent in the final" text,
    "Score" text
)

QUESTION: What date was the game played on the hard surface at the Tournament of Sweden f2?
SQL QUERY:

Response: SELECT "Date" FROM table_12108 WHERE "Surface" LIKE '%hard%' AND "Tournament" LIKE '%sweden f2%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_16494599_1 (
    position VARCHAR,
    years_for_grizzlies VARCHAR
)

QUESTION: What position is the player who was on the Grizzlies from 1995-1996?
SQL QUERY:

Response: SELECT position FROM table_16494599_1 WHERE years_for_grizzlies LIKE "%1995-1996%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_21692771_1 (
    maturity VARCHAR,
    coupon VARCHAR
)

QUESTION: What is the maturity that has a coupon of exactly 0.726?
SQL QUERY:

Response: SELECT maturity FROM table_21692771_1 WHERE coupon LIKE "%0.726%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_14 (
    traditional VARCHAR,
    population VARCHAR
)

QUESTION: What shows for traditional when the population was 44,803?
SQL QUERY:

Response: SELECT traditional FROM table_name_14 WHERE population LIKE "%44,803%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_24990183_5 (
    ws_points VARCHAR
)

QUESTION: What was the 09-10 oi best of the player with 949 points?
SQL QUERY:

Response: SELECT COUNT(*) AS _10_oi_best FROM table_24990183_5 WHERE ws_points LIKE '%949%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_74 (
    date VARCHAR,
    away_team VARCHAR
)

QUESTION: Which date did South Melbourne play as the away team?
SQL QUERY:

Response: SELECT date FROM table_name_74 WHERE away_team LIKE "%south melbourne%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_203_469 (
    id number,
    "year" text,
    "round" text,
    "position" number,
    "matches" number,
    "wins" number,
    "draws" number,
    "losses" number,
    "gf" number,
    "ga" number
)

QUESTION: how many total goals have been scored against croatia in the world cup ?
SQL QUERY:

Response: SELECT SUM("ga") FROM table_203_469


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_66 (
    result VARCHAR,
    venue VARCHAR,
    score VARCHAR
)

QUESTION: Who won the game at Dairy farmers stadium with a score of 28-24?
SQL QUERY:

Response: SELECT result FROM table_name_66 WHERE venue LIKE "%dairy farmers stadium%" AND score LIKE "%28-24%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_19 (
    rank INTEGER,
    total INTEGER
)

QUESTION: What's the rank that has a total of less than 1?
SQL QUERY:

Response: SELECT SUM(rank) FROM table_name_19 WHERE total < 1


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_51 (
    venue VARCHAR,
    home_team VARCHAR
)

QUESTION: When the home team is Cairns Taipans, at which venue do they play?
SQL QUERY:

Response: SELECT venue FROM table_name_51 WHERE home_team LIKE "%cairns taipans%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_70 (
    country VARCHAR,
    player VARCHAR
)

QUESTION: What is Country, when Player is 'Scott Dunlap'?
SQL QUERY:

Response: SELECT country FROM table_name_70 WHERE player LIKE "%scott dunlap%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_79428 (
    "Rank" real,
    "Rowers" text,
    "Country" text,
    "Time" text,
    "Notes" text
)

QUESTION: Who were the rowers when notes were sa/b, with a time of 5:51.30?
SQL QUERY:

Response: SELECT "Rowers" FROM table_79428 WHERE "Notes" LIKE '%sa/b%' AND "Time" LIKE '%5:51.30%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_11800185_1 (
    no_of_sikhs VARCHAR,
    country VARCHAR
)

QUESTION: What is the number of sikhs in Japan?
SQL QUERY:

Response: SELECT no_of_sikhs FROM table_11800185_1 WHERE country LIKE "%japan%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE Documents (
    project_id VARCHAR,
    document_type_code VARCHAR
)

QUESTION: How many documents are with document type code BK for each product id?
SQL QUERY:

Response: SELECT COUNT(*), project_id FROM Documents WHERE document_type_code LIKE "%bk%" GROUP BY project_id


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_49004 (
    "Rank" text,
    "Team" text,
    "Run 1" text,
    "Run 2" text,
    "Run 3" text,
    "Run 4" text,
    "Final" text
)

QUESTION: What is Run 1, when Run 4 is 1:56.59?
SQL QUERY:

Response: SELECT "Run 1" FROM table_49004 WHERE "Run 4" LIKE '%1:56.59%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_57377 (
    "Date" text,
    "Opponent" text,
    "Score" text,
    "Loss" text,
    "Attendance" real,
    "Record" text
)

QUESTION: Who did the team play on april 19?
SQL QUERY:

Response: SELECT "Opponent" FROM table_57377 WHERE "Date" LIKE '%april 19%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_14877831_2 (
    venue VARCHAR,
    opponents VARCHAR
)

QUESTION: What is the name of the venue where the opponent scored 51?
SQL QUERY:

Response: SELECT venue FROM table_14877831_2 WHERE opponents LIKE '%51%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_7457 (
    "Team" text,
    "Match" real,
    "Points" real,
    "Draw" real,
    "Lost" real
)

QUESTION: What is the smallest number of points for a match less than 12?
SQL QUERY:

Response: SELECT MIN("Points") FROM table_7457 WHERE "Match" < 12


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_21 (
    semifinalists VARCHAR,
    tournament VARCHAR
)

QUESTION: Who was the semifinalist at the tournament in miami?
SQL QUERY:

Response: SELECT semifinalists FROM table_name_21 WHERE tournament LIKE "%miami%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_20278716_2 (
    others__percentage VARCHAR,
    others__number VARCHAR
)

QUESTION: What percentage of voters voted for a third party in the county that had 802 third party voters?
SQL QUERY:

Response: SELECT others__percentage FROM table_20278716_2 WHERE others__number LIKE '%802%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_50078 (
    "Date" text,
    "Visitor" text,
    "Score" text,
    "Home" text,
    "Record" text,
    "Points" real
)

QUESTION: What is the date of the game with pittsburgh as the home team and boston as the visitor team?
SQL QUERY:

Response: SELECT "Date" FROM table_50078 WHERE "Home" LIKE '%pittsburgh%' AND "Visitor" LIKE '%boston%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_26860595_2 (
    fab___nm__ INTEGER
)

QUESTION: What was the maximum fab (nm)?
SQL QUERY:

Response: SELECT MAX(fab___nm__) FROM table_26860595_2


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_40 (
    home_team VARCHAR,
    away_team VARCHAR
)

QUESTION: What is the home team that played Hull City?
SQL QUERY:

Response: SELECT home_team FROM table_name_40 WHERE away_team LIKE "%hull city%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_7 (
    college VARCHAR,
    round INTEGER
)

QUESTION: Which college has fewer than 2 rounds?
SQL QUERY:

Response: SELECT college FROM table_name_7 WHERE round < 2


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_2076516_1 (
    control VARCHAR,
    school VARCHAR
)

QUESTION: When western carolina university is the school what is the control?
SQL QUERY:

Response: SELECT control FROM table_2076516_1 WHERE school LIKE "%western carolina university%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE ship (
    built_year VARCHAR
)

QUESTION: In which year were most of ships built?
SQL QUERY:

Response: SELECT built_year FROM ship GROUP BY built_year ORDER BY COUNT(*) DESC LIMIT 1


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_56800 (
    "Parties and voter communities" text,
    "% 2006" real,
    "Seats 2006" real,
    "% 2001" real,
    "Seats 2001" real
)

QUESTION: When the %2001 is more than 61.4, and the %2006 fewer than 54.1, how many Seats in 2001 were there?
SQL QUERY:

Response: SELECT SUM("Seats 2001") FROM table_56800 WHERE "% 2001" > 61.4 AND "% 2006" < 54.1


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_83 (
    player VARCHAR,
    position VARCHAR
)

QUESTION: What player had the position guard/forward?
SQL QUERY:

Response: SELECT player FROM table_name_83 WHERE position LIKE "%guard/forward%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_204_994 (
    id number,
    "date" text,
    "time" text,
    "opponent#" text,
    "rank#" text,
    "site" text,
    "tv" text,
    "result" text,
    "attendance" number
)

QUESTION: what is the top result on the chart
SQL QUERY:

Response: SELECT "result" FROM table_204_994 WHERE id = 1


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_92 (
    project VARCHAR,
    missile VARCHAR
)

QUESTION: Name the project which has a missle of agni-iii
SQL QUERY:

Response: SELECT project FROM table_name_92 WHERE missile LIKE "%agni-iii%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_2293510_1 (
    _percentage_of_eu_average_gdp__ppp_ VARCHAR,
    €_per_capita__2005_ VARCHAR
)

QUESTION: What's the percentage of EU average GDP (PPP) in the region where per capita is 2519
SQL QUERY:

Response: SELECT _percentage_of_eu_average_gdp__ppp_ FROM table_2293510_1 WHERE €_per_capita__2005_ LIKE '%2519%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_269920_17 (
    speed__ghz_ VARCHAR,
    model VARCHAR
)

QUESTION: What is the speed of model x5560?
SQL QUERY:

Response: SELECT speed__ghz_ FROM table_269920_17 WHERE model LIKE "%x5560%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_9 (
    total_tackles VARCHAR,
    games VARCHAR,
    solo VARCHAR
)

QUESTION: what is the total tackles when the games is 16 and solo is 88?
SQL QUERY:

Response: SELECT total_tackles FROM table_name_9 WHERE games LIKE "%16%" AND solo LIKE "%88%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_12 (
    season VARCHAR,
    lead VARCHAR
)

QUESTION: What is Season, when Lead is 'Michael Goodfellow'?
SQL QUERY:

Response: SELECT season FROM table_name_12 WHERE lead LIKE "%michael goodfellow%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_8359 (
    "Date" text,
    "Name of ship" text,
    "Nationality" text,
    "Tonnage" real,
    "Fate" text
)

QUESTION: What was the average tonnage for the Siljan ship from Sweden?
SQL QUERY:

Response: SELECT AVG("Tonnage") FROM table_8359 WHERE "Nationality" LIKE '%sweden%' AND "Name of ship" LIKE '%siljan%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_7630 (
    "Rank" real,
    "Name" text,
    "Team" text,
    "Games" real,
    "Points" real
)

QUESTION: What is the total rank of team roanne, which has less than 14 games?
SQL QUERY:

Response: SELECT COUNT("Rank") FROM table_7630 WHERE "Team" LIKE '%roanne%' AND "Games" < 14


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_94 (
    source VARCHAR,
    clinton VARCHAR,
    undecided VARCHAR
)

QUESTION: Which Source has a Clinton of 39% and a Undecided of 7%?
SQL QUERY:

Response: SELECT source FROM table_name_94 WHERE clinton LIKE "%39%%" AND undecided LIKE "%7%%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_2668378_5 (
    first_elected VARCHAR,
    district VARCHAR
)

QUESTION: Name the first elected for kentucky 3
SQL QUERY:

Response: SELECT first_elected FROM table_2668378_5 WHERE district LIKE '%kentucky 3%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_7 (
    bronze VARCHAR,
    year VARCHAR
)

QUESTION: Who won bronze is 2006?
SQL QUERY:

Response: SELECT bronze FROM table_name_7 WHERE year LIKE '%2006%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_20107762_1 (
    team VARCHAR,
    ft_percentage VARCHAR
)

QUESTION: Who is the team with the ft% of 77.6?
SQL QUERY:

Response: SELECT team FROM table_20107762_1 WHERE ft_percentage LIKE "%77.6%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_11 (
    stages VARCHAR,
    distance VARCHAR
)

QUESTION: How many stages are in a distance of 2,192 km?
SQL QUERY:

Response: SELECT stages FROM table_name_11 WHERE distance LIKE "%2,192 km%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_68 (
    game_site VARCHAR,
    date VARCHAR
)

QUESTION: Date of september 25, 1983 is what game site?
SQL QUERY:

Response: SELECT game_site FROM table_name_68 WHERE date LIKE "%september 25, 1983%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_18 (
    opponent VARCHAR,
    score VARCHAR
)

QUESTION: Who played against the Celtics when the final game score was 85-102?
SQL QUERY:

Response: SELECT opponent FROM table_name_18 WHERE score LIKE "%85-102%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_57384 (
    "Driver" text,
    "Constructor" text,
    "Laps" real,
    "Time/Retired" text,
    "Grid" real
)

QUESTION: I want the Grid for Laps of 35
SQL QUERY:

Response: SELECT "Grid" FROM table_57384 WHERE "Laps" = 35


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_22733636_1 (
    tournament_winner VARCHAR,
    conference VARCHAR
)

QUESTION: When the Border Conference was held, who was the tournament winner?
SQL QUERY:

Response: SELECT tournament_winner FROM table_22733636_1 WHERE conference LIKE "%border conference%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_13 (
    state VARCHAR,
    city VARCHAR
)

QUESTION: What state is the city of Ruston in?
SQL QUERY:

Response: SELECT state FROM table_name_13 WHERE city LIKE "%ruston%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_45 (
    outcome VARCHAR,
    tournament VARCHAR,
    score VARCHAR
)

QUESTION: What was the outcome for the match at the leipzig tournament with a score w/o?
SQL QUERY:

Response: SELECT outcome FROM table_name_45 WHERE tournament LIKE "%leipzig%" AND score LIKE "%w/o%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_20726262_4 (
    no_in_season INTEGER,
    usviewers__million_ VARCHAR
)

QUESTION: what is the maximum number in the season wher the us viewers is 2.59?
SQL QUERY:

Response: SELECT MAX(no_in_season) FROM table_20726262_4 WHERE usviewers__million_ LIKE "%2.59%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_8111 (
    "Round" real,
    "Pick" real,
    "Overall" real,
    "Name" text,
    "Position" text,
    "College" text
)

QUESTION: what is the pick for adam gettis?
SQL QUERY:

Response: SELECT MIN("Pick") FROM table_8111 WHERE "Name" LIKE '%adam gettis%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_56611 (
    "Goal" real,
    "Date" text,
    "Venue" text,
    "Score" text,
    "Result" text,
    "Competition" text
)

QUESTION: What was the venue of the game on 27 April 1964?
SQL QUERY:

Response: SELECT "Venue" FROM table_56611 WHERE "Date" LIKE '%27 april 1964%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_26223231_1 (
    series VARCHAR,
    points VARCHAR
)

QUESTION: How many championships are there when there are 6 points
SQL QUERY:

Response: SELECT series FROM table_26223231_1 WHERE points LIKE "%6%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_49133 (
    "Event" text,
    "Date" text,
    "Round" text,
    "Name" text,
    "Nationality" text,
    "Time" text,
    "Record" text
)

QUESTION: Who had a time of 26.11?
SQL QUERY:

Response: SELECT "Name" FROM table_49133 WHERE "Time" LIKE '%26.11%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_56122 (
    "Rank" real,
    "Mountain Peak" text,
    "Region" text,
    "Mountain Range" text,
    "Location" text
)

QUESTION: What region has a 5 rank?
SQL QUERY:

Response: SELECT "Region" FROM table_56122 WHERE "Rank" = 5


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_16201038_5 (
    overall_record VARCHAR,
    at_opponents_venue VARCHAR
)

QUESTION: What is the record of wins/losses that were played at opponents venue (uf, 1-0)
SQL QUERY:

Response: SELECT overall_record FROM table_16201038_5 WHERE at_opponents_venue LIKE '%uf, 1-0%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_43152 (
    "Date" text,
    "Tournament" text,
    "Location" text,
    "Home team" text,
    "Score" text,
    "Away team" text
)

QUESTION: What is the score for 17 April 2013?
SQL QUERY:

Response: SELECT "Score" FROM table_43152 WHERE "Date" LIKE '%17 april 2013%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_1952065_4 (
    division_championships INTEGER,
    playoff_berths VARCHAR
)

QUESTION: What is the highest number of division championships where playoff berths were 11?
SQL QUERY:

Response: SELECT MAX(division_championships) FROM table_1952065_4 WHERE playoff_berths LIKE '%11%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_1168 (
    "Year" real,
    "Division" real,
    "League" text,
    "Regular Season" text,
    "Playoffs" text,
    "Open Cup" text
)

QUESTION: What league were they in in 2009?
SQL QUERY:

Response: SELECT "League" FROM table_1168 WHERE "Year" = 2009


Prompt:
TABLE DESCRIPTION:
CREATE TABLE albums (
    title VARCHAR
)

QUESTION: List every album's title.
SQL QUERY:

Response: SELECT title FROM albums


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_42 (
    location VARCHAR,
    race VARCHAR
)

QUESTION: Where was the argentine grand prix?
SQL QUERY:

Response: SELECT location FROM table_name_42 WHERE race LIKE "%argentine grand prix%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_84 (
    away_team VARCHAR,
    venue VARCHAR
)

QUESTION: What team was the away team when they played at lake oval?
SQL QUERY:

Response: SELECT away_team AS score FROM table_name_84 WHERE venue LIKE '%lake oval%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_2 (
    locomotive VARCHAR,
    delivered_as VARCHAR
)

QUESTION: What Locomotive was Delivered as T414?
SQL QUERY:

Response: SELECT locomotive FROM table_name_2 WHERE delivered_as LIKE "%t414%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_14 (
    total_pld VARCHAR,
    team VARCHAR
)

QUESTION: What is the total number of PLD for Team Arsenal?
SQL QUERY:

Response: SELECT COUNT(total_pld) FROM table_name_14 WHERE team LIKE "%arsenal%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_6614 (
    "Date" text,
    "Opponent" text,
    "Score" text,
    "Loss" text,
    "Save" text,
    "Attendance" real,
    "Record" text
)

QUESTION: What was the score when the loss was hideo nomo (3 5)?
SQL QUERY:

Response: SELECT "Score" FROM table_6614 WHERE "Loss" LIKE '%hideo nomo (3–5)%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_274117_5 (
    position VARCHAR,
    player VARCHAR
)

QUESTION: What position was Bob Lilly?
SQL QUERY:

Response: SELECT position FROM table_274117_5 WHERE player LIKE "%bob lilly%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_99 (
    location VARCHAR,
    mascot VARCHAR
)

QUESTION: What's the location for the Spartans?
SQL QUERY:

Response: SELECT location FROM table_name_99 WHERE mascot LIKE "%spartans%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_60 (
    prize_money VARCHAR,
    round VARCHAR
)

QUESTION: What is the prize money for the second round qualifying that is listed?
SQL QUERY:

Response: SELECT prize_money FROM table_name_60 WHERE round LIKE "%second round qualifying%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_10 (
    country_of_origin VARCHAR,
    year_of_intro VARCHAR
)

QUESTION: What is Country of Origin, when Year of Intro is 1977?
SQL QUERY:

Response: SELECT country_of_origin FROM table_name_10 WHERE year_of_intro LIKE '%1977%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_65 (
    weight_class VARCHAR,
    time VARCHAR
)

QUESTION: Which weight class had a time of 4:59?
SQL QUERY:

Response: SELECT weight_class FROM table_name_65 WHERE time LIKE "%4:59%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_21602734_1 (
    league VARCHAR,
    year VARCHAR
)

QUESTION: What league was involved in 2008?
SQL QUERY:

Response: SELECT league FROM table_21602734_1 WHERE year LIKE '%2008%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_93 (
    height_in_ft VARCHAR,
    position VARCHAR,
    school_club_team_country VARCHAR
)

QUESTION: Name the height for the center position from kansas
SQL QUERY:

Response: SELECT height_in_ft FROM table_name_93 WHERE position LIKE "%center%" AND school_club_team_country LIKE "%kansas%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_74 (
    record VARCHAR,
    game VARCHAR
)

QUESTION: What record has 46 as the game?
SQL QUERY:

Response: SELECT record FROM table_name_74 WHERE game LIKE '%46%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_73078 (
    "Round" text,
    "Clubs remaining" real,
    "Clubs involved" real,
    "Winners from previous round" text,
    "New entries this round" text,
    "Leagues entering this round" text
)

QUESTION: Name the leagues entering this round for 4
SQL QUERY:

Response: SELECT "Leagues entering this round" FROM table_73078 WHERE "Clubs involved" = 4


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_17304504_1 (
    grid VARCHAR,
    points VARCHAR
)

QUESTION: What is the grid for the driver who earned 14 points?
SQL QUERY:

Response: SELECT grid FROM table_17304504_1 WHERE points LIKE "%14%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_61 (
    pba_team VARCHAR,
    college VARCHAR
)

QUESTION: Which PBA team has a College of nu?
SQL QUERY:

Response: SELECT pba_team FROM table_name_61 WHERE college LIKE "%nu%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_67521 (
    "Driver" text,
    "Constructor" text,
    "Laps" text,
    "Time/Retired" text,
    "Grid" text
)

QUESTION: How many laps were there when the Time/Retired was +14.403?
SQL QUERY:

Response: SELECT "Laps" FROM table_67521 WHERE "Time/Retired" LIKE '%+14.403%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_1342233_5 (
    first_elected VARCHAR,
    district VARCHAR
)

QUESTION: How many were first elected in the Arkansas 4 district?
SQL QUERY:

Response: SELECT COUNT(first_elected) FROM table_1342233_5 WHERE district LIKE '%arkansas 4%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_202_29 (
    id number,
    "year" number,
    "nominated work" text,
    "award" text,
    "category" text,
    "result" text
)

QUESTION: which year was joan rivers nominated for a tony award and what was the nominated work ?
SQL QUERY:

Response: SELECT "year", "nominated work" FROM table_202_29 WHERE "award" LIKE '%tony award%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_204_814 (
    id number,
    "date" text,
    "opposition" text,
    "result" text,
    "score" text,
    "brazil scorers" text,
    "competition" text
)

QUESTION: what date is at the top of the list ?
SQL QUERY:

Response: SELECT "date" FROM table_204_814 WHERE id = 1


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_19244 (
    "District" text,
    "Incumbent" text,
    "Party" text,
    "First elected" real,
    "Result" text,
    "Candidates" text
)

QUESTION: Who were all candidate when incumbent was D. Wyatt Aiken?
SQL QUERY:

Response: SELECT "Candidates" FROM table_19244 WHERE "Incumbent" LIKE '%d. wyatt aiken%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_33 (
    record_medal_event VARCHAR,
    medal_count VARCHAR,
    sport VARCHAR,
    athlete VARCHAR
)

QUESTION: What record medal event has athletics as the sport, with robert garrett as the athlete, and a medal count less than 3?
SQL QUERY:

Response: SELECT record_medal_event FROM table_name_33 WHERE sport LIKE "%athletics%" AND athlete LIKE "%robert garrett%" AND CAST(medal_count AS INTEGER) < 3


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_204_871 (
    id number,
    "ano" text,
    "title" text,
    "role" text,
    "channel" text,
    "notes" text
)

QUESTION: what was the name of the show that natalia oriero hosted in 2008 ?
SQL QUERY:

Response: SELECT "title" FROM table_204_871 WHERE "ano" = 2008 AND "notes" LIKE '%host%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_22847880_2 (
    opponent VARCHAR,
    record VARCHAR
)

QUESTION: Name the opponent for 11-1
SQL QUERY:

Response: SELECT opponent FROM table_22847880_2 WHERE record LIKE "%11-1%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_8204 (
    "Date" text,
    "Round" text,
    "Opponent" text,
    "Venue" text,
    "Result" text,
    "Attendance" text,
    "Scorers" text
)

QUESTION: What is the Venue when the result was 2-1?
SQL QUERY:

Response: SELECT "Venue" FROM table_8204 WHERE "Result" LIKE '%2-1%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_49451 (
    "Round" real,
    "Pick #" real,
    "Player" text,
    "Position" text,
    "College" text
)

QUESTION: What was Tom Donchez pick number?
SQL QUERY:

Response: SELECT "Pick #" FROM table_49451 WHERE "Player" LIKE '%tom donchez%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE Customers (
    amount_outstanding INTEGER
)

QUESTION: What is maximum, minimum and average amount of outstanding of customer?
SQL QUERY:

Response: SELECT MAX(amount_outstanding), MIN(amount_outstanding), AVG(amount_outstanding) FROM Customers


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_6488 (
    "Source" text,
    "Date" text,
    "GERB" text,
    "Attack" text,
    "Blue Coalition" text
)

QUESTION: What Source has an Attack of 9,77%?
SQL QUERY:

Response: SELECT "Source" FROM table_6488 WHERE "Attack" LIKE '%9,77%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_91 (
    total INTEGER,
    position INTEGER
)

QUESTION: What's the total of the position of 1?
SQL QUERY:

Response: SELECT SUM(total) FROM table_name_91 WHERE position < 1


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_32893 (
    "Region" text,
    "Host" text,
    "Venue" text,
    "City" text,
    "State" text
)

QUESTION: What venue is in the city of Durham?
SQL QUERY:

Response: SELECT "Venue" FROM table_32893 WHERE "City" LIKE '%durham%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_90 (
    season VARCHAR,
    races VARCHAR,
    team VARCHAR
)

QUESTION: What season has 6 races and the team is Australia?
SQL QUERY:

Response: SELECT season FROM table_name_90 WHERE races LIKE '%6%' AND team LIKE '%australia%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_26736040_1 (
    no_in_series VARCHAR,
    directed_by VARCHAR
)

QUESTION: How many entries for number in series when director is Bryan Cranston?
SQL QUERY:

Response: SELECT COUNT(no_in_series) FROM table_26736040_1 WHERE directed_by LIKE "%bryan cranston%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_18 (
    place VARCHAR,
    money___$__ INTEGER
)

QUESTION: What placement gets more than $400?
SQL QUERY:

Response: SELECT place FROM table_name_18 WHERE money___$__ > 400


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_49265 (
    "Week" real,
    "Date" text,
    "Opponent" text,
    "Result" text,
    "Attendance" real
)

QUESTION: For week 15, what was the total number of attendance recorded?
SQL QUERY:

Response: SELECT COUNT("Attendance") FROM table_49265 WHERE "Week" = 15


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_19291 (
    "Celebrity" text,
    "Famous for" text,
    "Entered" text,
    "Exited" text,
    "Finished" text
)

QUESTION: When did the 4th finisher enter?
SQL QUERY:

Response: SELECT "Entered" FROM table_19291 WHERE "Finished" LIKE '%4th%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_1481865_1 (
    title__english_ VARCHAR,
    title__original_ VARCHAR
)

QUESTION: What is the English title when the original title is Die Qual Der Wahl?
SQL QUERY:

Response: SELECT title__english_ FROM table_1481865_1 WHERE title__original_ LIKE '%die qual der wahl%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_26609690_1 (
    year INTEGER
)

QUESTION: What is the earliest year on the chart?
SQL QUERY:

Response: SELECT MIN(year) FROM table_26609690_1


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_25 (
    tries_for VARCHAR,
    points_against VARCHAR
)

QUESTION: What is the tries for when the points against is 214?
SQL QUERY:

Response: SELECT tries_for FROM table_name_25 WHERE points_against LIKE "%214%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_72002 (
    "Call sign" text,
    "Frequency MHz" real,
    "City of license" text,
    "ERP W" real,
    "Class" text,
    "FCC info" text
)

QUESTION: What class is ERP W of 800?
SQL QUERY:

Response: SELECT "Class" FROM table_72002 WHERE "ERP W" = 800


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_43518 (
    "Name" text,
    "Team" text,
    "Qual 1" text,
    "Qual 2" text,
    "Best" text
)

QUESTION: Team Rusport has the best of 59.654 and what qual 1?
SQL QUERY:

Response: SELECT "Qual 1" FROM table_43518 WHERE "Team" LIKE '%rusport%' AND "Best" = '59.654'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_18 (
    moving_to VARCHAR,
    name VARCHAR
)

QUESTION: What is Moving To, when Name is 'Leon Andreasen'?
SQL QUERY:

Response: SELECT moving_to FROM table_name_18 WHERE name LIKE "%leon andreasen%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_2387790_2 (
    avg_start VARCHAR,
    avg_finish VARCHAR
)

QUESTION: How many years did he have an average finish of 11.7?
SQL QUERY:

Response: SELECT COUNT(avg_start) FROM table_2387790_2 WHERE avg_finish LIKE "%11.7%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_44 (
    place VARCHAR,
    score INTEGER
)

QUESTION: What is Place, when Score is less than 70?
SQL QUERY:

Response: SELECT place FROM table_name_44 WHERE score < 70


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_256286_43 (
    passed VARCHAR,
    no_votes VARCHAR
)

QUESTION: What is every entry for passed when NO votes is 312187?
SQL QUERY:

Response: SELECT passed FROM table_256286_43 WHERE no_votes = '312187'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_80 (
    total VARCHAR,
    set_2 VARCHAR
)

QUESTION: What is the total for set 2 17-25?
SQL QUERY:

Response: SELECT total FROM table_name_80 WHERE set_2 LIKE "%17-25%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_41851 (
    "City" text,
    "Country" text,
    "IATA" text,
    "ICAO" text,
    "Airport" text
)

QUESTION: What is the ICAO when the IATA is ika?
SQL QUERY:

Response: SELECT "ICAO" FROM table_41851 WHERE "IATA" LIKE '%ika%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_16 (
    score VARCHAR,
    home_team VARCHAR
)

QUESTION: What is the score of the home team, bath city?
SQL QUERY:

Response: SELECT score FROM table_name_16 WHERE home_team LIKE "%bath city%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_8 (
    team_1 VARCHAR,
    team_2 VARCHAR
)

QUESTION: Who played as Team 1 against Lom i?
SQL QUERY:

Response: SELECT team_1 FROM table_name_8 WHERE team_2 LIKE "%lomé i%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_10 (
    opponent VARCHAR,
    record VARCHAR
)

QUESTION: What was the Opponent when the Cavaliers had a Record of 3-9?
SQL QUERY:

Response: SELECT opponent FROM table_name_10 WHERE record LIKE "%3-9%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_27537870_5 (
    game VARCHAR,
    score VARCHAR
)

QUESTION: Name the number of game 2-6
SQL QUERY:

Response: SELECT COUNT(game) FROM table_27537870_5 WHERE score LIKE "%2-6%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_78 (
    platform_s_ VARCHAR,
    year VARCHAR
)

QUESTION: What is the platform(s) for the year 2006 (10th)?
SQL QUERY:

Response: SELECT platform_s_ FROM table_name_78 WHERE year LIKE "%2006 (10th)%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_70 (
    pick INTEGER,
    school_club_team VARCHAR
)

QUESTION: What is the average pick for Florida State?
SQL QUERY:

Response: SELECT AVG(pick) FROM table_name_70 WHERE school_club_team LIKE "%florida state%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_34983 (
    "City" text,
    "Country" text,
    "IATA" text,
    "ICAO" text,
    "Airport" text
)

QUESTION: Which country has Weerawila Airport?
SQL QUERY:

Response: SELECT "Country" FROM table_34983 WHERE "Airport" LIKE '%weerawila airport%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_18 (
    game INTEGER,
    record VARCHAR
)

QUESTION: What is the average game number when the record is 4-1?
SQL QUERY:

Response: SELECT AVG(game) FROM table_name_18 WHERE record LIKE "%4-1%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_23284271_8 (
    high_assists VARCHAR,
    record VARCHAR
)

QUESTION: Who had the most high assists with a record of 32-19?
SQL QUERY:

Response: SELECT high_assists FROM table_23284271_8 WHERE record LIKE "%32-19%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_25008327_8 (
    polish VARCHAR,
    belarusian VARCHAR
)

QUESTION: What is every value for Polish when Balarusian is ?
SQL QUERY:

Response: SELECT polish FROM table_25008327_8 WHERE belarusian LIKE "%ноч%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_18254488_2 (
    p INTEGER,
    player VARCHAR
)

QUESTION: When shaun maloney is the player what is the lowest p?
SQL QUERY:

Response: SELECT MIN(p) FROM table_18254488_2 WHERE player LIKE "%shaun maloney%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_55992 (
    "Date" text,
    "Competition" text,
    "Venue" text,
    "Result" text,
    "Score" text,
    "Goals" text
)

QUESTION: What was the venue when the score was 24 28?
SQL QUERY:

Response: SELECT "Venue" FROM table_55992 WHERE "Score" LIKE '%24–28%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_69065 (
    "Heat" real,
    "Lane" real,
    "Name" text,
    "Nationality" text,
    "Time" text
)

QUESTION: what lane was new zealand in?
SQL QUERY:

Response: SELECT "Lane" FROM table_69065 WHERE "Nationality" LIKE '%new zealand%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_70292 (
    "Date" text,
    "Visitor" text,
    "Score" text,
    "Home" text,
    "Record" text
)

QUESTION: Who was the home team when the record was 27 14 6?
SQL QUERY:

Response: SELECT "Home" FROM table_70292 WHERE "Record" LIKE '%27–14–6%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_56 (
    game INTEGER,
    location VARCHAR
)

QUESTION: What was the total games played at the Staples Center?
SQL QUERY:

Response: SELECT SUM(game) FROM table_name_56 WHERE location LIKE "%staples center%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_18 (
    original_week INTEGER,
    venue VARCHAR
)

QUESTION: Tell me the average original week for soldier field
SQL QUERY:

Response: SELECT AVG(original_week) FROM table_name_18 WHERE venue LIKE "%soldier field%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_17625749_3 (
    try_bonus VARCHAR,
    tries_against VARCHAR
)

QUESTION: What is the try bonus when the tries against are 17?
SQL QUERY:

Response: SELECT try_bonus FROM table_17625749_3 WHERE tries_against LIKE "%17%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_43008 (
    "Game" real,
    "Date" text,
    "Team" text,
    "Score" text,
    "Location Attendance" text,
    "Record" text
)

QUESTION: Which Record has a Date of may 31?
SQL QUERY:

Response: SELECT "Record" FROM table_43008 WHERE "Date" LIKE '%may 31%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_13 (
    population INTEGER,
    town_city VARCHAR
)

QUESTION: What is Ivaipor , pr's biggest population?
SQL QUERY:

Response: SELECT MAX(population) FROM table_name_13 WHERE lower(town_city) LIKE '%ivaiporã, pr%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_19 (
    wins INTEGER,
    year VARCHAR
)

QUESTION: What were the least Wins in 1988?
SQL QUERY:

Response: SELECT MIN(wins) FROM table_name_19 WHERE year LIKE '%1988%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_36 (
    date VARCHAR,
    matches VARCHAR
)

QUESTION: What was the date for a round that only had 1 match?
SQL QUERY:

Response: SELECT date FROM table_name_36 WHERE matches LIKE '%1%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_50 (
    tournament VARCHAR,
    date VARCHAR
)

QUESTION: What is the tournament on 5 October 2004?
SQL QUERY:

Response: SELECT tournament FROM table_name_50 WHERE date LIKE "%5 october 2004%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_298883_5 (
    date_of_issue VARCHAR,
    obverse VARCHAR
)

QUESTION: How many different dates of issue are the for the coin with kumsusan memorial palace on the obverse?
SQL QUERY:

Response: SELECT COUNT(date_of_issue) FROM table_298883_5 WHERE obverse LIKE "%kumsusan memorial palace%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_72 (
    score VARCHAR,
    result VARCHAR,
    date VARCHAR
)

QUESTION: On 9/3/97, what was the score that resulted in a w?
SQL QUERY:

Response: SELECT score FROM table_name_72 WHERE result LIKE "%w%" AND date LIKE "%9/3/97%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_58808 (
    "Place" text,
    "Player" text,
    "Country" text,
    "Score" real,
    "To par" text
)

QUESTION: What is Darren Clarke's total score?
SQL QUERY:

Response: SELECT COUNT("Score") FROM table_58808 WHERE "Player" LIKE '%darren clarke%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_19 (
    year INTEGER,
    album___song VARCHAR
)

QUESTION: What is the most recent year with the Album/Song 'the best worst-case scenario'?
SQL QUERY:

Response: SELECT MAX(year) FROM table_name_19 WHERE album___song LIKE "%the best worst-case scenario%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_39285 (
    "Game" real,
    "October" real,
    "Opponent" text,
    "Score" text,
    "Record" text,
    "Points" real
)

QUESTION: Which Record has Points larger than 0, and a Score of 7 3?
SQL QUERY:

Response: SELECT "Record" FROM table_39285 WHERE "Points" > 0 AND "Score" LIKE '%7–3%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_21197135_1 (
    record VARCHAR,
    opponent VARCHAR
)

QUESTION: What was the team record when the team played @ Utah?
SQL QUERY:

Response: SELECT record FROM table_21197135_1 WHERE opponent LIKE '%@ utah%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_25773915_11 (
    fumrec INTEGER
)

QUESTION: What is the fumrec minimum?
SQL QUERY:

Response: SELECT MIN(fumrec) FROM table_25773915_11


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_72 (
    home VARCHAR,
    date VARCHAR
)

QUESTION: What is the home team of the game on February 3?
SQL QUERY:

Response: SELECT home FROM table_name_72 WHERE date LIKE "%february 3%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE chip_model (
    Model_name VARCHAR,
    Launch_year INTEGER
)

QUESTION: the names of models that launched between 2002 and 2004.
SQL QUERY:

Response: SELECT Model_name FROM chip_model WHERE Launch_year BETWEEN 2002 AND 2004


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_76274 (
    "Game" real,
    "Date" text,
    "Team" text,
    "Score" text,
    "Record" text,
    "Streak" text
)

QUESTION: What is the Team in Game 38?
SQL QUERY:

Response: SELECT "Team" FROM table_76274 WHERE "Game" = 38


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_19 (
    draws INTEGER,
    points VARCHAR,
    position VARCHAR,
    wins VARCHAR
)

QUESTION: What was the sum of the draws for the team that had 11 wins, less than 38 points, and a position smaller than 4?
SQL QUERY:

Response: SELECT SUM(draws) FROM table_name_19 WHERE position < '4' AND wins LIKE '%11%' AND points < '38'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_36 (
    composer VARCHAR,
    track INTEGER
)

QUESTION: Who is the composer on the tracks less than 4?
SQL QUERY:

Response: SELECT composer FROM table_name_36 WHERE track < 4


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_10707142_2 (
    report VARCHAR,
    date VARCHAR
)

QUESTION: how many reports of races took place on october 16?
SQL QUERY:

Response: SELECT COUNT(report) FROM table_10707142_2 WHERE date LIKE "%october 16%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_63 (
    away_team VARCHAR,
    venue VARCHAR
)

QUESTION: What away team played at Kardinia Park?
SQL QUERY:

Response: SELECT away_team AS score FROM table_name_63 WHERE venue LIKE '%kardinia park%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_64 (
    capacity INTEGER,
    coach VARCHAR
)

QUESTION: What is the total capacity for coach Trevor Gleeson?
SQL QUERY:

Response: SELECT SUM(capacity) FROM table_name_64 WHERE coach LIKE "%trevor gleeson%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_17621978_11 (
    high_rebounds VARCHAR,
    date VARCHAR
)

QUESTION: Name the number of high rebounds for april 21
SQL QUERY:

Response: SELECT COUNT(high_rebounds) FROM table_17621978_11 WHERE date LIKE '%april 21%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_13061 (
    "Place" text,
    "Player" text,
    "Country" text,
    "Score" text,
    "To par" real
)

QUESTION: What is the score of player brian watts, who has a to par of 5?
SQL QUERY:

Response: SELECT "Score" FROM table_13061 WHERE "To par" = 5 AND "Player" LIKE '%brian watts%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_28342423_1 (
    aircraft_type VARCHAR,
    geschwader_base VARCHAR
)

QUESTION: Name the aircraft type for furstenau/vorden
SQL QUERY:

Response: SELECT aircraft_type FROM table_28342423_1 WHERE geschwader_base LIKE "%furstenau/vorden%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_39204 (
    "136." real,
    "18 February" text,
    "Friendly" text,
    "Croatia" text,
    "Germany" text
)

QUESTION: What is the friendly game for Germany of France?
SQL QUERY:

Response: SELECT "Friendly" FROM table_39204 WHERE "Germany" LIKE '%france%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_47 (
    date VARCHAR,
    opponent_in_the_final VARCHAR
)

QUESTION: When did Adam Thompson play in the final?
SQL QUERY:

Response: SELECT date FROM table_name_47 WHERE opponent_in_the_final LIKE "%adam thompson%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_98 (
    died VARCHAR,
    spouse_to VARCHAR
)

QUESTION: When did the consort who had talal i as a spouse die?
SQL QUERY:

Response: SELECT died FROM table_name_98 WHERE spouse_to LIKE "%talal i%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_77912 (
    "Round" real,
    "Pick" real,
    "Name" text,
    "Position" text,
    "School" text
)

QUESTION: What is the largest pick in round 8?
SQL QUERY:

Response: SELECT MAX("Pick") FROM table_77912 WHERE "Round" = 8


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_2780146_6 (
    hc__g_kwh_ VARCHAR,
    no_x__g_kwh_ VARCHAR
)

QUESTION: What's the HC for the standard with NO x of 7.0 g/kWh?
SQL QUERY:

Response: SELECT hc__g_kwh_ FROM table_2780146_6 WHERE no_x__g_kwh_ LIKE "%7.0%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_14 (
    attendance VARCHAR,
    opponent VARCHAR
)

QUESTION: What attendance has detroit lions as the opponent?
SQL QUERY:

Response: SELECT attendance FROM table_name_14 WHERE opponent LIKE "%detroit lions%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_50026 (
    "Season" text,
    "League" text,
    "Teams" text,
    "Home" text,
    "Away" text
)

QUESTION: Which Season has an Away of 1 2?
SQL QUERY:

Response: SELECT "Season" FROM table_50026 WHERE "Away" LIKE '%1–2%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_94 (
    time VARCHAR,
    rider VARCHAR
)

QUESTION: What is the time for Alan Oversby?
SQL QUERY:

Response: SELECT time FROM table_name_94 WHERE rider LIKE "%alan oversby%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_204_9 (
    id number,
    "week" number,
    "date" text,
    "opponent" text,
    "result" text,
    "attendance" number
)

QUESTION: how many points did the dolphins score against the buffalo bills total ?
SQL QUERY:

Response: SELECT SUM("result") FROM table_204_9 WHERE "opponent" LIKE '%buffalo bills%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_4037 (
    "Pick #" real,
    "Player" text,
    "Position" text,
    "Nationality" text,
    "NHL team" text,
    "College/junior/club team" text
)

QUESTION: Which position was selected for by the Toronto Maple Leafs?
SQL QUERY:

Response: SELECT "Position" FROM table_4037 WHERE "NHL team" LIKE '%toronto maple leafs%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_37389 (
    "Surname" text,
    "First" text,
    "D.O.B." text,
    "Bats" text,
    "Throws" text,
    "Position" text
)

QUESTION: In which position did Steve play first?
SQL QUERY:

Response: SELECT "Position" FROM table_37389 WHERE "First" LIKE '%steve%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_72043 (
    "Medal" text,
    "Name" text,
    "Games" text,
    "Sport" text,
    "Event" text
)

QUESTION: Who received the bronze medal in the 2000 Sydney games?
SQL QUERY:

Response: SELECT "Name" FROM table_72043 WHERE "Medal" LIKE '%bronze%' AND "Games" LIKE '%2000 sydney%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_85 (
    perpetrator VARCHAR,
    location VARCHAR
)

QUESTION: Who went on a rampage in Baghdad?
SQL QUERY:

Response: SELECT perpetrator FROM table_name_85 WHERE location LIKE "%baghdad%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_39 (
    works_number VARCHAR,
    date VARCHAR,
    number VARCHAR
)

QUESTION: What is the Works Number that has a Number of 153 in 1916?
SQL QUERY:

Response: SELECT works_number FROM table_name_39 WHERE date LIKE "%1916%" AND number LIKE "%153%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_23988726_2 (
    world_record VARCHAR
)

QUESTION: When saif saaeed shaheen (qat) is the saif saaeed shaheen ( qat ) what is the world record?
SQL QUERY:

Response: SELECT world_record FROM table_23988726_2 WHERE world_record LIKE "%saif_saaeed_shaheen___qat__%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_23429629_4 (
    place_came VARCHAR,
    artist VARCHAR
)

QUESTION: What was the final place came for the performance of Erlend Bratland?
SQL QUERY:

Response: SELECT place_came FROM table_23429629_4 WHERE artist LIKE "%erlend bratland%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_225094_4 (
    reason_for_change VARCHAR,
    successor VARCHAR
)

QUESTION: Name the reason for change for jonathan jennings
SQL QUERY:

Response: SELECT COUNT(reason_for_change) FROM table_225094_4 WHERE successor LIKE "%jonathan jennings%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_11964047_7 (
    record VARCHAR,
    score VARCHAR
)

QUESTION: what are all the records with a score is w 98 91
SQL QUERY:

Response: SELECT record FROM table_11964047_7 WHERE score LIKE "%w 98–91%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_43139 (
    "Date" text,
    "Time" text,
    "Home" text,
    "Away" text,
    "Score" text,
    "Ground" text
)

QUESTION: What was the score of the game with the Etobicoke Kangaroos as the home team?
SQL QUERY:

Response: SELECT "Score" FROM table_43139 WHERE "Home" LIKE '%etobicoke kangaroos%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_58 (
    start VARCHAR,
    tries VARCHAR,
    conv VARCHAR
)

QUESTION: Which Start has 8 Tries and 0 Convs?
SQL QUERY:

Response: SELECT start FROM table_name_58 WHERE tries LIKE "%8%" AND conv LIKE "%0%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_9550 (
    "Election" real,
    "Number of NDC votes" text,
    "Share of votes" text,
    "Seats" real,
    "Outcome of election" text
)

QUESTION: How many seats had a 41.2% share of votes?
SQL QUERY:

Response: SELECT "Seats" FROM table_9550 WHERE "Share of votes" LIKE '%41.2%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_70501 (
    "Team 1" text,
    "Agg." text,
    "Team 2" text,
    "1st leg" text,
    "2nd leg" text
)

QUESTION: Which Team 1 has an aggregate score of 1-1 1?
SQL QUERY:

Response: SELECT "Team 1" FROM table_70501 WHERE "Agg." LIKE '%1-1 1%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_1341522_36 (
    opponent VARCHAR,
    incumbent VARCHAR
)

QUESTION: Who ran unsuccessfully against Bill Hefner?
SQL QUERY:

Response: SELECT opponent FROM table_1341522_36 WHERE incumbent LIKE "%bill hefner%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_37521 (
    "Camera" text,
    "Sensor resolution" text,
    "Sensor" text,
    "Output" text,
    "CPU usage" text,
    "IR LEDs" text
)

QUESTION: What was the sensor with a resolution of 355x288 for a Naturalpoint Trackir 3?
SQL QUERY:

Response: SELECT "Sensor" FROM table_37521 WHERE "Sensor resolution" LIKE '%355x288%' AND "Camera" LIKE '%naturalpoint trackir 3%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_19930660_3 (
    first_broadcast VARCHAR,
    rufus_guest VARCHAR
)

QUESTION: When is the first broadcast for episodes where Rufus's guest is Jack Whitehall?
SQL QUERY:

Response: SELECT first_broadcast FROM table_19930660_3 WHERE rufus_guest LIKE '%jack whitehall%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_17 (
    school VARCHAR,
    colors VARCHAR
)

QUESTION: What School has Colors of navy blue orange?
SQL QUERY:

Response: SELECT school FROM table_name_17 WHERE colors LIKE "%navy blue orange%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_2535 (
    "Dateca" text,
    "Event #" text,
    "Event" text,
    "Winner" text,
    "Prize" text,
    "Entries" text,
    "Prize Pool" text,
    "Elapsed Time" text
)

QUESTION: What is the winner in event number 15h?
SQL QUERY:

Response: SELECT "Winner" FROM table_2535 WHERE "Event #" LIKE '%15h%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_63 (
    score VARCHAR,
    player VARCHAR
)

QUESTION: What was the score for Leo Diegel?
SQL QUERY:

Response: SELECT score FROM table_name_63 WHERE player LIKE "%leo diegel%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_22 (
    loss VARCHAR,
    record VARCHAR
)

QUESTION: Who got the loss on the game that ended in a 52-36 record?
SQL QUERY:

Response: SELECT loss FROM table_name_22 WHERE record LIKE "%52-36%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_507 (
    "Institution" text,
    "Main Campus Location" text,
    "Founded" real,
    "Mascot" text,
    "School Colors" text
)

QUESTION: How many school colors is there for the main campus location of highland?
SQL QUERY:

Response: SELECT COUNT("School Colors") FROM table_507 WHERE "Main Campus Location" LIKE '%highland%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_76 (
    pick VARCHAR,
    college VARCHAR
)

QUESTION: What is the Pick number of the Player from Syracuse?
SQL QUERY:

Response: SELECT pick FROM table_name_76 WHERE college LIKE "%syracuse%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_23577 (
    "Story #" real,
    "Target #" text,
    "Title" text,
    "Author" text,
    "Reader" text,
    "Format" text,
    "Company" text,
    "Release Date" text,
    "Notes" text
)

QUESTION: When was the audio book with target number 069 69 released?
SQL QUERY:

Response: SELECT "Release Date" FROM table_23577 WHERE "Target #" LIKE '%069 69%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_18376 (
    "District" text,
    "Incumbent" text,
    "Party" text,
    "First elected" real,
    "Result" text,
    "Candidates" text
)

QUESTION: how many times was it the district illinois 18?
SQL QUERY:

Response: SELECT COUNT("Candidates") FROM table_18376 WHERE "District" LIKE '%illinois 18%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_66864 (
    "Player" text,
    "Years" text,
    "Goals" real,
    "Assists" real,
    "Points" real
)

QUESTION: How many points does Shawn Mceachern with less than 79 goals?
SQL QUERY:

Response: SELECT SUM("Points") FROM table_66864 WHERE "Player" LIKE '%shawn mceachern%' AND "Goals" < 79


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_54720 (
    "Superlative" text,
    "Actress" text,
    "Record Set" text,
    "Year" real,
    "Notes" text
)

QUESTION: After the year 2011, who was the youngest nominee?
SQL QUERY:

Response: SELECT "Record Set" FROM table_54720 WHERE "Year" > 2011 AND "Superlative" LIKE '%youngest nominee%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_27722408_6 (
    team VARCHAR,
    game VARCHAR
)

QUESTION: What was the other team in game 11?
SQL QUERY:

Response: SELECT team FROM table_27722408_6 WHERE game LIKE '%11%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_1973729_1 (
    location VARCHAR,
    enrollment VARCHAR
)

QUESTION: What location contains a school that has an enrollment of 2686?
SQL QUERY:

Response: SELECT location FROM table_1973729_1 WHERE enrollment = '2686'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_1206114_2 (
    netflow_version VARCHAR,
    vendor_and_type VARCHAR
)

QUESTION: How many netflow version are there when the vendor and type is enterasys switches?
SQL QUERY:

Response: SELECT COUNT(netflow_version) FROM table_1206114_2 WHERE vendor_and_type LIKE "%enterasys switches%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_10 (
    driver VARCHAR,
    grid VARCHAR
)

QUESTION: Which driver's grid was 24?
SQL QUERY:

Response: SELECT driver FROM table_name_10 WHERE grid LIKE '%24%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_17968274_2 (
    team VARCHAR,
    points VARCHAR
)

QUESTION: What was the team that scored 122 points?
SQL QUERY:

Response: SELECT team FROM table_17968274_2 WHERE points LIKE '%122%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_17779448_1 (
    attendance VARCHAR,
    opponent VARCHAR
)

QUESTION: How many attended game(s) against the boston patriots?
SQL QUERY:

Response: SELECT attendance FROM table_17779448_1 WHERE opponent LIKE "%boston patriots%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_58 (
    lost INTEGER,
    season VARCHAR,
    points VARCHAR
)

QUESTION: Which Lost is the highest one that has a Season of 2001 02, and Points larger than 47?
SQL QUERY:

Response: SELECT MAX(lost) FROM table_name_58 WHERE season LIKE "%2001–02%" AND points > "47"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_204_672 (
    id number,
    "year" number,
    "title" text,
    "label" text,
    "uk singles chart" number,
    "u.s. billboard hot 100 chart" number
)

QUESTION: what is the total number of years for singles by philips label ?
SQL QUERY:

Response: SELECT COUNT("year") FROM table_204_672 WHERE "label" LIKE '%philips%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_16 (
    team_2 VARCHAR,
    team_1 VARCHAR
)

QUESTION: What team 2 has lokomotiva as team 1?
SQL QUERY:

Response: SELECT team_2 FROM table_name_16 WHERE team_1 LIKE "%lokomotiva%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_29 (
    venue VARCHAR,
    home_team VARCHAR
)

QUESTION: Where did Hawthorn play as home team?
SQL QUERY:

Response: SELECT venue FROM table_name_29 WHERE home_team LIKE "%hawthorn%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_6101 (
    "Date" text,
    "Opponent" text,
    "Score" text,
    "Loss" text,
    "Attendance" real,
    "Record" text
)

QUESTION: What team did the home team play on September 4?
SQL QUERY:

Response: SELECT "Opponent" FROM table_6101 WHERE "Date" LIKE '%september 4%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_79 (
    quarterfinals VARCHAR,
    rank VARCHAR
)

QUESTION: What's the quarterfinals when the rank was bronze?
SQL QUERY:

Response: SELECT quarterfinals FROM table_name_79 WHERE rank LIKE "%bronze%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_49097 (
    "Player" text,
    "Games" real,
    "Reception" real,
    "Yards" real,
    "Long" real
)

QUESTION: What is the average yards for Jimmie Giles in a game larger than 15 and reception larger than 2?
SQL QUERY:

Response: SELECT AVG("Yards") FROM table_49097 WHERE "Games" > 15 AND "Reception" > 2 AND "Player" LIKE '%jimmie giles%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_85 (
    player VARCHAR,
    place VARCHAR,
    country VARCHAR
)

QUESTION: What is the name of the player with t6 as his place and a country of United states?
SQL QUERY:

Response: SELECT player FROM table_name_85 WHERE place LIKE "%t6%" AND country LIKE "%united states%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_37 (
    cause_of_death VARCHAR,
    rank VARCHAR,
    name VARCHAR
)

QUESTION: What is Detective Donald William Schneider's Cause of death?
SQL QUERY:

Response: SELECT cause_of_death FROM table_name_37 WHERE rank LIKE "%detective%" AND name LIKE "%donald william schneider%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_77181 (
    "Outcome" text,
    "Date" text,
    "Championship" text,
    "Surface" text,
    "Opponent" text,
    "Score" text
)

QUESTION: What is the surface on 21 june 1993?
SQL QUERY:

Response: SELECT "Surface" FROM table_77181 WHERE "Date" LIKE '%21 june 1993%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_50364 (
    "Pick #" real,
    "CFL Team" text,
    "Player" text,
    "Position" text,
    "College" text
)

QUESTION: which player played on Team Hamilton?
SQL QUERY:

Response: SELECT "Player" FROM table_50364 WHERE "CFL Team" LIKE '%hamilton%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_21673 (
    "SNO" real,
    "College code" text,
    "Faculty name" text,
    "Designation" text,
    "Qualification" text,
    "Department" text,
    "Experience" text
)

QUESTION: How many faculty members have 20 years of experience?
SQL QUERY:

Response: SELECT COUNT("Designation") FROM table_21673 WHERE "Experience" LIKE '%20 years%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_33 (
    call_sign VARCHAR,
    owner VARCHAR
)

QUESTION: What is the Call Sign of the Frequency by Owner CKUA Radio Foundation?
SQL QUERY:

Response: SELECT call_sign FROM table_name_33 WHERE owner LIKE "%ckua radio foundation%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_32 (
    design VARCHAR,
    acquired VARCHAR
)

QUESTION: What design was acquired in 1875?
SQL QUERY:

Response: SELECT design FROM table_name_32 WHERE acquired LIKE '%1875%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_7 (
    works_number VARCHAR,
    type VARCHAR,
    number VARCHAR
)

QUESTION: What is Works Number, when Type is RS-11, and when Number is 61?
SQL QUERY:

Response: SELECT works_number FROM table_name_7 WHERE type LIKE "%rs-11%" AND number LIKE "%61%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_38122 (
    "Year" real,
    "Location" text,
    "Gold" text,
    "Silver" text,
    "Bronze" text
)

QUESTION: For how many years was the location at Beijing?
SQL QUERY:

Response: SELECT SUM("Year") FROM table_38122 WHERE "Location" LIKE '%beijing%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_44648 (
    "Round" real,
    "Pick" real,
    "Overall" real,
    "Name" text,
    "Position" text,
    "College" text
)

QUESTION: what is the lowest overall when the pick is 20?
SQL QUERY:

Response: SELECT MIN("Overall") FROM table_44648 WHERE "Pick" = 20


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_52965 (
    "Home team" text,
    "Home team score" text,
    "Away team" text,
    "Away team score" text,
    "Venue" text,
    "Crowd" real,
    "Date" text
)

QUESTION: How many people were in the crowd on the day the home team scored 7.10 (52)?
SQL QUERY:

Response: SELECT "Crowd" FROM table_52965 WHERE "Home team score" LIKE '%7.10 (52)%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_91 (
    points INTEGER,
    year VARCHAR,
    class VARCHAR
)

QUESTION: What is the smallest point amount for years prior to 1958 when the class is 350cc?
SQL QUERY:

Response: SELECT MIN(points) FROM table_name_91 WHERE year < '1958' AND class LIKE '%350cc%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_87 (
    score VARCHAR,
    country VARCHAR,
    place VARCHAR
)

QUESTION: What is the score for Australia with a place of 4?
SQL QUERY:

Response: SELECT score FROM table_name_87 WHERE country LIKE "%australia%" AND place LIKE "%4%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_44955 (
    "Place" text,
    "Player" text,
    "Country" text,
    "Score" text,
    "To par" text
)

QUESTION: WHAT COUNTRY HAS A TO PAR OF +1, WITH WOODY AUSTIN?
SQL QUERY:

Response: SELECT "Country" FROM table_44955 WHERE "To par" LIKE '%+1%' AND "Player" LIKE '%woody austin%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE dorm (
    student_capacity VARCHAR,
    gender VARCHAR,
    dorm_name VARCHAR
)

QUESTION: Find the capacity and gender type of the dorm whose name has substring Donor .
SQL QUERY:

Response: SELECT student_capacity, gender FROM dorm WHERE dorm_name LIKE '%donor%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_45296 (
    "Res." text,
    "Record" text,
    "Opponent" text,
    "Method" text,
    "Event" text,
    "Round" real,
    "Time" text,
    "Location" text
)

QUESTION: Which method had a time of 0:46?
SQL QUERY:

Response: SELECT "Method" FROM table_45296 WHERE "Time" LIKE '%0:46%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_11793221_2 (
    unit VARCHAR,
    commander VARCHAR
)

QUESTION: Which units are commanded by Lieutenant Colonel Francis Hepburn?
SQL QUERY:

Response: SELECT unit FROM table_11793221_2 WHERE commander LIKE "%lieutenant colonel francis hepburn%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_55330 (
    "Rank" real,
    "Rider" text,
    "Team" text,
    "Speed" text,
    "Time" text
)

QUESTION: What's the name of the team that went 113.316mph?
SQL QUERY:

Response: SELECT "Team" FROM table_55330 WHERE "Speed" LIKE '%113.316mph%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_28081876_6 (
    original_air_date VARCHAR,
    us_viewers__millions_ VARCHAR
)

QUESTION: When was originally aired the episode with an audience of 1.57 million us viewers?
SQL QUERY:

Response: SELECT original_air_date FROM table_28081876_6 WHERE us_viewers__millions_ LIKE "%1.57%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE users (
    role_code VARCHAR
)

QUESTION: Find the number of users in each role.
SQL QUERY:

Response: SELECT COUNT(*), role_code FROM users GROUP BY role_code


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_41 (
    silver INTEGER,
    gold INTEGER
)

QUESTION: Name the least silver when gold is less than 0
SQL QUERY:

Response: SELECT MIN(silver) FROM table_name_41 WHERE gold < 0


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_18220102_1 (
    number_of_screening VARCHAR,
    opening_film VARCHAR
)

QUESTION: How many number of screenings have an opening film of the journey of vaan nguyen?
SQL QUERY:

Response: SELECT COUNT(number_of_screening) FROM table_18220102_1 WHERE opening_film LIKE "%the journey of vaan nguyen%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_26360571_2 (
    opponent VARCHAR,
    date VARCHAR
)

QUESTION: List the opposing team on february 15, 2003.
SQL QUERY:

Response: SELECT opponent FROM table_26360571_2 WHERE date LIKE "%february 15, 2003%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_45905 (
    "Rank" real,
    "City" text,
    "Airport" text,
    "Passengers" real,
    "Carriers" text
)

QUESTION: What city is ranked greater than 6, and the airport is St. Petersburg/Clearwater (PIE)
SQL QUERY:

Response: SELECT "City" FROM table_45905 WHERE "Rank" > 6 AND "Airport" LIKE '%st. petersburg/clearwater (pie)%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_74936 (
    "Circuit" text,
    "Date" text,
    "Pole position" text,
    "Fastest Lap" text,
    "Winning driver" text,
    "Winning team" text,
    "Winning manufacturer" text
)

QUESTION: Who is the winning driver of the race with no race as the winning manufacturer?
SQL QUERY:

Response: SELECT "Winning driver" FROM table_74936 WHERE "Winning manufacturer" LIKE '%no race%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_94 (
    year INTEGER,
    playoffs VARCHAR
)

QUESTION: Which Year has Playoffs which did not qualify?
SQL QUERY:

Response: SELECT AVG(year) FROM table_name_94 WHERE playoffs LIKE "%did not qualify%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_11464746_1 (
    composition VARCHAR,
    colours VARCHAR
)

QUESTION: What is the green house made of?
SQL QUERY:

Response: SELECT composition FROM table_11464746_1 WHERE colours LIKE '%green%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_1342331_5 (
    district VARCHAR,
    incumbent VARCHAR
)

QUESTION: what's the district with incumbent being john e. miller
SQL QUERY:

Response: SELECT district FROM table_1342331_5 WHERE incumbent LIKE "%john e. miller%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_46 (
    rider VARCHAR,
    time VARCHAR
)

QUESTION: What Rider had a Time of 1:01.50.57?
SQL QUERY:

Response: SELECT rider FROM table_name_46 WHERE time LIKE "%1:01.50.57%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_13 (
    game VARCHAR,
    opponent VARCHAR
)

QUESTION: Which Game has an Opponent of @ washington wizards?
SQL QUERY:

Response: SELECT game FROM table_name_13 WHERE opponent LIKE '%@ washington wizards%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_79 (
    drawn INTEGER,
    played INTEGER
)

QUESTION: what is the highest drawn when played is more than 14?
SQL QUERY:

Response: SELECT MAX(drawn) FROM table_name_79 WHERE played > 14


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_62441 (
    "Tournament" text,
    "2008" text,
    "2009" text,
    "2010" text,
    "2011" text,
    "2012" text
)

QUESTION: What is 2011, when Tournament is 'Year-End Ranking'?
SQL QUERY:

Response: SELECT "2011" FROM table_62441 WHERE "Tournament" LIKE '%year-end ranking%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_14 (
    status VARCHAR
)

QUESTION: When the role is role what was the status?
SQL QUERY:

Response: SELECT status FROM table_name_14 WHERE "role" LIKE '%role%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_6 (
    opponent VARCHAR,
    week VARCHAR
)

QUESTION: Name the opponent for week of 2
SQL QUERY:

Response: SELECT opponent FROM table_name_6 WHERE week LIKE '%2%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_82 (
    nickname VARCHAR,
    location VARCHAR
)

QUESTION: What Nickname has a Location of Southern River?
SQL QUERY:

Response: SELECT nickname FROM table_name_82 WHERE location LIKE "%southern river%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_68 (
    points INTEGER,
    played INTEGER
)

QUESTION: What is the sum of the points of the club with more than 34 played?
SQL QUERY:

Response: SELECT SUM(points) FROM table_name_68 WHERE played > 34


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_11545282_7 (
    position VARCHAR,
    player VARCHAR
)

QUESTION: What position did Lamar Green play?
SQL QUERY:

Response: SELECT position FROM table_11545282_7 WHERE player LIKE "%lamar green%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_43774 (
    "Place" real,
    "Competitor" text,
    "Downhill" real,
    "Slalom" real,
    "Average" real
)

QUESTION: What's the slalom when the average time was greater than 99.25?
SQL QUERY:

Response: SELECT AVG("Slalom") FROM table_43774 WHERE "Average" > 99.25


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_76 (
    opened INTEGER,
    themed_area VARCHAR,
    manufacturer VARCHAR
)

QUESTION: Which Opened is the highest one that has a Themed Area of aerial park, and a Manufacturer of zamperla?
SQL QUERY:

Response: SELECT MAX(opened) FROM table_name_76 WHERE themed_area LIKE '%aerial park%' AND manufacturer LIKE '%zamperla%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_85 (
    away_team VARCHAR,
    home_team VARCHAR
)

QUESTION: Who played as the away team when Essendon was the home team?
SQL QUERY:

Response: SELECT away_team FROM table_name_85 WHERE home_team LIKE "%essendon%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_2402864_1 (
    open_cup VARCHAR,
    year VARCHAR
)

QUESTION: What was the Open Cup results for the year 2003?
SQL QUERY:

Response: SELECT open_cup FROM table_2402864_1 WHERE year LIKE '%2003%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_12125069_2 (
    winning_pitcher VARCHAR,
    date VARCHAR
)

QUESTION: Who was the winning pitcher on june 25?
SQL QUERY:

Response: SELECT winning_pitcher FROM table_12125069_2 WHERE date LIKE "%june 25%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_86 (
    local_host_s_ VARCHAR,
    country VARCHAR,
    year VARCHAR
)

QUESTION: Who are the local hosts for the United States in years earlier than 2007?
SQL QUERY:

Response: SELECT local_host_s_ FROM table_name_86 WHERE country LIKE '%united states%' AND year < '2007'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_23239946_3 (
    wins VARCHAR,
    driver VARCHAR
)

QUESTION: How many wins did Andrew Ranger have?
SQL QUERY:

Response: SELECT COUNT(wins) FROM table_23239946_3 WHERE driver LIKE "%andrew ranger%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_23486853_8 (
    location VARCHAR,
    date VARCHAR
)

QUESTION: What is every location for the date of March 20?
SQL QUERY:

Response: SELECT location FROM table_23486853_8 WHERE date LIKE "%march 20%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_60 (
    started VARCHAR,
    ended VARCHAR
)

QUESTION: When did the loan that Ended on 15 January Start?
SQL QUERY:

Response: SELECT started FROM table_name_60 WHERE ended LIKE "%15 january%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE club (
    Region VARCHAR
)

QUESTION: List the distinct region of clubs in ascending alphabetical order.
SQL QUERY:

Response: SELECT DISTINCT Region FROM club ORDER BY Region


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_28508 (
    "Institution" text,
    "Nickname" text,
    "Location" text,
    "Founded" real,
    "Type" text,
    "Enrollment" text,
    "Current Conference" text
)

QUESTION: Name the total number of founded for public and 780 enrollment
SQL QUERY:

Response: SELECT COUNT("Founded") FROM table_28508 WHERE "Type" LIKE '%public%' AND "Enrollment" LIKE '%780%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_64 (
    away_team VARCHAR,
    attendance VARCHAR
)

QUESTION: Who was the away team when the attendance was 7,891?
SQL QUERY:

Response: SELECT away_team FROM table_name_64 WHERE attendance LIKE "%7,891%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_2701851_5 (
    directed_by VARCHAR,
    no_in_season VARCHAR
)

QUESTION: Who was the director for the Episode number in season 10a?
SQL QUERY:

Response: SELECT directed_by FROM table_2701851_5 WHERE no_in_season LIKE "%10a%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_68339 (
    "Res." text,
    "Record" text,
    "Opponent" text,
    "Method" text,
    "Event" text,
    "Round" real,
    "Time" text,
    "Location" text
)

QUESTION: What is the time when the opponent is phil collins?
SQL QUERY:

Response: SELECT "Time" FROM table_68339 WHERE "Opponent" LIKE '%phil collins%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_24481478_1 (
    week INTEGER,
    team_record VARCHAR
)

QUESTION: In which week was the team record 7 2?
SQL QUERY:

Response: SELECT MIN(week) FROM table_24481478_1 WHERE team_record LIKE "%7–2%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_93 (
    silver INTEGER,
    gold INTEGER
)

QUESTION: what is the least silver when gold is 0?
SQL QUERY:

Response: SELECT MIN(silver) FROM table_name_93 WHERE gold < 0


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_15929156_3 (
    mccain__percentage VARCHAR,
    county VARCHAR
)

QUESTION: Name the mccain % for dukes
SQL QUERY:

Response: SELECT mccain__percentage FROM table_15929156_3 WHERE county LIKE "%dukes%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_78347 (
    "Name" text,
    "Builder" text,
    "Wheel arrangement" text,
    "Works Number" real,
    "Built" real
)

QUESTION: What is the average building year for Superb?
SQL QUERY:

Response: SELECT AVG("Built") FROM table_78347 WHERE "Name" LIKE '%superb%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_45835 (
    "Continent" text,
    "Structure" text,
    "Height" text,
    "Year" real,
    "Country" text
)

QUESTION: What structure is in Chile?
SQL QUERY:

Response: SELECT "Structure" FROM table_45835 WHERE "Country" LIKE '%chile%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_19763199_3 (
    total_votes INTEGER
)

QUESTION: What is the least total votes?
SQL QUERY:

Response: SELECT MIN(total_votes) FROM table_19763199_3


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_42437 (
    "Round" real,
    "Pick #" real,
    "Player" text,
    "Position" text,
    "College" text
)

QUESTION: Which college has a pick number of 155?
SQL QUERY:

Response: SELECT "College" FROM table_42437 WHERE "Pick #" = 155


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_30057479_1 (
    material VARCHAR,
    output_power VARCHAR
)

QUESTION: How many materials are there for output power of ~0.1 pw per cycle (calculated)?
SQL QUERY:

Response: SELECT COUNT(material) FROM table_30057479_1 WHERE output_power LIKE '%~0.1 pw per cycle (calculated)%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_19897294_8 (
    no_in_series INTEGER,
    family_families VARCHAR
)

QUESTION: Name the number in series for in the ward family and the wren family
SQL QUERY:

Response: SELECT MAX(no_in_series) FROM table_19897294_8 WHERE family_families LIKE "%the ward family and the wren family%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_38925 (
    "Date" text,
    "Opponent" text,
    "Score" text,
    "Loss" text,
    "Save" text
)

QUESTION: Which Save is on June 15?
SQL QUERY:

Response: SELECT "Save" FROM table_38925 WHERE "Date" LIKE '%june 15%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_40 (
    home_team VARCHAR,
    venue VARCHAR
)

QUESTION: Which home team plays at victoria park?
SQL QUERY:

Response: SELECT home_team FROM table_name_40 WHERE venue LIKE "%victoria park%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_2147588_4 (
    district VARCHAR,
    successor VARCHAR
)

QUESTION: When william b. campbell (u) is the successor what is the district?
SQL QUERY:

Response: SELECT district FROM table_2147588_4 WHERE successor LIKE "%william b. campbell (u)%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_98 (
    total_goals INTEGER,
    fa_cup_goals VARCHAR,
    league_apps VARCHAR
)

QUESTION: What is the most total goals for a player having 0 FA Cup goals and 41 League appearances?
SQL QUERY:

Response: SELECT MAX(total_goals) FROM table_name_98 WHERE fa_cup_goals LIKE '0' AND league_apps LIKE '%41%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_14608759_1 (
    opponent VARCHAR,
    week VARCHAR
)

QUESTION: In week 9 who were the opponent?
SQL QUERY:

Response: SELECT opponent FROM table_14608759_1 WHERE week LIKE '%9%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_12 (
    years VARCHAR,
    finals VARCHAR,
    a_league VARCHAR
)

QUESTION: What years have 9 (0) as the finals and 133 (1) as the A-League?
SQL QUERY:

Response: SELECT years FROM table_name_12 WHERE finals LIKE "%9 (0)%" AND a_league LIKE "%133 (1)%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_23 (
    average INTEGER,
    tally VARCHAR,
    total VARCHAR
)

QUESTION: Which Average has a Tally of 2-12, and a Total larger than 18?
SQL QUERY:

Response: SELECT AVG(average) FROM table_name_23 WHERE tally LIKE "%2-12%" AND total > "18"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_19210115_1 (
    location VARCHAR,
    nickname VARCHAR
)

QUESTION: Where is the University that is also called Hawks?
SQL QUERY:

Response: SELECT location FROM table_19210115_1 WHERE nickname LIKE "%hawks%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_26250253_1 (
    order__number VARCHAR,
    week__number VARCHAR
)

QUESTION: The order # is what for the week # Top 10?
SQL QUERY:

Response: SELECT order__number FROM table_26250253_1 WHERE week__number LIKE '%top 10%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_63 (
    winner VARCHAR,
    runner_up VARCHAR
)

QUESTION: Who was the winner in the match that had John Higgins as runner-up?
SQL QUERY:

Response: SELECT winner FROM table_name_63 WHERE runner_up LIKE "%john higgins%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_1137704_2 (
    location VARCHAR,
    date VARCHAR
)

QUESTION: what are all the location where date is 5 april
SQL QUERY:

Response: SELECT location FROM table_1137704_2 WHERE date LIKE "%5 april%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_60341 (
    "Place" text,
    "Player" text,
    "Country" text,
    "Score" text,
    "To par" text
)

QUESTION: What place is the golfer in who is from Spain?
SQL QUERY:

Response: SELECT "Place" FROM table_60341 WHERE "Country" LIKE '%spain%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_203_42 (
    id number,
    "model" text,
    "class" text,
    "length" text,
    "fuel" text,
    "starting price" text
)

QUESTION: which model is a diesel , the tour or the aspect ?
SQL QUERY:

Response: SELECT "model" FROM table_203_42 WHERE "model" LIKE '%tour%' OR "model" LIKE '%aspect%' AND "fuel" LIKE '%diesel%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_11960196_3 (
    team VARCHAR,
    date VARCHAR
)

QUESTION: What is the team of april 25?
SQL QUERY:

Response: SELECT team FROM table_11960196_3 WHERE date LIKE "%april 25%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_23241 (
    "Rank" real,
    "Couple" text,
    "Judges" real,
    "Public" real,
    "Total" real,
    "Vote percentage" text,
    "Result" text
)

QUESTION: What couple had less than 2.0 points from the public?
SQL QUERY:

Response: SELECT "Couple" FROM table_23241 WHERE "Public" < 2.0


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_12134383_1 (
    president VARCHAR,
    date_of_inauguration VARCHAR
)

QUESTION: who is the the president with date of inauguration being 4june1979
SQL QUERY:

Response: SELECT president FROM table_12134383_1 WHERE date_of_inauguration LIKE "%4june1979%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_61295 (
    "Week 1" text,
    "Week 2" text,
    "Week 3" text,
    "Week 4" text,
    "Week 5" text
)

QUESTION: Who is week 3 if week 1 is Amanda Batt?
SQL QUERY:

Response: SELECT "Week 3" FROM table_61295 WHERE "Week 1" LIKE '%amanda batt%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_99 (
    crowd INTEGER,
    home_team VARCHAR
)

QUESTION: What is the average crowd when footscray is at home?
SQL QUERY:

Response: SELECT AVG(crowd) FROM table_name_99 WHERE home_team LIKE "%footscray%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_71834 (
    "Park" text,
    "Tower height" text,
    "Drop height*" text,
    "Speed" text,
    "Model" text,
    "Opened" text,
    "Height requirement" text
)

QUESTION: What was the speed of 200feet Giant Drop attraction?
SQL QUERY:

Response: SELECT "Speed" FROM table_71834 WHERE "Model" LIKE '%giant drop%' AND "Drop height*" LIKE '%200feet%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_79 (
    result VARCHAR,
    venue VARCHAR
)

QUESTION: What is the final score at Melbourne Cricket Ground?
SQL QUERY:

Response: SELECT result FROM table_name_79 WHERE venue LIKE "%melbourne cricket ground%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_76946 (
    "Week" real,
    "Date" text,
    "Opponent" text,
    "Result" text,
    "Attendance" text
)

QUESTION: Which Opponent has a Result of l 14 10?
SQL QUERY:

Response: SELECT "Opponent" FROM table_76946 WHERE "Result" LIKE '%l 14–10%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_92 (
    team VARCHAR,
    laps VARCHAR
)

QUESTION: Name the team with Laps of 333
SQL QUERY:

Response: SELECT team FROM table_name_92 WHERE laps LIKE '%333%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_47298 (
    "Tie no" text,
    "Home team" text,
    "Score" text,
    "Away team" text,
    "Date" text
)

QUESTION: What is the away team with a 2 tie no.?
SQL QUERY:

Response: SELECT "Away team" FROM table_47298 WHERE "Tie no" LIKE '%2%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_28697228_4 (
    rushing_yards VARCHAR,
    passing_yards VARCHAR
)

QUESTION: How many rushing yards are listed when the passing yards are 244?
SQL QUERY:

Response: SELECT rushing_yards FROM table_28697228_4 WHERE passing_yards LIKE '%244%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_73968 (
    "No." real,
    "#" real,
    "Title" text,
    "Directed by" text,
    "Written by" text,
    "Patient Portrayer" text,
    "Original air date" text,
    "Production code" text
)

QUESTION: What is the total number of patient portayers for the episode directed by Craig Zisk and written by Brad Falchuk?
SQL QUERY:

Response: SELECT COUNT("Patient Portrayer") FROM table_73968 WHERE "Directed by" LIKE '%craig zisk%' AND "Written by" LIKE '%brad falchuk%'


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_94 (
    circuit VARCHAR,
    date VARCHAR
)

QUESTION: what is the circuit when the date is 4 june?
SQL QUERY:

Response: SELECT circuit FROM table_name_94 WHERE date LIKE "%4 june%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_44323 (
    "Week" real,
    "Date" text,
    "Opponent" text,
    "Result" text,
    "Attendance" real
)

QUESTION: What's the lowest attendance recorded for week 15?
SQL QUERY:

Response: SELECT MIN("Attendance") FROM table_44323 WHERE "Week" = 15


Prompt:
TABLE DESCRIPTION:
CREATE TABLE Sportsinfo (
    gamesplayed INTEGER
)

QUESTION: How many games are played for all students?
SQL QUERY:

Response: SELECT SUM(gamesplayed) FROM Sportsinfo


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_66 (
    tournament VARCHAR,
    score VARCHAR
)

QUESTION: Where was the tournament where the score was 1 6, 6 3, 3 6?
SQL QUERY:

Response: SELECT tournament FROM table_name_66 WHERE score LIKE "%1–6, 6–3, 3–6%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_29 (
    venue VARCHAR,
    loser VARCHAR
)

QUESTION: For which venue did Leicester City lose?
SQL QUERY:

Response: SELECT venue FROM table_name_29 WHERE loser LIKE "%leicester city%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_16 (
    round INTEGER,
    college VARCHAR,
    pick VARCHAR
)

QUESTION: What was the earliest round that Purdue had a pick larger than 10?
SQL QUERY:

Response: SELECT MIN(round) FROM table_name_16 WHERE college LIKE '%purdue%' AND pick > 10


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_name_42 (
    date VARCHAR,
    host_team VARCHAR
)

QUESTION: On what date did the New York Giants host a game?
SQL QUERY:

Response: SELECT date FROM table_name_42 WHERE host_team LIKE "%new york giants%"


Prompt:
TABLE DESCRIPTION:
CREATE TABLE table_22875369_3 (
    opponent VARCHAR,
    date VARCHAR
)

QUESTION: Name the opponent for 2-27-10
SQL QUERY:

Response: SELECT opponent FROM table_22875369_3 WHERE date LIKE "%2-27-10%"