instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: Which 1965 has a 1962 of 0.35000000000000003, and a 1967 smaller than 0.53? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (Id VARCHAR) | SELECT MIN(1965) FROM table_name_38 WHERE 1962 = 0.35000000000000003 AND 1967 < 0.53 |
Write a SQL query that answers the following question: What is Bev Risman's Cross Code Debut? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (cross_code_debut VARCHAR, player VARCHAR) | SELECT cross_code_debut FROM table_name_68 WHERE player = "bev risman" |
Write a SQL query that answers the following question: What is the Player with a Cross Code Debut of RL Test GB v France? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (player VARCHAR, cross_code_debut VARCHAR) | SELECT player FROM table_name_25 WHERE cross_code_debut = "rl test gb v france" |
Write a SQL query that answers the following question: In what Year is Keith Smith's Cross Code Debut RL Test v Wales? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (year VARCHAR, cross_code_debut VARCHAR, player VARCHAR) | SELECT year FROM table_name_73 WHERE cross_code_debut = "rl test v wales" AND player = "keith smith" |
Write a SQL query that answers the following question: What is the Date of the Int'l Debut of 1967? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (date VARCHAR, year VARCHAR) | SELECT date FROM table_name_66 WHERE year = "1967" |
Write a SQL query that answers the following question: What is the Player in the Int'l Debut of 1974? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (player VARCHAR, year VARCHAR) | SELECT player FROM table_name_41 WHERE year = "1974" |
Write a SQL query that answers the following question: What lane has a time of 24.83 and a heat less than 11? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (lane INTEGER, time VARCHAR, heat VARCHAR) | SELECT SUM(lane) FROM table_name_73 WHERE time = "24.83" AND heat < 11 |
Write a SQL query that answers the following question: What is the total number of heat for Chinyere Pigot? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (heat VARCHAR, name VARCHAR) | SELECT COUNT(heat) FROM table_name_94 WHERE name = "chinyere pigot" |
Write a SQL query that answers the following question: What is the name for lane 1, from Mauritius? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (name VARCHAR, lane VARCHAR, nationality VARCHAR) | SELECT name FROM table_name_69 WHERE lane = 1 AND nationality = "mauritius" |
Write a SQL query that answers the following question: Who won in 1988 with a total less than 287? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (player VARCHAR, total VARCHAR, year_s__won VARCHAR) | SELECT player FROM table_name_21 WHERE total < 287 AND year_s__won = "1988" |
Write a SQL query that answers the following question: What country is Larry Mize from? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_21 WHERE player = "larry mize" |
Write a SQL query that answers the following question: What is the lowest number of bronze medals for a nation with fewer than 1 total medal? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (bronze INTEGER, total INTEGER) | SELECT MIN(bronze) FROM table_name_87 WHERE total < 1 |
Write a SQL query that answers the following question: What team is Frank Hulbert on? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (team VARCHAR, rider VARCHAR) | SELECT team FROM table_name_26 WHERE rider = "frank hulbert" |
Write a SQL query that answers the following question: What was Martin Geiger's rank? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (rank VARCHAR, rider VARCHAR) | SELECT rank FROM table_name_95 WHERE rider = "martin geiger" |
Write a SQL query that answers the following question: What was Tom Silver's rank? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (rank VARCHAR, rider VARCHAR) | SELECT rank FROM table_name_86 WHERE rider = "tom silver" |
Write a SQL query that answers the following question: Who was the player with a debut of age 18 v plymouth , 14 august 2012, and born in Portsmouth? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (player VARCHAR, debut VARCHAR, born VARCHAR) | SELECT player FROM table_name_97 WHERE debut = "age 18 v plymouth , 14 august 2012" AND born = "portsmouth" |
Write a SQL query that answers the following question: Where was the player whose Current Club Elfsborg born? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (born VARCHAR, current_club VARCHAR) | SELECT born FROM table_name_63 WHERE current_club = "elfsborg" |
Write a SQL query that answers the following question: What is the debut for the person born in Poole? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (debut VARCHAR, born VARCHAR) | SELECT debut FROM table_name_82 WHERE born = "poole" |
Write a SQL query that answers the following question: What is the club for Sam Magri? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (current_club VARCHAR, player VARCHAR) | SELECT current_club FROM table_name_9 WHERE player = "sam magri" |
Write a SQL query that answers the following question: What is the name of the manager of the Atlético Baleares? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (manager VARCHAR, current_club VARCHAR) | SELECT manager FROM table_name_54 WHERE current_club = "atlético baleares" |
Write a SQL query that answers the following question: Who was the best blocker for the year that has a League Champion of queens of pain, and a C.A.N.T.S.L.E.E.P. Award of chassis crass (brooklyn)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (best_blocker VARCHAR, league_champion VARCHAR, cantsleep_award VARCHAR) | SELECT best_blocker FROM table_name_94 WHERE league_champion = "queens of pain" AND cantsleep_award = "chassis crass (brooklyn)" |
Write a SQL query that answers the following question: Which Arena has Points larger than 28, and a Date of december 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (arena VARCHAR, points VARCHAR, date VARCHAR) | SELECT arena FROM table_name_2 WHERE points > 28 AND date = "december 14" |
Write a SQL query that answers the following question: How many Points have an Arena of bell centre? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (points VARCHAR, arena VARCHAR) | SELECT COUNT(points) FROM table_name_39 WHERE arena = "bell centre" |
Write a SQL query that answers the following question: How much Attendance has a Loss of divis (0–3–0), and Points smaller than 38? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (attendance INTEGER, loss VARCHAR, points VARCHAR) | SELECT SUM(attendance) FROM table_name_86 WHERE loss = "divis (0–3–0)" AND points < 38 |
Write a SQL query that answers the following question: What 2nd run has a less than 6 rank, and 3 as the total? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (rank VARCHAR, total VARCHAR) | SELECT 2 AS nd_run FROM table_name_69 WHERE rank < 6 AND total = 3 |
Write a SQL query that answers the following question: What is the sum number of year when Call of Duty 4: Modern Warfare was the game? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (year VARCHAR, game VARCHAR) | SELECT COUNT(year) FROM table_name_55 WHERE game = "call of duty 4: modern warfare" |
Write a SQL query that answers the following question: What is the earliest year when action was the genre? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (year INTEGER, genre VARCHAR) | SELECT MIN(year) FROM table_name_35 WHERE genre = "action" |
Write a SQL query that answers the following question: What is the smallest year when Ubisoft Montreal was the developer (s)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (year INTEGER, developer_s_ VARCHAR) | SELECT MIN(year) FROM table_name_38 WHERE developer_s_ = "ubisoft montreal" |
Write a SQL query that answers the following question: What is the latest year when Call of Duty 4: Modern Warfare was the game? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (year INTEGER, game VARCHAR) | SELECT MAX(year) FROM table_name_63 WHERE game = "call of duty 4: modern warfare" |
Write a SQL query that answers the following question: Who was Lieutenant Governor to the governor that left office on January 14, 1929? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (Lieutenant VARCHAR, left_office VARCHAR) | SELECT Lieutenant AS governor FROM table_name_21 WHERE left_office = "january 14, 1929" |
Write a SQL query that answers the following question: Which governor took office on January 8, 1877? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (governor VARCHAR, took_office VARCHAR) | SELECT governor FROM table_name_88 WHERE took_office = "january 8, 1877" |
Write a SQL query that answers the following question: Who was lieutenant governor to the governor that left office on October 16, 2000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (Lieutenant VARCHAR, left_office VARCHAR) | SELECT Lieutenant AS governor FROM table_name_90 WHERE left_office = "october 16, 2000" |
Write a SQL query that answers the following question: How many terms did the governor that left office on August 4, 1825 serve? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (terms VARCHAR, left_office VARCHAR) | SELECT terms FROM table_name_46 WHERE left_office = "august 4, 1825" |
Write a SQL query that answers the following question: Which IHSAA Class has a School of shakamak? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (ihsaa_class VARCHAR, school VARCHAR) | SELECT ihsaa_class FROM table_name_84 WHERE school = "shakamak" |
Write a SQL query that answers the following question: Which County has a School of bloomfield? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (county VARCHAR, school VARCHAR) | SELECT county FROM table_name_32 WHERE school = "bloomfield" |
Write a SQL query that answers the following question: How much Enrollment has a School of shakamak? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (enrollment VARCHAR, school VARCHAR) | SELECT COUNT(enrollment) FROM table_name_56 WHERE school = "shakamak" |
Write a SQL query that answers the following question: Which IHSAA Class has a Mascot of bulldogs? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (ihsaa_class VARCHAR, mascot VARCHAR) | SELECT ihsaa_class FROM table_name_10 WHERE mascot = "bulldogs" |
Write a SQL query that answers the following question: What's the 1996 if 1986 has a 1R? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (Id VARCHAR) | SELECT 1996 FROM table_name_53 WHERE 1986 = "1r" |
Write a SQL query that answers the following question: What's the 1986 if 1991 has a QF and 1998 has a 3R? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (Id VARCHAR) | SELECT 1986 FROM table_name_51 WHERE 1991 = "qf" AND 1998 = "3r" |
Write a SQL query that answers the following question: What's the 1997 if 1993 has a 1R, 1995 has a 3R, and 1999 has a 1R? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (Id VARCHAR) | SELECT 1997 FROM table_name_99 WHERE 1999 = "1r" AND 1995 = "3r" AND 1993 = "1r" |
Write a SQL query that answers the following question: What's the 1994 if 1995 has a 1R? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (Id VARCHAR) | SELECT 1994 FROM table_name_84 WHERE 1995 = "1r" |
Write a SQL query that answers the following question: What's the tournament when 1992 is A? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (tournament VARCHAR) | SELECT tournament FROM table_name_6 WHERE 1992 = "a" |
Write a SQL query that answers the following question: What's the 1997 when 1992 is QF, 1995 is 1R, and 1999 is 1R? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (Id VARCHAR) | SELECT 1997 FROM table_name_72 WHERE 1999 = "1r" AND 1992 = "qf" AND 1995 = "1r" |
Write a SQL query that answers the following question: What's the most league cup apps for Jimmy Lawson having 0 league cup goals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (league_cup_apps INTEGER, league_cup_goals VARCHAR, name VARCHAR) | SELECT MAX(league_cup_apps) FROM table_name_74 WHERE league_cup_goals = 0 AND name = "jimmy lawson" |
Write a SQL query that answers the following question: What's the total goals for Alan Sweeney having 0 FA Cup goals and fewer than 0 League Cup apps? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (total_goals INTEGER, league_cup_apps VARCHAR, fa_cup_goals VARCHAR, name VARCHAR) | SELECT AVG(total_goals) FROM table_name_91 WHERE fa_cup_goals = 0 AND name = "alan sweeney" AND league_cup_apps < 0 |
Write a SQL query that answers the following question: What's the total number of league cup apps when the league goals were less than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (league_cup_apps VARCHAR, league_goals INTEGER) | SELECT COUNT(league_cup_apps) FROM table_name_15 WHERE league_goals < 0 |
Write a SQL query that answers the following question: Where was the September 3 game? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (location VARCHAR, date VARCHAR) | SELECT location FROM table_name_15 WHERE date = "september 3" |
Write a SQL query that answers the following question: Which game was on September 12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (game VARCHAR, date VARCHAR) | SELECT game FROM table_name_2 WHERE date = "september 12" |
Write a SQL query that answers the following question: What is cork's rank? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (rank VARCHAR, county VARCHAR) | SELECT rank FROM table_name_4 WHERE county = "cork" |
Write a SQL query that answers the following question: How many totals does cork have whose rank is larger than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (total INTEGER, county VARCHAR, rank VARCHAR) | SELECT SUM(total) FROM table_name_27 WHERE county = "cork" AND rank > 2 |
Write a SQL query that answers the following question: Which Matches have a Tally of 1-38? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (matches VARCHAR, tally VARCHAR) | SELECT matches FROM table_name_7 WHERE tally = "1-38" |
Write a SQL query that answers the following question: How many silver medals did spain have when they had more than 0 bronze medals and less than 54 total medals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (silver VARCHAR, nation VARCHAR, bronze VARCHAR, total VARCHAR) | SELECT silver FROM table_name_7 WHERE bronze > 0 AND total < 54 AND nation = "spain" |
Write a SQL query that answers the following question: What was the highest number of gold medals when there were 0 silver medals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (gold INTEGER, silver INTEGER) | SELECT MAX(gold) FROM table_name_78 WHERE silver < 0 |
Write a SQL query that answers the following question: What's Brazil's rank when it has notes of R? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (rank VARCHAR, notes VARCHAR, country VARCHAR) | SELECT COUNT(rank) FROM table_name_4 WHERE notes = "r" AND country = "brazil" |
Write a SQL query that answers the following question: Which Peak Position has a Date of 10 june 1998? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (peak_position VARCHAR, date VARCHAR) | SELECT peak_position FROM table_name_21 WHERE date = "10 june 1998" |
Write a SQL query that answers the following question: What Report is on June 3, 2000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (report VARCHAR, date VARCHAR) | SELECT report FROM table_name_85 WHERE date = "june 3, 2000" |
Write a SQL query that answers the following question: What is the Report on November 15, 2000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (report VARCHAR, date VARCHAR) | SELECT report FROM table_name_18 WHERE date = "november 15, 2000" |
Write a SQL query that answers the following question: What is the Score on October 7, 2000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_45 WHERE date = "october 7, 2000" |
Write a SQL query that answers the following question: What is the figure for Santo Domingo, Dominican for the world record in the clean & jerk? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (santo_domingo_ VARCHAR, _dominican VARCHAR, world_record VARCHAR) | SELECT santo_domingo_, _dominican FROM table_name_79 WHERE world_record = "clean & jerk" |
Write a SQL query that answers the following question: What is the FIPS code for the municipality that has an area of 114.76 sq mi (297.23 sq km) and had a 2010 population of less than 166,327? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (fips_code INTEGER, area VARCHAR, population__2010_ VARCHAR) | SELECT AVG(fips_code) FROM table_name_70 WHERE area = "114.76 sq mi (297.23 sq km)" AND population__2010_ < 166 OFFSET 327 |
Write a SQL query that answers the following question: In what year was Yauco, which had over 42,043 people in 2010, founded? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (founded INTEGER, municipality VARCHAR, population__2010_ VARCHAR) | SELECT AVG(founded) FROM table_name_9 WHERE municipality = "yauco" AND population__2010_ > 42 OFFSET 043 |
Write a SQL query that answers the following question: What is the attendance for a week smaller than 9 with a result of L 38-20? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (attendance INTEGER, result VARCHAR, week VARCHAR) | SELECT MAX(attendance) FROM table_name_67 WHERE result = "l 38-20" AND week < 9 |
Write a SQL query that answers the following question: Can you tell me the School that has the IHSAA Class of a, and the Enrollment 08-09 off 244? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (school VARCHAR, ihsaa_class VARCHAR, enrollment_08_09 VARCHAR) | SELECT school FROM table_name_67 WHERE ihsaa_class = "a" AND enrollment_08_09 = 244 |
Write a SQL query that answers the following question: Can you tell me the County that has the Location of shelbyville? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (county VARCHAR, location VARCHAR) | SELECT county FROM table_name_17 WHERE location = "shelbyville" |
Write a SQL query that answers the following question: How many Deaths have a Fate of damaged, and a Tonnage (GRT) smaller than 4,917? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (deaths VARCHAR, fate VARCHAR, tonnage___grt__ VARCHAR) | SELECT COUNT(deaths) FROM table_name_1 WHERE fate = "damaged" AND tonnage___grt__ < 4 OFFSET 917 |
Write a SQL query that answers the following question: Which Tonnage has a Fate of sunk, and Deaths smaller than 17, and a Date of 16 november 1940? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (tonnage___grt__ VARCHAR, date VARCHAR, fate VARCHAR, deaths VARCHAR) | SELECT tonnage___grt__ FROM table_name_11 WHERE fate = "sunk" AND deaths < 17 AND date = "16 november 1940" |
Write a SQL query that answers the following question: How much tonnage has a Fate of sunk, and a Flag of great britain, and a Date of 26 september 1940, and Deaths of 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (tonnage___grt__ INTEGER, deaths VARCHAR, date VARCHAR, fate VARCHAR, flag VARCHAR) | SELECT SUM(tonnage___grt__) FROM table_name_83 WHERE fate = "sunk" AND flag = "great britain" AND date = "26 september 1940" AND deaths = 2 |
Write a SQL query that answers the following question: Which tonnage has a Date of 26 september 1940, and a Ship Name of ashantian? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (tonnage___grt__ INTEGER, date VARCHAR, ship_name VARCHAR) | SELECT MIN(tonnage___grt__) FROM table_name_84 WHERE date = "26 september 1940" AND ship_name = "ashantian" |
Write a SQL query that answers the following question: What is the highest lane for Brazil, ranked less than 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (lane INTEGER, country VARCHAR, rank VARCHAR) | SELECT MAX(lane) FROM table_name_85 WHERE country = "brazil" AND rank < 8 |
Write a SQL query that answers the following question: What is the total population with less than 789 males? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (total_population VARCHAR, male INTEGER) | SELECT COUNT(total_population) FROM table_name_12 WHERE male < 789 |
Write a SQL query that answers the following question: What is the lowest female number of the hiroo 1-chōme district, which has more than 1,666 households? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (female INTEGER, district VARCHAR, number_of_households VARCHAR) | SELECT MIN(female) FROM table_name_66 WHERE district = "hiroo 1-chōme" AND number_of_households > 1 OFFSET 666 |
Write a SQL query that answers the following question: What is the total number of females where the total population is less than 2,195? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (female VARCHAR, total_population INTEGER) | SELECT COUNT(female) FROM table_name_65 WHERE total_population < 2 OFFSET 195 |
Write a SQL query that answers the following question: What was the outcome when the partner was Iryna Bremond? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (outcome VARCHAR, partner VARCHAR) | SELECT outcome FROM table_name_13 WHERE partner = "iryna bremond" |
Write a SQL query that answers the following question: What tournament had a Score of 6–3, 2–6, [10–8]? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (tournament VARCHAR, score VARCHAR) | SELECT tournament FROM table_name_90 WHERE score = "6–3, 2–6, [10–8]" |
Write a SQL query that answers the following question: Who was the partner when the surface was clay, and outcome was runner-up, with a score of 4–6, 1–6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (partner VARCHAR, score VARCHAR, surface VARCHAR, outcome VARCHAR) | SELECT partner FROM table_name_28 WHERE surface = "clay" AND outcome = "runner-up" AND score = "4–6, 1–6" |
Write a SQL query that answers the following question: What is the rank of Manuel Cortina Martínez? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (rank VARCHAR, athletes VARCHAR) | SELECT rank FROM table_name_46 WHERE athletes = "manuel cortina martínez" |
Write a SQL query that answers the following question: What is the rank if the person with a time of 1:40.626? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (rank INTEGER, time VARCHAR) | SELECT SUM(rank) FROM table_name_23 WHERE time = "1:40.626" |
Write a SQL query that answers the following question: What is the rank of the person with a time of 1:44.757? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (rank INTEGER, time VARCHAR) | SELECT MAX(rank) FROM table_name_62 WHERE time = "1:44.757" |
Write a SQL query that answers the following question: What is the rank of Israel? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (rank INTEGER, country VARCHAR) | SELECT MAX(rank) FROM table_name_97 WHERE country = "israel" |
Write a SQL query that answers the following question: What is the name of the athlete from Myanmar? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (athletes VARCHAR, country VARCHAR) | SELECT athletes FROM table_name_97 WHERE country = "myanmar" |
Write a SQL query that answers the following question: What are the notes for the person ranked larger than 2, and a time of 1:48.179? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (notes VARCHAR, rank VARCHAR, time VARCHAR) | SELECT notes FROM table_name_48 WHERE rank > 2 AND time = "1:48.179" |
Write a SQL query that answers the following question: What is the lowest Chorley with a 6 Preston and a 4 for West Lancashire? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (chorley INTEGER, preston VARCHAR, west_lancashire VARCHAR) | SELECT MIN(chorley) FROM table_name_99 WHERE preston = 6 AND west_lancashire < 4 |
Write a SQL query that answers the following question: What is the average rating for a Flyde that has a Burnley less than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (fylde INTEGER, burnley INTEGER) | SELECT AVG(fylde) FROM table_name_57 WHERE burnley < 0 |
Write a SQL query that answers the following question: What is the highest rated West Lancashire with a Pendle greater than 1 and a Rossendale more than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (west_lancashire INTEGER, pendle VARCHAR, rossendale VARCHAR) | SELECT MAX(west_lancashire) FROM table_name_15 WHERE pendle > 1 AND rossendale > 2 |
Write a SQL query that answers the following question: What was the average Chorley for the Labour party that had a Rossendale greater than 0 and a Pendle less than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (chorley INTEGER, pendle VARCHAR, rossendale VARCHAR, party VARCHAR) | SELECT AVG(chorley) FROM table_name_96 WHERE rossendale > 0 AND party = "labour" AND pendle < 1 |
Write a SQL query that answers the following question: In what season was Schädlich the top goalscorer? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (season VARCHAR, top_goalscorer VARCHAR) | SELECT season FROM table_name_79 WHERE top_goalscorer = "schädlich" |
Write a SQL query that answers the following question: What is the average attendance when the rank is 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (avgatt VARCHAR, rank VARCHAR) | SELECT avgatt FROM table_name_90 WHERE rank = "5" |
Write a SQL query that answers the following question: What is the Speed for Chris Swallow? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (speed VARCHAR, rider VARCHAR) | SELECT speed FROM table_name_13 WHERE rider = "chris swallow" |
Write a SQL query that answers the following question: What is the speed when the rank is larger than 2, and team is 500cc norton manx? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (speed VARCHAR, rank VARCHAR, team VARCHAR) | SELECT speed FROM table_name_36 WHERE rank > 2 AND team = "500cc norton manx" |
Write a SQL query that answers the following question: What is the time for Alan Oversby? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (time VARCHAR, rider VARCHAR) | SELECT time FROM table_name_94 WHERE rider = "alan oversby" |
Write a SQL query that answers the following question: What is the Speed when the rank is smaller than 3, and time is 1:06.19.90? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (speed VARCHAR, rank VARCHAR, time VARCHAR) | SELECT speed FROM table_name_28 WHERE rank < 3 AND time = "1:06.19.90" |
Write a SQL query that answers the following question: What is the team when the time is 1:11.19.89? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (team VARCHAR, time VARCHAR) | SELECT team FROM table_name_36 WHERE time = "1:11.19.89" |
Write a SQL query that answers the following question: Which actor plays the character Helga Beimer? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (actor VARCHAR, character VARCHAR) | SELECT actor FROM table_name_83 WHERE character = "helga beimer" |
Write a SQL query that answers the following question: How long did the soap opera run in which Nadine Spruß acted in? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (character VARCHAR, actor VARCHAR) | SELECT character FROM table_name_13 WHERE actor = "nadine spruß" |
Write a SQL query that answers the following question: How many years did the soap opera run in which the character Clemens Richter was included? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (duration VARCHAR, character VARCHAR) | SELECT duration FROM table_name_2 WHERE character = "clemens richter" |
Write a SQL query that answers the following question: What years did Marienhof run, which featured Leonore Capell and lasted 10 years? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (years VARCHAR, actor VARCHAR, soap_opera VARCHAR, duration VARCHAR) | SELECT years FROM table_name_88 WHERE soap_opera = "marienhof" AND duration = "10 years" AND actor = "leonore capell" |
Write a SQL query that answers the following question: Who was the opponent in week 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (opponent VARCHAR, week VARCHAR) | SELECT opponent FROM table_name_89 WHERE week = 6 |
Write a SQL query that answers the following question: What's the result when the Carolina Panthers were the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_86 WHERE opponent = "carolina panthers" |
Write a SQL query that answers the following question: What date had a result of W 41-0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (date VARCHAR, result VARCHAR) | SELECT date FROM table_name_29 WHERE result = "w 41-0" |
Write a SQL query that answers the following question: What's the attendance when the week was more than 16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (attendance VARCHAR, week INTEGER) | SELECT attendance FROM table_name_95 WHERE week > 16 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.