instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What is the location of the game with a 115-105 score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (location VARCHAR, score VARCHAR) | SELECT location FROM table_name_35 WHERE score = "115-105" |
Write a SQL query that answers the following question: What is the record of the game with a 110-106 score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (record VARCHAR, score VARCHAR) | SELECT record FROM table_name_89 WHERE score = "110-106" |
Write a SQL query that answers the following question: What is the record of game 48? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (record VARCHAR, game VARCHAR) | SELECT record FROM table_name_40 WHERE game = 48 |
Write a SQL query that answers the following question: What is the record of the game with a 110-106 score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (record VARCHAR, score VARCHAR) | SELECT record FROM table_name_1 WHERE score = "110-106" |
Write a SQL query that answers the following question: What is the score at the forum location? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (score VARCHAR, location VARCHAR) | SELECT score FROM table_name_23 WHERE location = "the forum" |
Write a SQL query that answers the following question: What is Method, when Location is "Tokyo , Japan", and when Event is "Rings: Millennium Combine 2"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (method VARCHAR, location VARCHAR, event VARCHAR) | SELECT method FROM table_name_38 WHERE location = "tokyo , japan" AND event = "rings: millennium combine 2" |
Write a SQL query that answers the following question: What is Method, when Opponent is "Chalid Arrab"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (method VARCHAR, opponent VARCHAR) | SELECT method FROM table_name_4 WHERE opponent = "chalid arrab" |
Write a SQL query that answers the following question: What is the sum of Round, when Record is "19-25-5"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (round INTEGER, record VARCHAR) | SELECT SUM(round) FROM table_name_70 WHERE record = "19-25-5" |
Write a SQL query that answers the following question: Which region has Stanford University as host? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (region VARCHAR, host VARCHAR) | SELECT region FROM table_name_12 WHERE host = "stanford university" |
Write a SQL query that answers the following question: Which state contains the University of Iowa in the mideast region? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (state VARCHAR, region VARCHAR, host VARCHAR) | SELECT state FROM table_name_67 WHERE region = "mideast" AND host = "university of iowa" |
Write a SQL query that answers the following question: Which state includes the city of Storrs? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (state VARCHAR, city VARCHAR) | SELECT state FROM table_name_25 WHERE city = "storrs" |
Write a SQL query that answers the following question: Which state includes the Harry A. Gampel Pavilion venue? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (state VARCHAR, venue VARCHAR) | SELECT state FROM table_name_10 WHERE venue = "harry a. gampel pavilion" |
Write a SQL query that answers the following question: Which city is in Georgia? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (city VARCHAR, state VARCHAR) | SELECT city FROM table_name_55 WHERE state = "georgia" |
Write a SQL query that answers the following question: What is the total number of rounds that had Jason Missiaen? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (round VARCHAR, player VARCHAR) | SELECT COUNT(round) FROM table_name_75 WHERE player = "jason missiaen" |
Write a SQL query that answers the following question: What player is from Russia? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (player VARCHAR, nationality VARCHAR) | SELECT player FROM table_name_8 WHERE nationality = "russia" |
Write a SQL query that answers the following question: What nationality is the pick from round 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (nationality VARCHAR, round VARCHAR) | SELECT nationality FROM table_name_9 WHERE round = 7 |
Write a SQL query that answers the following question: what is the album when the year is later than 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (album VARCHAR, year INTEGER) | SELECT album FROM table_name_77 WHERE year > 2008 |
Write a SQL query that answers the following question: What is the Championship Game that has 4 Bids and a .600 Win %? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (championship_game VARCHAR, _number_of_bids VARCHAR, win__percentage VARCHAR) | SELECT championship_game FROM table_name_40 WHERE _number_of_bids = 4 AND win__percentage = ".600" |
Write a SQL query that answers the following question: What is the team 2 with cobreloa as team 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (team_2 VARCHAR, team_1 VARCHAR) | SELECT team_2 FROM table_name_2 WHERE team_1 = "cobreloa" |
Write a SQL query that answers the following question: How many picks had a round smaller than 6 and an overall bigger than 153? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (pick INTEGER, round VARCHAR, overall VARCHAR) | SELECT SUM(pick) FROM table_name_47 WHERE round < 6 AND overall > 153 |
Write a SQL query that answers the following question: What was the attendance on 31 January 2009 when the opponent was Airdrie United? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (attendance INTEGER, opponent VARCHAR, date VARCHAR) | SELECT AVG(attendance) FROM table_name_33 WHERE opponent = "airdrie united" AND date = "31 january 2009" |
Write a SQL query that answers the following question: In what venue was the event held on 14 February 2009? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_95 WHERE date = "14 february 2009" |
Write a SQL query that answers the following question: What is the average attendance for all events held at Palmerston Park venue? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (attendance INTEGER, venue VARCHAR) | SELECT AVG(attendance) FROM table_name_24 WHERE venue = "palmerston park" |
Write a SQL query that answers the following question: What is the total number of t (µm), when Technology is u c-si? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (t__µm_ VARCHAR, technology VARCHAR) | SELECT COUNT(t__µm_) FROM table_name_67 WHERE technology = "u c-si" |
Write a SQL query that answers the following question: What is the V OC (V), when t (µm) is greater than 5, and when I SC (A) is 0.8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (v_oc__v_ VARCHAR, t__µm_ VARCHAR, i_sc__a_ VARCHAR) | SELECT v_oc__v_ FROM table_name_46 WHERE t__µm_ > 5 AND i_sc__a_ = "0.8" |
Write a SQL query that answers the following question: What is the sum of t (µm), when Technology is MJ? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (t__µm_ INTEGER, technology VARCHAR) | SELECT SUM(t__µm_) FROM table_name_26 WHERE technology = "mj" |
Write a SQL query that answers the following question: What is W/m², when η (%) is greater than 16.5, and when Technology is MJ? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (w_m² VARCHAR, η___percentage_ VARCHAR, technology VARCHAR) | SELECT w_m² FROM table_name_60 WHERE η___percentage_ > 16.5 AND technology = "mj" |
Write a SQL query that answers the following question: What type of Bridge is in Stanley? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (type VARCHAR, location VARCHAR) | SELECT type FROM table_name_87 WHERE location = "stanley" |
Write a SQL query that answers the following question: What type of bridge is Colton's Crossing Bridge? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (type VARCHAR, name VARCHAR) | SELECT type FROM table_name_46 WHERE name = "colton's crossing bridge" |
Write a SQL query that answers the following question: What bridge is a pratt pony through truss tyoe bridge? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (name VARCHAR, type VARCHAR) | SELECT name FROM table_name_4 WHERE type = "pratt pony through truss" |
Write a SQL query that answers the following question: What type of bridge is in Cooperstown? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (type VARCHAR, location VARCHAR) | SELECT type FROM table_name_8 WHERE location = "cooperstown" |
Write a SQL query that answers the following question: What bridge is in Mcville? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (name VARCHAR, location VARCHAR) | SELECT name FROM table_name_69 WHERE location = "mcville" |
Write a SQL query that answers the following question: Which tracking method supports MySQL databases and is named Open Web Analytics? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (tracking_method VARCHAR, supported_databases VARCHAR, name VARCHAR) | SELECT tracking_method FROM table_name_62 WHERE supported_databases = "mysql" AND name = "open web analytics" |
Write a SQL query that answers the following question: Which tracking method has a latest stable release of 2.23-05? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (tracking_method VARCHAR, latest_stable_release VARCHAR) | SELECT tracking_method FROM table_name_14 WHERE latest_stable_release = "2.23-05" |
Write a SQL query that answers the following question: What is the latest stable release date for Crawltrack? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (latest_stable_release VARCHAR, name VARCHAR) | SELECT latest_stable_release FROM table_name_83 WHERE name = "crawltrack" |
Write a SQL query that answers the following question: Which tracking method has a latest stable release of 6.0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (tracking_method VARCHAR, latest_stable_release VARCHAR) | SELECT tracking_method FROM table_name_23 WHERE latest_stable_release = "6.0" |
Write a SQL query that answers the following question: What is the least passengers from the Dallas/Fort Worth International (DFW) airport? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (passengers INTEGER, airport VARCHAR) | SELECT MIN(passengers) FROM table_name_75 WHERE airport = "dallas/fort worth international (dfw)" |
Write a SQL query that answers the following question: What city is ranked greater than 6, and the airport is St. Petersburg/Clearwater (PIE) | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (city VARCHAR, rank VARCHAR, airport VARCHAR) | SELECT city FROM table_name_79 WHERE rank > 6 AND airport = "st. petersburg/clearwater (pie)" |
Write a SQL query that answers the following question: What is the total rank of the airport that has 79,290 passengers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (rank VARCHAR, passengers VARCHAR) | SELECT COUNT(rank) FROM table_name_63 WHERE passengers = 79 OFFSET 290 |
Write a SQL query that answers the following question: Which Winner has a Country of norway, and a FIS Nordic World Ski Championships of 1924? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (winner VARCHAR, country VARCHAR, fis_nordic_world_ski_championships VARCHAR) | SELECT winner FROM table_name_97 WHERE country = "norway" AND fis_nordic_world_ski_championships = "1924" |
Write a SQL query that answers the following question: Which Country has a FIS Nordic World Ski Championships of 1948, 1950? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (country VARCHAR, fis_nordic_world_ski_championships VARCHAR) | SELECT country FROM table_name_96 WHERE fis_nordic_world_ski_championships = "1948, 1950" |
Write a SQL query that answers the following question: Which Holmenkollen has a Country of norway, and a Winner of tom sandberg? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (holmenkollen VARCHAR, country VARCHAR, winner VARCHAR) | SELECT holmenkollen FROM table_name_22 WHERE country = "norway" AND winner = "tom sandberg" |
Write a SQL query that answers the following question: Which FIS Nordic World Ski Championships has Winter Olympics of 1960? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (fis_nordic_world_ski_championships VARCHAR, winter_olympics VARCHAR) | SELECT fis_nordic_world_ski_championships FROM table_name_44 WHERE winter_olympics = "1960" |
Write a SQL query that answers the following question: Which Country has a Winter Olympics of 1948? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (country VARCHAR, winter_olympics VARCHAR) | SELECT country FROM table_name_28 WHERE winter_olympics = "1948" |
Write a SQL query that answers the following question: Which Winner has a Winter Olympics of 1968? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (winner VARCHAR, winter_olympics VARCHAR) | SELECT winner FROM table_name_31 WHERE winter_olympics = "1968" |
Write a SQL query that answers the following question: What was the result of the game when the attendance was 43,279? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (result VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_8 WHERE attendance = "43,279" |
Write a SQL query that answers the following question: What is the average Attendance, when Date is 1 October 1998? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (attendance INTEGER, date VARCHAR) | SELECT AVG(attendance) FROM table_name_28 WHERE date = "1 october 1998" |
Write a SQL query that answers the following question: What is Opponent, when Date is 17 September 1998? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_76 WHERE date = "17 september 1998" |
Write a SQL query that answers the following question: What is Opponent, when Date is 8 April 1999? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_18 WHERE date = "8 april 1999" |
Write a SQL query that answers the following question: WHAT IS THE HIGHEST POINTS FOR LOS ANGELES? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (high_points VARCHAR, opponent VARCHAR) | SELECT high_points FROM table_name_89 WHERE opponent = "los angeles" |
Write a SQL query that answers the following question: What was the Score F-A when the result was D? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (score_f_a VARCHAR, result VARCHAR) | SELECT score_f_a FROM table_name_39 WHERE result = "d" |
Write a SQL query that answers the following question: On which date did they play Leicester City in Venue A? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (date VARCHAR, venue VARCHAR, opponents VARCHAR) | SELECT date FROM table_name_38 WHERE venue = "a" AND opponents = "leicester city" |
Write a SQL query that answers the following question: What was the result of the game played in Venue H? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (result VARCHAR, venue VARCHAR) | SELECT result FROM table_name_27 WHERE venue = "h" |
Write a SQL query that answers the following question: What was the result of the game played on 17 July 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_42 WHERE date = "17 july 2008" |
Write a SQL query that answers the following question: What Passenger has 16 Wins? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (passenger VARCHAR, wins VARCHAR) | SELECT passenger FROM table_name_94 WHERE wins = "16" |
Write a SQL query that answers the following question: Name the Time of broadcast has a Picture format of 4:3, and Hours of 20:30, and Days of the week of monday, wednesday, friday? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (time_of_broadcast VARCHAR, days_of_the_week VARCHAR, picture_format VARCHAR, hours VARCHAR) | SELECT time_of_broadcast FROM table_name_23 WHERE picture_format = "4:3" AND hours = "20:30" AND days_of_the_week = "monday, wednesday, friday" |
Write a SQL query that answers the following question: Which Days of the week has a Time of broadcast in january–february, june 2002? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (days_of_the_week VARCHAR, time_of_broadcast VARCHAR) | SELECT days_of_the_week FROM table_name_31 WHERE time_of_broadcast = "january–february, june 2002" |
Write a SQL query that answers the following question: Which Outcome has a Championship of us championships, and a Score in the final of 5–7, 6–1, 6–3, 6–3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (outcome VARCHAR, championship VARCHAR, score_in_the_final VARCHAR) | SELECT outcome FROM table_name_61 WHERE championship = "us championships" AND score_in_the_final = "5–7, 6–1, 6–3, 6–3" |
Write a SQL query that answers the following question: Which Outcome has a Year larger than 1939, and an Opponent in the final of frank kovacs? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (outcome VARCHAR, year VARCHAR, opponent_in_the_final VARCHAR) | SELECT outcome FROM table_name_44 WHERE year > 1939 AND opponent_in_the_final = "frank kovacs" |
Write a SQL query that answers the following question: Which Surface has an Opponent in the final of don mcneill, and a Year of 1940? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (surface VARCHAR, opponent_in_the_final VARCHAR, year VARCHAR) | SELECT surface FROM table_name_52 WHERE opponent_in_the_final = "don mcneill" AND year = 1940 |
Write a SQL query that answers the following question: How many years have an Opponent in the final of welby van horn? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (year INTEGER, opponent_in_the_final VARCHAR) | SELECT SUM(year) FROM table_name_74 WHERE opponent_in_the_final = "welby van horn" |
Write a SQL query that answers the following question: What is the score of player dick metz? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_74 WHERE player = "dick metz" |
Write a SQL query that answers the following question: Which season had EV Bad Wörishofen in the West? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (season VARCHAR, west VARCHAR) | SELECT season FROM table_name_60 WHERE west = "ev bad wörishofen" |
Write a SQL query that answers the following question: Who was in the South in the 2004-05 season? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (south VARCHAR, season VARCHAR) | SELECT south FROM table_name_92 WHERE season = "2004-05" |
Write a SQL query that answers the following question: Who was in the South when EV Bad Wörishofen was in the West? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (south VARCHAR, west VARCHAR) | SELECT south FROM table_name_10 WHERE west = "ev bad wörishofen" |
Write a SQL query that answers the following question: Who was in the South when TSV Kottern was in the West and EHF Passau was in the East? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (south VARCHAR, west VARCHAR, east VARCHAR) | SELECT south FROM table_name_40 WHERE west = "tsv kottern" AND east = "ehf passau" |
Write a SQL query that answers the following question: Who was in the East when TUS Geretsried II was in the South? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (east VARCHAR, south VARCHAR) | SELECT east FROM table_name_9 WHERE south = "tus geretsried ii" |
Write a SQL query that answers the following question: Who was in the West when ESV Gebensbach was in the East? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (west VARCHAR, east VARCHAR) | SELECT west FROM table_name_32 WHERE east = "esv gebensbach" |
Write a SQL query that answers the following question: What is the average Gold, when Nation is Hungary, and when Bronze is greater than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (gold INTEGER, nation VARCHAR, bronze VARCHAR) | SELECT AVG(gold) FROM table_name_2 WHERE nation = "hungary" AND bronze > 1 |
Write a SQL query that answers the following question: What is the average Total, when Nation is Soviet Union, and when Gold is greater than 9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (total INTEGER, nation VARCHAR, gold VARCHAR) | SELECT AVG(total) FROM table_name_33 WHERE nation = "soviet union" AND gold > 9 |
Write a SQL query that answers the following question: What is the total number of Bronze, when Silver is greater than 0, when Gold is greater than 3, and when Rank is 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (bronze VARCHAR, rank VARCHAR, silver VARCHAR, gold VARCHAR) | SELECT COUNT(bronze) FROM table_name_75 WHERE silver > 0 AND gold > 3 AND rank = "1" |
Write a SQL query that answers the following question: What is the highest Bronze, when Total is less than 3, and when Silver is less than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (bronze INTEGER, total VARCHAR, silver VARCHAR) | SELECT MAX(bronze) FROM table_name_86 WHERE total < 3 AND silver < 0 |
Write a SQL query that answers the following question: What is the average Total, when Silver is greater than 4, and when Gold is greater than 16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (total INTEGER, silver VARCHAR, gold VARCHAR) | SELECT AVG(total) FROM table_name_2 WHERE silver > 4 AND gold > 16 |
Write a SQL query that answers the following question: What is the sum of Silver, when Total is less than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (silver INTEGER, total INTEGER) | SELECT SUM(silver) FROM table_name_84 WHERE total < 1 |
Write a SQL query that answers the following question: What is day 4 when day 2 is PAAQ? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (day_4 VARCHAR, day_2 VARCHAR) | SELECT day_4 FROM table_name_3 WHERE day_2 = "paaq" |
Write a SQL query that answers the following question: What is the other value associated with a Christianity value of 10.24%? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (other VARCHAR, christianity VARCHAR) | SELECT other FROM table_name_21 WHERE christianity = "10.24%" |
Write a SQL query that answers the following question: What is the Judaism percentage associated with Buddhism at 0.01% and Other at 0.13%? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (judaism VARCHAR, other VARCHAR, buddhism VARCHAR) | SELECT judaism FROM table_name_15 WHERE other = "0.13%" AND buddhism = "0.01%" |
Write a SQL query that answers the following question: What is the percentage of Atheism associated with an other percentage of 0.08%? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (atheism VARCHAR, other VARCHAR) | SELECT atheism FROM table_name_90 WHERE other = "0.08%" |
Write a SQL query that answers the following question: What is the percentage of Buddhists associated with a Christianity percentage of 52.32%? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (buddhism VARCHAR, christianity VARCHAR) | SELECT buddhism FROM table_name_6 WHERE christianity = "52.32%" |
Write a SQL query that answers the following question: What is the percentage of Judaism associated with Christianity at 2.51%? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (judaism VARCHAR, christianity VARCHAR) | SELECT judaism FROM table_name_2 WHERE christianity = "2.51%" |
Write a SQL query that answers the following question: What is the value of other religions associated with atheism at 1.86%? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (other VARCHAR, atheism VARCHAR) | SELECT other FROM table_name_80 WHERE atheism = "1.86%" |
Write a SQL query that answers the following question: What is No. 2, when No. 9 is Mia? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (no_2 VARCHAR, no_9 VARCHAR) | SELECT no_2 FROM table_name_56 WHERE no_9 = "mia" |
Write a SQL query that answers the following question: What is No. 7, when No. 4 is Madison, and when No. 10 is Amelia? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (no_7 VARCHAR, no_4 VARCHAR, no_10 VARCHAR) | SELECT no_7 FROM table_name_15 WHERE no_4 = "madison" AND no_10 = "amelia" |
Write a SQL query that answers the following question: What is No.1, when No. 2 is Emma, and when No. 7 is Olivia? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (no_1 VARCHAR, no_2 VARCHAR, no_7 VARCHAR) | SELECT no_1 FROM table_name_28 WHERE no_2 = "emma" AND no_7 = "olivia" |
Write a SQL query that answers the following question: What is No. 5, when No. 2 is Olivia, when No. 4 is Ava, and when No. 6 is Abigail? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (no_5 VARCHAR, no_6 VARCHAR, no_2 VARCHAR, no_4 VARCHAR) | SELECT no_5 FROM table_name_39 WHERE no_2 = "olivia" AND no_4 = "ava" AND no_6 = "abigail" |
Write a SQL query that answers the following question: What is No. 3, when No. 7 is Abigail, and when No. 2 is Olivia? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (no_3 VARCHAR, no_7 VARCHAR, no_2 VARCHAR) | SELECT no_3 FROM table_name_24 WHERE no_7 = "abigail" AND no_2 = "olivia" |
Write a SQL query that answers the following question: What is No. 3, when No. 7 is Abigail, and when No. 4 is Ava? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (no_3 VARCHAR, no_7 VARCHAR, no_4 VARCHAR) | SELECT no_3 FROM table_name_79 WHERE no_7 = "abigail" AND no_4 = "ava" |
Write a SQL query that answers the following question: How many Laps have Grid larger than 14, and a Rider of sylvain guintoli? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (laps VARCHAR, grid VARCHAR, rider VARCHAR) | SELECT COUNT(laps) FROM table_name_51 WHERE grid > 14 AND rider = "sylvain guintoli" |
Write a SQL query that answers the following question: Which Grid has Laps of 24, and a Rider of marco melandri? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (grid INTEGER, laps VARCHAR, rider VARCHAR) | SELECT SUM(grid) FROM table_name_22 WHERE laps = 24 AND rider = "marco melandri" |
Write a SQL query that answers the following question: Which Grid has Laps smaller than 24, and a Time of retirement? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (grid INTEGER, laps VARCHAR, time VARCHAR) | SELECT MIN(grid) FROM table_name_64 WHERE laps < 24 AND time = "retirement" |
Write a SQL query that answers the following question: Which Grid has a Rider of randy de puniet, and Laps smaller than 24? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (grid INTEGER, rider VARCHAR, laps VARCHAR) | SELECT MAX(grid) FROM table_name_11 WHERE rider = "randy de puniet" AND laps < 24 |
Write a SQL query that answers the following question: What was the type of surface played on for the week of March 17? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (surface VARCHAR, week VARCHAR) | SELECT surface FROM table_name_23 WHERE week = "march 17" |
Write a SQL query that answers the following question: What was the tournament for the week of August 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (tournament VARCHAR, week VARCHAR) | SELECT tournament FROM table_name_14 WHERE week = "august 4" |
Write a SQL query that answers the following question: Which tournament had Richard Krajicek as a finalist? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (tournament VARCHAR, finalist VARCHAR) | SELECT tournament FROM table_name_85 WHERE finalist = "richard krajicek" |
Write a SQL query that answers the following question: On what date did Detroit play at home? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (date VARCHAR, home VARCHAR) | SELECT date FROM table_name_25 WHERE home = "detroit" |
Write a SQL query that answers the following question: Who was the home team on June 9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (home VARCHAR, date VARCHAR) | SELECT home FROM table_name_81 WHERE date = "june 9" |
Write a SQL query that answers the following question: What was the money value that went along with the score of 68-67-69-76=280? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (money___$__ VARCHAR, score VARCHAR) | SELECT money___$__ FROM table_name_42 WHERE score = 68 - 67 - 69 - 76 = 280 |
Write a SQL query that answers the following question: What score did Leonard Thompson have when he won $9,000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (score VARCHAR, money___$__ VARCHAR, player VARCHAR) | SELECT score FROM table_name_74 WHERE money___$__ = "9,000" AND player = "leonard thompson" |
Write a SQL query that answers the following question: What date had a record of 15-14-4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_79 WHERE record = "15-14-4" |
Write a SQL query that answers the following question: What is the fame number when the Montreal Canadiens were the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (game VARCHAR, opponent VARCHAR) | SELECT COUNT(game) FROM table_name_56 WHERE opponent = "montreal canadiens" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.