instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: what is the heat when the country is united kingdom and react is less than 0.232? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (heat INTEGER, country VARCHAR, react VARCHAR) | SELECT MAX(heat) FROM table_name_91 WHERE country = "united kingdom" AND react < 0.232 |
Write a SQL query that answers the following question: what is the react when the country is sweden and the lane is higher than 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (react INTEGER, country VARCHAR, lane VARCHAR) | SELECT SUM(react) FROM table_name_65 WHERE country = "sweden" AND lane > 6 |
Write a SQL query that answers the following question: What is the 1st leg of the UEFA Champions League Compeition in the Skonto Riga Club? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (competition VARCHAR, club VARCHAR) | SELECT 1 AS st_leg FROM table_name_52 WHERE competition = "uefa champions league" AND club = "skonto riga" |
Write a SQL query that answers the following question: Which season has the Renova Club? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (season VARCHAR, club VARCHAR) | SELECT season FROM table_name_43 WHERE club = "renova" |
Write a SQL query that answers the following question: Which season has the Werder Bremen Club and is in Round 2r? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (season VARCHAR, club VARCHAR, round VARCHAR) | SELECT season FROM table_name_50 WHERE club = "werder bremen" AND round = "2r" |
Write a SQL query that answers the following question: Which round is the UEFA Cup Compeition and the Kolkheti-1913 Poti Cub? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (round VARCHAR, competition VARCHAR, club VARCHAR) | SELECT round FROM table_name_39 WHERE competition = "uefa cup" AND club = "kolkheti-1913 poti" |
Write a SQL query that answers the following question: What is the PAL B, G, H for the PAL I 4.43361875mhz? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (pal_b VARCHAR, g VARCHAR, h VARCHAR, pal_i VARCHAR) | SELECT pal_b, g, h FROM table_name_60 WHERE pal_i = "4.43361875mhz" |
Write a SQL query that answers the following question: Which PAL M has a PAL I of 50HZ? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (pal_m VARCHAR, pal_i VARCHAR) | SELECT pal_m FROM table_name_55 WHERE pal_i = "50hz" |
Write a SQL query that answers the following question: What is the NTSC M for Pal M 525/60? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (ntsc_m VARCHAR, pal_m VARCHAR) | SELECT ntsc_m FROM table_name_23 WHERE pal_m = "525/60" |
Write a SQL query that answers the following question: What is the PAL M for the NTSC M 4.5mhz? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (pal_m VARCHAR, ntsc_m VARCHAR) | SELECT pal_m FROM table_name_54 WHERE ntsc_m = "4.5mhz" |
Write a SQL query that answers the following question: What is the sum of Year, when Rank is less than 19? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (year INTEGER, rank INTEGER) | SELECT SUM(year) FROM table_name_4 WHERE rank < 19 |
Write a SQL query that answers the following question: What is the sum of Year, when Publication is "VH1", and when Rank is greater than 11? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (year INTEGER, publication VARCHAR, rank VARCHAR) | SELECT SUM(year) FROM table_name_65 WHERE publication = "vh1" AND rank > 11 |
Write a SQL query that answers the following question: What is Accolade, when Year is less than 2002, when Publication is "Rolling Stone", and when Rank is "48"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (accolade VARCHAR, rank VARCHAR, year VARCHAR, publication VARCHAR) | SELECT accolade FROM table_name_76 WHERE year < 2002 AND publication = "rolling stone" AND rank = 48 |
Write a SQL query that answers the following question: What is the lowest Year, when Rank is greater than 85? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (year INTEGER, rank INTEGER) | SELECT MIN(year) FROM table_name_28 WHERE rank > 85 |
Write a SQL query that answers the following question: What is Accolade, when Country is "United States", and when Year is "1999"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (accolade VARCHAR, country VARCHAR, year VARCHAR) | SELECT accolade FROM table_name_8 WHERE country = "united states" AND year = 1999 |
Write a SQL query that answers the following question: What is Pick, when Player is "Dexter Bailey"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (pick VARCHAR, player VARCHAR) | SELECT pick FROM table_name_34 WHERE player = "dexter bailey" |
Write a SQL query that answers the following question: What is the sum of Round, when Nationality is "United States", and when Pick is "125"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (round INTEGER, nationality VARCHAR, pick VARCHAR) | SELECT SUM(round) FROM table_name_91 WHERE nationality = "united states" AND pick = 125 |
Write a SQL query that answers the following question: What is Round, when School/Club Team is "Tennessee-Chattanooga"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (round VARCHAR, school_club_team VARCHAR) | SELECT round FROM table_name_62 WHERE school_club_team = "tennessee-chattanooga" |
Write a SQL query that answers the following question: What is the average Pick, when Player is "Willie White",and when Round is less than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (pick INTEGER, player VARCHAR, round VARCHAR) | SELECT AVG(pick) FROM table_name_82 WHERE player = "willie white" AND round < 2 |
Write a SQL query that answers the following question: What is the total prominence in ft of the peak of kangchenjunga central, which has a prominence in m less than 32? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (prominence__ft_ VARCHAR, name_of_peak VARCHAR, prominence__m_ VARCHAR) | SELECT COUNT(prominence__ft_) FROM table_name_67 WHERE name_of_peak = "kangchenjunga central" AND prominence__m_ < 32 |
Write a SQL query that answers the following question: What is the highest prominence in ft of the peak with a prominence in m less than 103? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (prominence__ft_ INTEGER, prominence__m_ INTEGER) | SELECT MAX(prominence__ft_) FROM table_name_18 WHERE prominence__m_ < 103 |
Write a SQL query that answers the following question: What was the result when the attendance was 78,793? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (result VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_53 WHERE attendance = "78,793" |
Write a SQL query that answers the following question: What was the attendance when the result was a bye? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (attendance VARCHAR, result VARCHAR) | SELECT attendance FROM table_name_79 WHERE result = "bye" |
Write a SQL query that answers the following question: What was the attendance total for week 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (attendance VARCHAR, week VARCHAR) | SELECT attendance FROM table_name_77 WHERE week = 10 |
Write a SQL query that answers the following question: What's the game date for week 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_32 WHERE week = 7 |
Write a SQL query that answers the following question: WHAT IS THE ROUND WITH PICK OF 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (round INTEGER, pick VARCHAR) | SELECT SUM(round) FROM table_name_9 WHERE pick = 7 |
Write a SQL query that answers the following question: WHAT IS THE PICK WITH K POSITION AND OVERALL SMALLER THAN 181? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (pick INTEGER, position VARCHAR, overall VARCHAR) | SELECT SUM(pick) FROM table_name_40 WHERE position = "k" AND overall < 181 |
Write a SQL query that answers the following question: WHAT IS THE ROUND FROM MICHIGAN COLLEGE, AND OVERALL LARGER THAN 37? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (round INTEGER, college VARCHAR, overall VARCHAR) | SELECT SUM(round) FROM table_name_55 WHERE college = "michigan" AND overall > 37 |
Write a SQL query that answers the following question: WHAT IS THE LOWEST ROUND FOR CB POSITION? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (round INTEGER, position VARCHAR) | SELECT MIN(round) FROM table_name_56 WHERE position = "cb" |
Write a SQL query that answers the following question: Who's the Writer with an Original Airdate of september 4, 2005 (hbo)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (writer VARCHAR, original_airdate VARCHAR) | SELECT writer FROM table_name_91 WHERE original_airdate = "september 4, 2005 (hbo)" |
Write a SQL query that answers the following question: Which Director has an Episode of 13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (director VARCHAR, episode VARCHAR) | SELECT director FROM table_name_17 WHERE episode = 13 |
Write a SQL query that answers the following question: Which Original Airdate has an Episode of 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (original_airdate VARCHAR, episode VARCHAR) | SELECT original_airdate FROM table_name_2 WHERE episode = 1 |
Write a SQL query that answers the following question: On what date was the venue A with a result of 3β0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (date VARCHAR, venue VARCHAR, result VARCHAR) | SELECT date FROM table_name_93 WHERE venue = "a" AND result = "3β0" |
Write a SQL query that answers the following question: What is the most noteworthy Bike No that has a Position bigger than 1, and a Points bigger than 369, and an Equipment of zabel-wsp? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (bike_no INTEGER, equipment VARCHAR, position VARCHAR, points VARCHAR) | SELECT MAX(bike_no) FROM table_name_77 WHERE position > 1 AND points > 369 AND equipment = "zabel-wsp" |
Write a SQL query that answers the following question: What is the aggregate number of Position that has a Bike No of 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (position VARCHAR, bike_no VARCHAR) | SELECT COUNT(position) FROM table_name_19 WHERE bike_no = 4 |
Write a SQL query that answers the following question: When was the result l 14β24? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (date VARCHAR, result VARCHAR) | SELECT date FROM table_name_71 WHERE result = "l 14β24" |
Write a SQL query that answers the following question: What was the first week when there was an attendance over 75,007 at Mile High Stadium? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (week INTEGER, game_site VARCHAR, attendance VARCHAR) | SELECT MIN(week) FROM table_name_21 WHERE game_site = "mile high stadium" AND attendance > 75 OFFSET 007 |
Write a SQL query that answers the following question: Away team Swindon Town had a Tie no listing of Replay with what as an Attendance? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (attendance VARCHAR, tie_no VARCHAR, away_team VARCHAR) | SELECT attendance FROM table_name_74 WHERE tie_no = "replay" AND away_team = "swindon town" |
Write a SQL query that answers the following question: Liverpool as a home team as listed what in the Tie no column? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (tie_no VARCHAR, home_team VARCHAR) | SELECT tie_no FROM table_name_28 WHERE home_team = "liverpool" |
Write a SQL query that answers the following question: What is the score for the away team of Grimsby Town? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (score VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_41 WHERE away_team = "grimsby town" |
Write a SQL query that answers the following question: Which Pick has a Round larger than 1, a School/Club Team of alcorn state, and a Position of defensive back? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (pick INTEGER, position VARCHAR, round VARCHAR, school_club_team VARCHAR) | SELECT SUM(pick) FROM table_name_88 WHERE round > 1 AND school_club_team = "alcorn state" AND position = "defensive back" |
Write a SQL query that answers the following question: Which Pick has a Position of offensive guard, a Player of reggie mckenzie, and a Round larger than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (pick VARCHAR, round VARCHAR, position VARCHAR, player VARCHAR) | SELECT COUNT(pick) FROM table_name_96 WHERE position = "offensive guard" AND player = "reggie mckenzie" AND round > 2 |
Write a SQL query that answers the following question: Which School/Club Team has a Round smaller than 5, a Pick larger than 1, and a Player of reggie mckenzie? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (school_club_team VARCHAR, player VARCHAR, round VARCHAR, pick VARCHAR) | SELECT school_club_team FROM table_name_97 WHERE round < 5 AND pick > 1 AND player = "reggie mckenzie" |
Write a SQL query that answers the following question: Which Player has a Round smaller than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (player VARCHAR, round INTEGER) | SELECT player FROM table_name_69 WHERE round < 2 |
Write a SQL query that answers the following question: What was the record on march 26? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_79 WHERE date = "march 26" |
Write a SQL query that answers the following question: Who visited on march 26? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_6 WHERE date = "march 26" |
Write a SQL query that answers the following question: What were the lowest points on march 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (points INTEGER, date VARCHAR) | SELECT MIN(points) FROM table_name_56 WHERE date = "march 2" |
Write a SQL query that answers the following question: Which Points have a Record of 21β36β9, and an Attendance larger than 14,768? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (points INTEGER, record VARCHAR, attendance VARCHAR) | SELECT SUM(points) FROM table_name_9 WHERE record = "21β36β9" AND attendance > 14 OFFSET 768 |
Write a SQL query that answers the following question: which Name has a Loss larger than 2, and a Avg/G larger than -16, and a GP-GS of 11β7, and a Gain larger than 86? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (name VARCHAR, gain VARCHAR, gp_gs VARCHAR, loss VARCHAR, avg_g VARCHAR) | SELECT name FROM table_name_23 WHERE loss > 2 AND avg_g > -16 AND gp_gs = "11β7" AND gain > 86 |
Write a SQL query that answers the following question: Name the highest Long that has an Avg/G smaller than 8.4, and an GP-GS of 4β0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (long INTEGER, avg_g VARCHAR, gp_gs VARCHAR) | SELECT MAX(long) FROM table_name_88 WHERE avg_g < 8.4 AND gp_gs = "4β0" |
Write a SQL query that answers the following question: Name the lowest Gain which has a Long of 0, and a GP-GS of 4β0, and a Loss smaller than 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (gain INTEGER, loss VARCHAR, long VARCHAR, gp_gs VARCHAR) | SELECT MIN(gain) FROM table_name_95 WHERE long = 0 AND gp_gs = "4β0" AND loss < 3 |
Write a SQL query that answers the following question: Name the total of Loss which has an Avg/G of 8.4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (loss VARCHAR, avg_g VARCHAR) | SELECT COUNT(loss) FROM table_name_37 WHERE avg_g = 8.4 |
Write a SQL query that answers the following question: Which Team has Points of 15? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (team VARCHAR, points VARCHAR) | SELECT team FROM table_name_80 WHERE points = "15" |
Write a SQL query that answers the following question: Which Laps has a Points of lead changes: 13 between 8 drivers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (laps VARCHAR, points VARCHAR) | SELECT laps FROM table_name_99 WHERE points = "lead changes: 13 between 8 drivers" |
Write a SQL query that answers the following question: Which Driver has a Grid of 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (driver VARCHAR, grid VARCHAR) | SELECT driver FROM table_name_45 WHERE grid = "1" |
Write a SQL query that answers the following question: WHAT IS THE HIGHEST WINS WITH A SERIES OF BRITISH FORMULA THREE, SEASON 2005, POLES SMALLER THAN 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (wins INTEGER, poles VARCHAR, series VARCHAR, season VARCHAR) | SELECT MAX(wins) FROM table_name_89 WHERE series = "british formula three" AND season = "2005" AND poles < 0 |
Write a SQL query that answers the following question: WHAT IS THE SUM OF RACES WITH 9 POINTS? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (races INTEGER, points VARCHAR) | SELECT SUM(races) FROM table_name_49 WHERE points = "9" |
Write a SQL query that answers the following question: WHAT IS THE AVERAGE POLES WITH POINTS N/A? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (poles INTEGER, points VARCHAR) | SELECT AVG(poles) FROM table_name_71 WHERE points = "n/a" |
Write a SQL query that answers the following question: Who is that player from South Africa who had a total score under 293? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (player VARCHAR, total VARCHAR, country VARCHAR) | SELECT player FROM table_name_93 WHERE total < 293 AND country = "south africa" |
Write a SQL query that answers the following question: What is the best when the qual 2 is 1:47.042? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (best VARCHAR, qual_2 VARCHAR) | SELECT best FROM table_name_5 WHERE qual_2 = "1:47.042" |
Write a SQL query that answers the following question: What is the team when the name is alex sperafico? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (team VARCHAR, name VARCHAR) | SELECT team FROM table_name_58 WHERE name = "alex sperafico" |
Write a SQL query that answers the following question: What is the qual 2 when the best is 1:45.172? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (qual_2 VARCHAR, best VARCHAR) | SELECT qual_2 FROM table_name_32 WHERE best = "1:45.172" |
Write a SQL query that answers the following question: What is the name for the best of 1:45.361? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (name VARCHAR, best VARCHAR) | SELECT name FROM table_name_17 WHERE best = "1:45.361" |
Write a SQL query that answers the following question: What name has a qual 2 of 1:43.374? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (name VARCHAR, qual_2 VARCHAR) | SELECT name FROM table_name_97 WHERE qual_2 = "1:43.374" |
Write a SQL query that answers the following question: What name has a qual 2 of 1:46.025? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (name VARCHAR, qual_2 VARCHAR) | SELECT name FROM table_name_33 WHERE qual_2 = "1:46.025" |
Write a SQL query that answers the following question: What was the streak on March 27? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (streak VARCHAR, date VARCHAR) | SELECT streak FROM table_name_81 WHERE date = "march 27" |
Write a SQL query that answers the following question: Which streak before game 12 had a team points larger than 113 on November 16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (streak VARCHAR, date VARCHAR, team_points VARCHAR, game VARCHAR) | SELECT streak FROM table_name_88 WHERE team_points > 113 AND game < 12 AND date = "november 16" |
Write a SQL query that answers the following question: Who scored the lowest with 8 gold medals and less than 4 silver medals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (total INTEGER, gold VARCHAR, silver VARCHAR) | SELECT MIN(total) FROM table_name_40 WHERE gold = 8 AND silver < 4 |
Write a SQL query that answers the following question: What is the rank for the 3 silver medals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (rank VARCHAR, silver VARCHAR) | SELECT rank FROM table_name_13 WHERE silver = 3 |
Write a SQL query that answers the following question: Which young classification has an aggressive rider of Tim Johnson? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (young_classification VARCHAR, aggressive_rider VARCHAR) | SELECT young_classification FROM table_name_89 WHERE aggressive_rider = "tim johnson" |
Write a SQL query that answers the following question: what was the overall pick number for rich dobbert? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (overall INTEGER, name VARCHAR) | SELECT AVG(overall) FROM table_name_36 WHERE name = "rich dobbert" |
Write a SQL query that answers the following question: What is the sum of the rounds where the overall pick was more than 295 and the pick was smaller than 10 and the player was rich dobbert? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (round INTEGER, pick VARCHAR, overall VARCHAR, name VARCHAR) | SELECT SUM(round) FROM table_name_93 WHERE overall > 295 AND name = "rich dobbert" AND pick < 10 |
Write a SQL query that answers the following question: What position did eric norri play who was the overall pick less than 322 on a round larger than 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (position VARCHAR, name VARCHAR, overall VARCHAR, round VARCHAR) | SELECT position FROM table_name_33 WHERE overall < 322 AND round > 3 AND name = "eric norri" |
Write a SQL query that answers the following question: What was the report for the game with the home team of the Townsville Crocodiles? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (report VARCHAR, home_team VARCHAR) | SELECT report FROM table_name_54 WHERE home_team = "townsville crocodiles" |
Write a SQL query that answers the following question: What was the venue that featured the Melbourne Tigers as the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_95 WHERE away_team = "melbourne tigers" |
Write a SQL query that answers the following question: What was the report for the game played at the Hisense Arena? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (report VARCHAR, venue VARCHAR) | SELECT report FROM table_name_42 WHERE venue = "hisense arena" |
Write a SQL query that answers the following question: When the Points 1 was 51 and the Goals Against was less than 66, what was the Goal Difference? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (goal_difference VARCHAR, points_1 VARCHAR, goals_against VARCHAR) | SELECT goal_difference FROM table_name_56 WHERE points_1 = "51" AND goals_against < 66 |
Write a SQL query that answers the following question: What is the total of Played where the Goals For is higher than 60, the Lost is 8, and the Position is less than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (played INTEGER, position VARCHAR, goals_for VARCHAR, lost VARCHAR) | SELECT SUM(played) FROM table_name_22 WHERE goals_for > 60 AND lost = 8 AND position < 1 |
Write a SQL query that answers the following question: What was the Goal Difference for Postion 22? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (goal_difference VARCHAR, position VARCHAR) | SELECT goal_difference FROM table_name_61 WHERE position = 22 |
Write a SQL query that answers the following question: When Team Hyde United had more than 59 Goals For and fewer than 15 Drawn, what was the Lost? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (lost VARCHAR, team VARCHAR, goals_for VARCHAR, drawn VARCHAR) | SELECT lost FROM table_name_51 WHERE goals_for > 59 AND drawn < 15 AND team = "hyde united" |
Write a SQL query that answers the following question: What is the average Lost for Team Matlock Town when the Goals Against is higher than 66? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (lost INTEGER, team VARCHAR, goals_against VARCHAR) | SELECT AVG(lost) FROM table_name_79 WHERE team = "matlock town" AND goals_against > 66 |
Write a SQL query that answers the following question: What was the attendance on October 17? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_76 WHERE date = "october 17" |
Write a SQL query that answers the following question: Where was the attendance more than 57,347? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (location VARCHAR, attendance INTEGER) | SELECT location FROM table_name_27 WHERE attendance > 57 OFFSET 347 |
Write a SQL query that answers the following question: When was the last game that had a time of 2:46 and attendance of more than 57,533? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (game INTEGER, time VARCHAR, attendance VARCHAR) | SELECT MAX(game) FROM table_name_27 WHERE time = "2:46" AND attendance > 57 OFFSET 533 |
Write a SQL query that answers the following question: What place is South Africa? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (place VARCHAR, country VARCHAR) | SELECT place FROM table_name_99 WHERE country = "south africa" |
Write a SQL query that answers the following question: What was the average year when shri. shambu nath khajuria won the padma shri awards? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (year INTEGER, name VARCHAR) | SELECT AVG(year) FROM table_name_44 WHERE name = "shri. shambu nath khajuria" |
Write a SQL query that answers the following question: What is the total number of years that prof. aditya naraian purohit won? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (year VARCHAR, name VARCHAR) | SELECT COUNT(year) FROM table_name_76 WHERE name = "prof. aditya naraian purohit" |
Write a SQL query that answers the following question: What is the sum of the years when the winner was prof. priyambada mohanty hejmadi from orissa? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (year INTEGER, state VARCHAR, name VARCHAR) | SELECT SUM(year) FROM table_name_95 WHERE state = "orissa" AND name = "prof. priyambada mohanty hejmadi" |
Write a SQL query that answers the following question: Which event was part of the World Cross Country championships? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (event VARCHAR, competition VARCHAR) | SELECT event FROM table_name_81 WHERE competition = "world cross country championships" |
Write a SQL query that answers the following question: What department as 6 years experience? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (department VARCHAR, experience VARCHAR) | SELECT department FROM table_name_90 WHERE experience = "6 years" |
Write a SQL query that answers the following question: What is the designation for the m.tech (e.c.e) qualification? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (designation VARCHAR, qualification VARCHAR) | SELECT designation FROM table_name_86 WHERE qualification = "m.tech (e.c.e)" |
Write a SQL query that answers the following question: What department has an m.phil (physics) qualification? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (department VARCHAR, qualification VARCHAR) | SELECT department FROM table_name_25 WHERE qualification = "m.phil (physics)" |
Write a SQL query that answers the following question: hat is the Result Fβ A when they played against Leeds United? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (result_f___a VARCHAR, opponents VARCHAR) | SELECT result_f___a FROM table_name_98 WHERE opponents = "leeds united" |
Write a SQL query that answers the following question: How many games have 61-16 as the record? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (game VARCHAR, record VARCHAR) | SELECT COUNT(game) FROM table_name_14 WHERE record = "61-16" |
Write a SQL query that answers the following question: What date has 104-113 as the score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_17 WHERE score = "104-113" |
Write a SQL query that answers the following question: What date has 113-115 (ot) as the score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_20 WHERE score = "113-115 (ot)" |
Write a SQL query that answers the following question: What is the mean game played on January 9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (game INTEGER, date VARCHAR) | SELECT AVG(game) FROM table_name_82 WHERE date = "january 9" |
Write a SQL query that answers the following question: Which game number includes a record of 1-2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (game VARCHAR, record VARCHAR) | SELECT game FROM table_name_31 WHERE record = "1-2" |
Write a SQL query that answers the following question: For the game where Joel Przybilla (4) received high assists, what was the final score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (score VARCHAR, high_assists VARCHAR) | SELECT score FROM table_name_88 WHERE high_assists = "joel przybilla (4)" |
Write a SQL query that answers the following question: For the game that had an end record of 2-4, who was the high points scorer? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (high_points VARCHAR, record VARCHAR) | SELECT high_points FROM table_name_69 WHERE record = "2-4" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.