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_72 (driver VARCHAR, chassis VARCHAR)
### Question:
Who was the driver with chassis 625 553 500?
### Answer:
SELECT driver FROM table_name_72 WHERE chassis = "625 553 500" |
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_78 (year INTEGER, wins VARCHAR, loses VARCHAR)
### Question:
What highest Year has Wins 15 and Losses less than 5?
### Answer:
SELECT MAX(year) FROM table_name_78 WHERE wins = 15 AND loses < 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_15 (rank INTEGER, city VARCHAR)
### Question:
What is Busan's rank?
### Answer:
SELECT SUM(rank) FROM table_name_15 WHERE city = "busan" |
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 player_college (college_id VARCHAR); CREATE TABLE college (name_full VARCHAR, college_id VARCHAR)
### Question:
what is the full name and id of the college with the largest number of baseball players?
### Answer:
SELECT T1.name_full, T1.college_id FROM college AS T1 JOIN player_college AS T2 ON T1.college_id = T2.college_id GROUP BY T1.college_id ORDER BY COUNT(*) DESC LIMIT 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_42 (overall_record VARCHAR, away_team VARCHAR, week VARCHAR, divisional_record VARCHAR)
### Question:
Can you tell me the Overall Record that has the Week smaller than 16, and the Divisional Record of (1-0), and the Away Team of miami?
### Answer:
SELECT overall_record FROM table_name_42 WHERE week < 16 AND divisional_record = "(1-0)" AND away_team = "miami" |
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 (attendance INTEGER, week VARCHAR, result VARCHAR)
### Question:
Which Attendance is the highest one that has a Week smaller than 9, and a Result of l 24β23?
### Answer:
SELECT MAX(attendance) FROM table_name_27 WHERE week < 9 AND result = "l 24β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_name_92 (chassis VARCHAR, entrant VARCHAR, year VARCHAR)
### Question:
What is the chassis for a 1952 officine alfieri maserati with an entrant?
### Answer:
SELECT chassis FROM table_name_92 WHERE entrant = "officine alfieri maserati" AND year = 1952 |
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 (date VARCHAR, away_team VARCHAR)
### Question:
When did Hawthorn play as the away team?
### Answer:
SELECT date FROM table_name_95 WHERE away_team = "hawthorn" |
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 stadium (name VARCHAR, capacity VARCHAR, stadium_id VARCHAR); CREATE TABLE concert (stadium_id VARCHAR, year VARCHAR)
### Question:
Show the stadium name and capacity with most number of concerts in year 2014 or after.
### Answer:
SELECT T2.name, T2.capacity FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.year >= 2014 GROUP BY T2.stadium_id ORDER BY COUNT(*) DESC LIMIT 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_85 (iata VARCHAR, city VARCHAR)
### Question:
What is the IATA for Nanjing?
### Answer:
SELECT iata FROM table_name_85 WHERE city = "nanjing" |
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 (visitor VARCHAR, date VARCHAR)
### Question:
Who was the visitor on October 20?
### Answer:
SELECT visitor FROM table_name_85 WHERE date = "october 20" |
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_22265261_1 (distance VARCHAR, handicap__st_lb_ VARCHAR)
### Question:
What was the distance when the handicap was 11-2?
### Answer:
SELECT distance FROM table_22265261_1 WHERE handicap__st_lb_ = "11-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_27 (opponent VARCHAR, attendance INTEGER)
### Question:
who was the opponent when the attendance was larger than 54,766?
### Answer:
SELECT opponent FROM table_name_27 WHERE attendance > 54 OFFSET 766 |
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 (nationality VARCHAR, lane VARCHAR, time VARCHAR)
### Question:
What is the Nationality on the swimmer in Lane 4 with a Time of 1:11.58?
### Answer:
SELECT nationality FROM table_name_54 WHERE lane = 4 AND time = "1:11.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_21 (elevation_ VARCHAR, _height VARCHAR, name VARCHAR)
### Question:
What is the elevation and height for Halfbeak?
### Answer:
SELECT elevation_ + _height FROM table_name_21 WHERE name = "halfbeak" |
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_34 (date VARCHAR, loss VARCHAR)
### Question:
What was the date of the game with a loss of White (4-5)?
### Answer:
SELECT date FROM table_name_34 WHERE loss = "white (4-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 (division VARCHAR, country VARCHAR, season VARCHAR)
### Question:
What division was Ukraine in 2006/07?
### Answer:
SELECT division FROM table_name_66 WHERE country = "ukraine" AND season = "2006/07" |
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 (station VARCHAR, frequency VARCHAR)
### Question:
Which station has a frequency of 873khz?
### Answer:
SELECT station FROM table_name_18 WHERE frequency = "873khz" |
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_79 (total INTEGER, year_s__won VARCHAR, to_par VARCHAR)
### Question:
What is the lowest Total, when Year(s) Won is "1968 , 1971", and when To Par is less than 11?
### Answer:
SELECT MIN(total) FROM table_name_79 WHERE year_s__won = "1968 , 1971" AND to_par < 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_16 (cerclis_id VARCHAR, deleted VARCHAR)
### Question:
What CERCLIS ID is Deleted of 04/07/2008?
### Answer:
SELECT cerclis_id FROM table_name_16 WHERE deleted = "04/07/2008" |
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_23215145_2 (team VARCHAR)
### Question:
If the team is Worcester, what is the 2005-2006 points?
### Answer:
SELECT 2005 AS _06_points FROM table_23215145_2 WHERE team = "Worcester" |
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_8 (date VARCHAR, attendance VARCHAR)
### Question:
What was the date of the Mariners game that had an attendance of 6,707?
### Answer:
SELECT date FROM table_name_8 WHERE attendance = "6,707" |
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 students (student_id VARCHAR); CREATE TABLE addresses (city VARCHAR, address_id VARCHAR); CREATE TABLE people_addresses (address_id VARCHAR, person_id VARCHAR)
### Question:
Find distinct cities of address of students?
### Answer:
SELECT DISTINCT T1.city FROM addresses AS T1 JOIN people_addresses AS T2 ON T1.address_id = T2.address_id JOIN students AS T3 ON T2.person_id = T3.student_id |
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_11452830_2 (a_ VARCHAR, kickoff_ VARCHAR, date VARCHAR)
### Question:
How many times was there a kickoff in the September 4, 1988 game?
### Answer:
SELECT COUNT(kickoff_)[a_] FROM table_11452830_2 WHERE date = "September 4, 1988" |
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_86 (record VARCHAR, score VARCHAR)
### Question:
For the game ending with a score of 28-43, what is the listed as the final record?
### Answer:
SELECT record FROM table_name_86 WHERE score = "28-43" |
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_30 (silver INTEGER, nation VARCHAR, gold VARCHAR)
### Question:
How many silvers for japan (1 gold)?
### Answer:
SELECT SUM(silver) FROM table_name_30 WHERE nation = "japan" AND gold > 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_87 (record VARCHAR, date VARCHAR)
### Question:
What is the record of the game on 5 February 2008?
### Answer:
SELECT record FROM table_name_87 WHERE date = "5 february 2008" |
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_28342423_1 (parent_unit VARCHAR, commanding_officer VARCHAR)
### Question:
Name the parent unit for josef priller
### Answer:
SELECT parent_unit FROM table_28342423_1 WHERE commanding_officer = "Josef Priller" |
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 (place INTEGER, lost INTEGER)
### Question:
What is the sum of the place that has less than 2 losses?
### Answer:
SELECT SUM(place) FROM table_name_60 WHERE lost < 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_26 (president VARCHAR, treasurer VARCHAR, season VARCHAR)
### Question:
Name the President who has a Treasurer of james davidson, and a Season of 2006β2007?
### Answer:
SELECT president FROM table_name_26 WHERE treasurer = "james davidson" AND season = "2006β2007" |
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 (player VARCHAR, year VARCHAR, college_high_school_club VARCHAR)
### Question:
Who is the player with a year later than 2007 and the college/high school/club of Arizona?
### Answer:
SELECT player FROM table_name_58 WHERE year > 2007 AND college_high_school_club = "arizona" |
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 (type VARCHAR, year VARCHAR, artist VARCHAR)
### Question:
What is the type of disc by Logistics after 2004?
### Answer:
SELECT type FROM table_name_95 WHERE year > 2004 AND artist = "logistics" |
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 (to_par VARCHAR, winning_score VARCHAR)
### Question:
What is the to par value for the game with a winning score of 71-69-71-70=281?
### Answer:
SELECT to_par FROM table_name_49 WHERE winning_score = 71 - 69 - 71 - 70 = 281 |
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_18475946_2 (erp__kw_ VARCHAR)
### Question:
What are the 2fm's for erp 16?
### Answer:
SELECT 2 AS fm__mhz_ FROM table_18475946_2 WHERE erp__kw_ = "16" |
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_5 (opponents_in_final VARCHAR, score_in_final VARCHAR)
### Question:
What was the Opponents in Final during the match with a Score in Final of 6β4, 3β6, 5β7?
### Answer:
SELECT opponents_in_final FROM table_name_5 WHERE score_in_final = "6β4, 3β6, 5β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_23114705_3 (original_air_date VARCHAR, written_by VARCHAR)
### Question:
If the episode was written by Tim Balme, what was the original air date?
### Answer:
SELECT original_air_date FROM table_23114705_3 WHERE written_by = "Tim Balme" |
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_33 (size__cents_ INTEGER, interval_name VARCHAR, size__steps_ VARCHAR)
### Question:
What is the average size (cents) with an interval of major third and size (steps) more than 5
### Answer:
SELECT AVG(size__cents_) FROM table_name_33 WHERE interval_name = "major third" AND size__steps_ > 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_57 (rank__number VARCHAR, attendance VARCHAR)
### Question:
What was the rank# of the opponent when there was 93,829 in attendance?
### Answer:
SELECT rank__number FROM table_name_57 WHERE attendance = "93,829" |
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 (gold VARCHAR, silver VARCHAR, total VARCHAR)
### Question:
Which gold has 3 silver and a Total of 5?
### Answer:
SELECT gold FROM table_name_15 WHERE silver = "3" AND total = "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_75 (power__kw_ VARCHAR, location VARCHAR)
### Question:
Which Power has Location in metro manila
### Answer:
SELECT power__kw_ FROM table_name_75 WHERE location = "metro manila" |
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_18524_6 (tourism_receipts__2011___us VARCHAR, tourism_receipts__2003___as__percentage_of_gdp_ VARCHAR)
### Question:
Name the total number of tourism receipts 2011 where tourism receipts 2003 13.5
### Answer:
SELECT COUNT(tourism_receipts__2011___us) AS $_per_capita_ FROM table_18524_6 WHERE tourism_receipts__2003___as__percentage_of_gdp_ = "13.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 (outcome VARCHAR, partner VARCHAR, opponents_in_the_final VARCHAR)
### Question:
Which outcome has a partner named Mark Dickson, with the opponents of Hans Gildemeister Belus Prajoux?
### Answer:
SELECT outcome FROM table_name_66 WHERE partner = "mark dickson" AND opponents_in_the_final = "hans gildemeister belus prajoux" |
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 (attendance INTEGER, loss VARCHAR)
### Question:
WHICH Attendance that has a Loss of paniagua (3β3)?
### Answer:
SELECT MAX(attendance) FROM table_name_99 WHERE loss = "paniagua (3β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_name_22 (player VARCHAR, position VARCHAR, school_club_team VARCHAR)
### Question:
WHo has a Position of end and a School/Club Team of oregon state?
### Answer:
SELECT player FROM table_name_22 WHERE position = "end" AND school_club_team = "oregon state" |
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 (against INTEGER, date VARCHAR)
### Question:
Which Against has a Date of 28 january 1950?
### Answer:
SELECT AVG(against) FROM table_name_49 WHERE date = "28 january 1950" |
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_2623498_4 (Season VARCHAR, written_by VARCHAR)
### Question:
Which episodes in season 3 were written by Mark Drop?
### Answer:
SELECT Season AS episode__number FROM table_2623498_4 WHERE written_by = "Mark Drop" |
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_11964154_7 (score VARCHAR, high_assists VARCHAR, date VARCHAR)
### Question:
How many times was the high assists earl watson (5) and the date of the game was december 2?
### Answer:
SELECT COUNT(score) FROM table_11964154_7 WHERE high_assists = "Earl Watson (5)" AND date = "December 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_7 (year INTEGER, location VARCHAR)
### Question:
For how many years was the location at Beijing?
### Answer:
SELECT SUM(year) FROM table_name_7 WHERE location = "beijing" |
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_19401346_1 (us_viewers__millions_ VARCHAR, no_in_season VARCHAR)
### Question:
How many millions of people in the US saw the episode with season number 1?
### Answer:
SELECT us_viewers__millions_ FROM table_19401346_1 WHERE no_in_season = 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_26996293_1 (cfl_team VARCHAR, player VARCHAR)
### Question:
What CFL Team was Barry Jamieson a part of?
### Answer:
SELECT cfl_team FROM table_26996293_1 WHERE player = "Barry Jamieson" |
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_5 (chapter VARCHAR, charter_range VARCHAR)
### Question:
Which chapter was active from 1906-1991?
### Answer:
SELECT chapter FROM table_name_5 WHERE charter_range = "1906-1991" |
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 book_club (category VARCHAR, YEAR INTEGER)
### Question:
List categories that have at least two books after year 1989.
### Answer:
SELECT category FROM book_club WHERE YEAR > 1989 GROUP BY category HAVING COUNT(*) >= 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 Movie (YEAR INTEGER)
### Question:
How many movies were made before 2000?
### Answer:
SELECT COUNT(*) FROM Movie WHERE YEAR < 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_15187735_17 (segment_a VARCHAR, segment_d VARCHAR)
### Question:
how many segments involve wood boring augers
### Answer:
SELECT segment_a FROM table_15187735_17 WHERE segment_d = "Wood Boring Augers" |
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 (record VARCHAR, nfl_recap VARCHAR, opponent VARCHAR)
### Question:
What is the record for the game against the New England Patriots with a recap?
### Answer:
SELECT record FROM table_name_90 WHERE nfl_recap = "recap" AND opponent = "new england patriots" |
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 (score VARCHAR, set_1 VARCHAR)
### Question:
What is the score for Set 1 at 19:21?
### Answer:
SELECT score FROM table_name_59 WHERE set_1 = "19: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_16 (home_team VARCHAR, crowd INTEGER)
### Question:
Who was the home team when attendance was over 41,846?
### Answer:
SELECT home_team FROM table_name_16 WHERE crowd > 41 OFFSET 846 |
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 competition (Competition_type VARCHAR)
### Question:
List the types of competition and the number of competitions of each type.
### Answer:
SELECT Competition_type, COUNT(*) FROM competition GROUP BY Competition_type |
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 (first_year INTEGER, model VARCHAR)
### Question:
What is the lowest First Year, when Model is "Quattroporte (2.8)"?
### Answer:
SELECT MIN(first_year) FROM table_name_15 WHERE model = "quattroporte (2.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_24 (battle VARCHAR, bulgarian_commander VARCHAR)
### Question:
In what Battle was Bulgarian Commander of Gavril Radomir?
### Answer:
SELECT battle FROM table_name_24 WHERE bulgarian_commander = "gavril radomir" |
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_6 (skip VARCHAR, nation VARCHAR)
### Question:
What was the Skip for Germany?
### Answer:
SELECT skip FROM table_name_6 WHERE nation = "germany" |
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_69 (class VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR)
### Question:
Frequency MHz smaller than 95.3, and a Call sign of k234ag is what class?
### Answer:
SELECT class FROM table_name_69 WHERE frequency_mhz < 95.3 AND call_sign = "k234ag" |
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 (college VARCHAR, school VARCHAR)
### Question:
Which college is the player from South Medford High School headed to?
### Answer:
SELECT college FROM table_name_67 WHERE school = "south medford high school" |
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_96 (date VARCHAR, score VARCHAR, away_team VARCHAR)
### Question:
What date was the score 3β3, and away team was Barnet?
### Answer:
SELECT date FROM table_name_96 WHERE score = "3β3" AND away_team = "barnet" |
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_27257896_2 (salary_range VARCHAR, indians VARCHAR)
### Question:
If the Indians are 8.2%, what is the salary range?
### Answer:
SELECT salary_range FROM table_27257896_2 WHERE indians = "8.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_14708760_3 (round_1 INTEGER, round_2 VARCHAR)
### Question:
What is the highest score of round 1 where they also shot 90 in round 2
### Answer:
SELECT MAX(round_1) FROM table_14708760_3 WHERE round_2 = 90 |
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_87 (season VARCHAR, series VARCHAR)
### Question:
What season was the Formula BMW USA in?
### Answer:
SELECT season FROM table_name_87 WHERE series = "formula bmw usa" |
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_13 (record VARCHAR, loss VARCHAR)
### Question:
What was the record at the game that had a loss of Spillner (1-8)?
### Answer:
SELECT record FROM table_name_13 WHERE loss = "spillner (1-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 SALES (sales_details VARCHAR, sales_transaction_id VARCHAR); CREATE TABLE TRANSACTIONS (date_of_transaction VARCHAR, transaction_id VARCHAR, amount_of_transaction INTEGER)
### Question:
What are the sale details and dates of transactions with amount smaller than 3000?
### Answer:
SELECT T1.sales_details, T2.date_of_transaction FROM SALES AS T1 JOIN TRANSACTIONS AS T2 ON T1.sales_transaction_id = T2.transaction_id WHERE T2.amount_of_transaction < 3000 |
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_1888157_1 (ga INTEGER, gf VARCHAR)
### Question:
What is the highest GA when GF is 39?
### Answer:
SELECT MAX(ga) FROM table_1888157_1 WHERE gf = 39 |
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_1342149_18 (candidates VARCHAR, result VARCHAR, district VARCHAR)
### Question:
What candidate was re-elected in the Louisiana 5 district?
### Answer:
SELECT candidates FROM table_1342149_18 WHERE result = "Re-elected" AND district = "Louisiana 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_7 (ihsaa_class VARCHAR, mascot VARCHAR)
### Question:
What's the IHSAA Class Football if the panthers are the mascot?
### Answer:
SELECT ihsaa_class AS Football FROM table_name_7 WHERE mascot = "panthers" |
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 (attendance INTEGER, result VARCHAR)
### Question:
What was the highest attendance of games that resulted in L 23-20?
### Answer:
SELECT MAX(attendance) FROM table_name_64 WHERE result = "l 23-20" |
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_237757_9 (nasl_years VARCHAR, player VARCHAR)
### Question:
What years did Bobby Moore play?
### Answer:
SELECT nasl_years FROM table_237757_9 WHERE player = "Bobby Moore" |
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 instruments (songid VARCHAR); CREATE TABLE songs (songid VARCHAR)
### Question:
How many instruments does the song "Le Pop" use?
### Answer:
SELECT COUNT(DISTINCT instrument) FROM instruments AS T1 JOIN songs AS T2 ON T1.songid = T2.songid WHERE title = "Le Pop" |
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 Faculty (building VARCHAR)
### Question:
Which building has most faculty members?
### Answer:
SELECT building FROM Faculty GROUP BY building ORDER BY COUNT(*) DESC LIMIT 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_67 (Id VARCHAR)
### Question:
What is the 2000 value if the 1998 value is 1.5?
### Answer:
SELECT 2000 FROM table_name_67 WHERE 1998 = "1.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_26638600_3 (circuit VARCHAR, lites_1_race_one_winning_team VARCHAR)
### Question:
On which circuit was the lites 1 race one winning team #66 Gunnar Racing?
### Answer:
SELECT circuit FROM table_26638600_3 WHERE lites_1_race_one_winning_team = "#66 Gunnar Racing" |
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 (byes INTEGER, losses VARCHAR, draws VARCHAR, wins VARCHAR)
### Question:
What is the total number of byes that are associated with 1 draw, 5 wins, and fewer than 12 losses?
### Answer:
SELECT SUM(byes) FROM table_name_70 WHERE draws = 1 AND wins = 5 AND losses < 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_51 (city_country VARCHAR, venue VARCHAR)
### Question:
Name the place where adelaide oval is
### Answer:
SELECT city_country FROM table_name_51 WHERE venue = "adelaide 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_37 (teleplay VARCHAR, season VARCHAR, first_broadcast VARCHAR)
### Question:
What is Teleplay, when Season is greater than 1.1, and when First Broadcast is "February 20, 1981"?
### Answer:
SELECT teleplay FROM table_name_37 WHERE season > 1.1 AND first_broadcast = "february 20, 1981" |
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 (notes VARCHAR, distance VARCHAR)
### Question:
What were the notes during the distance of Men's Speed Skating?
### Answer:
SELECT notes FROM table_name_57 WHERE distance = "men's speed skating" |
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_28177800_5 (example VARCHAR, early_modern_english VARCHAR)
### Question:
What is the example of the Early Modern English ( [x] β /f/) /Ιf/?
### Answer:
SELECT example FROM table_28177800_5 WHERE early_modern_english = "( [x] β /f/) /Ιf/" |
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_75 (date VARCHAR, opponent VARCHAR, score VARCHAR)
### Question:
When was the event that had Liberia as an opponent and resulted in a 1-0 score?
### Answer:
SELECT date FROM table_name_75 WHERE opponent = "liberia" AND score = "1-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_1213511_5 (college_junior_club_team VARCHAR, nhl_team VARCHAR)
### Question:
what college has nhl team chicago black hawks?
### Answer:
SELECT college_junior_club_team FROM table_1213511_5 WHERE nhl_team = "Chicago Black Hawks" |
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 (branding VARCHAR, owner VARCHAR, frequency VARCHAR)
### Question:
What is the branding of the FM 97.7 station owned by the Canadian Broadcasting Corporation?
### Answer:
SELECT branding FROM table_name_80 WHERE owner = "canadian broadcasting corporation" AND frequency = "fm 97.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_20 (ntfs VARCHAR, fat32 VARCHAR, refs VARCHAR)
### Question:
Which NTFS has a yes for FAT32 and a no for ReFS?
### Answer:
SELECT ntfs FROM table_name_20 WHERE fat32 = "yes" AND refs = "no" |
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 (away_team VARCHAR, home_team VARCHAR)
### Question:
Who went to Geelong to play?
### Answer:
SELECT away_team FROM table_name_61 WHERE home_team = "geelong" |
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 (format VARCHAR, conference VARCHAR)
### Question:
What format has conference iii as the conference?
### Answer:
SELECT format FROM table_name_42 WHERE conference = "conference iii" |
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 (swimsuit INTEGER, average VARCHAR)
### Question:
What is the lowest swimsuit for a contestant with an average of 9.125?
### Answer:
SELECT MIN(swimsuit) FROM table_name_38 WHERE average = 9.125 |
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 (week INTEGER, date VARCHAR)
### Question:
What week has a date of September 3, 2000?
### Answer:
SELECT AVG(week) FROM table_name_98 WHERE date = "september 3, 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_94 (money___$__ VARCHAR, place VARCHAR, country VARCHAR)
### Question:
What was the money for place t3 and United States?
### Answer:
SELECT money___$__ FROM table_name_94 WHERE place = "t3" AND country = "united states" |
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_86 (round INTEGER, pick__number VARCHAR, position VARCHAR)
### Question:
Which is the lowest round to have a pick of 12 and position of linebacker?
### Answer:
SELECT MIN(round) FROM table_name_86 WHERE pick__number = 12 AND position = "linebacker" |
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 member (Time_of_purchase VARCHAR, age VARCHAR, address VARCHAR)
### Question:
Find the purchase time, age and address of each member, and show the results in the order of purchase time.
### Answer:
SELECT Time_of_purchase, age, address FROM member ORDER BY Time_of_purchase |
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 (opponent VARCHAR, game VARCHAR, score VARCHAR)
### Question:
What is the opponent before game 57 when the score was 4β5?
### Answer:
SELECT opponent FROM table_name_61 WHERE game < 57 AND score = "4β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_1 (round VARCHAR, opposition VARCHAR)
### Question:
What round had the opponent Lyon?
### Answer:
SELECT round FROM table_name_1 WHERE opposition = "lyon" |
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_3 (competition VARCHAR, goals VARCHAR, score VARCHAR)
### Question:
Which competition has a Goal of deacon 8/8 and a Score of 32-14?
### Answer:
SELECT competition FROM table_name_3 WHERE goals = "deacon 8/8" AND score = "32-14" |
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_62 (laps INTEGER, class VARCHAR, qual_pos VARCHAR)
### Question:
What are the most laps for the Qual position of 7 in the OC class?
### Answer:
SELECT MAX(laps) FROM table_name_62 WHERE class = "oc" AND qual_pos = 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_55 (date VARCHAR, name VARCHAR)
### Question:
What is the date of attack of the Circe Shell Ship?
### Answer:
SELECT date FROM table_name_55 WHERE name = "circe shell" |
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_44 (club VARCHAR, played VARCHAR, tries_for VARCHAR)
### Question:
What is the Club, when the value for Played is 22, and when the value for Tries is 41?
### Answer:
SELECT club FROM table_name_44 WHERE played = "22" AND tries_for = "41" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.