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 specific impulse for the engine with a scenario of sr-71 at mach 3.2 (wet)?
CREATE TABLE "specific_fuel_consumption_sfc_specific_i" ( "engine_type" text, "scenario" text, "sfc_in_lb_lbf_h" real, "sfc_in_g_k_n_s" real, "specific_impulse_s" real, "effective_exhaust_velocity_m_s" real );
SELECT "specific_impulse_s" FROM "specific_fuel_consumption_sfc_specific_i" WHERE "scenario"='sr-71 at mach 3.2 (wet)';
2-172348-2
what is the average specific impulse for engines that have a SFC in lb/(lbf·h) of 7.95, and a Effective exhaust velocity (m/s) larger than 4,423
CREATE TABLE "specific_fuel_consumption_sfc_specific_i" ( "engine_type" text, "scenario" text, "sfc_in_lb_lbf_h" real, "sfc_in_g_k_n_s" real, "specific_impulse_s" real, "effective_exhaust_velocity_m_s" real );
SELECT AVG("specific_impulse_s") FROM "specific_fuel_consumption_sfc_specific_i" WHERE "sfc_in_lb_lbf_h"=7.95 AND "effective_exhaust_velocity_m_s">'4,423';
2-172348-2
The draft pick that was taken before round 4 went to what college?
CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, "college" text );
SELECT "college" FROM "draft_picks" WHERE "round"<4;
2-17382391-1
What player went to DePaul University?
CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, "college" text );
SELECT "player" FROM "draft_picks" WHERE "college"='depaul';
2-17382391-1
What is 1st Round, when Team 1 is Sporting Toulon Var (D2)?
CREATE TABLE "round_of_16" ( "team_1" text, "score" text, "team_2" text, "1st_round" text, "2nd_round" text );
SELECT "1st_round" FROM "round_of_16" WHERE "team_1"='sporting toulon var (d2)';
2-16893470-1
What is Score, when 1st Round is 2 - 0, and when Team 2 is Stade Brestois (D1)?
CREATE TABLE "round_of_16" ( "team_1" text, "score" text, "team_2" text, "1st_round" text, "2nd_round" text );
SELECT "score" FROM "round_of_16" WHERE "1st_round"='2 - 0' AND "team_2"='stade brestois (d1)';
2-16893470-1
What is Team 2, when Score is 2 - 1?
CREATE TABLE "round_of_16" ( "team_1" text, "score" text, "team_2" text, "1st_round" text, "2nd_round" text );
SELECT "team_2" FROM "round_of_16" WHERE "score"='2 - 1';
2-16893470-1
What is Viewers, when Event is Johnson Vs. Moraga?
CREATE TABLE "ufc_on_fox_s_nielsen_rating" ( "event" text, "date" text, "rating" text, "share" text, "viewers" text );
SELECT "viewers" FROM "ufc_on_fox_s_nielsen_rating" WHERE "event"='johnson vs. moraga';
2-169660-1
What is Rating, when Event is Johnson Vs. Dodson?
CREATE TABLE "ufc_on_fox_s_nielsen_rating" ( "event" text, "date" text, "rating" text, "share" text, "viewers" text );
SELECT "rating" FROM "ufc_on_fox_s_nielsen_rating" WHERE "event"='johnson vs. dodson';
2-169660-1
What is Event, when Viewers is 2.4 Million, and when Rating is 1.4?
CREATE TABLE "ufc_on_fox_s_nielsen_rating" ( "event" text, "date" text, "rating" text, "share" text, "viewers" text );
SELECT "event" FROM "ufc_on_fox_s_nielsen_rating" WHERE "viewers"='2.4 million' AND "rating"='1.4';
2-169660-1
What is Event, when Date is April 20, 2013?
CREATE TABLE "ufc_on_fox_s_nielsen_rating" ( "event" text, "date" text, "rating" text, "share" text, "viewers" text );
SELECT "event" FROM "ufc_on_fox_s_nielsen_rating" WHERE "date"='april 20, 2013';
2-169660-1
What is Date, when Rating 1.5, and when Event is Johnson Vs. Moraga?
CREATE TABLE "ufc_on_fox_s_nielsen_rating" ( "event" text, "date" text, "rating" text, "share" text, "viewers" text );
SELECT "date" FROM "ufc_on_fox_s_nielsen_rating" WHERE "rating"='1.5' AND "event"='johnson vs. moraga';
2-169660-1
What is Date, when Viewers is 4.4 million?
CREATE TABLE "ufc_on_fox_s_nielsen_rating" ( "event" text, "date" text, "rating" text, "share" text, "viewers" text );
SELECT "date" FROM "ufc_on_fox_s_nielsen_rating" WHERE "viewers"='4.4 million';
2-169660-1
What was Tiger Woods' score?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "score" FROM "third_round" WHERE "player"='tiger woods';
2-16299790-6
How did Justin Leonard of the United States score?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "score" FROM "third_round" WHERE "country"='united states' AND "player"='justin leonard';
2-16299790-6
Which player is from England?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "player" FROM "third_round" WHERE "country"='england';
2-16299790-6
Who scored 74-70-67=211 and placed t5?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "player" FROM "third_round" WHERE "place"='t5' AND "score"='74-70-67=211';
2-16299790-6
Who is the player with a score less than 72 and a to par of +1?
CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );
SELECT "player" FROM "first_round" WHERE "score"<72 AND "to_par"='+1';
2-17245527-3
Who is the player with a to par of +1?
CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );
SELECT "player" FROM "first_round" WHERE "to_par"='+1';
2-17245527-3
What is the to par of player john buczek, who has a t9 place and is from the United States?
CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );
SELECT "to_par" FROM "first_round" WHERE "place"='t9' AND "country"='united states' AND "player"='john buczek';
2-17245527-3
What is the to par of player bobby nichols?
CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );
SELECT "to_par" FROM "first_round" WHERE "player"='bobby nichols';
2-17245527-3
What was the date for XLLP 369?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "date" FROM "release_history" WHERE "catalog"='xllp 369';
2-17388337-3
What was the label in the region of Canada?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "label" FROM "release_history" WHERE "region"='canada';
2-17388337-3
What is the format in the region of Europe with an XLCD369 and a label of XL?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "format" FROM "release_history" WHERE "label"='xl' AND "catalog"='xlcd369' AND "region"='europe';
2-17388337-3
What date was the United States the region?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "date" FROM "release_history" WHERE "region"='united states';
2-17388337-3
What was the label in the region of Argentina and had a format of CD?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "label" FROM "release_history" WHERE "format"='cd' AND "region"='argentina';
2-17388337-3
What is the catalog with the region of the United States?
CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text );
SELECT "catalog" FROM "release_history" WHERE "region"='united states';
2-17388337-3
Can you tell me the Opponent that has the November larger than 26, and the Game larger than 18?
CREATE TABLE "schedule_and_results" ( "game" real, "november" real, "opponent" text, "score" text, "record" text );
SELECT "opponent" FROM "schedule_and_results" WHERE "november">26 AND "game">18;
2-17311417-3
Can you tell me the Record that has the Game of 19?
CREATE TABLE "schedule_and_results" ( "game" real, "november" real, "opponent" text, "score" text, "record" text );
SELECT "record" FROM "schedule_and_results" WHERE "game"=19;
2-17311417-3
Which Date has a Rockets score of 94, and a Game of 66?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "result" text, "rockets_score" real, "opponents" real, "record" text, "streak" text );
SELECT "date" FROM "game_log" WHERE "rockets_score"=94 AND "game"=66;
2-17383542-3
Which Opponent has a Rockets score larger than 86, a Streak of won 1, and Opponents smaller than 101?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "result" text, "rockets_score" real, "opponents" real, "record" text, "streak" text );
SELECT "opponent" FROM "game_log" WHERE "rockets_score">86 AND "streak"='won 1' AND "opponents"<101;
2-17383542-3
Which Opponent has a Rockets score of 107?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "result" text, "rockets_score" real, "opponents" real, "record" text, "streak" text );
SELECT "opponent" FROM "game_log" WHERE "rockets_score"=107;
2-17383542-3
Which Opponent has a Date of march 16?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "result" text, "rockets_score" real, "opponents" real, "record" text, "streak" text );
SELECT "opponent" FROM "game_log" WHERE "date"='march 16';
2-17383542-3
When was the score l 111–122 (ot)?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "date" FROM "game_log" WHERE "score"='l 111–122 (ot)';
2-17340355-7
What was the score on January 26?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "score" FROM "game_log" WHERE "date"='january 26';
2-17340355-7
What game was Minnesota the team?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT COUNT("game") FROM "game_log" WHERE "team"='minnesota';
2-17340355-7
What was the record of Game 43?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "record" FROM "game_log" WHERE "game"=43;
2-17340355-7
What's the record of the game that Leandro Barbosa (32) had the high points?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "record" FROM "game_log" WHERE "high_points"='leandro barbosa (32)';
2-17340355-7
What is the score when the tie no is 29?
CREATE TABLE "first_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "score" FROM "first_round_proper" WHERE "tie_no"='29';
2-17455843-2
What was the tie no when Watford was the away team?
CREATE TABLE "first_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "tie_no" FROM "first_round_proper" WHERE "away_team"='watford';
2-17455843-2
What team was the home team when Luton Town was the home team?
CREATE TABLE "first_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "home_team" FROM "first_round_proper" WHERE "away_team"='luton town';
2-17455843-2
What team was the home team when the tie no was 27?
CREATE TABLE "first_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "home_team" FROM "first_round_proper" WHERE "tie_no"='27';
2-17455843-2
Who played bass in 1994 for the Atlantic label?
CREATE TABLE "discography" ( "year" real, "album" text, "vocals" text, "bass" text, "drums" text, "label" text );
SELECT "bass" FROM "discography" WHERE "label"='atlantic' AND "year"=1994;
2-168409-1
Who played drums for the Gray Race album?
CREATE TABLE "discography" ( "year" real, "album" text, "vocals" text, "bass" text, "drums" text, "label" text );
SELECT "drums" FROM "discography" WHERE "album"='the gray race';
2-168409-1
Which album had Jay Bentley on bass and Bobby Schayer on drums?
CREATE TABLE "discography" ( "year" real, "album" text, "vocals" text, "bass" text, "drums" text, "label" text );
SELECT "album" FROM "discography" WHERE "bass"='jay bentley' AND "drums"='bobby schayer';
2-168409-1
Who played the bass for the Against the Grain album after 1982?
CREATE TABLE "discography" ( "year" real, "album" text, "vocals" text, "bass" text, "drums" text, "label" text );
SELECT "bass" FROM "discography" WHERE "year">1982 AND "album"='against the grain';
2-168409-1
What is the position when lost is less than 7?
CREATE TABLE "premier_division_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("position") FROM "premier_division_final_table" WHERE "lost"<7;
2-17606959-1
What is the largest drawn number when 14 is the position, and goals for is more than 66?
CREATE TABLE "premier_division_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 MAX("drawn") FROM "premier_division_final_table" WHERE "position"=14 AND "goals_for">66;
2-17606959-1
What is the played number with points 1 is 80, and goals for is more than 77?
CREATE TABLE "premier_division_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 COUNT("played") FROM "premier_division_final_table" WHERE "points_1"='80' AND "goals_for">77;
2-17606959-1
What is the number of played when the position is less than 4, and the team is Witton Albion?
CREATE TABLE "premier_division_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 COUNT("played") FROM "premier_division_final_table" WHERE "position"<4 AND "team"='witton albion';
2-17606959-1
What is the position when the points 1 is 61?
CREATE TABLE "premier_division_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 SUM("position") FROM "premier_division_final_table" WHERE "points_1"='61';
2-17606959-1
Where is the locality with Ofsted less than 106478 for Meadowbank Primary and Nursery School?
CREATE TABLE "list_of_schools_in_atherton" ( "school" text, "locality" text, "description" text, "ofsted" real, "website" text );
SELECT "locality" FROM "list_of_schools_in_atherton" WHERE "ofsted"<106478 AND "school"='meadowbank primary and nursery school';
2-1646744-3
What website has an Ofsted less than 106478 in Atherton?
CREATE TABLE "list_of_schools_in_atherton" ( "school" text, "locality" text, "description" text, "ofsted" real, "website" text );
SELECT "website" FROM "list_of_schools_in_atherton" WHERE "ofsted"<106478 AND "locality"='atherton';
2-1646744-3
How many values for Ofsted occurr at Chowbent Primary School?
CREATE TABLE "list_of_schools_in_atherton" ( "school" text, "locality" text, "description" text, "ofsted" real, "website" text );
SELECT COUNT("ofsted") FROM "list_of_schools_in_atherton" WHERE "school"='chowbent primary school';
2-1646744-3
Which League championship is the lowest one that has a Venue of penn state ice pavilion, and a Club of penn state nittany lions men's ice hockey?
CREATE TABLE "sports_teams" ( "sport" text, "league" text, "club" text, "founded" real, "venue" text, "league_championships" real, "championship_years" text );
SELECT MIN("league_championships") FROM "sports_teams" WHERE "venue"='penn state ice pavilion' AND "club"='penn state nittany lions men''s ice hockey';
2-1629356-1
How much Founded has a League championships larger than 0, and a Club of penn state nittany lions women's volleyball?
CREATE TABLE "sports_teams" ( "sport" text, "league" text, "club" text, "founded" real, "venue" text, "league_championships" real, "championship_years" text );
SELECT COUNT("founded") FROM "sports_teams" WHERE "league_championships">0 AND "club"='penn state nittany lions women''s volleyball';
2-1629356-1
Which Venue has a League of ncaa, and a Founded smaller than 1965, and a Club of penn state nittany lions men's ice hockey?
CREATE TABLE "sports_teams" ( "sport" text, "league" text, "club" text, "founded" real, "venue" text, "league_championships" real, "championship_years" text );
SELECT "venue" FROM "sports_teams" WHERE "league"='ncaa' AND "founded"<1965 AND "club"='penn state nittany lions men''s ice hockey';
2-1629356-1
What is the total when the Hindu is greater than 1,076, in the Jawa Barat province?
CREATE TABLE "census_of_2010" ( "province" text, "total" real, "hindu" real, "pct_hindu_2010" text, "pct_hindu_2000" text );
SELECT COUNT("total") FROM "census_of_2010" WHERE "hindu">'1,076' AND "province"='jawa barat';
2-1736936-2
What % Hindu 2010 has a 0.01% % Hindu 2000, and a greater than 136 Hindu?
CREATE TABLE "census_of_2010" ( "province" text, "total" real, "hindu" real, "pct_hindu_2010" text, "pct_hindu_2000" text );
SELECT "pct_hindu_2010" FROM "census_of_2010" WHERE "pct_hindu_2000"='0.01%' AND "hindu">136;
2-1736936-2
What is the freestyle leg for the Netherlands?
CREATE TABLE "final" ( "country" text, "backstroke_leg" text, "breaststroke_leg" text, "butterfly_leg" text, "freestyle_leg" text );
SELECT "freestyle_leg" FROM "final" WHERE "country"='netherlands';
2-16330449-3
In which state did Marquis Li rule?
CREATE TABLE "vassal_states" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text, "from" text );
SELECT "state" FROM "vassal_states" WHERE "name"='li' AND "title"='marquis';
2-17338226-13
What was the Royal House for the state of Song?
CREATE TABLE "vassal_states" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text, "from" text );
SELECT "royal_house" FROM "vassal_states" WHERE "state"='song';
2-17338226-13
What type of state was Chu?
CREATE TABLE "vassal_states" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text, "from" text );
SELECT "type" FROM "vassal_states" WHERE "state"='chu';
2-17338226-13
What type of state was Lu, when Yi was the ruler from the royal house of Ji?
CREATE TABLE "vassal_states" ( "state" text, "type" text, "name" text, "title" text, "royal_house" text, "from" text );
SELECT "type" FROM "vassal_states" WHERE "royal_house"='ji' AND "name"='yi' AND "state"='lu';
2-17338226-13
What is Score, when Competition is "Euro 2004 Qualifier"?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "score" FROM "international_goals" WHERE "competition"='euro 2004 qualifier';
2-17373851-1
What is Competition, when Date is "28 March 2001"?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "competition" FROM "international_goals" WHERE "date"='28 march 2001';
2-17373851-1
who is the opponent on 2004-06-26 with the result of loss?
CREATE TABLE "kickboxing_record" ( "date" text, "result" text, "opponent" text, "event" text, "location" text, "method" text, "record" text );
SELECT "opponent" FROM "kickboxing_record" WHERE "date"='2004-06-26' AND "result"='loss';
2-17572198-1
what is the location when the opponent is aleksandr pitchkounov?
CREATE TABLE "kickboxing_record" ( "date" text, "result" text, "opponent" text, "event" text, "location" text, "method" text, "record" text );
SELECT "location" FROM "kickboxing_record" WHERE "opponent"='aleksandr pitchkounov';
2-17572198-1
what is the event when the location is saitama, japan?
CREATE TABLE "kickboxing_record" ( "date" text, "result" text, "opponent" text, "event" text, "location" text, "method" text, "record" text );
SELECT "event" FROM "kickboxing_record" WHERE "location"='saitama, japan';
2-17572198-1
what is the location when the event is k-1 world grand prix 2004 in saitama?
CREATE TABLE "kickboxing_record" ( "date" text, "result" text, "opponent" text, "event" text, "location" text, "method" text, "record" text );
SELECT "location" FROM "kickboxing_record" WHERE "event"='k-1 world grand prix 2004 in saitama';
2-17572198-1
what is the record when the result is win on 2004-06-26?
CREATE TABLE "kickboxing_record" ( "date" text, "result" text, "opponent" text, "event" text, "location" text, "method" text, "record" text );
SELECT "record" FROM "kickboxing_record" WHERE "result"='win' AND "date"='2004-06-26';
2-17572198-1
what is the event when the result is loss and the record is 7-5?
CREATE TABLE "kickboxing_record" ( "date" text, "result" text, "opponent" text, "event" text, "location" text, "method" text, "record" text );
SELECT "event" FROM "kickboxing_record" WHERE "result"='loss' AND "record"='7-5';
2-17572198-1
What is the date of the game with a result of W 13-10?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "date" FROM "schedule" WHERE "result"='w 13-10';
2-16710965-2
What is the total number of Total(s), when Finish is "T21", and when To Par is greater than 23?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real, "finish" text );
SELECT COUNT("total") FROM "made_the_cut" WHERE "finish"='t21' AND "to_par">23;
2-17290150-2
What is Finish, when Total is "306"?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real, "finish" text );
SELECT "finish" FROM "made_the_cut" WHERE "total"=306;
2-17290150-2
What is the total number of To Par, when Player is "Julius Boros", and when Total is greater than 295?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real, "finish" text );
SELECT COUNT("to_par") FROM "made_the_cut" WHERE "player"='julius boros' AND "total">295;
2-17290150-2
What is the total number of To Par, when Total is "295"?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real, "finish" text );
SELECT COUNT("to_par") FROM "made_the_cut" WHERE "total"=295;
2-17290150-2
What is the lowest Total, when Year(s) Won is "1948 , 1950 , 1951 , 1953"?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real, "finish" text );
SELECT MIN("total") FROM "made_the_cut" WHERE "year_s_won"='1948 , 1950 , 1951 , 1953';
2-17290150-2
What is the sum of Year, when Role is "himself", and when Notes is "celebrity guest alongside yg family"?
CREATE TABLE "television" ( "year" real, "title" text, "role" text, "network" text, "notes" text );
SELECT SUM("year") FROM "television" WHERE "role"='himself' AND "notes"='celebrity guest alongside yg family';
2-17241270-6
What is the highest Year, when Notes is "Celebrity Guest Alongside YG Family"?
CREATE TABLE "television" ( "year" real, "title" text, "role" text, "network" text, "notes" text );
SELECT MAX("year") FROM "television" WHERE "notes"='celebrity guest alongside yg family';
2-17241270-6
What is the Year, when Role is "himself", and when Title is "Epik High's Love And Delusion"?
CREATE TABLE "television" ( "year" real, "title" text, "role" text, "network" text, "notes" text );
SELECT "year" FROM "television" WHERE "role"='himself' AND "title"='epik high''s love and delusion';
2-17241270-6
What is the sum of Year, when Title is "Mnet Director's Cut"?
CREATE TABLE "television" ( "year" real, "title" text, "role" text, "network" text, "notes" text );
SELECT SUM("year") FROM "television" WHERE "title"='mnet director''s cut';
2-17241270-6
What is the Network, when Title is "Epik High's Love And Delusion"?
CREATE TABLE "television" ( "year" real, "title" text, "role" text, "network" text, "notes" text );
SELECT "network" FROM "television" WHERE "title"='epik high''s love and delusion';
2-17241270-6
How many were in attendance during week 12?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "attendance" FROM "schedule" WHERE "week"=12;
2-16644703-2
On what date was the Result l 38-14?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "date" FROM "schedule" WHERE "result"='l 38-14';
2-16644703-2
On what date was the week less than 3 with a result of w 24-13?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "date" FROM "schedule" WHERE "week"<3 AND "result"='w 24-13';
2-16644703-2
what is the water park with the rank 20?
CREATE TABLE "water_parks_in_terms_of_attendance" ( "rank" real, "water_park" text, "location" text, "2011" real, "2012" real );
SELECT "water_park" FROM "water_parks_in_terms_of_attendance" WHERE "rank"=20;
2-16578883-7
what is 2011 when the rank is less than 8 and the water park is ocean world?
CREATE TABLE "water_parks_in_terms_of_attendance" ( "rank" real, "water_park" text, "location" text, "2011" real, "2012" real );
SELECT SUM("2011") FROM "water_parks_in_terms_of_attendance" WHERE "rank"<8 AND "water_park"='ocean world';
2-16578883-7
what is the lowest 2011 for sunway lagoon water park and 2012 is less than 1,200,000?
CREATE TABLE "water_parks_in_terms_of_attendance" ( "rank" real, "water_park" text, "location" text, "2011" real, "2012" real );
SELECT MIN("2011") FROM "water_parks_in_terms_of_attendance" WHERE "water_park"='sunway lagoon' AND "2012"<'1,200,000';
2-16578883-7
What percentage of Azad Kashmir is Hindu?
CREATE TABLE "demographics" ( "area" text, "population" text, "pct_muslim" text, "pct_hindu" text, "pct_buddhist" text, "pct_other" text );
SELECT "pct_hindu" FROM "demographics" WHERE "area"='azad kashmir';
2-17337-1
What area shows % Hindu of statistics from the bbc in depth report.?
CREATE TABLE "demographics" ( "area" text, "population" text, "pct_muslim" text, "pct_hindu" text, "pct_buddhist" text, "pct_other" text );
SELECT "area" FROM "demographics" WHERE "pct_hindu"='statistics from the bbc in depth report.';
2-17337-1
What is the population when the % Muslim shows 30%?
CREATE TABLE "demographics" ( "area" text, "population" text, "pct_muslim" text, "pct_hindu" text, "pct_buddhist" text, "pct_other" text );
SELECT "population" FROM "demographics" WHERE "pct_muslim"='30%';
2-17337-1
What is the percentage of Buddhist when the Population is ~2.6 million (2.6million)?
CREATE TABLE "demographics" ( "area" text, "population" text, "pct_muslim" text, "pct_hindu" text, "pct_buddhist" text, "pct_other" text );
SELECT "pct_buddhist" FROM "demographics" WHERE "population"='~2.6 million (2.6million)';
2-17337-1
What area has a % Other of –, and a % Muslim of 95%?
CREATE TABLE "demographics" ( "area" text, "population" text, "pct_muslim" text, "pct_hindu" text, "pct_buddhist" text, "pct_other" text );
SELECT "area" FROM "demographics" WHERE "pct_other"='–' AND "pct_muslim"='95%';
2-17337-1
What area has a percentage of other of 3%?
CREATE TABLE "demographics" ( "area" text, "population" text, "pct_muslim" text, "pct_hindu" text, "pct_buddhist" text, "pct_other" text );
SELECT "area" FROM "demographics" WHERE "pct_other"='3%';
2-17337-1
What Game had a Result of 125-123 (OT)?
CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text );
SELECT "game" FROM "nba_finals" WHERE "result"='125-123 (ot)';
2-17164298-4
What is the Date of Game 5 with Road Team St. Louis?
CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text );
SELECT "date" FROM "nba_finals" WHERE "road_team"='st. louis' AND "game"='game 5';
2-17164298-4
What is the Road Team of Game 3?
CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text );
SELECT "road_team" FROM "nba_finals" WHERE "game"='game 3';
2-17164298-4
What is the Game on April 13 with Road Team St. Louis?
CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text );
SELECT "game" FROM "nba_finals" WHERE "road_team"='st. louis' AND "date"='april 13';
2-17164298-4
What is the Home Team in the game with a Result of 124-109?
CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text );
SELECT "home_team" FROM "nba_finals" WHERE "result"='124-109';
2-17164298-4