text
stringlengths 293
1.24k
|
---|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_46 (venue VARCHAR, opposing_teams VARCHAR, date VARCHAR)
### Question:
What is Venue, when Opposing Teams is "South Africa", and when Date is "17/06/2000"?
### Answer:
SELECT venue FROM table_name_46 WHERE opposing_teams = "south africa" AND date = "17/06/2000" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_88 (score VARCHAR, date VARCHAR)
### Question:
What is the score on April 12?
### Answer:
SELECT score FROM table_name_88 WHERE date = "april 12" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_94 (time VARCHAR, rank VARCHAR, country VARCHAR)
### Question:
When france had a rank larger than 2, what was their time?
### Answer:
SELECT time FROM table_name_94 WHERE rank > 2 AND country = "france" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1346118_5 (result VARCHAR, candidates VARCHAR)
### Question:
What was the net seat gain in the race john a. elston (r) 88.4% luella twining (s) 11.6%?
### Answer:
SELECT result FROM table_1346118_5 WHERE candidates = "John A. Elston (R) 88.4% Luella Twining (S) 11.6%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_81 (total INTEGER, year_s__won VARCHAR, to_par VARCHAR)
### Question:
What is the sum of Total, when Year(s) Won is "1966 , 1970 , 1978", and when To par is less than 4?
### Answer:
SELECT SUM(total) FROM table_name_81 WHERE year_s__won = "1966 , 1970 , 1978" AND to_par < 4 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10992_3 (city_district__stadtteil_ VARCHAR, no VARCHAR)
### Question:
What is the city where the number is 47?
### Answer:
SELECT city_district__stadtteil_ FROM table_10992_3 WHERE no = "47" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_7 (wpct VARCHAR)
### Question:
What WPct has wins of wins?
### Answer:
SELECT wpct FROM table_name_7 WHERE "wins" = "wins" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20745685_1 (score VARCHAR, _number VARCHAR)
### Question:
What is the score for game #7?
### Answer:
SELECT score FROM table_20745685_1 WHERE _number = 7 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_83 (nationality VARCHAR, date VARCHAR)
### Question:
Name Nationality is on 6 july 1942?
### Answer:
SELECT nationality FROM table_name_83 WHERE date = "6 july 1942" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20319085_2 (result VARCHAR, conference_record VARCHAR)
### Question:
How many different results are there for the season with a 4-3 conference record?
### Answer:
SELECT COUNT(result) FROM table_20319085_2 WHERE conference_record = "4-3" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1594772_2 (s_no INTEGER, margin VARCHAR)
### Question:
Name the most number for 74 runs margins
### Answer:
SELECT MAX(s_no) FROM table_1594772_2 WHERE margin = "74 runs" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14708760_3 (shooter VARCHAR, round_3 VARCHAR)
### Question:
Who shot an 80 in round 3
### Answer:
SELECT shooter FROM table_14708760_3 WHERE round_3 = 80 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16799784_3 (name VARCHAR, longitude VARCHAR)
### Question:
At a latitude of 71.1e, what is the feature's name origin?
### Answer:
SELECT name AS origin FROM table_16799784_3 WHERE longitude = "71.1E" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_24 (played VARCHAR, goals_for VARCHAR, goals_against VARCHAR)
### Question:
what is the total number of played when the goals for is more than 34 and goals against is more than 63?
### Answer:
SELECT COUNT(played) FROM table_name_24 WHERE goals_for > 34 AND goals_against > 63 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_15 (january VARCHAR, september VARCHAR)
### Question:
Who is the January playmate with a September playmate Nikki Schieler?
### Answer:
SELECT january FROM table_name_15 WHERE september = "nikki schieler" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_49 (week INTEGER, attendance VARCHAR)
### Question:
Name the sum of week with attendance of 62,233
### Answer:
SELECT SUM(week) FROM table_name_49 WHERE attendance = 62 OFFSET 233 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_7 (school VARCHAR, pick VARCHAR, player VARCHAR)
### Question:
What is the school of Victor Jones, who was picked further than number 225?
### Answer:
SELECT school FROM table_name_7 WHERE pick > 225 AND player = "victor jones" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_17 (opponent VARCHAR, site VARCHAR, score VARCHAR)
### Question:
Who was the Opponent at Homewood Field with a Score of 5-8?
### Answer:
SELECT opponent FROM table_name_17 WHERE site = "homewood field" AND score = "5-8" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_40 (avg_g VARCHAR, name VARCHAR)
### Question:
What is the total avg/g of McCrary, Greg?
### Answer:
SELECT COUNT(avg_g) FROM table_name_40 WHERE name = "mccrary, greg" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_22 (area__km_2__ INTEGER, name VARCHAR)
### Question:
What is Dupuy lowest area in km2?
### Answer:
SELECT MIN(area__km_2__) FROM table_name_22 WHERE name = "dupuy" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_42 (points VARCHAR, club VARCHAR)
### Question:
How many points did the Bridgend Athletic RFC have?
### Answer:
SELECT points FROM table_name_42 WHERE club = "bridgend athletic rfc" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_54 (name_of_king VARCHAR, sno VARCHAR, no_of_villages VARCHAR)
### Question:
What king has an S. number over 1 and a number of villages of 600?
### Answer:
SELECT name_of_king FROM table_name_54 WHERE sno > 1 AND no_of_villages = 600 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_68 (home VARCHAR, date VARCHAR)
### Question:
On January 5 who was the home team?
### Answer:
SELECT home FROM table_name_68 WHERE date = "january 5" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_66 (candidate_name VARCHAR, votes VARCHAR, religion VARCHAR)
### Question:
Who has a religion of ☪ and more than 1853 votes?
### Answer:
SELECT candidate_name FROM table_name_66 WHERE votes > 1853 AND religion = "☪" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_64 (name VARCHAR, round VARCHAR, position VARCHAR)
### Question:
Who had the placekicker position with a round above 10?
### Answer:
SELECT name FROM table_name_64 WHERE round > 10 AND position = "placekicker" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_47 (venue VARCHAR, against VARCHAR)
### Question:
What venue has 19 against?
### Answer:
SELECT venue FROM table_name_47 WHERE against = 19 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_47 (total_attempts INTEGER, percentage VARCHAR, service_aces VARCHAR)
### Question:
When there is less than 13 services aces with a percentage greater than 0.34900000000000003, what is the smallest total attempts?
### Answer:
SELECT MIN(total_attempts) FROM table_name_47 WHERE percentage > 0.34900000000000003 AND service_aces < 13 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_85 (directed_by VARCHAR, written_by VARCHAR)
### Question:
Who directed the episode written cyrus nowrasteh?
### Answer:
SELECT directed_by FROM table_name_85 WHERE written_by = "cyrus nowrasteh" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_99 (rowers VARCHAR, notes VARCHAR, time VARCHAR)
### Question:
What is the Rowers of the race with a Time of 7:41.97 and Notes of FC?
### Answer:
SELECT rowers FROM table_name_99 WHERE notes = "fc" AND time = "7:41.97" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_54 (fast_laps VARCHAR, points VARCHAR, series VARCHAR)
### Question:
How many fast laps have 0 points in the World Series by Nissan?
### Answer:
SELECT fast_laps FROM table_name_54 WHERE points = "0" AND series = "world series by nissan" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_21 (opponent VARCHAR, game_site VARCHAR)
### Question:
Who was the Opponent at the Game Site Indianapolis Hoosierdome?
### Answer:
SELECT opponent FROM table_name_21 WHERE game_site = "indianapolis hoosierdome" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_51 (population VARCHAR, deed_number VARCHAR)
### Question:
What is the population for Deed number of 21352021?
### Answer:
SELECT population FROM table_name_51 WHERE deed_number = "21352021" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_68 (variant VARCHAR, launch_site VARCHAR)
### Question:
What Variant has a Launch site that is white sands?
### Answer:
SELECT variant FROM table_name_68 WHERE launch_site = "white sands" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25369796_1 (series VARCHAR, points VARCHAR)
### Question:
What was the series where a team scored 56 points?
### Answer:
SELECT series FROM table_25369796_1 WHERE points = "56" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_57 (goals_against INTEGER, draws VARCHAR, wins VARCHAR, goal_difference VARCHAR)
### Question:
What is the high goal against associated with 18 wins, a Goal Difference of 43, and under 6 draws?
### Answer:
SELECT MAX(goals_against) FROM table_name_57 WHERE wins = 18 AND goal_difference = 43 AND draws < 6 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE company (headquarters VARCHAR)
### Question:
List all headquarters and the number of companies in each headquarter.
### Answer:
SELECT headquarters, COUNT(*) FROM company GROUP BY headquarters |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_47 (date VARCHAR, opponent VARCHAR)
### Question:
On what Date was the Opponent the Tennessee Titans?
### Answer:
SELECT date FROM table_name_47 WHERE opponent = "tennessee titans" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_80 (date_of_appointment VARCHAR, name VARCHAR)
### Question:
What is the date of appointment of nejat biyedić?
### Answer:
SELECT date_of_appointment FROM table_name_80 WHERE name = "nejat biyedić" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_17 (visitor VARCHAR, date VARCHAR)
### Question:
What visitor has march 26 as the date?
### Answer:
SELECT visitor FROM table_name_17 WHERE date = "march 26" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_59 (to_par VARCHAR, player VARCHAR)
### Question:
Name the To par for leland gibson
### Answer:
SELECT to_par FROM table_name_59 WHERE player = "leland gibson" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2781227_4 (player VARCHAR, college_junior_club_team VARCHAR)
### Question:
For college/junior/club team is brandon wheat kings (whl) mention all the player name
### Answer:
SELECT player FROM table_2781227_4 WHERE college_junior_club_team = "Brandon Wheat Kings (WHL)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_83 (year INTEGER, venue VARCHAR)
### Question:
What is the lowest year that has athens, greece as the venue?
### Answer:
SELECT MIN(year) FROM table_name_83 WHERE venue = "athens, greece" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18018248_2 (wins VARCHAR, goals_scored VARCHAR)
### Question:
How many wins had 58 goals scored?
### Answer:
SELECT wins FROM table_18018248_2 WHERE goals_scored = 58 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_71 (Id VARCHAR)
### Question:
Which 2009 had a 2011 of SF?
### Answer:
SELECT 2009 FROM table_name_71 WHERE 2011 = "sf" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_91 (venue VARCHAR, against VARCHAR, opposing_team VARCHAR)
### Question:
Which venue has an against value larger than 21 and had Argentina as an opposing team.
### Answer:
SELECT venue FROM table_name_91 WHERE against > 21 AND opposing_team = "argentina" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_91 (surface VARCHAR, date VARCHAR)
### Question:
What was the surface on march 2, 1997?
### Answer:
SELECT surface FROM table_name_91 WHERE date = "march 2, 1997" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_18 (long INTEGER, player VARCHAR, avg VARCHAR)
### Question:
What is the average long that Ramon Richardson played and an average greater than 5.5?
### Answer:
SELECT AVG(long) FROM table_name_18 WHERE player = "ramon richardson" AND avg > 5.5 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_80 (tie_no VARCHAR, score VARCHAR, home_team VARCHAR)
### Question:
What is the Tie no at the Hull City Home game with a Score of 1–1?
### Answer:
SELECT tie_no FROM table_name_80 WHERE score = "1–1" AND home_team = "hull city" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_45 (obverse VARCHAR, reverse VARCHAR)
### Question:
What is the obverse of the archery coin?
### Answer:
SELECT obverse FROM table_name_45 WHERE reverse = "archery" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_37 (episode INTEGER, performer_4 VARCHAR, performer_2 VARCHAR)
### Question:
What is the sum of the episode numbers where chip esten is the 4th performer and christopher smith was the 2nd performer?
### Answer:
SELECT SUM(episode) FROM table_name_37 WHERE performer_4 = "chip esten" AND performer_2 = "christopher smith" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_10 (others VARCHAR, szdsz VARCHAR, fidesz VARCHAR)
### Question:
What percentage of others have an SZDSZ of 4% and a Fidesz of 60%?
### Answer:
SELECT others FROM table_name_10 WHERE szdsz = "4%" AND fidesz = "60%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15988037_24 (total INTEGER, average VARCHAR)
### Question:
What is the maximum total in which the average is 28.5?
### Answer:
SELECT MAX(total) FROM table_15988037_24 WHERE average = "28.5" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_20 (round INTEGER, school VARCHAR, pick VARCHAR)
### Question:
After pick number 158, what is the next round a USC player was picked?
### Answer:
SELECT MIN(round) FROM table_name_20 WHERE school = "usc" AND pick > 158 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_19 (status VARCHAR, against VARCHAR)
### Question:
What is the status of the match with 24 against?
### Answer:
SELECT status FROM table_name_19 WHERE against = 24 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342013_10 (candidates VARCHAR, incumbent VARCHAR)
### Question:
Name all the candidates listed in the race where the incumbent is Prince Hulon Preston, Jr.
### Answer:
SELECT candidates FROM table_1342013_10 WHERE incumbent = "Prince Hulon Preston, Jr." |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_31 (bronze VARCHAR, gold VARCHAR, total VARCHAR, nation VARCHAR)
### Question:
How many bronzes have 1 as the total, with spain (esp) as the nation, and a gold greater than 0?
### Answer:
SELECT COUNT(bronze) FROM table_name_31 WHERE total = 1 AND nation = "spain (esp)" AND gold > 0 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_29 (player VARCHAR, score VARCHAR)
### Question:
Who is the player with a 68-67-75=210 score?
### Answer:
SELECT player FROM table_name_29 WHERE score = 68 - 67 - 75 = 210 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_52 (constructor VARCHAR, grid VARCHAR, driver VARCHAR)
### Question:
Who constructed stefan johansson's car with a grid under 14?
### Answer:
SELECT constructor FROM table_name_52 WHERE grid < 14 AND driver = "stefan johansson" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_60 (nationality VARCHAR, player VARCHAR)
### Question:
What is Kent Patterson's nationality?
### Answer:
SELECT nationality FROM table_name_60 WHERE player = "kent patterson" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_91 (income_inequality_1994_2011__latest_available_ VARCHAR, population_2011 VARCHAR)
### Question:
What is the latest available income inequality for the country with a population of 21,315,135?
### Answer:
SELECT income_inequality_1994_2011__latest_available_ FROM table_name_91 WHERE population_2011 = "21,315,135" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_45 (position VARCHAR, overall VARCHAR, pick__number VARCHAR)
### Question:
Which Position has an Overall larger than 147, and a Pick # of 21?
### Answer:
SELECT position FROM table_name_45 WHERE overall > 147 AND pick__number = 21 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_98 (driver VARCHAR, date VARCHAR)
### Question:
Who is the Driver, when the Date is October 6?
### Answer:
SELECT driver FROM table_name_98 WHERE date = "october 6" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_61 (total_matches INTEGER, year VARCHAR, points_won VARCHAR)
### Question:
How many Total matches have a Year of career, and a Points won larger than 25?
### Answer:
SELECT SUM(total_matches) FROM table_name_61 WHERE year = "career" AND points_won > 25 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27514362_7 (pos VARCHAR, car_make VARCHAR, driver VARCHAR)
### Question:
What is the finish position for cars by Pontiac driven by Bobby Hamilton?
### Answer:
SELECT pos FROM table_27514362_7 WHERE car_make = "Pontiac" AND driver = "Bobby Hamilton" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10361230_1 (choice INTEGER)
### Question:
What is the highest choice?
### Answer:
SELECT MAX(choice) FROM table_10361230_1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_91 (date VARCHAR, tournament VARCHAR)
### Question:
What is the Date of the at&t pebble beach national pro-am Tournament?
### Answer:
SELECT date FROM table_name_91 WHERE tournament = "at&t pebble beach national pro-am" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_97 (opponent VARCHAR, time VARCHAR)
### Question:
Who was the opponent when the fight had a time of 0:10?
### Answer:
SELECT opponent FROM table_name_97 WHERE time = "0:10" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_11 (winner VARCHAR, year VARCHAR)
### Question:
What is Winner, when Year is 2013?
### Answer:
SELECT winner FROM table_name_11 WHERE year = 2013 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Dogs (age INTEGER)
### Question:
What is the average age of all the dogs?
### Answer:
SELECT AVG(age) FROM Dogs |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21795650_1 (team VARCHAR, podiums VARCHAR)
### Question:
What team had 4 podiums?
### Answer:
SELECT team FROM table_21795650_1 WHERE podiums = 4 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15319684_1 (lost INTEGER, team VARCHAR)
### Question:
Name the most losst for corinthians
### Answer:
SELECT MIN(lost) FROM table_15319684_1 WHERE team = "Corinthians" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11609814_1 (constancy VARCHAR, purity VARCHAR)
### Question:
what is the total number of constancy where purity is falling
### Answer:
SELECT COUNT(constancy) FROM table_11609814_1 WHERE purity = "falling" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_24 (average_ratings VARCHAR, japanese_title VARCHAR)
### Question:
What are the average ratings for プリマダム?
### Answer:
SELECT average_ratings FROM table_name_24 WHERE japanese_title = "プリマダム" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE CHARACTERISTICS (characteristic_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR)
### Question:
How many characteristics does the product named "laurel" have?
### Answer:
SELECT COUNT(*) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id WHERE t1.product_name = "laurel" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_42 (competition_name VARCHAR, age_groups VARCHAR, sport VARCHAR)
### Question:
what is the competition name when the age group is 17 or younger for athletics?
### Answer:
SELECT competition_name FROM table_name_42 WHERE age_groups = "17 or younger" AND sport = "athletics" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_73 (game VARCHAR, road_team VARCHAR, date VARCHAR)
### Question:
What game number was played on April 23, with Boston as the road team?
### Answer:
SELECT game FROM table_name_73 WHERE road_team = "boston" AND date = "april 23" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2610582_7 (frequency VARCHAR, callsign VARCHAR)
### Question:
What frequency is dxec-fm?
### Answer:
SELECT frequency FROM table_2610582_7 WHERE callsign = "DXEC-FM" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_90 (date VARCHAR, tie_no VARCHAR)
### Question:
On what date was Tie #26 played?
### Answer:
SELECT date FROM table_name_90 WHERE tie_no = "26" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_59 (record VARCHAR, game VARCHAR)
### Question:
What was the record when they played game 58?
### Answer:
SELECT record FROM table_name_59 WHERE game = 58 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29743928_5 (int_caps INTEGER)
### Question:
What is the lowest value for int. caps?
### Answer:
SELECT MIN(int_caps) FROM table_29743928_5 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_35 (res VARCHAR, record VARCHAR)
### Question:
Which res has a Record of 3-0?
### Answer:
SELECT res FROM table_name_35 WHERE record = "3-0" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_51 (_percentage_internet_users INTEGER, _percentage_growth__2000_2008_ VARCHAR)
### Question:
What was the highest percentage of internet users a nation with a 1622% growth in 2000-2008 had?
### Answer:
SELECT MAX(_percentage_internet_users) FROM table_name_51 WHERE _percentage_growth__2000_2008_ = 1622 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_1 (lost VARCHAR, played VARCHAR, points_against VARCHAR)
### Question:
How many losses did the club with 22 played and 334 points against have?
### Answer:
SELECT lost FROM table_name_1 WHERE played = "22" AND points_against = "334" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_83 (caps INTEGER, goals VARCHAR, rank VARCHAR)
### Question:
What is the sum of caps for players with less than 9 goals ranked below 8?
### Answer:
SELECT SUM(caps) FROM table_name_83 WHERE goals < 9 AND rank > 8 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_2 (d_46_√ VARCHAR, d_43_√ VARCHAR)
### Question:
What is the D 46 √ with a D 43 √ with r 3?
### Answer:
SELECT d_46_√ FROM table_name_2 WHERE d_43_√ = "r 3" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2840500_8 (pick VARCHAR, player VARCHAR)
### Question:
Name the pick for matthew scorsune
### Answer:
SELECT pick FROM table_2840500_8 WHERE player = "Matthew Scorsune" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_38 (date VARCHAR, attendance VARCHAR, week VARCHAR)
### Question:
What was date of the bye week 11?
### Answer:
SELECT date FROM table_name_38 WHERE attendance = "bye" AND week = 11 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_58 (score VARCHAR, opposition VARCHAR, year VARCHAR)
### Question:
What score has Leicestershire as the opponent after 1906?
### Answer:
SELECT score FROM table_name_58 WHERE opposition = "leicestershire" AND year > 1906 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_12 (average_score INTEGER, number VARCHAR)
### Question:
What is the lowest average for number 2?
### Answer:
SELECT MIN(average_score) FROM table_name_12 WHERE number = 2 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_82 (rank INTEGER)
### Question:
The lowest rank with 2011 less than 80.7 and 2012 less than 73.1 is what?
### Answer:
SELECT MIN(rank) FROM table_name_82 WHERE 2011 < 80.7 AND 2012 < 73.1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26168687_3 (vessel_type VARCHAR, vessel_operator VARCHAR)
### Question:
What is the vessel type for vessel operator Jumbo shipping?
### Answer:
SELECT vessel_type FROM table_26168687_3 WHERE vessel_operator = "Jumbo Shipping" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_50 (date VARCHAR, site VARCHAR)
### Question:
What date was the Site michigan stadium • ann arbor, mi?
### Answer:
SELECT date FROM table_name_50 WHERE site = "michigan stadium • ann arbor, mi" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_9 (away_team VARCHAR, venue VARCHAR)
### Question:
What was the away team that played at Corio Oval?
### Answer:
SELECT away_team FROM table_name_9 WHERE venue = "corio oval" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_67 (week VARCHAR, result VARCHAR)
### Question:
Tell me the total number of week for w 35–7
### Answer:
SELECT COUNT(week) FROM table_name_67 WHERE result = "w 35–7" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_70 (attendance VARCHAR, result VARCHAR)
### Question:
Which Attendance has a Result of w 51-21?
### Answer:
SELECT attendance FROM table_name_70 WHERE result = "w 51-21" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_63 (average VARCHAR, player VARCHAR)
### Question:
What is the average of player Matthew Elliott (vic)?
### Answer:
SELECT average FROM table_name_63 WHERE player = "matthew elliott (vic)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_29 (off_reb INTEGER, ftm_fta VARCHAR, steals VARCHAR)
### Question:
What was the average of the Off Reb with steals less than 8 and FTM-FTA of 16-17?
### Answer:
SELECT AVG(off_reb) FROM table_name_29 WHERE ftm_fta = "16-17" AND steals < 8 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_27 (modern_title_of_house VARCHAR, house VARCHAR)
### Question:
What is the modern house title of the 1st house?
### Answer:
SELECT modern_title_of_house FROM table_name_27 WHERE house = "1st" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_66 (first_elected INTEGER, result VARCHAR, district VARCHAR)
### Question:
In the Ohio 4 district, that is the first elected date that has a result of re-elected?
### Answer:
SELECT SUM(first_elected) FROM table_name_66 WHERE result = "re-elected" AND district = "ohio 4" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_95 (rank VARCHAR, silver VARCHAR, total VARCHAR)
### Question:
Which Rank has a Silver larger than 1 and a Total larger than 13?
### Answer:
SELECT rank FROM table_name_95 WHERE silver > 1 AND total > 13 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.