question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Which Game has a Team of at phoenix, and a Score of 107-119? | CREATE TABLE "playoffs" (
"game" real,
"date" text,
"team" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT COUNT("game") FROM "playoffs" WHERE "team"='at phoenix' AND "score"='107-119'; | 2-15636509-12 |
Which Location Attendance has a Game larger than 5? | CREATE TABLE "playoffs" (
"game" real,
"date" text,
"team" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT "location_attendance" FROM "playoffs" WHERE "game">5; | 2-15636509-12 |
Which Team has a Score of 89-123? | CREATE TABLE "playoffs" (
"game" real,
"date" text,
"team" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT "team" FROM "playoffs" WHERE "score"='89-123'; | 2-15636509-12 |
What is the average Game with a Date that is june 14? | CREATE TABLE "playoffs" (
"game" real,
"date" text,
"team" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT AVG("game") FROM "playoffs" WHERE "date"='june 14'; | 2-15636509-13 |
What is the Record with a Team that is detroit and a Date that is june 10? | CREATE TABLE "playoffs" (
"game" real,
"date" text,
"team" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT "record" FROM "playoffs" WHERE "team"='detroit' AND "date"='june 10'; | 2-15636509-13 |
What is the Location Attendance with a Record that is 1-4? | CREATE TABLE "playoffs" (
"game" real,
"date" text,
"team" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT "location_attendance" FROM "playoffs" WHERE "record"='1-4'; | 2-15636509-13 |
How much is the GDP for a population density of 254.7? | CREATE TABLE "demographics" (
"country" text,
"area_km" text,
"population_2011_est" text,
"population_density_per_km" text,
"gdp_ppp_m_usd" text
); | SELECT "gdp_ppp_m_usd" FROM "demographics" WHERE "population_density_per_km"='254.7'; | 2-159865-1 |
Which country has a population density of 50.3? | CREATE TABLE "demographics" (
"country" text,
"area_km" text,
"population_2011_est" text,
"population_density_per_km" text,
"gdp_ppp_m_usd" text
); | SELECT "country" FROM "demographics" WHERE "population_density_per_km"='50.3'; | 2-159865-1 |
How much is the GDP for an area of 61,395? | CREATE TABLE "demographics" (
"country" text,
"area_km" text,
"population_2011_est" text,
"population_density_per_km" text,
"gdp_ppp_m_usd" text
); | SELECT "gdp_ppp_m_usd" FROM "demographics" WHERE "area_km"='61,395'; | 2-159865-1 |
How much is the population density with a GDP at $188,112? | CREATE TABLE "demographics" (
"country" text,
"area_km" text,
"population_2011_est" text,
"population_density_per_km" text,
"gdp_ppp_m_usd" text
); | SELECT "population_density_per_km" FROM "demographics" WHERE "gdp_ppp_m_usd"='$188,112'; | 2-159865-1 |
How much is the GDP for an area of 116? | CREATE TABLE "demographics" (
"country" text,
"area_km" text,
"population_2011_est" text,
"population_density_per_km" text,
"gdp_ppp_m_usd" text
); | SELECT "gdp_ppp_m_usd" FROM "demographics" WHERE "area_km"='116'; | 2-159865-1 |
Which country has a population of 3,221,216? | CREATE TABLE "demographics" (
"country" text,
"area_km" text,
"population_2011_est" text,
"population_density_per_km" text,
"gdp_ppp_m_usd" text
); | SELECT "country" FROM "demographics" WHERE "population_2011_est"='3,221,216'; | 2-159865-1 |
What was Miller Barber wins with Top-5 less than 2 and 19 Events? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT COUNT("wins") FROM "summary" WHERE "top_5"<2 AND "events"=19; | 2-1552405-5 |
What is the average number of Wins in a PGA Championship with a Top-5 less than 2? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT AVG("wins") FROM "summary" WHERE "tournament"='pga championship' AND "top_5"<2; | 2-1552405-5 |
What is the highest Top-5 ranking with Events less than 4? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT MAX("top_5") FROM "summary" WHERE "events"<4; | 2-1552405-5 |
Which week's game was attended by 65,272 people? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "week" FROM "schedule" WHERE "attendance"='65,272'; | 2-16025564-1 |
How many people attended the game in week 13? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "attendance" FROM "schedule" WHERE "week"=13; | 2-16025564-1 |
During which week was the earliest game with an attendance of 65,904 people? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT MIN("week") FROM "schedule" WHERE "attendance"='65,904'; | 2-16025564-1 |
What height is the tallest for an outside hitter? | CREATE TABLE "team_roster" (
"nationality" text,
"player" text,
"birth_date" text,
"height" real,
"position" text
); | SELECT MAX("height") FROM "team_roster" WHERE "position"='outside hitter'; | 2-16054851-1 |
What is the highest silver rank with a total of 27? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("silver") FROM "medal_table" WHERE "total"=27; | 2-15367515-1 |
What is the total number of Silver when Bronze was smaller than 1 with a total smaller than 2 in Bulgaria? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("silver") FROM "medal_table" WHERE "bronze"<1 AND "total"<2 AND "nation"='bulgaria'; | 2-15367515-1 |
What is the temperature classification of a purple colored glass bulb? | CREATE TABLE "operation" (
"maximum_ceiling_temperature" text,
"temperature_rating" text,
"temperature_classification" text,
"color_code_with_fusible_link" text,
"glass_bulb_color" text
); | SELECT "temperature_classification" FROM "operation" WHERE "glass_bulb_color"='purple'; | 2-1538516-1 |
What is the color code with a temperature classification of ordinary? | CREATE TABLE "operation" (
"maximum_ceiling_temperature" text,
"temperature_rating" text,
"temperature_classification" text,
"color_code_with_fusible_link" text,
"glass_bulb_color" text
); | SELECT "color_code_with_fusible_link" FROM "operation" WHERE "temperature_classification"='ordinary'; | 2-1538516-1 |
What is the temperature rating of the intermediate temperature classification? | CREATE TABLE "operation" (
"maximum_ceiling_temperature" text,
"temperature_rating" text,
"temperature_classification" text,
"color_code_with_fusible_link" text,
"glass_bulb_color" text
); | SELECT "temperature_rating" FROM "operation" WHERE "temperature_classification"='intermediate'; | 2-1538516-1 |
What is the average Goals for team Kairat, in the 2002 season with more than 29 apps? | CREATE TABLE "club_career_stats" (
"season" text,
"team" text,
"country" text,
"league" text,
"level" real,
"apps" real,
"goals" real
); | SELECT AVG("goals") FROM "club_career_stats" WHERE "team"='kairat' AND "season"='2002' AND "apps">29; | 2-15679063-1 |
What is the Country for the 2006-07 season? | CREATE TABLE "club_career_stats" (
"season" text,
"team" text,
"country" text,
"league" text,
"level" real,
"apps" real,
"goals" real
); | SELECT "country" FROM "club_career_stats" WHERE "season"='2006-07'; | 2-15679063-1 |
What is the average Apps for the team Kairat with level larger than 1? | CREATE TABLE "club_career_stats" (
"season" text,
"team" text,
"country" text,
"league" text,
"level" real,
"apps" real,
"goals" real
); | SELECT AVG("apps") FROM "club_career_stats" WHERE "team"='kairat' AND "level">1; | 2-15679063-1 |
How many laps did the rider with a grid larger than 11, a Honda cbr1000rr bike, and a time of +42.633? | CREATE TABLE "superbike_race_2_classification" (
"rider" text,
"bike" text,
"laps" real,
"time" text,
"grid" real
); | SELECT "laps" FROM "superbike_race_2_classification" WHERE "grid">11 AND "bike"='honda cbr1000rr' AND "time"='+42.633'; | 2-15878404-2 |
Who was teh rider with 18 laps and a grid of 25? | CREATE TABLE "superbike_race_2_classification" (
"rider" text,
"bike" text,
"laps" real,
"time" text,
"grid" real
); | SELECT "rider" FROM "superbike_race_2_classification" WHERE "laps"=18 AND "grid"=25; | 2-15878404-2 |
Who was the rider who had an accident time and a kawasaki zx-10r bike? | CREATE TABLE "superbike_race_2_classification" (
"rider" text,
"bike" text,
"laps" real,
"time" text,
"grid" real
); | SELECT "rider" FROM "superbike_race_2_classification" WHERE "time"='accident' AND "bike"='kawasaki zx-10r'; | 2-15878404-2 |
What is the time of rider Loic Napoleone, who had less than 18 laps and a grid greater than 8? | CREATE TABLE "superbike_race_2_classification" (
"rider" text,
"bike" text,
"laps" real,
"time" text,
"grid" real
); | SELECT "time" FROM "superbike_race_2_classification" WHERE "laps"<18 AND "grid">8 AND "rider"='loic napoleone'; | 2-15878404-2 |
How many laps did the rider with a grid larger than 14 and a time of +33.150 have? | CREATE TABLE "superbike_race_2_classification" (
"rider" text,
"bike" text,
"laps" real,
"time" text,
"grid" real
); | SELECT "laps" FROM "superbike_race_2_classification" WHERE "grid">14 AND "time"='+33.150'; | 2-15878404-2 |
What is Away, when Home is Guelph Gargoyles? | CREATE TABLE "round_one" (
"date" text,
"time" text,
"home" text,
"away" text,
"score" text,
"ground" text
); | SELECT "away" FROM "round_one" WHERE "home"='guelph gargoyles'; | 2-15764352-1 |
What is Home, when Ground is Humber College North, and when Time is 15:00? | CREATE TABLE "round_one" (
"date" text,
"time" text,
"home" text,
"away" text,
"score" text,
"ground" text
); | SELECT "home" FROM "round_one" WHERE "ground"='humber college north' AND "time"='15:00'; | 2-15764352-1 |
What is Date, when Away is High Park Demons? | CREATE TABLE "round_one" (
"date" text,
"time" text,
"home" text,
"away" text,
"score" text,
"ground" text
); | SELECT "date" FROM "round_one" WHERE "away"='high park demons'; | 2-15764352-1 |
What is Date, when Away is High Park Demons? | CREATE TABLE "round_one" (
"date" text,
"time" text,
"home" text,
"away" text,
"score" text,
"ground" text
); | SELECT "date" FROM "round_one" WHERE "away"='high park demons'; | 2-15764352-1 |
What is Time, when Away is Central Blues? | CREATE TABLE "round_one" (
"date" text,
"time" text,
"home" text,
"away" text,
"score" text,
"ground" text
); | SELECT "time" FROM "round_one" WHERE "away"='central blues'; | 2-15764352-1 |
What cover has a published date of May 27, 2009 (hc) May 20, 2009 (tpb)? | CREATE TABLE "collections" (
"volume" text,
"series" text,
"title" text,
"cover" text,
"published" text,
"isbn" text
); | SELECT "cover" FROM "collections" WHERE "published"='may 27, 2009 (hc) may 20, 2009 (tpb)'; | 2-15338781-5 |
What is the number of the volume that has an ISBN of 978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)? | CREATE TABLE "collections" (
"volume" text,
"series" text,
"title" text,
"cover" text,
"published" text,
"isbn" text
); | SELECT "volume" FROM "collections" WHERE "isbn"='978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)'; | 2-15338781-5 |
What is the name of the series with an ISBN of 978-1-59582-523-0 (tpb)? | CREATE TABLE "collections" (
"volume" text,
"series" text,
"title" text,
"cover" text,
"published" text,
"isbn" text
); | SELECT "series" FROM "collections" WHERE "isbn"='978-1-59582-523-0 (tpb)'; | 2-15338781-5 |
What volume number has the ISBN of 978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)? | CREATE TABLE "collections" (
"volume" text,
"series" text,
"title" text,
"cover" text,
"published" text,
"isbn" text
); | SELECT "volume" FROM "collections" WHERE "isbn"='978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)'; | 2-15338781-5 |
What is the ISBN of the Conan the Barbarian series that has the title of Queen of the Black Coast? | CREATE TABLE "collections" (
"volume" text,
"series" text,
"title" text,
"cover" text,
"published" text,
"isbn" text
); | SELECT "isbn" FROM "collections" WHERE "series"='conan the barbarian' AND "title"='queen of the black coast'; | 2-15338781-5 |
What cover has Throne of Aquilonia as the title? | CREATE TABLE "collections" (
"volume" text,
"series" text,
"title" text,
"cover" text,
"published" text,
"isbn" text
); | SELECT "cover" FROM "collections" WHERE "title"='throne of aquilonia'; | 2-15338781-5 |
With a Rank of less than 4, what is Pablo Prigioni's total number of Games? | CREATE TABLE "assists" (
"rank" real,
"name" text,
"team" text,
"games" real,
"assists" real
); | SELECT COUNT("games") FROM "assists" WHERE "name"='pablo prigioni' AND "rank"<4; | 2-16050349-15 |
How many Assists for the Player with more than 25 Games? | CREATE TABLE "assists" (
"rank" real,
"name" text,
"team" text,
"games" real,
"assists" real
); | SELECT SUM("assists") FROM "assists" WHERE "games">25; | 2-16050349-15 |
What is the Rank of the Maccabi Tel Aviv Player with 25 Games? | CREATE TABLE "assists" (
"rank" real,
"name" text,
"team" text,
"games" real,
"assists" real
); | SELECT COUNT("rank") FROM "assists" WHERE "games"=25 AND "team"='maccabi tel aviv'; | 2-16050349-15 |
How many Assists for the Player with a Rank greater than 3 in less than 25 Games? | CREATE TABLE "assists" (
"rank" real,
"name" text,
"team" text,
"games" real,
"assists" real
); | SELECT AVG("assists") FROM "assists" WHERE "rank">3 AND "games"<25; | 2-16050349-15 |
How many Games for Rank 2 Terrell McIntyre? | CREATE TABLE "assists" (
"rank" real,
"name" text,
"team" text,
"games" real,
"assists" real
); | SELECT MIN("games") FROM "assists" WHERE "name"='terrell mcintyre' AND "rank">2; | 2-16050349-15 |
What is the Venue of the Heptathlon after 2006 where Tatyana Chernova comes in Position 7th? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"notes" text
); | SELECT "venue" FROM "achievements" WHERE "year">2006 AND "position"='7th' AND "notes"='heptathlon'; | 2-16165314-1 |
In what Year did Chernova come in 1st in Götzis, Austria? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"notes" text
); | SELECT SUM("year") FROM "achievements" WHERE "venue"='götzis, austria' AND "position"='1st'; | 2-16165314-1 |
Which Cover Model was featured on 8-03? | CREATE TABLE "2003" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text
); | SELECT "cover_model" FROM "2003" WHERE "date"='8-03'; | 2-1566852-4 |
Who was the Centerfold model when O.J. Simpson was the Interview Subject? | CREATE TABLE "2003" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text
); | SELECT "centerfold_model" FROM "2003" WHERE "interview_subject"='o.j. simpson'; | 2-1566852-4 |
Who was the Cover model when the Centerfold Model was Marketa Janska? | CREATE TABLE "2003" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text
); | SELECT "cover_model" FROM "2003" WHERE "centerfold_model"='marketa janska'; | 2-1566852-4 |
Who was the Cover model on 11-03? | CREATE TABLE "2003" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text
); | SELECT "cover_model" FROM "2003" WHERE "date"='11-03'; | 2-1566852-4 |
Who was the Centerfold Model on 9-03? | CREATE TABLE "2003" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text
); | SELECT "centerfold_model" FROM "2003" WHERE "date"='9-03'; | 2-1566852-4 |
Who was the Interview Subject when the 20 Questions was William H. Macy? | CREATE TABLE "2003" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text
); | SELECT "interview_subject" FROM "2003" WHERE "20_questions"='william h. macy'; | 2-1566852-4 |
How many rounds had a selection of 165? | CREATE TABLE "draft_class" (
"round" real,
"selection" real,
"player" text,
"position" text,
"college" text
); | SELECT SUM("round") FROM "draft_class" WHERE "selection"=165; | 2-15581223-1 |
What is the highest Weight for the position of D, and the 1990–1991 Team was the chicago blackhawks? | CREATE TABLE "list_of_united_states_national_ice_hocke" (
"position" text,
"jersey_num" real,
"name" text,
"height_cm" real,
"weight_kg" real,
"birthdate" text,
"birthplace" text,
"1990_1991_team" text
); | SELECT MAX("weight_kg") FROM "list_of_united_states_national_ice_hocke" WHERE "position"='d' AND "1990_1991_team"='chicago blackhawks'; | 2-15715109-42 |
What is the average Height for the Position of d, with a Birthplace of new hope, minnesota? | CREATE TABLE "list_of_united_states_national_ice_hocke" (
"position" text,
"jersey_num" real,
"name" text,
"height_cm" real,
"weight_kg" real,
"birthdate" text,
"birthplace" text,
"1990_1991_team" text
); | SELECT AVG("height_cm") FROM "list_of_united_states_national_ice_hocke" WHERE "position"='d' AND "birthplace"='new hope, minnesota'; | 2-15715109-42 |
What is the 1990–1991 Team when the Birthplace shows as new york? | CREATE TABLE "list_of_united_states_national_ice_hocke" (
"position" text,
"jersey_num" real,
"name" text,
"height_cm" real,
"weight_kg" real,
"birthdate" text,
"birthplace" text,
"1990_1991_team" text
); | SELECT "1990_1991_team" FROM "list_of_united_states_national_ice_hocke" WHERE "birthplace"='new york'; | 2-15715109-42 |
What is the Position when the person's birthplace was toledo, ohio? | CREATE TABLE "list_of_united_states_national_ice_hocke" (
"position" text,
"jersey_num" real,
"name" text,
"height_cm" real,
"weight_kg" real,
"birthdate" text,
"birthplace" text,
"1990_1991_team" text
); | SELECT "position" FROM "list_of_united_states_national_ice_hocke" WHERE "birthplace"='toledo, ohio'; | 2-15715109-42 |
What is the 1990–1991 Team that had Joel Otto? | CREATE TABLE "list_of_united_states_national_ice_hocke" (
"position" text,
"jersey_num" real,
"name" text,
"height_cm" real,
"weight_kg" real,
"birthdate" text,
"birthplace" text,
"1990_1991_team" text
); | SELECT "1990_1991_team" FROM "list_of_united_states_national_ice_hocke" WHERE "name"='joel otto'; | 2-15715109-42 |
Which T.C. has a Year larger than 2007, and a D.C. of 21st? | CREATE TABLE "gp2_series" (
"year" real,
"drivers" text,
"races" real,
"wins" real,
"poles" real,
"f_l" real,
"points" real,
"d_c" text,
"t_c" text
); | SELECT "t_c" FROM "gp2_series" WHERE "year">2007 AND "d_c"='21st'; | 2-16140284-1 |
What kind of D.C. has Races smaller than 20, and Points larger than 0, and Drivers of christian vietoris, and Wins of 1? | CREATE TABLE "gp2_series" (
"year" real,
"drivers" text,
"races" real,
"wins" real,
"poles" real,
"f_l" real,
"points" real,
"d_c" text,
"t_c" text
); | SELECT "d_c" FROM "gp2_series" WHERE "races"<20 AND "points">0 AND "drivers"='christian vietoris' AND "wins"=1; | 2-16140284-1 |
Which Races has a T.C. of 3rd, and a D.C. of 7th? | CREATE TABLE "gp2_series" (
"year" real,
"drivers" text,
"races" real,
"wins" real,
"poles" real,
"f_l" real,
"points" real,
"d_c" text,
"t_c" text
); | SELECT MIN("races") FROM "gp2_series" WHERE "t_c"='3rd' AND "d_c"='7th'; | 2-16140284-1 |
What is the 2007 of the Grand Slam Tournaments in 2008? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2007" FROM "singles_performance_timeline" WHERE "2008"='grand slam tournaments'; | 2-16033363-9 |
What is the Tournament with a 3r 2011 and A 2010? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "tournament" FROM "singles_performance_timeline" WHERE "2011"='3r' AND "2010"='a'; | 2-16033363-9 |
What is the 2008 of the 2r 2011 and A 2010? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2008" FROM "singles_performance_timeline" WHERE "2011"='2r' AND "2010"='a'; | 2-16033363-9 |
What is the 2010 of the Grand Slam Tournaments in 2011? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2010" FROM "singles_performance_timeline" WHERE "2011"='grand slam tournaments'; | 2-16033363-9 |
What is the total number of runners-up for a club with winning years of 2010? | CREATE TABLE "performance_by_club" (
"club" text,
"winners" real,
"runners_up" real,
"winning_years" text,
"runner_up_years" text
); | SELECT COUNT("runners_up") FROM "performance_by_club" WHERE "winning_years"='2010'; | 2-15726366-2 |
Who were the runners-up for the FC Viktoria Plzeň club? | CREATE TABLE "performance_by_club" (
"club" text,
"winners" real,
"runners_up" real,
"winning_years" text,
"runner_up_years" text
); | SELECT "runners_up" FROM "performance_by_club" WHERE "club"='fc viktoria plzeň'; | 2-15726366-2 |
Which congress was held in 2010? | CREATE TABLE "list" (
"district" text,
"con_gress" text,
"date" text,
"predecessor" text,
"winner" text
); | SELECT "con_gress" FROM "list" WHERE "date"='2010'; | 2-15572443-2 |
What is the casting temperature for a hardness of 22? | CREATE TABLE "alloys_for_mechanical_composition" (
"usage" text,
"sn_sb_pct" text,
"liquid_at_c" text,
"casting_at_c" text,
"remelting_at_c" text,
"hardness" text
); | SELECT "casting_at_c" FROM "alloys_for_mechanical_composition" WHERE "hardness"='22'; | 2-159441-3 |
What is the hardness for the alloy that is liquid at 243 degrees C? | CREATE TABLE "alloys_for_mechanical_composition" (
"usage" text,
"sn_sb_pct" text,
"liquid_at_c" text,
"casting_at_c" text,
"remelting_at_c" text,
"hardness" text
); | SELECT "hardness" FROM "alloys_for_mechanical_composition" WHERE "liquid_at_c"='243'; | 2-159441-3 |
What is the Sn/Sb percentage that is liquid at 258 degrees C? | CREATE TABLE "alloys_for_mechanical_composition" (
"usage" text,
"sn_sb_pct" text,
"liquid_at_c" text,
"casting_at_c" text,
"remelting_at_c" text,
"hardness" text
); | SELECT "sn_sb_pct" FROM "alloys_for_mechanical_composition" WHERE "liquid_at_c"='258'; | 2-159441-3 |
What is the remelting temperature for the alloy that has a Sn/Sb ratio of 9.5/15? | CREATE TABLE "alloys_for_mechanical_composition" (
"usage" text,
"sn_sb_pct" text,
"liquid_at_c" text,
"casting_at_c" text,
"remelting_at_c" text,
"hardness" text
); | SELECT "remelting_at_c" FROM "alloys_for_mechanical_composition" WHERE "sn_sb_pct"='9.5/15'; | 2-159441-3 |
What is the casting temperature for the alloy with hardness 21? | CREATE TABLE "alloys_for_mechanical_composition" (
"usage" text,
"sn_sb_pct" text,
"liquid_at_c" text,
"casting_at_c" text,
"remelting_at_c" text,
"hardness" text
); | SELECT "casting_at_c" FROM "alloys_for_mechanical_composition" WHERE "hardness"='21'; | 2-159441-3 |
What's the most laps when grid is 16? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT MAX("laps") FROM "race" WHERE "grid"=16; | 2-1574545-2 |
How many laps were there for a grid of 13? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT COUNT("laps") FROM "race" WHERE "grid"=13; | 2-1574545-2 |
How many points did the Giants get when attendance was 78,673? | CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"giants_points" text,
"opponents_points" text,
"record" text,
"tv_time" text,
"attendance" text
); | SELECT "giants_points" FROM "schedule" WHERE "attendance"='78,673'; | 2-16059626-2 |
What was the result when the opponents got 15 points? | CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"giants_points" text,
"opponents_points" text,
"record" text,
"tv_time" text,
"attendance" text
); | SELECT "result" FROM "schedule" WHERE "opponents_points"='15'; | 2-16059626-2 |
What was the TV time for the game where the Giants had 14 points? | CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"giants_points" text,
"opponents_points" text,
"record" text,
"tv_time" text,
"attendance" text
); | SELECT "tv_time" FROM "schedule" WHERE "giants_points"='14'; | 2-16059626-2 |
How many weeks had an attendance at 69,149? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT COUNT("week") FROM "schedule" WHERE "attendance"='69,149'; | 2-15405037-2 |
On what date did week 6 occur? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "date" FROM "schedule" WHERE "week"=6; | 2-15405037-2 |
Who was the opponent on December 18, 2005? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "opponent" FROM "schedule" WHERE "date"='december 18, 2005'; | 2-15405037-2 |
What was the date of the game against the Queen of the South attended by more than 14,176? | CREATE TABLE "tennent_s_scottish_cup" (
"date" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" real
); | SELECT "date" FROM "tennent_s_scottish_cup" WHERE "attendance">'14,176' AND "opponent"='queen of the south'; | 2-15516626-3 |
What is the result/score for the match report recap on week 14? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"time" text,
"game_site" text,
"result_score" text,
"record" text,
"match_report" text
); | SELECT "result_score" FROM "regular_season" WHERE "match_report"='recap' AND "week"=14; | 2-15598908-2 |
How many weeks have w 51-29 as the result/score? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"time" text,
"game_site" text,
"result_score" text,
"record" text,
"match_report" text
); | SELECT SUM("week") FROM "regular_season" WHERE "result_score"='w 51-29'; | 2-15598908-2 |
What is the result/score that has 6-5 as the record? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"time" text,
"game_site" text,
"result_score" text,
"record" text,
"match_report" text
); | SELECT "result_score" FROM "regular_season" WHERE "record"='6-5'; | 2-15598908-2 |
Which match report has l 7-30 as the result/score? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"time" text,
"game_site" text,
"result_score" text,
"record" text,
"match_report" text
); | SELECT "match_report" FROM "regular_season" WHERE "result_score"='l 7-30'; | 2-15598908-2 |
Which game site has a recap as the match report for week 7? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"time" text,
"game_site" text,
"result_score" text,
"record" text,
"match_report" text
); | SELECT "game_site" FROM "regular_season" WHERE "match_report"='recap' AND "week"=7; | 2-15598908-2 |
Which shooter's time is more than 8.97 and has a year prior to 2013? | CREATE TABLE "steel_challenge_men_s_world_records" (
"stage" text,
"shooter" text,
"time" real,
"avg_run" real,
"year" real
); | SELECT "shooter" FROM "steel_challenge_men_s_world_records" WHERE "time">8.97 AND "year"<2013; | 2-15924881-1 |
What country was the race in on April 27? | CREATE TABLE "races" (
"date" text,
"race" text,
"country" text,
"winner" text,
"team" text,
"world_cup_leader" text,
"leader_s_team" text
); | SELECT "country" FROM "races" WHERE "date"='april 27'; | 2-15709250-1 |
What is the name of the leader's team when the race was in France on October 5? | CREATE TABLE "races" (
"date" text,
"race" text,
"country" text,
"winner" text,
"team" text,
"world_cup_leader" text,
"leader_s_team" text
); | SELECT "leader_s_team" FROM "races" WHERE "country"='france' AND "date"='october 5'; | 2-15709250-1 |
What is the name of the team leading on August 17? | CREATE TABLE "races" (
"date" text,
"race" text,
"country" text,
"winner" text,
"team" text,
"world_cup_leader" text,
"leader_s_team" text
); | SELECT "team" FROM "races" WHERE "date"='august 17'; | 2-15709250-1 |
In the Ronde Van Vlaanderen race what is the leader's team? | CREATE TABLE "races" (
"date" text,
"race" text,
"country" text,
"winner" text,
"team" text,
"world_cup_leader" text,
"leader_s_team" text
); | SELECT "leader_s_team" FROM "races" WHERE "race"='ronde van vlaanderen'; | 2-15709250-1 |
What is the name of the race when Quick Step-Davitamon is the leader's team and the team of team telekom? | CREATE TABLE "races" (
"date" text,
"race" text,
"country" text,
"winner" text,
"team" text,
"world_cup_leader" text,
"leader_s_team" text
); | SELECT "race" FROM "races" WHERE "leader_s_team"='quick step-davitamon' AND "team"='team telekom'; | 2-15709250-1 |
What is the highest Ranking Round Rank for Russia with a Final Rank over 11? | CREATE TABLE "ranking_round" (
"final_rank" real,
"ranking_round_rank" real,
"nation" text,
"ranking_score" real,
"round_of_16" text
); | SELECT MAX("ranking_round_rank") FROM "ranking_round" WHERE "nation"='russia' AND "final_rank">11; | 2-15760618-1 |
Which Music has a Points Jury of 18 (5,5,4,4)? | CREATE TABLE "po_prostu_taniec_just_dance" (
"team" text,
"dance" text,
"music" text,
"points_jury" text,
"place" text
); | SELECT "music" FROM "po_prostu_taniec_just_dance" WHERE "points_jury"='18 (5,5,4,4)'; | 2-15988037-12 |
What is the Music if the Dance is Jive? | CREATE TABLE "po_prostu_taniec_just_dance" (
"team" text,
"dance" text,
"music" text,
"points_jury" text,
"place" text
); | SELECT "music" FROM "po_prostu_taniec_just_dance" WHERE "dance"='jive'; | 2-15988037-12 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.