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 general classification for a mountains value of Christophe Moreau and a Team winner of Team CSC? | CREATE TABLE "jersey_progress" (
"stage_winner" text,
"general_classification" text,
"mountains_classification" text,
"points_classification" text,
"combination_classification" text,
"team_classification" text
); | SELECT "general_classification" FROM "jersey_progress" WHERE "mountains_classification"='christophe moreau' AND "team_classification"='team csc'; | 2-11667521-17 |
What is the frequency of KQLX? | CREATE TABLE "am" (
"frequency" text,
"call_sign" text,
"name" text,
"format" text,
"owner" text
); | SELECT "frequency" FROM "am" WHERE "call_sign"='kqlx'; | 2-11527967-4 |
What is the call sign of 1200 am? | CREATE TABLE "am" (
"frequency" text,
"call_sign" text,
"name" text,
"format" text,
"owner" text
); | SELECT "call_sign" FROM "am" WHERE "frequency"='1200 am'; | 2-11527967-4 |
What is the frequency of the talk station? | CREATE TABLE "am" (
"frequency" text,
"call_sign" text,
"name" text,
"format" text,
"owner" text
); | SELECT "frequency" FROM "am" WHERE "format"='talk'; | 2-11527967-4 |
What is the frequency of KFNW? | CREATE TABLE "am" (
"frequency" text,
"call_sign" text,
"name" text,
"format" text,
"owner" text
); | SELECT "frequency" FROM "am" WHERE "call_sign"='kfnw'; | 2-11527967-4 |
What is the constructor for the VII Race of Champions? | CREATE TABLE "non_championship_race_results" (
"race_name" text,
"circuit" text,
"date" text,
"winning_driver" text,
"constructor" text,
"report" text
); | SELECT "constructor" FROM "non_championship_race_results" WHERE "race_name"='vii race of champions'; | 2-1140088-6 |
What is the name of the race won by driver Carlos Reutemann? | CREATE TABLE "non_championship_race_results" (
"race_name" text,
"circuit" text,
"date" text,
"winning_driver" text,
"constructor" text,
"report" text
); | SELECT "race_name" FROM "non_championship_race_results" WHERE "winning_driver"='carlos reutemann'; | 2-1140088-6 |
What is the average rebounds for the player who started in 1986 and who plays SG? | CREATE TABLE "g" (
"player" text,
"pos" text,
"from" real,
"school_country" text,
"rebs" real,
"asts" real
); | SELECT AVG("rebs") FROM "g" WHERE "from"=1986 AND "pos"='sg'; | 2-11482079-8 |
What is the school for player who began in 1986, has fewer rebounds than 711 and plays F? | CREATE TABLE "g" (
"player" text,
"pos" text,
"from" real,
"school_country" text,
"rebs" real,
"asts" real
); | SELECT "school_country" FROM "g" WHERE "from"<1986 AND "rebs"<711 AND "pos"='f'; | 2-11482079-8 |
What is the highest of a player with asts fewer than 0? | CREATE TABLE "g" (
"player" text,
"pos" text,
"from" real,
"school_country" text,
"rebs" real,
"asts" real
); | SELECT MAX("from") FROM "g" WHERE "asts"<0; | 2-11482079-8 |
what is the date when the home is st. louis? | CREATE TABLE "march" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "date" FROM "march" WHERE "home"='st. louis'; | 2-11128774-7 |
Where is the home on march 12? | CREATE TABLE "march" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "home" FROM "march" WHERE "date"='march 12'; | 2-11128774-7 |
what is the decision on the date march 18? | CREATE TABLE "march" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "decision" FROM "march" WHERE "date"='march 18'; | 2-11128774-7 |
What is the total of TCKL in 2000 with a P/KO RET less than 14? | CREATE TABLE "high_school_statistics" (
"year" text,
"tckl" real,
"sack" real,
"p_ko_ret" real,
"yards" real
); | SELECT COUNT("tckl") FROM "high_school_statistics" WHERE "year"='2000' AND "p_ko_ret"<14; | 2-11534210-4 |
What is the highest YARDS with a TCKL more than 51 and less than 2 SACK? | CREATE TABLE "high_school_statistics" (
"year" text,
"tckl" real,
"sack" real,
"p_ko_ret" real,
"yards" real
); | SELECT MAX("yards") FROM "high_school_statistics" WHERE "tckl">51 AND "sack"<2; | 2-11534210-4 |
What is the total of all YARDS with 0 SACK and less than 14 P/KO RET? | CREATE TABLE "high_school_statistics" (
"year" text,
"tckl" real,
"sack" real,
"p_ko_ret" real,
"yards" real
); | SELECT COUNT("yards") FROM "high_school_statistics" WHERE "sack"=0 AND "p_ko_ret"<14; | 2-11534210-4 |
Tell me the name for 2008 club of voléro zürich | CREATE TABLE "women_s_tournament" (
"name" text,
"height" text,
"weight" text,
"spike" text,
"2008_club" text
); | SELECT "name" FROM "women_s_tournament" WHERE "2008_club"='voléro zürich'; | 2-10955187-19 |
What is the pick for West Virginia college? | CREATE TABLE "draft" (
"round" text,
"pick" text,
"player" text,
"position" text,
"nationality" text,
"team" text,
"college" text
); | SELECT "pick" FROM "draft" WHERE "college"='west virginia'; | 2-12087796-3 |
What round has a position of F/C from Iowa College? | CREATE TABLE "draft" (
"round" text,
"pick" text,
"player" text,
"position" text,
"nationality" text,
"team" text,
"college" text
); | SELECT "round" FROM "draft" WHERE "position"='f/c' AND "college"='iowa'; | 2-12087796-3 |
What nationality has a pick of 1? | CREATE TABLE "draft" (
"round" text,
"pick" text,
"player" text,
"position" text,
"nationality" text,
"team" text,
"college" text
); | SELECT "nationality" FROM "draft" WHERE "pick"='1'; | 2-12087796-3 |
Which nationality has a round of 1, and F position from Louisville? | CREATE TABLE "draft" (
"round" text,
"pick" text,
"player" text,
"position" text,
"nationality" text,
"team" text,
"college" text
); | SELECT "nationality" FROM "draft" WHERE "round"='1' AND "position"='f' AND "college"='louisville'; | 2-12087796-3 |
Which team plays at the Arden Street Oval? | CREATE TABLE "round_20" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team" FROM "round_20" WHERE "venue"='arden street oval'; | 2-10823719-20 |
Where does Carlton play? | CREATE TABLE "round_20" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_20" WHERE "home_team"='carlton'; | 2-10823719-20 |
What was the date of the game in which the home team was the Grizzlies and the visiting team was the Timberwolves? | CREATE TABLE "april" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"record" text
); | SELECT "date" FROM "april" WHERE "home"='grizzlies' AND "visitor"='timberwolves'; | 2-11963447-9 |
What is the airing date for costume comedy that has 20 episodes? | CREATE TABLE "third_line_series" (
"airing_date" text,
"english_title_chinese_title" text,
"number_of_episodes" real,
"genre" text,
"official_website" text
); | SELECT "airing_date" FROM "third_line_series" WHERE "number_of_episodes"=20 AND "genre"='costume comedy'; | 2-11173827-4 |
What year was 7th heaven made? | CREATE TABLE "youngest_winners" (
"rank" real,
"name" text,
"film" text,
"year" text,
"date_of_birth" text,
"date_of_award" text
); | SELECT "year" FROM "youngest_winners" WHERE "film"='7th heaven'; | 2-11091558-3 |
What film was made in 1999? | CREATE TABLE "youngest_winners" (
"rank" real,
"name" text,
"film" text,
"year" text,
"date_of_birth" text,
"date_of_award" text
); | SELECT "film" FROM "youngest_winners" WHERE "year"='1999'; | 2-11091558-3 |
what is the city with the height (ft) more than 328.1, rank higher than 56, a height (m) of 103 and floors less than 28? | CREATE TABLE "tallest_buildings" (
"rank" real,
"name" text,
"city" text,
"height_m" real,
"height_ft" real,
"floors" real
); | SELECT "city" FROM "tallest_buildings" WHERE "height_ft">328.1 AND "rank">56 AND "height_m"=103 AND "floors"<28; | 2-11328656-1 |
what is the total of floors when the name is kölntriangle and rank is less thank 63? | CREATE TABLE "tallest_buildings" (
"rank" real,
"name" text,
"city" text,
"height_m" real,
"height_ft" real,
"floors" real
); | SELECT SUM("floors") FROM "tallest_buildings" WHERE "name"='kölntriangle' AND "rank"<63; | 2-11328656-1 |
what is the lowest height (ft) for messeturm and more than 55 floors? | CREATE TABLE "tallest_buildings" (
"rank" real,
"name" text,
"city" text,
"height_m" real,
"height_ft" real,
"floors" real
); | SELECT MIN("height_ft") FROM "tallest_buildings" WHERE "name"='messeturm' AND "floors">55; | 2-11328656-1 |
what is the rank for the city of cologne, floors is 34 and height (ft) is more than 452.8? | CREATE TABLE "tallest_buildings" (
"rank" real,
"name" text,
"city" text,
"height_m" real,
"height_ft" real,
"floors" real
); | SELECT COUNT("rank") FROM "tallest_buildings" WHERE "city"='cologne' AND "floors"=34 AND "height_ft">452.8; | 2-11328656-1 |
Which opponents have an Attendance larger than 61,000, and a Result F–A of 3–2? | CREATE TABLE "group_stage" (
"date" text,
"opponents" text,
"h_a" text,
"result_f_a" text,
"attendance" real,
"group_position" text
); | SELECT "opponents" FROM "group_stage" WHERE "attendance">'61,000' AND "result_f_a"='3–2'; | 2-11115098-6 |
Which Group position has Result F–A of 0–1 on 1 november 2006? | CREATE TABLE "group_stage" (
"date" text,
"opponents" text,
"h_a" text,
"result_f_a" text,
"attendance" real,
"group_position" text
); | SELECT "group_position" FROM "group_stage" WHERE "result_f_a"='0–1' AND "date"='1 november 2006'; | 2-11115098-6 |
What club is R. H. C. Human who has a right arm medium pace bowling style a member of? | CREATE TABLE "batsmen" (
"name" text,
"club" text,
"birth_date" text,
"batting_style" text,
"bowling_style" text
); | SELECT "club" FROM "batsmen" WHERE "bowling_style"='right arm medium pace' AND "name"='r. h. c. human'; | 2-10791018-1 |
What is the birth date of A. J. Holmes who has a right-handed batting style? | CREATE TABLE "batsmen" (
"name" text,
"club" text,
"birth_date" text,
"batting_style" text,
"bowling_style" text
); | SELECT "birth_date" FROM "batsmen" WHERE "batting_style"='right-handed' AND "name"='a. j. holmes'; | 2-10791018-1 |
What is the batting style of the person who has a right arm medium pace bowling style and a birth date of 10 February 1910 (aged 29)? | CREATE TABLE "batsmen" (
"name" text,
"club" text,
"birth_date" text,
"batting_style" text,
"bowling_style" text
); | SELECT "batting_style" FROM "batsmen" WHERE "bowling_style"='right arm medium pace' AND "birth_date"='10 february 1910 (aged 29)'; | 2-10791018-1 |
What is the weight for the v t e of živko gocić category:articles with hcards? | CREATE TABLE "men_s_tournament" (
"name_v_t_e" text,
"pos" text,
"height" text,
"weight" text,
"club" text
); | SELECT "weight" FROM "men_s_tournament" WHERE "name_v_t_e"='živko gocić category:articles with hcards'; | 2-10955187-21 |
What is the weight of the v t e of duško pijetlović category:articles with hcards? | CREATE TABLE "men_s_tournament" (
"name_v_t_e" text,
"pos" text,
"height" text,
"weight" text,
"club" text
); | SELECT "weight" FROM "men_s_tournament" WHERE "name_v_t_e"='duško pijetlović category:articles with hcards'; | 2-10955187-21 |
What was the total for David O'Callaghan, and a Tally of 1-9? | CREATE TABLE "single_game" (
"rank" real,
"player" text,
"county" text,
"tally" text,
"total" real,
"opposition" text
); | SELECT SUM("total") FROM "single_game" WHERE "player"='david o''callaghan' AND "tally"='1-9'; | 2-11190568-5 |
What is the opposition when the tally was 0-11? | CREATE TABLE "single_game" (
"rank" real,
"player" text,
"county" text,
"tally" text,
"total" real,
"opposition" text
); | SELECT "opposition" FROM "single_game" WHERE "tally"='0-11'; | 2-11190568-5 |
What is the tally in Kilkenny county with 10 as the total and opposition of Waterford? | CREATE TABLE "single_game" (
"rank" real,
"player" text,
"county" text,
"tally" text,
"total" real,
"opposition" text
); | SELECT "tally" FROM "single_game" WHERE "county"='kilkenny' AND "total"=10 AND "opposition"='waterford'; | 2-11190568-5 |
What is the average weeks of a song with a larger than 3 position after 1977? | CREATE TABLE "charts" (
"year" real,
"single" text,
"chart" text,
"position" real,
"weeks_on_chart" real
); | SELECT AVG("weeks_on_chart") FROM "charts" WHERE "position">3 AND "year">1977; | 2-11795254-3 |
What is the sum of the weeks on a chart a song with a position less than 1 haas? | CREATE TABLE "charts" (
"year" real,
"single" text,
"chart" text,
"position" real,
"weeks_on_chart" real
); | SELECT SUM("weeks_on_chart") FROM "charts" WHERE "position"<1; | 2-11795254-3 |
What is the earliest year a song with a position less than 1 has? | CREATE TABLE "charts" (
"year" real,
"single" text,
"chart" text,
"position" real,
"weeks_on_chart" real
); | SELECT MIN("year") FROM "charts" WHERE "position"<1; | 2-11795254-3 |
what is the tyre when the entrant is scuderia milano? | CREATE TABLE "entries" (
"driver" text,
"entrant" text,
"constructor" text,
"chassis" text,
"engine" text,
"tyre" text
); | SELECT "tyre" FROM "entries" WHERE "entrant"='scuderia milano'; | 2-1103012-1 |
who is the driver with the engine era 1.5 l6 s and the chassis is era b? | CREATE TABLE "entries" (
"driver" text,
"entrant" text,
"constructor" text,
"chassis" text,
"engine" text,
"tyre" text
); | SELECT "driver" FROM "entries" WHERE "engine"='era 1.5 l6 s' AND "chassis"='era b'; | 2-1103012-1 |
who is the driver when the constructor is maserati, the chassis is maserati 4clt-48 and the tyre is d? | CREATE TABLE "entries" (
"driver" text,
"entrant" text,
"constructor" text,
"chassis" text,
"engine" text,
"tyre" text
); | SELECT "driver" FROM "entries" WHERE "constructor"='maserati' AND "chassis"='maserati 4clt-48' AND "tyre"='d'; | 2-1103012-1 |
who is the constructor when the tyre is d, the engine is talbot 23cv 4.5 l6, the chassis is talbot-lago t26c and the entrant is ecurie belge? | CREATE TABLE "entries" (
"driver" text,
"entrant" text,
"constructor" text,
"chassis" text,
"engine" text,
"tyre" text
); | SELECT "constructor" FROM "entries" WHERE "tyre"='d' AND "engine"='talbot 23cv 4.5 l6' AND "chassis"='talbot-lago t26c' AND "entrant"='ecurie belge'; | 2-1103012-1 |
What is KK -1 if KK -3 is 1,100? | CREATE TABLE "reactor_attributes" (
"kk_1" text,
"kk_2" text,
"kk_3" text,
"kk_4" text,
"kk_5" text,
"kk_6" text,
"kk_7" text
); | SELECT "kk_1" FROM "reactor_attributes" WHERE "kk_3"='1,100'; | 2-11996462-1 |
What is KK -5 if KK - 3 is 310? | CREATE TABLE "reactor_attributes" (
"kk_1" text,
"kk_2" text,
"kk_3" text,
"kk_4" text,
"kk_5" text,
"kk_6" text,
"kk_7" text
); | SELECT "kk_5" FROM "reactor_attributes" WHERE "kk_3"='310'; | 2-11996462-1 |
What is KK - 5 if KK - 1 is 1,067? | CREATE TABLE "reactor_attributes" (
"kk_1" text,
"kk_2" text,
"kk_3" text,
"kk_4" text,
"kk_5" text,
"kk_6" text,
"kk_7" text
); | SELECT "kk_5" FROM "reactor_attributes" WHERE "kk_1"='1,067'; | 2-11996462-1 |
Who is the Winner with a Time of 1:12.00 and Melvin A. Holland as the Jockey? | CREATE TABLE "past_winners" (
"year" text,
"winner" text,
"jockey" text,
"trainer" text,
"owner" text,
"time" text,
"purse" text
); | SELECT "winner" FROM "past_winners" WHERE "time"='1:12.00' AND "jockey"='melvin a. holland'; | 2-11812517-1 |
Which Year has a Purse of $83,925? | CREATE TABLE "past_winners" (
"year" text,
"winner" text,
"jockey" text,
"trainer" text,
"owner" text,
"time" text,
"purse" text
); | SELECT "year" FROM "past_winners" WHERE "purse"='$83,925'; | 2-11812517-1 |
What is the Purse listed for the Year of 1998? | CREATE TABLE "past_winners" (
"year" text,
"winner" text,
"jockey" text,
"trainer" text,
"owner" text,
"time" text,
"purse" text
); | SELECT "purse" FROM "past_winners" WHERE "year"='1998'; | 2-11812517-1 |
What's the Winner in the Year of 2000? | CREATE TABLE "past_winners" (
"year" text,
"winner" text,
"jockey" text,
"trainer" text,
"owner" text,
"time" text,
"purse" text
); | SELECT "winner" FROM "past_winners" WHERE "year"='2000'; | 2-11812517-1 |
What's the WInner with a TIme of 1:10.60, and Owner of Leslie Combs II? | CREATE TABLE "past_winners" (
"year" text,
"winner" text,
"jockey" text,
"trainer" text,
"owner" text,
"time" text,
"purse" text
); | SELECT "winner" FROM "past_winners" WHERE "time"='1:10.60' AND "owner"='leslie combs ii'; | 2-11812517-1 |
Who is the Trainer with the Year of 2013? | CREATE TABLE "past_winners" (
"year" text,
"winner" text,
"jockey" text,
"trainer" text,
"owner" text,
"time" text,
"purse" text
); | SELECT "trainer" FROM "past_winners" WHERE "year"='2013'; | 2-11812517-1 |
What venue features an away side score of 11.11 (77)? | CREATE TABLE "round_17" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_17" WHERE "away_team_score"='11.11 (77)'; | 2-10887680-17 |
Who is the away side when the crowd is over 14,112 with an away team score of 11.11 (77)? | CREATE TABLE "round_17" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team" FROM "round_17" WHERE "crowd">'14,112' AND "away_team_score"='11.11 (77)'; | 2-10887680-17 |
How many points did the away team of st kilda score? | CREATE TABLE "round_10" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team_score" FROM "round_10" WHERE "away_team"='st kilda'; | 2-10809529-10 |
Tell me the date with result of l 13–9 | CREATE TABLE "schedule" (
"week" real,
"date" text,
"tv_time" text,
"opponent" text,
"result" text
); | SELECT "date" FROM "schedule" WHERE "result"='l 13–9'; | 2-11281114-1 |
Tell me the total number of week for w 35–7 | CREATE TABLE "schedule" (
"week" real,
"date" text,
"tv_time" text,
"opponent" text,
"result" text
); | SELECT COUNT("week") FROM "schedule" WHERE "result"='w 35–7'; | 2-11281114-1 |
Tell me the average week for result of l 34–24 | CREATE TABLE "schedule" (
"week" real,
"date" text,
"tv_time" text,
"opponent" text,
"result" text
); | SELECT AVG("week") FROM "schedule" WHERE "result"='l 34–24'; | 2-11281114-1 |
Who was the President of Czechoslovakia when an ambassador's tenure began in 1950? | CREATE TABLE "ambassadors_to_czechoslovakia" (
"name" text,
"tenure_begin" text,
"tenure_end" real,
"british_monarch" text,
"czechoslovak_president" text
); | SELECT "czechoslovak_president" FROM "ambassadors_to_czechoslovakia" WHERE "tenure_begin"='1950'; | 2-11963384-1 |
What is the total share for an episode with an air date of November 19, 2007? | CREATE TABLE "u_s_ratings" (
"episode" text,
"air_date" text,
"rating" real,
"share" real,
"18_49_rating_share" text,
"viewers_m" real,
"weekly_rank" real
); | SELECT SUM("share") FROM "u_s_ratings" WHERE "air_date"='november 19, 2007'; | 2-11178271-1 |
Which manufacturer has a Time/Retired of +15.665? | CREATE TABLE "125cc_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "manufacturer" FROM "125cc_classification" WHERE "time_retired"='+15.665'; | 2-11122001-5 |
What were the laps of aprilia with a grid of 10? | CREATE TABLE "125cc_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "laps" FROM "125cc_classification" WHERE "manufacturer"='aprilia' AND "grid"=10; | 2-11122001-5 |
What was the size of the crowd at the game played at Junction Oval? | CREATE TABLE "round_5" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT AVG("crowd") FROM "round_5" WHERE "venue"='junction oval'; | 2-10824095-5 |
When was the game when North Melbourne was the home team? | CREATE TABLE "round_5" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_5" WHERE "home_team"='north melbourne'; | 2-10824095-5 |
Which School/Club Team does Andrew Jones play for? | CREATE TABLE "cfl_draft" (
"round" real,
"pick" text,
"player" text,
"position" text,
"school_club_team" text
); | SELECT "school_club_team" FROM "cfl_draft" WHERE "player"='andrew jones'; | 2-11994830-1 |
Which School/Club Team did not make it to round 2? | CREATE TABLE "cfl_draft" (
"round" real,
"pick" text,
"player" text,
"position" text,
"school_club_team" text
); | SELECT "school_club_team" FROM "cfl_draft" WHERE "round"<2; | 2-11994830-1 |
Which player is the 24 pick? | CREATE TABLE "cfl_draft" (
"round" real,
"pick" text,
"player" text,
"position" text,
"school_club_team" text
); | SELECT "player" FROM "cfl_draft" WHERE "pick"='24'; | 2-11994830-1 |
What is the average round of the number 16 pick? | CREATE TABLE "cfl_draft" (
"round" real,
"pick" text,
"player" text,
"position" text,
"school_club_team" text
); | SELECT AVG("round") FROM "cfl_draft" WHERE "pick"='16'; | 2-11994830-1 |
How many games were lost where the win percentage is smaller than 16.7 and the played games is 3? | CREATE TABLE "coaches_records" (
"name" text,
"coaching_career" text,
"played" real,
"drawn" real,
"lost" real,
"win_pct" real,
"points_per_game" real
); | SELECT COUNT("lost") FROM "coaches_records" WHERE "win_pct"<16.7 AND "played"=3; | 2-1197359-12 |
Where is pine valley? | CREATE TABLE "top_100_in_the_united_states" (
"rank" real,
"name" text,
"location" text,
"state" text,
"designer_year" text
); | SELECT "location" FROM "top_100_in_the_united_states" WHERE "name"='pine valley'; | 2-11063491-1 |
What is augusta's low rank? | CREATE TABLE "top_100_in_the_united_states" (
"rank" real,
"name" text,
"location" text,
"state" text,
"designer_year" text
); | SELECT MIN("rank") FROM "top_100_in_the_united_states" WHERE "location"='augusta'; | 2-11063491-1 |
Which group has a registration less than 75 in 2011, more then 140 in 2005, and less than 148 in 2002? | CREATE TABLE "listed_breeds" (
"breed_a" text,
"group" text,
"2002_registrations" real,
"2005_registrations" real,
"2011_registrations" real
); | SELECT "group" FROM "listed_breeds" WHERE "2011_registrations">75 AND "2005_registrations">140 AND "2002_registrations"<148; | 2-11099997-2 |
Which Model has the GCM (kg) Technical Capacity of 42000? | CREATE TABLE "specs_and_range" (
"model" text,
"engine_make_capacity" text,
"power_k_w_rpm" text,
"torque_nm_rpm" text,
"gvm_kg_technical_capacity" text,
"gcm_kg_technical_capacity" text
); | SELECT "model" FROM "specs_and_range" WHERE "gcm_kg_technical_capacity"='42000'; | 2-11497980-1 |
Which Model has a GCM (kg) Technical Capacity of 35000, a GVM (kg) Technical Capacity of 16000, and Cummins Interact 6.0-euro III (turbo intercooler) for the Engine? | CREATE TABLE "specs_and_range" (
"model" text,
"engine_make_capacity" text,
"power_k_w_rpm" text,
"torque_nm_rpm" text,
"gvm_kg_technical_capacity" text,
"gcm_kg_technical_capacity" text
); | SELECT "model" FROM "specs_and_range" WHERE "gcm_kg_technical_capacity"='35000' AND "gvm_kg_technical_capacity"='16000' AND "engine_make_capacity"='cummins interact 6.0-euro iii (turbo intercooler)'; | 2-11497980-1 |
Which Torque Nm@rpm has a Power kW@rpm equal to 184 @ 2500 and a GVM (kg) Technical Capacity of 16000? | CREATE TABLE "specs_and_range" (
"model" text,
"engine_make_capacity" text,
"power_k_w_rpm" text,
"torque_nm_rpm" text,
"gvm_kg_technical_capacity" text,
"gcm_kg_technical_capacity" text
); | SELECT "torque_nm_rpm" FROM "specs_and_range" WHERE "power_k_w_rpm"='184 @ 2500' AND "gvm_kg_technical_capacity"='16000'; | 2-11497980-1 |
Which character won before 2006? | CREATE TABLE "star_parivaar_awards" (
"year" real,
"category" text,
"character" text,
"for_the_show" text,
"result" text
); | SELECT "character" FROM "star_parivaar_awards" WHERE "result"='won' AND "year"<2006; | 2-11097204-4 |
In 2004 who was favourite maa? | CREATE TABLE "star_parivaar_awards" (
"year" real,
"category" text,
"character" text,
"for_the_show" text,
"result" text
); | SELECT "character" FROM "star_parivaar_awards" WHERE "category"='favourite maa' AND "year"=2004; | 2-11097204-4 |
What were the results after 2004? | CREATE TABLE "star_parivaar_awards" (
"year" real,
"category" text,
"character" text,
"for_the_show" text,
"result" text
); | SELECT "result" FROM "star_parivaar_awards" WHERE "year">2004; | 2-11097204-4 |
In 2007 what category won? | CREATE TABLE "star_parivaar_awards" (
"year" real,
"category" text,
"character" text,
"for_the_show" text,
"result" text
); | SELECT "category" FROM "star_parivaar_awards" WHERE "result"='won' AND "year"<2007; | 2-11097204-4 |
What's the D 48 √ when the D 40 √ is D 37? | CREATE TABLE "senate_composition_at_the_beginning_of_t" (
"d_39" text,
"d_40" text,
"d_41" text,
"d_42" text,
"d_43" text,
"d_44" text,
"d_45" text,
"d_46" text,
"d_47" text,
"d_48" text
); | SELECT "d_48" FROM "senate_composition_at_the_beginning_of_t" WHERE "d_40"='d 37'; | 2-1134236-6 |
What's the D 42 √ when D 46 √ is majority→? | CREATE TABLE "senate_composition_at_the_beginning_of_t" (
"d_39" text,
"d_40" text,
"d_41" text,
"d_42" text,
"d_43" text,
"d_44" text,
"d_45" text,
"d_46" text,
"d_47" text,
"d_48" text
); | SELECT "d_42" FROM "senate_composition_at_the_beginning_of_t" WHERE "d_46"='majority→'; | 2-1134236-6 |
What's the D 40 √ when D 43 √ is d 14? | CREATE TABLE "senate_composition_at_the_beginning_of_t" (
"d_39" text,
"d_40" text,
"d_41" text,
"d_42" text,
"d_43" text,
"d_44" text,
"d_45" text,
"d_46" text,
"d_47" text,
"d_48" text
); | SELECT "d_40" FROM "senate_composition_at_the_beginning_of_t" WHERE "d_43"='d 14'; | 2-1134236-6 |
What's the D 42 √ when D 44 √ is majority→? | CREATE TABLE "senate_composition_at_the_beginning_of_t" (
"d_39" text,
"d_40" text,
"d_41" text,
"d_42" text,
"d_43" text,
"d_44" text,
"d_45" text,
"d_46" text,
"d_47" text,
"d_48" text
); | SELECT "d_42" FROM "senate_composition_at_the_beginning_of_t" WHERE "d_44"='majority→'; | 2-1134236-6 |
What's the D 44 √ when D 46 √ is d 26? | CREATE TABLE "senate_composition_at_the_beginning_of_t" (
"d_39" text,
"d_40" text,
"d_41" text,
"d_42" text,
"d_43" text,
"d_44" text,
"d_45" text,
"d_46" text,
"d_47" text,
"d_48" text
); | SELECT "d_44" FROM "senate_composition_at_the_beginning_of_t" WHERE "d_46"='d 26'; | 2-1134236-6 |
What's the D 42 √ when D 43 √ is r 5? | CREATE TABLE "senate_composition_at_the_beginning_of_t" (
"d_39" text,
"d_40" text,
"d_41" text,
"d_42" text,
"d_43" text,
"d_44" text,
"d_45" text,
"d_46" text,
"d_47" text,
"d_48" text
); | SELECT "d_42" FROM "senate_composition_at_the_beginning_of_t" WHERE "d_43"='r 5'; | 2-1134236-6 |
How many benue houses have been founded? | CREATE TABLE "houses" (
"house_name" text,
"composition" text,
"named_after" text,
"founded" real,
"colours" text
); | SELECT COUNT("founded") FROM "houses" WHERE "house_name"='benue'; | 2-11464746-1 |
When is the earliest year founded for houses named after the river benue? | CREATE TABLE "houses" (
"house_name" text,
"composition" text,
"named_after" text,
"founded" real,
"colours" text
); | SELECT MIN("founded") FROM "houses" WHERE "named_after"='river benue'; | 2-11464746-1 |
What composition was founded in 1976? | CREATE TABLE "houses" (
"house_name" text,
"composition" text,
"named_after" text,
"founded" real,
"colours" text
); | SELECT "composition" FROM "houses" WHERE "founded"=1976; | 2-11464746-1 |
What colours have a House Name of ogun? | CREATE TABLE "houses" (
"house_name" text,
"composition" text,
"named_after" text,
"founded" real,
"colours" text
); | SELECT "colours" FROM "houses" WHERE "house_name"='ogun'; | 2-11464746-1 |
What's the average attendance on january 6, 2008? | CREATE TABLE "january" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"attendance" real,
"record" text
); | SELECT AVG("attendance") FROM "january" WHERE "date"='january 6, 2008'; | 2-11965402-5 |
What was the score when the spurs were the visitors? | CREATE TABLE "january" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"attendance" real,
"record" text
); | SELECT "score" FROM "january" WHERE "visitor"='spurs'; | 2-11965402-5 |
What was the score when the nets were the visitors and attendance was over 16,494? | CREATE TABLE "january" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"attendance" real,
"record" text
); | SELECT "score" FROM "january" WHERE "attendance">'16,494' AND "visitor"='nets'; | 2-11965402-5 |
Which name has a type of lake, a County of hennepin, and a USGS 7.5 Map of rogers? | CREATE TABLE "united_states" (
"name" text,
"gnis_feature_id" real,
"state" text,
"county" text,
"type" text,
"usgs_7_5_map" text
); | SELECT "name" FROM "united_states" WHERE "type"='lake' AND "county"='hennepin' AND "usgs_7_5_map"='rogers'; | 2-11798745-1 |
What is the total GNIS Feature ID with a County of idaho? | CREATE TABLE "united_states" (
"name" text,
"gnis_feature_id" real,
"state" text,
"county" text,
"type" text,
"usgs_7_5_map" text
); | SELECT SUM("gnis_feature_id") FROM "united_states" WHERE "county"='idaho'; | 2-11798745-1 |
What is the lowest GNIS Feature ID from County of sheridan? | CREATE TABLE "united_states" (
"name" text,
"gnis_feature_id" real,
"state" text,
"county" text,
"type" text,
"usgs_7_5_map" text
); | SELECT MIN("gnis_feature_id") FROM "united_states" WHERE "county"='sheridan'; | 2-11798745-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.