instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: what is the place for gary player? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_98 WHERE player = "gary player" |
Write a SQL query that answers the following question: what is the place when the score is 70-72=142? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_48 WHERE score = 70 - 72 = 142 |
Write a SQL query that answers the following question: what is the place when the score is 70-70=140? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_53 WHERE score = 70 - 70 = 140 |
Write a SQL query that answers the following question: who is the player when the country is united states and the score is 71-73=144? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (player VARCHAR, country VARCHAR, score VARCHAR) | SELECT player FROM table_name_93 WHERE country = "united states" AND score = 71 - 73 = 144 |
Write a SQL query that answers the following question: What school or team is in a round below 5 with a pick of 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (school_club_team VARCHAR, round VARCHAR, pick VARCHAR) | SELECT school_club_team FROM table_name_57 WHERE round < 5 AND pick = 2 |
Write a SQL query that answers the following question: Who is the player with a pick less than 234 and a quarterback position? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (player VARCHAR, pick VARCHAR, position VARCHAR) | SELECT player FROM table_name_55 WHERE pick < 234 AND position = "quarterback" |
Write a SQL query that answers the following question: Who is the player in tight end position in a round below 12 that has a pick greater than 17? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (player VARCHAR, position VARCHAR, pick VARCHAR, round VARCHAR) | SELECT player FROM table_name_81 WHERE pick > 17 AND round < 12 AND position = "tight end" |
Write a SQL query that answers the following question: How many picks does Auburn have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (pick VARCHAR, school_club_team VARCHAR) | SELECT COUNT(pick) FROM table_name_47 WHERE school_club_team = "auburn" |
Write a SQL query that answers the following question: What is the career for 2007 3r, and 1999 1r? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (career VARCHAR) | SELECT career FROM table_name_80 WHERE 2007 = "3r" AND 1999 = "1r" |
Write a SQL query that answers the following question: What is the career for the 2006 3r, and the 1999 2r? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (career VARCHAR) | SELECT career FROM table_name_70 WHERE 2006 = "3r" AND 1999 = "2r" |
Write a SQL query that answers the following question: Who in 2009, has a 2003 2r and a 2000 2r? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (Id VARCHAR) | SELECT 2009 FROM table_name_64 WHERE 2003 = "2r" AND 2000 = "2r" |
Write a SQL query that answers the following question: What is Result/Score, when Year is greater than 2005, and when Opponent is #8 Arkansas #1 Memphis? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (result_score VARCHAR, year VARCHAR, opponent VARCHAR) | SELECT result_score FROM table_name_92 WHERE year > 2005 AND opponent = "#8 arkansas #1 memphis" |
Write a SQL query that answers the following question: What is the highest Year, when Opponent is #2 Syracuse? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (year INTEGER, opponent VARCHAR) | SELECT MAX(year) FROM table_name_52 WHERE opponent = "#2 syracuse" |
Write a SQL query that answers the following question: What is Round when Year is 1987? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (round VARCHAR, year VARCHAR) | SELECT round FROM table_name_92 WHERE year = 1987 |
Write a SQL query that answers the following question: What is the sum of Year, when Opponent is #3 UCONN? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (year INTEGER, opponent VARCHAR) | SELECT SUM(year) FROM table_name_40 WHERE opponent = "#3 uconn" |
Write a SQL query that answers the following question: What's the longitude named zipaltonal fluctus in 1997 with a diameter smaller than 490? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (longitude VARCHAR, name VARCHAR, year_named VARCHAR, diameter__km_ VARCHAR) | SELECT longitude FROM table_name_41 WHERE year_named = 1997 AND diameter__km_ < 490 AND name = "zipaltonal fluctus" |
Write a SQL query that answers the following question: What's the diameter of kaiwan fluctus? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (diameter__km_ VARCHAR, name VARCHAR) | SELECT diameter__km_ FROM table_name_30 WHERE name = "kaiwan fluctus" |
Write a SQL query that answers the following question: In what game did the New York Rangers play against the Chicago Black Hawks? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (game VARCHAR, opponent VARCHAR) | SELECT game FROM table_name_5 WHERE opponent = "chicago black hawks" |
Write a SQL query that answers the following question: WHAT IS THE SCORE FOR GREG NORMAN? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_29 WHERE player = "greg norman" |
Write a SQL query that answers the following question: WHAT IS THE PLAYER WITH A TO PAR OF E, AND SCORE OF 68-72=140? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (player VARCHAR, to_par VARCHAR, score VARCHAR) | SELECT player FROM table_name_2 WHERE to_par = "e" AND score = 68 - 72 = 140 |
Write a SQL query that answers the following question: WHAT IS THE TO PAR WITH T5 PLACE, AND PLAYER MARK MCCUMBER? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (to_par VARCHAR, place VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_68 WHERE place = "t5" AND player = "mark mccumber" |
Write a SQL query that answers the following question: When was the microprocessor with 1.65β1.7 v, a mult of 4.5Γ, and a slot 1 socket released? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (release_date VARCHAR, socket VARCHAR, voltage VARCHAR, mult VARCHAR) | SELECT release_date FROM table_name_43 WHERE voltage = "1.65β1.7 v" AND mult = "4.5Γ" AND socket = "slot 1" |
Write a SQL query that answers the following question: What is the voltage of the Pentiumiii866 microprocessor with a socket 370? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (voltage VARCHAR, socket VARCHAR, model_number VARCHAR) | SELECT voltage FROM table_name_8 WHERE socket = "socket 370" AND model_number = "pentiumiii866" |
Write a SQL query that answers the following question: What kind of socket is on the microprocessor with a part number of 80526pz533256? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (socket VARCHAR, part_number_s_ VARCHAR) | SELECT socket FROM table_name_28 WHERE part_number_s_ = "80526pz533256" |
Write a SQL query that answers the following question: What is the Date of the match with Opponent in the final Kenneth Carlsen? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (date VARCHAR, opponent_in_the_final VARCHAR) | SELECT date FROM table_name_41 WHERE opponent_in_the_final = "kenneth carlsen" |
Write a SQL query that answers the following question: What is the Date of the match with a Score in the final of 6β3, 6β3, 2β6, 6β4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (date VARCHAR, score_in_the_final VARCHAR) | SELECT date FROM table_name_9 WHERE score_in_the_final = "6β3, 6β3, 2β6, 6β4" |
Write a SQL query that answers the following question: How many games did they lose when they tied less than 2 games? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (lost VARCHAR, draw INTEGER) | SELECT lost FROM table_name_39 WHERE draw < 2 |
Write a SQL query that answers the following question: What is the least ties when they played less than 14 games, and a lost less than 8 of them? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (draw INTEGER, played VARCHAR, lost VARCHAR) | SELECT MIN(draw) FROM table_name_7 WHERE played < 14 AND lost < 8 |
Write a SQL query that answers the following question: What is the lowest number of games played where they tied more than 7 of them? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (played INTEGER, draw INTEGER) | SELECT MIN(played) FROM table_name_92 WHERE draw > 7 |
Write a SQL query that answers the following question: What is the highest Against where they lost less than 20 games, tied more than 2 of them, and they had Favour less than 11? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (against INTEGER, favour VARCHAR, lost VARCHAR, draw VARCHAR) | SELECT MAX(against) FROM table_name_85 WHERE lost < 20 AND draw > 2 AND favour < 11 |
Write a SQL query that answers the following question: WHAT IS THE SCORE FOR 2010 fifa world cup qualification? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (score VARCHAR, competition VARCHAR) | SELECT score FROM table_name_28 WHERE competition = "2010 fifa world cup qualification" |
Write a SQL query that answers the following question: What is the latest year rafael nadal was in the French Open, Roger Federer was in Wimbledon, and Roger Federer was in the Australian Open? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (year INTEGER, australian_open VARCHAR, french_open VARCHAR, wimbledon VARCHAR) | SELECT MAX(year) FROM table_name_71 WHERE french_open = "rafael nadal" AND wimbledon = "roger federer" AND australian_open = "roger federer" |
Write a SQL query that answers the following question: What is the total number of years Andy Murray was at Wimbledon? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (year VARCHAR, wimbledon VARCHAR) | SELECT COUNT(year) FROM table_name_27 WHERE wimbledon = "andy murray" |
Write a SQL query that answers the following question: What is the Australian open in 2010? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (australian_open VARCHAR, year VARCHAR) | SELECT australian_open FROM table_name_71 WHERE year = 2010 |
Write a SQL query that answers the following question: What is the highest loss with a long more than 61? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (loss INTEGER, long INTEGER) | SELECT MAX(loss) FROM table_name_1 WHERE long > 61 |
Write a SQL query that answers the following question: What is the long with a loss lower than 133 and more than 0 gain with an avg/G of 29.8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (long INTEGER, avg_g VARCHAR, loss VARCHAR, gain VARCHAR) | SELECT AVG(long) FROM table_name_10 WHERE loss < 133 AND gain > 0 AND avg_g = 29.8 |
Write a SQL query that answers the following question: What is the lowest long with an avg/G more than -2.2 and a total name and a gain of more than 2,488? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (long INTEGER, gain VARCHAR, avg_g VARCHAR, name VARCHAR) | SELECT MIN(long) FROM table_name_60 WHERE avg_g > -2.2 AND name = "total" AND gain > 2 OFFSET 488 |
Write a SQL query that answers the following question: What is the network brand name of the company vodafone group in Germany? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (network_brand_name VARCHAR, company_name VARCHAR, country VARCHAR) | SELECT network_brand_name FROM table_name_45 WHERE company_name = "vodafone group" AND country = "germany" |
Write a SQL query that answers the following question: What is the accreditation level of the network brand Movistar? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (accreditation_level VARCHAR, network_brand_name VARCHAR) | SELECT accreditation_level FROM table_name_76 WHERE network_brand_name = "movistar" |
Write a SQL query that answers the following question: What date was Movistar accredited? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (date VARCHAR, network_brand_name VARCHAR) | SELECT date FROM table_name_6 WHERE network_brand_name = "movistar" |
Write a SQL query that answers the following question: What is the accreditation type of Vodacom Group PTY LTD (Vodafone group)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (accreditation_type VARCHAR, company_name VARCHAR) | SELECT accreditation_type FROM table_name_22 WHERE company_name = "vodacom group pty ltd (vodafone group)" |
Write a SQL query that answers the following question: What is Deutsche Telekom's accreditation type? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (accreditation_type VARCHAR, network_brand_name VARCHAR) | SELECT accreditation_type FROM table_name_88 WHERE network_brand_name = "deutsche telekom" |
Write a SQL query that answers the following question: What was the Location and Attendance of Game 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (location_attendance VARCHAR, game VARCHAR) | SELECT location_attendance FROM table_name_51 WHERE game = 6 |
Write a SQL query that answers the following question: What inclination has a semimajor axis of 20 au? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (inclination VARCHAR, semimajor_axis___au__ VARCHAR) | SELECT inclination FROM table_name_16 WHERE semimajor_axis___au__ = "20 au" |
Write a SQL query that answers the following question: What is the eccentricity when the semimajor axis is 20 au? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (eccentricity VARCHAR, semimajor_axis___au__ VARCHAR) | SELECT eccentricity FROM table_name_75 WHERE semimajor_axis___au__ = "20 au" |
Write a SQL query that answers the following question: What is Score, when Team is "Indiana"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (score VARCHAR, team VARCHAR) | SELECT score FROM table_name_7 WHERE team = "indiana" |
Write a SQL query that answers the following question: What is Date, when Game is "8"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (date VARCHAR, game VARCHAR) | SELECT date FROM table_name_48 WHERE game = 8 |
Write a SQL query that answers the following question: What is High Assists, when Date is "November 1"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (high_assists VARCHAR, date VARCHAR) | SELECT high_assists FROM table_name_18 WHERE date = "november 1" |
Write a SQL query that answers the following question: Who was the winner on a hard surface on the week of November 13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (winner VARCHAR, surface VARCHAR, week VARCHAR) | SELECT winner FROM table_name_30 WHERE surface = "hard" AND week = "november 13" |
Write a SQL query that answers the following question: Which player had a conference of PAC-10 and position of G? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (player VARCHAR, conf VARCHAR, pos VARCHAR) | SELECT player FROM table_name_56 WHERE conf = "pac-10" AND pos = "g" |
Write a SQL query that answers the following question: Which player had a position of OL from Ohio State? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (player VARCHAR, pos VARCHAR, college VARCHAR) | SELECT player FROM table_name_65 WHERE pos = "ol" AND college = "ohio state" |
Write a SQL query that answers the following question: Which player had a position of QB for Texas Tech? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (player VARCHAR, pos VARCHAR, college VARCHAR) | SELECT player FROM table_name_84 WHERE pos = "qb" AND college = "texas tech" |
Write a SQL query that answers the following question: Can you tell me the Opponent that has the Round of 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (opponent VARCHAR, round VARCHAR) | SELECT opponent FROM table_name_30 WHERE round = 3 |
Write a SQL query that answers the following question: What is the main use for the structure listed in walker city, iowa? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (main_use VARCHAR, town VARCHAR) | SELECT main_use FROM table_name_25 WHERE town = "walker city, iowa" |
Write a SQL query that answers the following question: What year was the structure in greensboro, north carolina considered tallest? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (year VARCHAR, town VARCHAR) | SELECT year FROM table_name_16 WHERE town = "greensboro, north carolina" |
Write a SQL query that answers the following question: What was the earliest year that a structure was located in gray court, south carolina? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (year INTEGER, town VARCHAR) | SELECT MIN(year) FROM table_name_63 WHERE town = "gray court, south carolina" |
Write a SQL query that answers the following question: What is the main use of the structure that was in redfield, arkansas before 2004? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (main_use VARCHAR, year VARCHAR, town VARCHAR) | SELECT main_use FROM table_name_77 WHERE year < 2004 AND town = "redfield, arkansas" |
Write a SQL query that answers the following question: How far did the pilot go when averaging 124.1km/h? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (distance VARCHAR, speed VARCHAR) | SELECT distance FROM table_name_44 WHERE speed = "124.1km/h" |
Write a SQL query that answers the following question: What was sebastian kawa's average speed with Diana 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (speed VARCHAR, glider VARCHAR, pilot VARCHAR) | SELECT speed FROM table_name_36 WHERE glider = "diana 2" AND pilot = "sebastian kawa" |
Write a SQL query that answers the following question: What glider did thomas gostner pilot? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (glider VARCHAR, pilot VARCHAR) | SELECT glider FROM table_name_84 WHERE pilot = "thomas gostner" |
Write a SQL query that answers the following question: Which Run 4 has a Final of 8:16.28? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (run_4 VARCHAR, final VARCHAR) | SELECT run_4 FROM table_name_22 WHERE final = "8:16.28" |
Write a SQL query that answers the following question: Which Run 4 has Athletes of hubert stevens & curtis stevens? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (run_4 VARCHAR, athletes VARCHAR) | SELECT run_4 FROM table_name_46 WHERE athletes = "hubert stevens & curtis stevens" |
Write a SQL query that answers the following question: Which Run 2 has a Rank of 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (run_2 VARCHAR, rank VARCHAR) | SELECT run_2 FROM table_name_9 WHERE rank = "4" |
Write a SQL query that answers the following question: Which Athletes have a Rank of bronze? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (athletes VARCHAR, rank VARCHAR) | SELECT athletes FROM table_name_44 WHERE rank = "bronze" |
Write a SQL query that answers the following question: Which Athletes have a Run 2 of 2:21.82? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (athletes VARCHAR, run_2 VARCHAR) | SELECT athletes FROM table_name_39 WHERE run_2 = "2:21.82" |
Write a SQL query that answers the following question: Which Run 3 has a Run 1 of 2:20.10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (run_3 VARCHAR, run_1 VARCHAR) | SELECT run_3 FROM table_name_13 WHERE run_1 = "2:20.10" |
Write a SQL query that answers the following question: What percentage did Republish Christopher Reed receive when the lead margin was smaller than 16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (republican VARCHAR, lead_margin INTEGER) | SELECT republican AS :_christopher_reed FROM table_name_25 WHERE lead_margin < 16 |
Write a SQL query that answers the following question: What was Democrat: Tom Harkin's percentage when the poll source was Rasmussen Reports and the lead margin was 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (democrat VARCHAR, poll_source VARCHAR, lead_margin VARCHAR) | SELECT democrat AS :_tom_harkin FROM table_name_77 WHERE poll_source = "rasmussen reports" AND lead_margin = 14 |
Write a SQL query that answers the following question: What were the dates administered when the lead margin was larger than 14 and the poll source was Research 2000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (dates_administered VARCHAR, lead_margin VARCHAR, poll_source VARCHAR) | SELECT dates_administered FROM table_name_72 WHERE lead_margin > 14 AND poll_source = "research 2000" |
Write a SQL query that answers the following question: What is Olivier Jacque's Time/Retired? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (time_retired VARCHAR, rider VARCHAR) | SELECT time_retired FROM table_name_43 WHERE rider = "olivier jacque" |
Write a SQL query that answers the following question: Which manufacturer is grid 11? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (manufacturer VARCHAR, grid VARCHAR) | SELECT manufacturer FROM table_name_93 WHERE grid = "11" |
Write a SQL query that answers the following question: Which manufacturer does Loris Capirossi ride for? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (manufacturer VARCHAR, rider VARCHAR) | SELECT manufacturer FROM table_name_13 WHERE rider = "loris capirossi" |
Write a SQL query that answers the following question: Which manufacturer has 8 laps? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (manufacturer VARCHAR, laps VARCHAR) | SELECT manufacturer FROM table_name_18 WHERE laps = "8" |
Write a SQL query that answers the following question: How many laps does grid 4 have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (laps VARCHAR, grid VARCHAR) | SELECT laps FROM table_name_74 WHERE grid = "4" |
Write a SQL query that answers the following question: Which rider's manufacturer is Honda and has 28 laps and a grid of 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (rider VARCHAR, grid VARCHAR, laps VARCHAR, manufacturer VARCHAR) | SELECT rider FROM table_name_35 WHERE laps = "28" AND manufacturer = "honda" AND grid = "1" |
Write a SQL query that answers the following question: What is the 2006 sum with a rank 1 and more than 6758845 in 1996? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (rank VARCHAR) | SELECT SUM(2006) FROM table_name_38 WHERE rank = 1 AND 1996 > 6758845 |
Write a SQL query that answers the following question: What is the total number in 2006, which has an official foundation of municipality of 1918? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (date_of_official_foundation_of_municipality VARCHAR) | SELECT COUNT(2006) FROM table_name_95 WHERE date_of_official_foundation_of_municipality = 1918 |
Write a SQL query that answers the following question: What is teh average rank of the city of mashhad, which had less than 667770 in 1976? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (rank INTEGER, city VARCHAR) | SELECT AVG(rank) FROM table_name_97 WHERE city = "mashhad" AND 1976 < 667770 |
Write a SQL query that answers the following question: What is the average rank of the province alborz, which had more than 14526 in 1956? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (rank INTEGER, province VARCHAR) | SELECT AVG(rank) FROM table_name_95 WHERE province = "alborz" AND 1956 > 14526 |
Write a SQL query that answers the following question: Which World Rank happened in 1977? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (world_rank VARCHAR, year VARCHAR) | SELECT world_rank FROM table_name_81 WHERE year = 1977 |
Write a SQL query that answers the following question: What is the rank for the episode that premiered on September 12, 1979? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (rank VARCHAR, premiere VARCHAR) | SELECT rank FROM table_name_41 WHERE premiere = "september 12, 1979" |
Write a SQL query that answers the following question: What was the date of the finale for the season that premiered on September 22, 1976? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (finale VARCHAR, premiere VARCHAR) | SELECT finale FROM table_name_72 WHERE premiere = "september 22, 1976" |
Write a SQL query that answers the following question: What is the rank for the episode that premiered on September 13, 1978? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (rank VARCHAR, premiere VARCHAR) | SELECT rank FROM table_name_21 WHERE premiere = "september 13, 1978" |
Write a SQL query that answers the following question: What was the date of the finale for Season 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (finale VARCHAR, season VARCHAR) | SELECT finale FROM table_name_61 WHERE season = 3 |
Write a SQL query that answers the following question: What was the date of the premiere that had a 20.9 rating? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (premiere VARCHAR, rating VARCHAR) | SELECT premiere FROM table_name_38 WHERE rating = "20.9" |
Write a SQL query that answers the following question: What was Herdez Competition's total points with a grid larger than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (points VARCHAR, team VARCHAR, grid VARCHAR) | SELECT COUNT(points) FROM table_name_39 WHERE team = "herdez competition" AND grid > 1 |
Write a SQL query that answers the following question: What was the highest lap count for Walker Racing with a grid larger than 15? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (laps INTEGER, team VARCHAR, grid VARCHAR) | SELECT MAX(laps) FROM table_name_34 WHERE team = "walker racing" AND grid > 15 |
Write a SQL query that answers the following question: Which driver had 248 laps? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (driver VARCHAR, laps VARCHAR) | SELECT driver FROM table_name_9 WHERE laps = 248 |
Write a SQL query that answers the following question: What driver had a time/retired of + 10 laps and more than 6 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (driver VARCHAR, time_retired VARCHAR, points VARCHAR) | SELECT driver FROM table_name_80 WHERE time_retired = "+ 10 laps" AND points > 6 |
Write a SQL query that answers the following question: Which Record has a Game of 61? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (record VARCHAR, game VARCHAR) | SELECT record FROM table_name_56 WHERE game = 61 |
Write a SQL query that answers the following question: Which High points have a Record of 27β29? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (high_points VARCHAR, record VARCHAR) | SELECT high_points FROM table_name_67 WHERE record = "27β29" |
Write a SQL query that answers the following question: Which High points has a Game larger than 58, and a High rebounds of francisco elson (7)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (high_points VARCHAR, game VARCHAR, high_rebounds VARCHAR) | SELECT high_points FROM table_name_92 WHERE game > 58 AND high_rebounds = "francisco elson (7)" |
Write a SQL query that answers the following question: Which Location Attendance has a Date of february 27? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (location_attendance VARCHAR, date VARCHAR) | SELECT location_attendance FROM table_name_46 WHERE date = "february 27" |
Write a SQL query that answers the following question: Which Record has a High rebounds of luc mbah a moute (11)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (record VARCHAR, high_rebounds VARCHAR) | SELECT record FROM table_name_42 WHERE high_rebounds = "luc mbah a moute (11)" |
Write a SQL query that answers the following question: Which Game has a Record of 27β30? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (game INTEGER, record VARCHAR) | SELECT SUM(game) FROM table_name_99 WHERE record = "27β30" |
Write a SQL query that answers the following question: What Tournament had a Score in Final of 5β7, 4β6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (tournament VARCHAR, score_in_final VARCHAR) | SELECT tournament FROM table_name_43 WHERE score_in_final = "5β7, 4β6" |
Write a SQL query that answers the following question: What is the Opponents in Final in the match with a Score in Final of 4β6, 1β6 played on Clay Surface? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (opponents_in_final VARCHAR, score_in_final VARCHAR, surface VARCHAR) | SELECT opponents_in_final FROM table_name_48 WHERE score_in_final = "4β6, 1β6" AND surface = "clay" |
Write a SQL query that answers the following question: What is the Date of the match with Partner Steffi Graf with a Score in Final of 4β6, 1β6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (date VARCHAR, score_in_final VARCHAR, partner VARCHAR) | SELECT date FROM table_name_26 WHERE score_in_final = "4β6, 1β6" AND partner = "steffi graf" |
Write a SQL query that answers the following question: What is the Partner of the match with a Score in Final of 5β7, 4β6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (partner VARCHAR, score_in_final VARCHAR) | SELECT partner FROM table_name_92 WHERE score_in_final = "5β7, 4β6" |
Write a SQL query that answers the following question: What is 2001, when 1999 is "2R", and when 1992 is "3R"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (Id VARCHAR) | SELECT 2001 FROM table_name_12 WHERE 1999 = "2r" AND 1992 = "3r" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.