question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What is the number of goals against when the played is more than 38?
CREATE TABLE "group_ii" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );
SELECT COUNT("goals_against") FROM "group_ii" WHERE "played">38;
2-17619574-4
What is the number of draws when played is less than 38?
CREATE TABLE "group_ii" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );
SELECT COUNT("draws") FROM "group_ii" WHERE "played"<38;
2-17619574-4
What is the points when played is less than 38?
CREATE TABLE "group_ii" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );
SELECT SUM("points") FROM "group_ii" WHERE "played"<38;
2-17619574-4
Which Transfer window has a Name of tofas?
CREATE TABLE "squad_changes" ( "nat" text, "name" text, "moving_to" text, "type" text, "transfer_window" text, "transfer_fee" text );
SELECT "transfer_window" FROM "squad_changes" WHERE "name"='tofas';
2-17426846-5
Which Type has a Transfer fee of free, and a Name of kapetanos?
CREATE TABLE "squad_changes" ( "nat" text, "name" text, "moving_to" text, "type" text, "transfer_window" text, "transfer_fee" text );
SELECT "type" FROM "squad_changes" WHERE "transfer_fee"='free' AND "name"='kapetanos';
2-17426846-5
Which Type has a Name of edson ratinho?
CREATE TABLE "squad_changes" ( "nat" text, "name" text, "moving_to" text, "type" text, "transfer_window" text, "transfer_fee" text );
SELECT "type" FROM "squad_changes" WHERE "name"='edson ratinho';
2-17426846-5
Which Name has a Type of loan, and a Moving to of apollon kalamaria?
CREATE TABLE "squad_changes" ( "nat" text, "name" text, "moving_to" text, "type" text, "transfer_window" text, "transfer_fee" text );
SELECT "name" FROM "squad_changes" WHERE "type"='loan' AND "moving_to"='apollon kalamaria';
2-17426846-5
What is Location, when Circuit is August 16?
CREATE TABLE "calendar_and_results" ( "circuit" text, "location" text, "date" text, "pole_position" text, "fastest_lap" text, "winner" text );
SELECT "location" FROM "calendar_and_results" WHERE "circuit"='august 16';
2-16740136-1
What is Location, when Fastest Lap is Ben Spies, when Pole Position is Ben Spies, when Winner is Ben Spies, and when Date is Tooele, Utah?
CREATE TABLE "calendar_and_results" ( "circuit" text, "location" text, "date" text, "pole_position" text, "fastest_lap" text, "winner" text );
SELECT "location" FROM "calendar_and_results" WHERE "fastest_lap"='ben spies' AND "pole_position"='ben spies' AND "winner"='ben spies' AND "date"='tooele, utah';
2-16740136-1
What is Fastest Lap, when Date is Leeds, Alabama, and when Circuit is April 19?
CREATE TABLE "calendar_and_results" ( "circuit" text, "location" text, "date" text, "pole_position" text, "fastest_lap" text, "winner" text );
SELECT "fastest_lap" FROM "calendar_and_results" WHERE "date"='leeds, alabama' AND "circuit"='april 19';
2-16740136-1
What is Winner, when Circuit is June 8?
CREATE TABLE "calendar_and_results" ( "circuit" text, "location" text, "date" text, "pole_position" text, "fastest_lap" text, "winner" text );
SELECT "winner" FROM "calendar_and_results" WHERE "circuit"='june 8';
2-16740136-1
What is Pole Position, when Fastest Lap is Ben Spies, and when Location is Barber Motorsports Park?
CREATE TABLE "calendar_and_results" ( "circuit" text, "location" text, "date" text, "pole_position" text, "fastest_lap" text, "winner" text );
SELECT "pole_position" FROM "calendar_and_results" WHERE "fastest_lap"='ben spies' AND "location"='barber motorsports park';
2-16740136-1
What is Winner, when Pole Position is Ben Spies, and when Date is Elkhart Lake, Wisconsin?
CREATE TABLE "calendar_and_results" ( "circuit" text, "location" text, "date" text, "pole_position" text, "fastest_lap" text, "winner" text );
SELECT "winner" FROM "calendar_and_results" WHERE "pole_position"='ben spies' AND "date"='elkhart lake, wisconsin';
2-16740136-1
What is the Surface of the court in the match with a Score of 4–6, 6–4, 3–6?
CREATE TABLE "doubles_12_6_6" ( "outcome" text, "year" real, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "surface" FROM "doubles_12_6_6" WHERE "score"='4–6, 6–4, 3–6';
2-1723516-3
Which Team has a Year larger than 2010?
CREATE TABLE "24_hours_of_le_mans_results" ( "year" real, "team" text, "co_drivers" text, "class" text, "laps" real, "pos" text, "class_pos" text );
SELECT "team" FROM "24_hours_of_le_mans_results" WHERE "year">2010;
2-17402144-1
Which Laps has a Year of 2007?
CREATE TABLE "24_hours_of_le_mans_results" ( "year" real, "team" text, "co_drivers" text, "class" text, "laps" real, "pos" text, "class_pos" text );
SELECT AVG("laps") FROM "24_hours_of_le_mans_results" WHERE "year"=2007;
2-17402144-1
What was the tie number with the home team of Swindon Town?
CREATE TABLE "third_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text );
SELECT "tie_no" FROM "third_round_proper" WHERE "home_team"='swindon town';
2-16222274-4
What was the tie number with the away team of Sheffield Wednesday?
CREATE TABLE "third_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text );
SELECT "tie_no" FROM "third_round_proper" WHERE "away_team"='sheffield wednesday';
2-16222274-4
What was the score for the match with tie number 23?
CREATE TABLE "third_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text );
SELECT "score" FROM "third_round_proper" WHERE "tie_no"='23';
2-16222274-4
Who was the home team for the match against Arsenal?
CREATE TABLE "third_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text );
SELECT "home_team" FROM "third_round_proper" WHERE "away_team"='arsenal';
2-16222274-4
Which player has United States as the country, more money ($) than 535,000, t10 as the place, with 73-68-73-74=288 as the score?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "player" FROM "final_round" WHERE "country"='united states' AND "money">'535,000' AND "place"='t10' AND "score"='73-68-73-74=288';
2-17162166-7
Which place is payne stewart, the player in?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "place" FROM "final_round" WHERE "player"='payne stewart';
2-17162166-7
What player has +7 as the to par, and 69-69-75-74=287 as the score?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "player" FROM "final_round" WHERE "to_par"='+7' AND "score"='69-69-75-74=287';
2-17162166-7
Which tournaments was Ryan Palmer in as a runner-up?
CREATE TABLE "pga_tour_8" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "tournament" FROM "pga_tour_8" WHERE "runner_s_up"='ryan palmer';
2-1646050-1
What was the margin of victory for the Players Championship tournament?
CREATE TABLE "pga_tour_8" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "margin_of_victory" FROM "pga_tour_8" WHERE "tournament"='the players championship';
2-1646050-1
What tournament was Kirk Triplett a runner-up in?
CREATE TABLE "pga_tour_8" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "tournament" FROM "pga_tour_8" WHERE "runner_s_up"='kirk triplett';
2-1646050-1
What is the winning score for the B.C. Open 1 tournament?
CREATE TABLE "pga_tour_8" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "winning_score" FROM "pga_tour_8" WHERE "tournament"='b.c. open 1';
2-1646050-1
What country is Lee Janzen from?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "third_round" WHERE "player"='lee janzen';
2-17162239-5
When Tom Watson placed t6, what was the 2 par?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "to_par" FROM "third_round" WHERE "place"='t6' AND "player"='tom watson';
2-17162239-5
Who had a score of 70-69-70=209?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "player" FROM "third_round" WHERE "score"='70-69-70=209';
2-17162239-5
What was the Opponent in the Tarragona Tournament?
CREATE TABLE "singles_12_8" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "opponent" FROM "singles_12_8" WHERE "tournament"='tarragona';
2-16965329-4
What Tournament's Score was 6–2, 4–6, 6–4?
CREATE TABLE "singles_12_8" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "tournament" FROM "singles_12_8" WHERE "score"='6–2, 4–6, 6–4';
2-16965329-4
On what Date was the match with a Score of 6-2, 6-4?
CREATE TABLE "singles_12_8" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "date" FROM "singles_12_8" WHERE "score"='6-2, 6-4';
2-16965329-4
How many years had the best actress in a Revival category?
CREATE TABLE "awards_and_honors" ( "year" real, "award" text, "category" text, "nominated_work" text, "result" text );
SELECT COUNT("year") FROM "awards_and_honors" WHERE "category"='best actress in a revival';
2-1715351-1
What categories had a Nominated work of yerma before 1992?
CREATE TABLE "awards_and_honors" ( "year" real, "award" text, "category" text, "nominated_work" text, "result" text );
SELECT "category" FROM "awards_and_honors" WHERE "year"<1992 AND "nominated_work"='yerma';
2-1715351-1
How many times is the shot volume (cm3) less than 172.76?
CREATE TABLE "english_gun_classes_c_1800_citation_need" ( "gun_class_pdr" real, "shot_diameter_cm" real, "shot_volume_cm_3" real, "approx_service_bore_cm" real, "mass_of_projectile_kg" real );
SELECT COUNT("shot_diameter_cm") FROM "english_gun_classes_c_1800_citation_need" WHERE "shot_volume_cm_3"<172.76;
2-175965-2
what is the average shot volume (cm 3) when the shot diameter (cm) is less than 6.04?
CREATE TABLE "english_gun_classes_c_1800_citation_need" ( "gun_class_pdr" real, "shot_diameter_cm" real, "shot_volume_cm_3" real, "approx_service_bore_cm" real, "mass_of_projectile_kg" real );
SELECT AVG("shot_volume_cm_3") FROM "english_gun_classes_c_1800_citation_need" WHERE "shot_diameter_cm"<6.04;
2-175965-2
What role was nominated at the Sydney Film Festival?
CREATE TABLE "awards_and_nominations" ( "year" real, "nominated_won" text, "award_category" text, "festival_organization" text, "role" text );
SELECT "role" FROM "awards_and_nominations" WHERE "festival_organization"='sydney film festival';
2-17480544-1
In what category was an award won in 2007?
CREATE TABLE "awards_and_nominations" ( "year" real, "nominated_won" text, "award_category" text, "festival_organization" text, "role" text );
SELECT "award_category" FROM "awards_and_nominations" WHERE "nominated_won"='won' AND "year"=2007;
2-17480544-1
What is the first year that there was a Satellite Award?
CREATE TABLE "awards_and_nominations" ( "year" real, "nominated_won" text, "award_category" text, "festival_organization" text, "role" text );
SELECT MIN("year") FROM "awards_and_nominations" WHERE "festival_organization"='satellite award';
2-17480544-1
What role was at the Sydney Film Festival in 2008?
CREATE TABLE "awards_and_nominations" ( "year" real, "nominated_won" text, "award_category" text, "festival_organization" text, "role" text );
SELECT "role" FROM "awards_and_nominations" WHERE "year"=2008 AND "festival_organization"='sydney film festival';
2-17480544-1
What was nominated for the Jury Award?
CREATE TABLE "awards_and_nominations" ( "year" real, "nominated_won" text, "award_category" text, "festival_organization" text, "role" text );
SELECT "nominated_won" FROM "awards_and_nominations" WHERE "award_category"='jury award';
2-17480544-1
what is the released when the series is sorted 6y/ai?
CREATE TABLE "series_3" ( "series_sorted" text, "title" text, "doctor" text, "featuring" text, "released" text );
SELECT "released" FROM "series_3" WHERE "series_sorted"='6y/ai';
2-1620397-5
who is the featuring when the doctor is the 6th and the series sorted is 6y/ak?
CREATE TABLE "series_3" ( "series_sorted" text, "title" text, "doctor" text, "featuring" text, "released" text );
SELECT "featuring" FROM "series_3" WHERE "doctor"='6th' AND "series_sorted"='6y/ak';
2-1620397-5
what is the series sorted when the released is may 2012?
CREATE TABLE "series_3" ( "series_sorted" text, "title" text, "doctor" text, "featuring" text, "released" text );
SELECT "series_sorted" FROM "series_3" WHERE "released"='may 2012';
2-1620397-5
who is the featuring when the series sorted is 6eb/b?
CREATE TABLE "series_3" ( "series_sorted" text, "title" text, "doctor" text, "featuring" text, "released" text );
SELECT "featuring" FROM "series_3" WHERE "series_sorted"='6eb/b';
2-1620397-5
Which Country has a Year(s) won of 1977?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real );
SELECT "country" FROM "missed_the_cut" WHERE "year_s_won"='1977';
2-17231246-3
Which To par is the lowest one that has a Year(s) won of 1962, 1967, 1972, 1980, and a Total larger than 149?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real );
SELECT MIN("to_par") FROM "missed_the_cut" WHERE "year_s_won"='1962, 1967, 1972, 1980' AND "total">149;
2-17231246-3
Which Country has a Total of 148?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real );
SELECT "country" FROM "missed_the_cut" WHERE "total"=148;
2-17231246-3
Which Year(s) won has a Total of 147?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real );
SELECT "year_s_won" FROM "missed_the_cut" WHERE "total"=147;
2-17231246-3
Which To par is the highest one that has a Total smaller than 148?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real );
SELECT MAX("to_par") FROM "missed_the_cut" WHERE "total"<148;
2-17231246-3
Who is the candidate in the 2008 (2) election?
CREATE TABLE "table_presidential_elections" ( "election" text, "candidate" text, "number_of_votes" text, "share_of_votes" text, "outcome_of_election" text );
SELECT "candidate" FROM "table_presidential_elections" WHERE "election"='2008 (2)';
2-1725076-2
What is the share of votes in the 2008 (1) election?
CREATE TABLE "table_presidential_elections" ( "election" text, "candidate" text, "number_of_votes" text, "share_of_votes" text, "outcome_of_election" text );
SELECT "share_of_votes" FROM "table_presidential_elections" WHERE "election"='2008 (1)';
2-1725076-2
What is the share of votes in the 2000 (2nd) election?
CREATE TABLE "table_presidential_elections" ( "election" text, "candidate" text, "number_of_votes" text, "share_of_votes" text, "outcome_of_election" text );
SELECT "share_of_votes" FROM "table_presidential_elections" WHERE "election"='2000 (2nd)';
2-1725076-2
What is the election with an outcome of ndc opposition and 2,728,241 votes?
CREATE TABLE "table_presidential_elections" ( "election" text, "candidate" text, "number_of_votes" text, "share_of_votes" text, "outcome_of_election" text );
SELECT "election" FROM "table_presidential_elections" WHERE "outcome_of_election"='ndc opposition' AND "number_of_votes"='2,728,241';
2-1725076-2
What is the outcome of the election with 43.3% share of votes?
CREATE TABLE "table_presidential_elections" ( "election" text, "candidate" text, "number_of_votes" text, "share_of_votes" text, "outcome_of_election" text );
SELECT "outcome_of_election" FROM "table_presidential_elections" WHERE "share_of_votes"='43.3%';
2-1725076-2
Who is the candidate in the 2012 election?
CREATE TABLE "table_presidential_elections" ( "election" text, "candidate" text, "number_of_votes" text, "share_of_votes" text, "outcome_of_election" text );
SELECT "candidate" FROM "table_presidential_elections" WHERE "election"='2012';
2-1725076-2
What is Mark O'Meara's Score?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "score" FROM "final_round" WHERE "player"='mark o''meara';
2-17231267-6
What is Curtis Strange's Score?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "score" FROM "final_round" WHERE "player"='curtis strange';
2-17231267-6
What is the Catalog number of the CBS Track "It's Automatic"?
CREATE TABLE "release_history" ( "date" real, "tracks" text, "length" text, "label" text, "catalog" text );
SELECT "catalog" FROM "release_history" WHERE "label"='cbs' AND "tracks"='\"it''s automatic\"';
2-17071146-1
What is the Tracks of the release in Catalog BA 222304 with a Length of 2:57?
CREATE TABLE "release_history" ( "date" real, "tracks" text, "length" text, "label" text, "catalog" text );
SELECT "tracks" FROM "release_history" WHERE "catalog"='ba 222304' AND "length"='2:57';
2-17071146-1
On what Date did Columbia release the Track "Do it again"?
CREATE TABLE "release_history" ( "date" real, "tracks" text, "length" text, "label" text, "catalog" text );
SELECT SUM("date") FROM "release_history" WHERE "label"='columbia' AND "tracks"='\"do it again\"';
2-17071146-1
What is the highest Match No., when Date is 2008-03-21, and when Time is 16:00?
CREATE TABLE "group_2" ( "match_no" real, "date" text, "time" text, "score" text, "venue" text, "match_report" text );
SELECT MAX("match_no") FROM "group_2" WHERE "date"='2008-03-21' AND "time"='16:00';
2-16330909-4
What was the venue for runs 325/6?
CREATE TABLE "highest_team_totals_against" ( "rank" text, "runs" text, "opponent" text, "venue" text, "season" text );
SELECT "venue" FROM "highest_team_totals_against" WHERE "runs"='325/6';
2-16351707-2
What season were the runs 310/9?
CREATE TABLE "highest_team_totals_against" ( "rank" text, "runs" text, "opponent" text, "venue" text, "season" text );
SELECT "season" FROM "highest_team_totals_against" WHERE "runs"='310/9';
2-16351707-2
What were the runs for the opponent from the West Indies?
CREATE TABLE "highest_team_totals_against" ( "rank" text, "runs" text, "opponent" text, "venue" text, "season" text );
SELECT "runs" FROM "highest_team_totals_against" WHERE "opponent"='west indies';
2-16351707-2
Which Place has a Country of united states, and Money ($) larger than 145,000, and a To par of –2, and a Score of 70-66-73-69=278?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "place" FROM "final_round" WHERE "country"='united states' AND "money">'145,000' AND "to_par"='–2' AND "score"='70-66-73-69=278';
2-17162239-6
Which Money ($) has a Score of 70-66-73-69=278?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT AVG("money") FROM "final_round" WHERE "score"='70-66-73-69=278';
2-17162239-6
How many rounds did the match last with Sam Sotello as the opponent?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "location" text );
SELECT AVG("round") FROM "mixed_martial_arts_record" WHERE "opponent"='sam sotello';
2-17440303-2
What is the record for the loss in UFC 62?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "location" text );
SELECT "record" FROM "mixed_martial_arts_record" WHERE "res"='loss' AND "event"='ufc 62';
2-17440303-2
What is the part 4 with *heguldun *febungun in part 3?
CREATE TABLE "class_7" ( "subclass" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text );
SELECT "part_4" FROM "class_7" WHERE "part_3"='*heguldun *febungun';
2-1745843-3
What is the part 3 with *hegait in part 2?
CREATE TABLE "class_7" ( "subclass" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text );
SELECT "part_3" FROM "class_7" WHERE "part_2"='*hegait';
2-1745843-3
What is the part 4 with *hlaupaną *stautaną in part 1?
CREATE TABLE "class_7" ( "subclass" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text );
SELECT "part_4" FROM "class_7" WHERE "part_1"='*hlaupaną *stautaną';
2-1745843-3
What is the verb meaning of *haldaną *fanhaną in part 1?
CREATE TABLE "class_7" ( "subclass" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text );
SELECT "verb_meaning" FROM "class_7" WHERE "part_1"='*haldaną *fanhaną';
2-1745843-3
Who is sezen aksu's producer?
CREATE TABLE "belgium_cd_track_listings" ( "track" real, "title" text, "songwriter_s" text, "producer_s" text, "length" text );
SELECT "producer_s" FROM "belgium_cd_track_listings" WHERE "songwriter_s"='sezen aksu';
2-16431493-1
Which Title has a Songwriter(s) of hadise açıkgöz, stefaan fernande, elio deepcore?
CREATE TABLE "belgium_cd_track_listings" ( "track" real, "title" text, "songwriter_s" text, "producer_s" text, "length" text );
SELECT "title" FROM "belgium_cd_track_listings" WHERE "songwriter_s"='hadise açıkgöz, stefaan fernande, elio deepcore';
2-16431493-1
Which Title has a Length of 3:32, and a Producer(s) of hadise açıkgöz, yves jongen?
CREATE TABLE "belgium_cd_track_listings" ( "track" real, "title" text, "songwriter_s" text, "producer_s" text, "length" text );
SELECT "title" FROM "belgium_cd_track_listings" WHERE "length"='3:32' AND "producer_s"='hadise açıkgöz, yves jongen';
2-16431493-1
Which Producer(s) has a Track smaller than 8, and a Songwriter(s) of hadise açıkgöz, yves jongen, and a Length of 3:08?
CREATE TABLE "belgium_cd_track_listings" ( "track" real, "title" text, "songwriter_s" text, "producer_s" text, "length" text );
SELECT "producer_s" FROM "belgium_cd_track_listings" WHERE "track"<8 AND "songwriter_s"='hadise açıkgöz, yves jongen' AND "length"='3:08';
2-16431493-1
What is track 6's title?
CREATE TABLE "belgium_cd_track_listings" ( "track" real, "title" text, "songwriter_s" text, "producer_s" text, "length" text );
SELECT "title" FROM "belgium_cd_track_listings" WHERE "track"=6;
2-16431493-1
What company makes the Nokia 700?
CREATE TABLE "ecosystem_operators_mobile_phone_and_cli" ( "company_name" text, "hardware_model" text, "accreditation_type" text, "accreditation_level" text, "date" text );
SELECT "company_name" FROM "ecosystem_operators_mobile_phone_and_cli" WHERE "hardware_model"='nokia 700';
2-16742756-3
What is the accreditation level for the approved (awarded 05.12.12) date?
CREATE TABLE "ecosystem_operators_mobile_phone_and_cli" ( "company_name" text, "hardware_model" text, "accreditation_type" text, "accreditation_level" text, "date" text );
SELECT "accreditation_level" FROM "ecosystem_operators_mobile_phone_and_cli" WHERE "date"='approved (awarded 05.12.12)';
2-16742756-3
When did Samsung Electronics Co LTD make the GT-i9100?
CREATE TABLE "ecosystem_operators_mobile_phone_and_cli" ( "company_name" text, "hardware_model" text, "accreditation_type" text, "accreditation_level" text, "date" text );
SELECT "date" FROM "ecosystem_operators_mobile_phone_and_cli" WHERE "company_name"='samsung electronics co ltd' AND "hardware_model"='gt-i9100';
2-16742756-3
When the Nokia corporation had an accreditation level of joyn, what was the accreditation type?
CREATE TABLE "ecosystem_operators_mobile_phone_and_cli" ( "company_name" text, "hardware_model" text, "accreditation_type" text, "accreditation_level" text, "date" text );
SELECT "accreditation_type" FROM "ecosystem_operators_mobile_phone_and_cli" WHERE "accreditation_level"='joyn' AND "company_name"='nokia corporation';
2-16742756-3
What is Round, when Record is "4-1"?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text );
SELECT "round" FROM "mixed_martial_arts_record" WHERE "record"='4-1';
2-17440082-2
What is Opponent, when Location is "Tokyo , Japan", when Method is "Decision (unanimous)", and when Record is "4-1"?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text );
SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "location"='tokyo , japan' AND "method"='decision (unanimous)' AND "record"='4-1';
2-17440082-2
What is Method, when Opponent is "Thiago Alves"?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text );
SELECT "method" FROM "mixed_martial_arts_record" WHERE "opponent"='thiago alves';
2-17440082-2
What is Event, when Round is "1", when Location is "Osaka , Japan", and when Method is "TKO (corner stoppage)"?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text );
SELECT "event" FROM "mixed_martial_arts_record" WHERE "round"='1' AND "location"='osaka , japan' AND "method"='tko (corner stoppage)';
2-17440082-2
What is Record, when Event is "UFC 64"?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text );
SELECT "record" FROM "mixed_martial_arts_record" WHERE "event"='ufc 64';
2-17440082-2
What is the Record for a game smaller than 24, Lundqvist was the decision, November less than 8, and opponent Was New York Islanders?
CREATE TABLE "schedule_and_results" ( "game" real, "november" real, "opponent" text, "score" text, "decision" text, "record" text );
SELECT "record" FROM "schedule_and_results" WHERE "game"<24 AND "decision"='lundqvist' AND "november"<8 AND "opponent"='new york islanders';
2-17360905-4
What is the smallest game number with a record of 16-7-2?
CREATE TABLE "schedule_and_results" ( "game" real, "november" real, "opponent" text, "score" text, "decision" text, "record" text );
SELECT MIN("game") FROM "schedule_and_results" WHERE "record"='16-7-2';
2-17360905-4
What is the Score of the game with a decision of Lundqvist, the November less than 28, and opponent was Boston Bruins?
CREATE TABLE "schedule_and_results" ( "game" real, "november" real, "opponent" text, "score" text, "decision" text, "record" text );
SELECT "score" FROM "schedule_and_results" WHERE "decision"='lundqvist' AND "november"<28 AND "opponent"='boston bruins';
2-17360905-4
Where was the 2013 Eaff East Asian Cup Qualifier played?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "venue" FROM "international_goals" WHERE "competition"='2013 eaff east asian cup qualifier';
2-16752369-1
What is the highest amount of points with a goal average larger than 4, less than 12 draws, and a goal of 63?
CREATE TABLE "groupe_a" ( "rank" real, "club" text, "points" real, "played" real, "victories" real, "draws" real, "defeats" real, "goals_for" real, "goals_against" real, "goal_average" real );
SELECT MAX("points") FROM "groupe_a" WHERE "goal_average">4 AND "draws"<12 AND "goals_for"=63;
2-16731956-1
What is the lowest goal for a goal against 37 and less than 15 victories?
CREATE TABLE "groupe_a" ( "rank" real, "club" text, "points" real, "played" real, "victories" real, "draws" real, "defeats" real, "goals_for" real, "goals_against" real, "goal_average" real );
SELECT MIN("goals_for") FROM "groupe_a" WHERE "goals_against"=37 AND "victories"<15;
2-16731956-1
How many goals on average are there for rank 3?
CREATE TABLE "groupe_a" ( "rank" real, "club" text, "points" real, "played" real, "victories" real, "draws" real, "defeats" real, "goals_for" real, "goals_against" real, "goal_average" real );
SELECT AVG("goals_for") FROM "groupe_a" WHERE "rank"=3;
2-16731956-1
What is the average goals against when there are more than 42 played?
CREATE TABLE "final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text );
SELECT AVG("goals_against") FROM "final_table" WHERE "played">42;
2-17605220-1
What is the goal difference for the team from Chorley?
CREATE TABLE "final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text );
SELECT "goal_difference" FROM "final_table" WHERE "team"='chorley';
2-17605220-1
What is T8 Place Player Scott Hoch's Score?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "score" FROM "final_round" WHERE "place"='t8' AND "player"='scott hoch';
2-17129548-6
What is the Place of the Player with a Score of 67-76-74-67=284?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "place" FROM "final_round" WHERE "score"='67-76-74-67=284';
2-17129548-6
What is the Money of the Player with a Score of 69-71-69-72=281?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "money" FROM "final_round" WHERE "score"='69-71-69-72=281';
2-17129548-6