instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: WHAT IS THE TAMIL WITH A SUKRAVAR ? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (tamil VARCHAR, hindi VARCHAR) | SELECT tamil FROM table_name_89 WHERE hindi = "sukravar" |
Write a SQL query that answers the following question: WHAT HINDI HAS A KANNADA OF SHANIVARA? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (hindi VARCHAR, kannada VARCHAR) | SELECT hindi FROM table_name_36 WHERE kannada = "shanivara" |
Write a SQL query that answers the following question: WHAT IS THE MALAYAM WITH മലയാളം of വെള്ളി? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (malayalam VARCHAR, മലയാളം VARCHAR) | SELECT malayalam FROM table_name_61 WHERE മലയാളം = "വെള്ളി" |
Write a SQL query that answers the following question: WHAT TAMIL HAS Kannada of budhavara? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (tamil VARCHAR, kannada VARCHAR) | SELECT tamil FROM table_name_91 WHERE kannada = "budhavara" |
Write a SQL query that answers the following question: WHAT HINDI HAS Tamil of vyazhan? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (hindi VARCHAR, tamil VARCHAR) | SELECT hindi FROM table_name_37 WHERE tamil = "vyazhan" |
Write a SQL query that answers the following question: WHAT HINDI HAS Kannada of shukravara? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (hindi VARCHAR, kannada VARCHAR) | SELECT hindi FROM table_name_54 WHERE kannada = "shukravara" |
Write a SQL query that answers the following question: What is the lowest amount of assists for more than 5 games? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (assists INTEGER, games_played INTEGER) | SELECT MIN(assists) FROM table_name_24 WHERE games_played > 5 |
Write a SQL query that answers the following question: What is the highest amount of points with less than 5 assists and less than 2 goals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (points INTEGER, assists VARCHAR, goals VARCHAR) | SELECT MAX(points) FROM table_name_5 WHERE assists < 5 AND goals < 2 |
Write a SQL query that answers the following question: How many points on average are there for less than 5 games played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (points INTEGER, games_played INTEGER) | SELECT AVG(points) FROM table_name_84 WHERE games_played < 5 |
Write a SQL query that answers the following question: Which opponent has w 17-0 as the result? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (opponent VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_70 WHERE result = "w 17-0" |
Write a SQL query that answers the following question: Which country has the Narita International Airport? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (country VARCHAR, airport VARCHAR) | SELECT country FROM table_name_20 WHERE airport = "narita international airport" |
Write a SQL query that answers the following question: What is the IATA when the ICAO is wipp? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (iata VARCHAR, icao VARCHAR) | SELECT iata FROM table_name_52 WHERE icao = "wipp" |
Write a SQL query that answers the following question: Which airport's ICAO is rpvi? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (airport VARCHAR, icao VARCHAR) | SELECT airport FROM table_name_61 WHERE icao = "rpvi" |
Write a SQL query that answers the following question: Which country's IATA is ika? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (country VARCHAR, iata VARCHAR) | SELECT country FROM table_name_72 WHERE iata = "ika" |
Write a SQL query that answers the following question: What is the ICAO for the Yangon International Airport? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (icao VARCHAR, airport VARCHAR) | SELECT icao FROM table_name_52 WHERE airport = "yangon international airport" |
Write a SQL query that answers the following question: What is the ICAO when the IATA is tgg? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (icao VARCHAR, iata VARCHAR) | SELECT icao FROM table_name_79 WHERE iata = "tgg" |
Write a SQL query that answers the following question: On what date did Universitario win the Torneo Apertura round after 2003 at Estadio Alejandro Villanueva? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (date VARCHAR, winner VARCHAR, competition_round VARCHAR, venue VARCHAR, season VARCHAR) | SELECT date FROM table_name_45 WHERE venue = "estadio alejandro villanueva" AND season > 2003 AND competition_round = "torneo apertura" AND winner = "universitario" |
Write a SQL query that answers the following question: What is Director, when Primary Language(s) is "Azerbaijani", and when Original Title is "Buta"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (director VARCHAR, primary_language_s_ VARCHAR, original_title VARCHAR) | SELECT director FROM table_name_90 WHERE primary_language_s_ = "azerbaijani" AND original_title = "buta" |
Write a SQL query that answers the following question: What is Film Title Used In Nomination, when Primary Language(s) is "Azerbaijani, Russian"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (film_title_used_in_nomination VARCHAR, primary_language_s_ VARCHAR) | SELECT film_title_used_in_nomination FROM table_name_83 WHERE primary_language_s_ = "azerbaijani, russian" |
Write a SQL query that answers the following question: What is Result, when Original Title is "Qala"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (result VARCHAR, original_title VARCHAR) | SELECT result FROM table_name_38 WHERE original_title = "qala" |
Write a SQL query that answers the following question: What is Primary Language(s), when Director is "Ilgar Safat Category:Articles With hCards"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (primary_language_s_ VARCHAR, director VARCHAR) | SELECT primary_language_s_ FROM table_name_59 WHERE director = "ilgar safat category:articles with hcards" |
Write a SQL query that answers the following question: What is Year (Ceremony), when Director is "Farid Gumbatov Category:Articles With hCards"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (year__ceremony_ VARCHAR, director VARCHAR) | SELECT year__ceremony_ FROM table_name_51 WHERE director = "farid gumbatov category:articles with hcards" |
Write a SQL query that answers the following question: What is Director, when Original Title is "Sahə"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (director VARCHAR, original_title VARCHAR) | SELECT director FROM table_name_64 WHERE original_title = "sahə" |
Write a SQL query that answers the following question: Who was the Home team that had a decider of Conklin? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (home VARCHAR, decision VARCHAR) | SELECT home FROM table_name_53 WHERE decision = "conklin" |
Write a SQL query that answers the following question: Game 71 was played against what team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (opponent VARCHAR, game VARCHAR) | SELECT opponent FROM table_name_99 WHERE game = 71 |
Write a SQL query that answers the following question: What is the maximum game that was played against the New York Knickerbockers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (game INTEGER, opponent VARCHAR) | SELECT MAX(game) FROM table_name_40 WHERE opponent = "new york knickerbockers" |
Write a SQL query that answers the following question: What was the number of game that was played on March 19? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (game VARCHAR, date VARCHAR) | SELECT game FROM table_name_53 WHERE date = "march 19" |
Write a SQL query that answers the following question: What is the average rank for more than 12 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (rank INTEGER, points INTEGER) | SELECT AVG(rank) FROM table_name_24 WHERE points > 12 |
Write a SQL query that answers the following question: What is the rank for less than 6 plays? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (rank INTEGER, played INTEGER) | SELECT SUM(rank) FROM table_name_47 WHERE played < 6 |
Write a SQL query that answers the following question: For the draft pick from round 3 out of Mercer College what is the nationality? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (nationality VARCHAR, round VARCHAR, college VARCHAR) | SELECT nationality FROM table_name_94 WHERE round = 3 AND college = "mercer" |
Write a SQL query that answers the following question: Who was the draft pick that went to college at Oral Roberts? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (player VARCHAR, college VARCHAR) | SELECT player FROM table_name_44 WHERE college = "oral roberts" |
Write a SQL query that answers the following question: What is the smallest point total when the grid is larger than 5 and the time/retired is fire? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (points INTEGER, grid VARCHAR, time_retired VARCHAR) | SELECT MIN(points) FROM table_name_52 WHERE grid > 5 AND time_retired = "fire" |
Write a SQL query that answers the following question: When Nelson Philippe drove with a grid larger than 16, what was the timre/retired? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR) | SELECT time_retired FROM table_name_2 WHERE grid > 16 AND driver = "nelson philippe" |
Write a SQL query that answers the following question: What was the time of the race that was on a grid smaller than 9 with jeremy mcwilliams as the rider doing 21 laps? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (time_retired VARCHAR, rider VARCHAR, grid VARCHAR, laps VARCHAR) | SELECT time_retired FROM table_name_80 WHERE grid < 9 AND laps = 21 AND rider = "jeremy mcwilliams" |
Write a SQL query that answers the following question: What is the lowest grid number that a race took place doing more than 21 laps? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (grid INTEGER, laps INTEGER) | SELECT MIN(grid) FROM table_name_54 WHERE laps > 21 |
Write a SQL query that answers the following question: What is the total number of grids where there were races that had a time of 34:22.335? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (grid VARCHAR, time_retired VARCHAR) | SELECT COUNT(grid) FROM table_name_60 WHERE time_retired = "34:22.335" |
Write a SQL query that answers the following question: Which rank has final with 5:18.85? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (rank VARCHAR, final VARCHAR) | SELECT rank FROM table_name_96 WHERE final = "5:18.85" |
Write a SQL query that answers the following question: Which final has rank of 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (final VARCHAR, rank VARCHAR) | SELECT final FROM table_name_59 WHERE rank = "10" |
Write a SQL query that answers the following question: Which final has a run of 1:19.49? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (final VARCHAR, run_3 VARCHAR) | SELECT final FROM table_name_18 WHERE run_3 = "1:19.49" |
Write a SQL query that answers the following question: Which run 2 with final of 5:24.47? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (run_2 VARCHAR, final VARCHAR) | SELECT run_2 FROM table_name_18 WHERE final = "5:24.47" |
Write a SQL query that answers the following question: Which team has run 1 of 1:17.44? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (team VARCHAR, run_1 VARCHAR) | SELECT team FROM table_name_36 WHERE run_1 = "1:17.44" |
Write a SQL query that answers the following question: Which team has run 3 of 1:20.77? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (team VARCHAR, run_3 VARCHAR) | SELECT team FROM table_name_18 WHERE run_3 = "1:20.77" |
Write a SQL query that answers the following question: Who was the home team when Manchester City was the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_89 WHERE away_team = "manchester city" |
Write a SQL query that answers the following question: What was the score when the home team was Stockport County? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (score VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_73 WHERE home_team = "stockport county" |
Write a SQL query that answers the following question: What is the Tie Number when Barnsley was the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_40 WHERE away_team = "barnsley" |
Write a SQL query that answers the following question: What was the score of the game that took place on october 22, 1976? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_53 WHERE date = "october 22, 1976" |
Write a SQL query that answers the following question: What was the score of the game where the record was 2-2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_76 WHERE record = "2-2" |
Write a SQL query that answers the following question: Who was the home team in the game with a record of 2-4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (home VARCHAR, record VARCHAR) | SELECT home FROM table_name_50 WHERE record = "2-4" |
Write a SQL query that answers the following question: What was the race for the world championship formula 1 at a venue of hungaroring? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (race VARCHAR, notes VARCHAR, venue VARCHAR) | SELECT race FROM table_name_4 WHERE notes = "world championship formula 1" AND venue = "hungaroring" |
Write a SQL query that answers the following question: Who is the winner for the match on October 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (winner VARCHAR, date VARCHAR) | SELECT winner FROM table_name_20 WHERE date = "october 7" |
Write a SQL query that answers the following question: What is the date of the race for the new zealand grand prix? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (date VARCHAR, race VARCHAR) | SELECT date FROM table_name_21 WHERE race = "new zealand grand prix" |
Write a SQL query that answers the following question: Who was the winner for the world championship formula 1 at the venue, circuit de monaco? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (winner VARCHAR, notes VARCHAR, venue VARCHAR) | SELECT winner FROM table_name_89 WHERE notes = "world championship formula 1" AND venue = "circuit de monaco" |
Write a SQL query that answers the following question: What is Result, when Opponent is New England Patriots? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_8 WHERE opponent = "new england patriots" |
Write a SQL query that answers the following question: What competition took place on 28/04/1906? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (competition VARCHAR, date VARCHAR) | SELECT competition FROM table_name_11 WHERE date = "28/04/1906" |
Write a SQL query that answers the following question: Who were the runners-up in the game that was won by Cork City F.C. on 10/05/1998? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (runners_up VARCHAR, winners VARCHAR, date VARCHAR) | SELECT runners_up FROM table_name_48 WHERE winners = "cork city f.c." AND date = "10/05/1998" |
Write a SQL query that answers the following question: What was the score in the game that was won by Sligo Rovers F.C.? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (score VARCHAR, winners VARCHAR) | SELECT score FROM table_name_32 WHERE winners = "sligo rovers f.c." |
Write a SQL query that answers the following question: What date did the Fai Cup with Derry City F.C. as runners-up take place? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (date VARCHAR, competition VARCHAR, runners_up VARCHAR) | SELECT date FROM table_name_33 WHERE competition = "fai cup" AND runners_up = "derry city f.c." |
Write a SQL query that answers the following question: What is the Runner-up on April 11? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (runner_up VARCHAR, week VARCHAR) | SELECT runner_up FROM table_name_36 WHERE week = "april 11" |
Write a SQL query that answers the following question: What was the Tournament on May 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (tournament VARCHAR, week VARCHAR) | SELECT tournament FROM table_name_12 WHERE week = "may 2" |
Write a SQL query that answers the following question: What is Left Office, when Took Office is "11 June 2001", and when Minister is "Mirko Tremaglia"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (left_office VARCHAR, took_office VARCHAR, minister VARCHAR) | SELECT left_office FROM table_name_47 WHERE took_office = "11 june 2001" AND minister = "mirko tremaglia" |
Write a SQL query that answers the following question: What is Minister, when Party is "AN"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (minister VARCHAR, party VARCHAR) | SELECT minister FROM table_name_89 WHERE party = "an" |
Write a SQL query that answers the following question: What is Left Office, when Party is "UDC", and when Took Office is "11 June 2001"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (left_office VARCHAR, party VARCHAR, took_office VARCHAR) | SELECT left_office FROM table_name_16 WHERE party = "udc" AND took_office = "11 june 2001" |
Write a SQL query that answers the following question: What is Party, when Left Office is "23 April 2005", when Portfolio is "Minister of Reforms and Devolutions"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (party VARCHAR, left_office VARCHAR, portfolio VARCHAR) | SELECT party FROM table_name_17 WHERE left_office = "23 april 2005" AND portfolio = "minister of reforms and devolutions" |
Write a SQL query that answers the following question: What is Minister, when Portfolio is "Minister of Pubblic Administration", and when Took Office is "14 November 2002"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (minister VARCHAR, portfolio VARCHAR, took_office VARCHAR) | SELECT minister FROM table_name_97 WHERE portfolio = "minister of pubblic administration" AND took_office = "14 november 2002" |
Write a SQL query that answers the following question: What is Party, when Minister is "Franco Frattini"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (party VARCHAR, minister VARCHAR) | SELECT party FROM table_name_55 WHERE minister = "franco frattini" |
Write a SQL query that answers the following question: What event had the opponent Ryan Bow? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (event VARCHAR, opponent VARCHAR) | SELECT event FROM table_name_89 WHERE opponent = "ryan bow" |
Write a SQL query that answers the following question: What location had the opponent Hiroyuki Abe? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (location VARCHAR, opponent VARCHAR) | SELECT location FROM table_name_56 WHERE opponent = "hiroyuki abe" |
Write a SQL query that answers the following question: What was the 2nd leg for 2004? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (year VARCHAR) | SELECT 2 AS nd_leg FROM table_name_29 WHERE year = 2004 |
Write a SQL query that answers the following question: What is the 2nd leg when San Pedro was the winner? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (winner VARCHAR) | SELECT 2 AS nd_leg FROM table_name_92 WHERE winner = "san pedro" |
Write a SQL query that answers the following question: What was the rate when there were more than 22 goals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (rate VARCHAR, goals INTEGER) | SELECT rate FROM table_name_9 WHERE goals > 22 |
Write a SQL query that answers the following question: What largest against has the opposing team of fiji? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (against INTEGER, opposing_team VARCHAR) | SELECT MAX(against) FROM table_name_44 WHERE opposing_team = "fiji" |
Write a SQL query that answers the following question: Which Position has a Competition of european race walking cup? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (position VARCHAR, competition VARCHAR) | SELECT position FROM table_name_32 WHERE competition = "european race walking cup" |
Write a SQL query that answers the following question: Which Venue has a Competition of european championships, and a Position of 7th? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (venue VARCHAR, competition VARCHAR, position VARCHAR) | SELECT venue FROM table_name_22 WHERE competition = "european championships" AND position = "7th" |
Write a SQL query that answers the following question: Where was the world race walking cup held before 2001? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (venue VARCHAR, year VARCHAR, competition VARCHAR) | SELECT venue FROM table_name_49 WHERE year < 2001 AND competition = "world race walking cup" |
Write a SQL query that answers the following question: WHAT COMPETITION HAS MARIAN SANDU? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (competition VARCHAR, res VARCHAR) | SELECT competition FROM table_name_66 WHERE res = "marian sandu" |
Write a SQL query that answers the following question: WHAT SCORE WAS ON 1999-05-31? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_52 WHERE date = "1999-05-31" |
Write a SQL query that answers the following question: WHAT OPPONENT HAD A SCORE OF 5:5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_47 WHERE score = "5:5" |
Write a SQL query that answers the following question: What Competition on August 3, 2005 had a Score of 5-0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (competition VARCHAR, score VARCHAR, date VARCHAR) | SELECT competition FROM table_name_16 WHERE score = "5-0" AND date = "august 3, 2005" |
Write a SQL query that answers the following question: What was the Venue of the 2009 Gulf Cup of Nations? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (venue VARCHAR, competition VARCHAR) | SELECT venue FROM table_name_75 WHERE competition = "2009 gulf cup of nations" |
Write a SQL query that answers the following question: What Venue on October 27, 2005 had a Score of 5-0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (venue VARCHAR, score VARCHAR, date VARCHAR) | SELECT venue FROM table_name_65 WHERE score = "5-0" AND date = "october 27, 2005" |
Write a SQL query that answers the following question: What is the Result of the Friendly Competition on October 27, 2005 with a Score of 5-0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (result VARCHAR, date VARCHAR, competition VARCHAR, score VARCHAR) | SELECT result FROM table_name_47 WHERE competition = "friendly" AND score = "5-0" AND date = "october 27, 2005" |
Write a SQL query that answers the following question: Can you tell me the total number of React that has the Lane of 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (react VARCHAR, lane VARCHAR) | SELECT COUNT(react) FROM table_name_13 WHERE lane = 5 |
Write a SQL query that answers the following question: Can you tell me the lowest React that has the Lane of 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (react INTEGER, lane VARCHAR) | SELECT MIN(react) FROM table_name_50 WHERE lane = 5 |
Write a SQL query that answers the following question: What is the winning score of the match with a margin of 3 strokes? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (winning_score VARCHAR, margin VARCHAR) | SELECT winning_score FROM table_name_39 WHERE margin = "3 strokes" |
Write a SQL query that answers the following question: How many years was there a peter jackson classic? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (year VARCHAR, championship VARCHAR) | SELECT COUNT(year) FROM table_name_64 WHERE championship = "peter jackson classic" |
Write a SQL query that answers the following question: Which year was the peter jackson classic? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (year VARCHAR, championship VARCHAR) | SELECT year FROM table_name_36 WHERE championship = "peter jackson classic" |
Write a SQL query that answers the following question: What is Date, when Visitor is Toronto? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (date VARCHAR, visitor VARCHAR) | SELECT date FROM table_name_37 WHERE visitor = "toronto" |
Write a SQL query that answers the following question: What is Record, when Date is November 23? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_16 WHERE date = "november 23" |
Write a SQL query that answers the following question: What is Visitor, when Home is Philadelphia, and when Date is November 18? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (visitor VARCHAR, home VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_11 WHERE home = "philadelphia" AND date = "november 18" |
Write a SQL query that answers the following question: What is the average Attendance, when Visitor is Toronto? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (attendance INTEGER, visitor VARCHAR) | SELECT AVG(attendance) FROM table_name_71 WHERE visitor = "toronto" |
Write a SQL query that answers the following question: What's the average year with a rank less than 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (year INTEGER, rank INTEGER) | SELECT AVG(year) FROM table_name_91 WHERE rank < 3 |
Write a SQL query that answers the following question: What country got accolades in 2002? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (country VARCHAR, year VARCHAR) | SELECT country FROM table_name_46 WHERE year = 2002 |
Write a SQL query that answers the following question: What's the accolade for the rank of 497? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (accolade VARCHAR, rank VARCHAR) | SELECT accolade FROM table_name_23 WHERE rank = 497 |
Write a SQL query that answers the following question: What's the average year for the accolade 100 greatest singles of all time? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (year INTEGER, accolade VARCHAR) | SELECT AVG(year) FROM table_name_57 WHERE accolade = "100 greatest singles of all time" |
Write a SQL query that answers the following question: What was the attendance during the game against Philadelphia? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (location_attendance VARCHAR, team VARCHAR) | SELECT location_attendance FROM table_name_45 WHERE team = "philadelphia" |
Write a SQL query that answers the following question: Which NFL team has a player that came from a college in Washington? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (nfl_team VARCHAR, college VARCHAR) | SELECT nfl_team FROM table_name_33 WHERE college = "washington" |
Write a SQL query that answers the following question: What position does Bobby Micho, who was picked later than 186 others, play on the Broncos team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (position VARCHAR, pick__number VARCHAR, player VARCHAR) | SELECT position FROM table_name_30 WHERE pick__number > 186 AND player = "bobby micho" |
Write a SQL query that answers the following question: What is Since, when Transfer Fee is "£ 12m"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (since VARCHAR, transfer_fee VARCHAR) | SELECT since FROM table_name_48 WHERE transfer_fee = "£ 12m" |
Write a SQL query that answers the following question: What is Name, when Goals is greater than 14, and when Transfer Fee is "Youth System"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (name VARCHAR, goals VARCHAR, transfer_fee VARCHAR) | SELECT name FROM table_name_49 WHERE goals > 14 AND transfer_fee = "youth system" |
Write a SQL query that answers the following question: What is Nat., when Name is "Fàbregas ( Captain )"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (nat VARCHAR, name VARCHAR) | SELECT nat FROM table_name_73 WHERE name = "fàbregas ( captain )" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.