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_1408397_3 (telugu_తెలుగు VARCHAR, mongolian VARCHAR)
### Question:
What is the Telugu word for хонгорцог in Mongolian?
### Answer:
SELECT telugu_తెలుగు FROM table_1408397_3 WHERE mongolian = "Хонгорцог" |
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_23513241_5 (title VARCHAR, us_viewers__millions_ VARCHAR)
### Question:
What was the title when 1.121 million US people watched it?
### Answer:
SELECT title FROM table_23513241_5 WHERE us_viewers__millions_ = "1.121" |
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_1289762_1 (for___percentage_ VARCHAR, against___percentage_ VARCHAR)
### Question:
How many for percentages are there when the against percentage is 35,782 (69)?
### Answer:
SELECT for___percentage_ FROM table_1289762_1 WHERE against___percentage_ = "35,782 (69)" |
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 (college VARCHAR, name VARCHAR, pick__number VARCHAR, round VARCHAR)
### Question:
Which College has a Pick # larger than 25, and a Round of 7, and a Name of chris white?
### Answer:
SELECT college FROM table_name_13 WHERE pick__number > 25 AND round = 7 AND name = "chris white" |
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 Ref_document_types (document_type_name VARCHAR, document_type_description VARCHAR, document_type_code VARCHAR)
### Question:
What is the name and description for document type code RV?
### Answer:
SELECT document_type_name, document_type_description FROM Ref_document_types WHERE document_type_code = "RV" |
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 (time VARCHAR, opponent VARCHAR)
### Question:
Which time has eddie miller as opponent?
### Answer:
SELECT time FROM table_name_11 WHERE opponent = "eddie miller" |
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_19886463_1 (round_winner VARCHAR, circuit VARCHAR)
### Question:
Who is the round winner of the wanneroo park circuit?
### Answer:
SELECT round_winner FROM table_19886463_1 WHERE circuit = "Wanneroo Park" |
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 (season VARCHAR, competition VARCHAR)
### Question:
In which season was there a competition in the Champions League?
### Answer:
SELECT season FROM table_name_70 WHERE competition = "champions league" |
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_1404984_1 (digital_channel VARCHAR, network VARCHAR)
### Question:
What is JCTV's digital channel?
### Answer:
SELECT digital_channel FROM table_1404984_1 WHERE network = "JCTV" |
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 (country VARCHAR, player VARCHAR)
### Question:
what country has tiger woods
### Answer:
SELECT country FROM table_name_47 WHERE player = "tiger woods" |
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 (plaxo INTEGER, friendster VARCHAR, myspace VARCHAR, bebo VARCHAR)
### Question:
What is the average plaxo that has a myspace greater than 64, a bebo greater than 3, with 4 as the friendster?
### Answer:
SELECT AVG(plaxo) FROM table_name_63 WHERE myspace > 64 AND bebo > 3 AND friendster = 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_36 (release_date VARCHAR, writer VARCHAR, company VARCHAR)
### Question:
What is the release date of the album written by Goss, James James Goss under Audiogo?
### Answer:
SELECT release_date FROM table_name_36 WHERE writer = "goss, james james goss" AND company = "audiogo" |
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 dorm (student_capacity VARCHAR, gender VARCHAR, dorm_name VARCHAR)
### Question:
Find the capacity and gender type of the dorm whose name has substring ‘Donor’.
### Answer:
SELECT student_capacity, gender FROM dorm WHERE dorm_name LIKE '%Donor%' |
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_32 (date VARCHAR, track VARCHAR)
### Question:
What is the date of the race at Truro?
### Answer:
SELECT date FROM table_name_32 WHERE track = "truro" |
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 (notes VARCHAR, bronze VARCHAR)
### Question:
What is Notes, when Bronze is "Pasi Ikonen"?
### Answer:
SELECT notes FROM table_name_20 WHERE bronze = "pasi ikonen" |
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 (japanese_release_date VARCHAR, australia_release_date VARCHAR)
### Question:
What is Japanese Release Date, when Australia Release Date is "2006-03-23"?
### Answer:
SELECT japanese_release_date FROM table_name_34 WHERE australia_release_date = "2006-03-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_34 (date VARCHAR, visitor VARCHAR)
### Question:
When was Montreal a visitor?
### Answer:
SELECT date FROM table_name_34 WHERE visitor = "montreal" |
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 (teams VARCHAR, season VARCHAR)
### Question:
Which team had a season 1954-55?
### Answer:
SELECT teams FROM table_name_80 WHERE season = "1954-55" |
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 (tournament VARCHAR, date VARCHAR)
### Question:
What is Tournament, when Date is "Sep 25, 1977"?
### Answer:
SELECT tournament FROM table_name_61 WHERE date = "sep 25, 1977" |
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_10722506_6 (_number_of_bids VARCHAR, elite_eight INTEGER)
### Question:
What is the number of bids with elite eight larger than 1.0
### Answer:
SELECT COUNT(_number_of_bids) FROM table_10722506_6 WHERE elite_eight > 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_name_81 (rank INTEGER, publication VARCHAR, year VARCHAR)
### Question:
What is the highest Rank, when Publication is Dagsavisen, and when Year is less than 2005?
### Answer:
SELECT MAX(rank) FROM table_name_81 WHERE publication = "dagsavisen" AND year < 2005 |
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 (games INTEGER, number VARCHAR)
### Question:
How many games has number 61 played in?
### Answer:
SELECT MIN(games) AS ↑ FROM table_name_29 WHERE number = 61 |
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 (_inns VARCHAR, player VARCHAR, wickets VARCHAR)
### Question:
How many 5+/inns have tyron henderson as the player, with wickets less than 21?
### Answer:
SELECT COUNT(5) + _inns FROM table_name_40 WHERE player = "tyron henderson" AND wickets < 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_22669044_7 (high_assists VARCHAR, date VARCHAR)
### Question:
Name the high assists for december 9
### Answer:
SELECT high_assists FROM table_22669044_7 WHERE date = "December 9" |
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_10015132_1 (school_club_team VARCHAR, years_in_toronto VARCHAR)
### Question:
What school did the player that has been in Toronto from 2010-2012 go to?
### Answer:
SELECT school_club_team FROM table_10015132_1 WHERE years_in_toronto = "2010-2012" |
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 (points VARCHAR, draw VARCHAR, artist VARCHAR)
### Question:
How many Points were awarded to Sabahudin Kurt with a Draw is greater than 7?
### Answer:
SELECT points FROM table_name_64 WHERE draw > 7 AND artist = "sabahudin kurt" |
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 (years VARCHAR, jersey_number_s_ INTEGER)
### Question:
What years was the jersey number(s) smaller than 3?
### Answer:
SELECT years FROM table_name_1 WHERE jersey_number_s_ < 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_41 (rank INTEGER, director_s_ VARCHAR)
### Question:
Sum of m. night shyamalan ranks?
### Answer:
SELECT SUM(rank) FROM table_name_41 WHERE director_s_ = "m. night shyamalan" |
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 (player VARCHAR, college VARCHAR)
### Question:
What Player is from Iowa State?
### Answer:
SELECT player FROM table_name_6 WHERE college = "iowa 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_48 (position VARCHAR, points VARCHAR, series VARCHAR, season VARCHAR)
### Question:
What is Position, when Series is Queensland Formula Ford Championship, when Season is after 2001, and when Points is 234?
### Answer:
SELECT position FROM table_name_48 WHERE series = "queensland formula ford championship" AND season > 2001 AND points = "234" |
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 (identifier VARCHAR, frequency VARCHAR)
### Question:
What identifier has 90.3 as the frequency?
### Answer:
SELECT identifier FROM table_name_92 WHERE frequency = "90.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_84 (date VARCHAR, attendance VARCHAR)
### Question:
What date had 51,265 attendance?
### Answer:
SELECT date FROM table_name_84 WHERE attendance = "51,265" |
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 employees (department_id VARCHAR, commission_pct VARCHAR)
### Question:
display those departments where more than ten employees work who got a commission percentage.
### Answer:
SELECT department_id FROM employees GROUP BY department_id HAVING COUNT(commission_pct) > 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_27441210_12 (weeks_at__number1 INTEGER, country VARCHAR)
### Question:
How many weeks was France at #1?
### Answer:
SELECT MAX(weeks_at__number1) FROM table_27441210_12 WHERE 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_name_18 (opponent VARCHAR, date VARCHAR)
### Question:
Who was the opponent on November 11, 1951?
### Answer:
SELECT opponent FROM table_name_18 WHERE date = "november 11, 1951" |
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_27782699_3 (position_in_table VARCHAR, team VARCHAR)
### Question:
What was the AB team's position in table?
### Answer:
SELECT position_in_table FROM table_27782699_3 WHERE team = "AB" |
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 (country VARCHAR)
### Question:
What is the sum of participants in 2013 for Russia when there were 5 in 2010 and less than 4 in 2012?
### Answer:
SELECT SUM(2013) FROM table_name_99 WHERE 2010 = 5 AND country = "russia" AND 2012 < 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_34 (method VARCHAR, opponent VARCHAR)
### Question:
What is the method when the opponent is Andre Roberts?
### Answer:
SELECT method FROM table_name_34 WHERE opponent = "andre roberts" |
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 (game INTEGER, high_rebounds VARCHAR)
### Question:
What is the sum of Game(s), when High Rebounds is "Pierson (6)"?
### Answer:
SELECT SUM(game) FROM table_name_6 WHERE high_rebounds = "pierson (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_7 (nhl_rights VARCHAR, _if_any VARCHAR, birthplace VARCHAR)
### Question:
Which player is the NHL right, who was born in Downers Grove, Illinois?
### Answer:
SELECT nhl_rights, _if_any FROM table_name_7 WHERE birthplace = "downers grove, illinois" |
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 (score VARCHAR, date VARCHAR, away_team VARCHAR)
### Question:
What is the score on 23 November 1983 with exeter city as the away team?
### Answer:
SELECT score FROM table_name_31 WHERE date = "23 november 1983" AND away_team = "exeter 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_28 (home_captain VARCHAR, result VARCHAR)
### Question:
Which Home Captain has Eng by 208 runs?
### Answer:
SELECT home_captain FROM table_name_28 WHERE result = "eng by 208 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_name_62 (round INTEGER, event VARCHAR)
### Question:
How many rounds did the match go for the Bellator 72 event?
### Answer:
SELECT SUM(round) FROM table_name_62 WHERE event = "bellator 72" |
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 (pick__number INTEGER, name VARCHAR)
### Question:
What is the sum of the Pick # Anthony Maddox?
### Answer:
SELECT SUM(pick__number) FROM table_name_27 WHERE name = "anthony maddox" |
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 (points_for VARCHAR, tries_for VARCHAR, try_bonus VARCHAR)
### Question:
How many points did the Club score that has a try bonus of 7 and 52 tries for ?
### Answer:
SELECT points_for FROM table_name_52 WHERE tries_for = "52" AND try_bonus = "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_39 (home_team VARCHAR, venue VARCHAR)
### Question:
Which team plays at Lake Oval?
### Answer:
SELECT home_team FROM table_name_39 WHERE venue = "lake 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 school (TYPE VARCHAR)
### Question:
Show the types of schools that have two schools.
### Answer:
SELECT TYPE FROM school GROUP BY TYPE 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 table_name_75 (bronze INTEGER, country VARCHAR, total VARCHAR)
### Question:
Which Bronze has a Country of malaysia, and a Total smaller than 2644?
### Answer:
SELECT SUM(bronze) FROM table_name_75 WHERE country = "malaysia" AND total < 2644 |
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_19760_1 (mind VARCHAR, reason VARCHAR)
### Question:
What is the mind of the one that has qut reason?
### Answer:
SELECT mind FROM table_19760_1 WHERE reason = "qut" |
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 (tournament VARCHAR)
### Question:
In the Hamburg Masters Tournament, during which Jiří Novák was absent(A) in 1996, how did he do in 2003?
### Answer:
SELECT 2003 FROM table_name_71 WHERE 1996 = "a" AND tournament = "hamburg masters" |
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 (score VARCHAR, player VARCHAR)
### Question:
Name the score for vijay singh
### Answer:
SELECT score FROM table_name_8 WHERE player = "vijay singh" |
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 (venue VARCHAR, date VARCHAR, status VARCHAR, against VARCHAR)
### Question:
Which venue had a status of five nations, an against larger than 12 and took place on 15/02/1975?
### Answer:
SELECT venue FROM table_name_59 WHERE status = "five nations" AND against > 12 AND date = "15/02/1975" |
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 (lead VARCHAR, alternate VARCHAR)
### Question:
Who is the lead for the team with Christina Haller as alternate?
### Answer:
SELECT lead FROM table_name_86 WHERE alternate = "christina haller" |
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_12159115_3 (series__number VARCHAR, written_by VARCHAR)
### Question:
How many episodes were written only by William N. Fordes?
### Answer:
SELECT COUNT(series__number) FROM table_12159115_3 WHERE written_by = "William N. Fordes" |
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_28621502_1 (asia VARCHAR, title VARCHAR)
### Question:
How many of Asian release statuses does Uno HD have?
### Answer:
SELECT COUNT(asia) FROM table_28621502_1 WHERE title = "UNO HD" |
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 (score VARCHAR, outcome VARCHAR, tournament VARCHAR)
### Question:
What was the score of the marco island tournament match when Kathleen Horvath won runner-up?
### Answer:
SELECT score FROM table_name_91 WHERE outcome = "runner-up" AND tournament = "marco island" |
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 (venue VARCHAR, home_team VARCHAR)
### Question:
What venue had south melbourne as the home team?
### Answer:
SELECT venue FROM table_name_90 WHERE home_team = "south melbourne" |
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 (name VARCHAR, headquarters VARCHAR)
### Question:
what is the name of the netherlands head quarters
### Answer:
SELECT name FROM table_name_68 WHERE headquarters = "the netherlands" |
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 (venue VARCHAR, away_team VARCHAR)
### Question:
What Venue had Carlton has the Away team?
### Answer:
SELECT venue FROM table_name_29 WHERE away_team = "carlton" |
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_29391888_1 (written_by VARCHAR, directed_by VARCHAR)
### Question:
Who wrote the episode that was directed by Kevin Inch?
### Answer:
SELECT written_by FROM table_29391888_1 WHERE directed_by = "Kevin Inch" |
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 (country VARCHAR, competition_type VARCHAR)
### Question:
Find the countries that have never participated in any competition with Friendly type.
### Answer:
SELECT country FROM competition EXCEPT SELECT country FROM competition WHERE competition_type = 'Friendly' |
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 Highschooler (Id VARCHAR)
### Question:
How many high schoolers are there?
### Answer:
SELECT COUNT(*) FROM Highschooler |
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 (gold INTEGER, total VARCHAR, silver VARCHAR)
### Question:
How many gold medals when the total is more than 1 and 18 silver?
### Answer:
SELECT MIN(gold) FROM table_name_80 WHERE total > 1 AND silver = 18 |
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_2126093_3 (to_par VARCHAR, tournament VARCHAR)
### Question:
How many points under par was the winner of the Miyagi TV Cup Dunlop Ladies Open?
### Answer:
SELECT to_par FROM table_2126093_3 WHERE tournament = "Miyagi TV Cup Dunlop Ladies Open" |
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_261927_1 (institution VARCHAR, colors VARCHAR)
### Question:
How many have the colors blue & gold?
### Answer:
SELECT COUNT(institution) FROM table_261927_1 WHERE colors = "Blue & Gold" |
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_30108346_1 (country VARCHAR, troops_per_one_million_population VARCHAR)
### Question:
Name the country for troops per one million being 54.9
### Answer:
SELECT country FROM table_30108346_1 WHERE troops_per_one_million_population = "54.9" |
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 (fa_cup INTEGER, name VARCHAR, total VARCHAR)
### Question:
What is the average number of FA cups Steve Whitworth, who has less than 400 total, has?
### Answer:
SELECT AVG(fa_cup) FROM table_name_79 WHERE name = "steve whitworth" AND total < 400 |
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 (country VARCHAR, score VARCHAR)
### Question:
what is the country when the score is 68-72-67=207?
### Answer:
SELECT country FROM table_name_75 WHERE score = 68 - 72 - 67 = 207 |
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_84 (score VARCHAR, date VARCHAR)
### Question:
What was the score on February 9?
### Answer:
SELECT score FROM table_name_84 WHERE date = "february 9" |
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_15277629_1 (director VARCHAR, original_title VARCHAR)
### Question:
Who was the director of Pecado Mortal
### Answer:
SELECT director FROM table_15277629_1 WHERE original_title = "Pecado Mortal" |
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 campuses (id VARCHAR); CREATE TABLE faculty (faculty VARCHAR); CREATE TABLE degrees (Id VARCHAR)
### Question:
How many faculty lines are there in the university that conferred the least number of degrees in year 2001?
### Answer:
SELECT T2.faculty FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = t2.campus JOIN degrees AS T3 ON T1.id = t3.campus AND t2.year = t3.year WHERE t2.year = 2001 ORDER BY t3.degrees 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_35 (day_1 VARCHAR, day_5 VARCHAR)
### Question:
What is the day 1 when day 5 is math?
### Answer:
SELECT day_1 FROM table_name_35 WHERE day_5 = "math" |
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_56 (november INTEGER, record VARCHAR)
### Question:
Which November is the lowest one that has a Record of 12–2–4–1?
### Answer:
SELECT MIN(november) FROM table_name_56 WHERE record = "12–2–4–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_17311759_4 (score VARCHAR, high_rebounds VARCHAR)
### Question:
Give the score when high rebounds was zaza pachulia (8)
### Answer:
SELECT score FROM table_17311759_4 WHERE high_rebounds = "Zaza Pachulia (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_34 (nationality VARCHAR, player VARCHAR)
### Question:
What is Pat Burke's Nationality?
### Answer:
SELECT nationality FROM table_name_34 WHERE player = "pat burke" |
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_28138035_6 (womens_doubles VARCHAR, womens_singles VARCHAR, mens_singles VARCHAR)
### Question:
How many times did li ju win the womens singles and wang liqin win the mens singles?
### Answer:
SELECT COUNT(womens_doubles) FROM table_28138035_6 WHERE womens_singles = "Li Ju" AND mens_singles = "Wang Liqin" |
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 (record VARCHAR, res VARCHAR, event VARCHAR)
### Question:
What is the record for the loss in UFC 62?
### Answer:
SELECT record FROM table_name_26 WHERE res = "loss" AND event = "ufc 62" |
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 (density__hab__km²__ VARCHAR, population_under_1_year_old_censo_2007_hab_ VARCHAR)
### Question:
What is the density (hab/km²) with a population under 1 year-old censo 2007(hab) of * data from the census taken by the Inei?
### Answer:
SELECT density__hab__km²__ FROM table_name_21 WHERE population_under_1_year_old_censo_2007_hab_ = "* data from the census taken by the inei" |
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 (lost INTEGER, drawn INTEGER)
### Question:
what is the most games lost when there were 0 draws?
### Answer:
SELECT MAX(lost) FROM table_name_15 WHERE drawn < 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 affiliated_with (physician VARCHAR, department VARCHAR); CREATE TABLE department (DepartmentID VARCHAR, name VARCHAR); CREATE TABLE physician (name VARCHAR, EmployeeID VARCHAR)
### Question:
Find the name of physicians who are affiliated with both Surgery and Psychiatry departments.
### Answer:
SELECT T1.name FROM physician AS T1 JOIN affiliated_with AS T2 ON T1.EmployeeID = T2.physician JOIN department AS T3 ON T2.department = T3.DepartmentID WHERE T3.name = 'Surgery' INTERSECT SELECT T1.name FROM physician AS T1 JOIN affiliated_with AS T2 ON T1.EmployeeID = T2.physician JOIN department AS T3 ON T2.department = T3.DepartmentID WHERE T3.name = 'Psychiatry' |
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 (venue VARCHAR, result VARCHAR)
### Question:
In which venue was the result a draw?
### Answer:
SELECT venue FROM table_name_67 WHERE result = "draw" |
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 (message VARCHAR, designation_hd VARCHAR)
### Question:
What message has hd 186408 as a designation HD?
### Answer:
SELECT message FROM table_name_75 WHERE designation_hd = "hd 186408" |
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_16168849_1 (joined VARCHAR, nickname VARCHAR)
### Question:
Name the joined for blue hose
### Answer:
SELECT joined FROM table_16168849_1 WHERE nickname = "Blue Hose" |
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 (height VARCHAR, storeys VARCHAR, building VARCHAR)
### Question:
What is the height for less than 45 storeys in Scotia Centre?
### Answer:
SELECT height FROM table_name_34 WHERE storeys < 45 AND building = "scotia centre" |
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_29218221_3 (fri_3_june VARCHAR, thurs_2_june VARCHAR)
### Question:
What was the Friday June 3 practice time of the rider who did 20' 50.45 108.623mph on Thursday, June 2?
### Answer:
SELECT fri_3_june FROM table_29218221_3 WHERE thurs_2_june = "20' 50.45 108.623mph" |
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_77 (date VARCHAR, competition VARCHAR)
### Question:
What date has the competition of uefa euro 2012 qualifying?
### Answer:
SELECT date FROM table_name_77 WHERE competition = "uefa euro 2012 qualifying" |
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 candidate_assessments (candidate_id VARCHAR, assessment_date VARCHAR)
### Question:
Find id of the candidate who most recently accessed the course?
### Answer:
SELECT candidate_id FROM candidate_assessments ORDER BY assessment_date 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_25369796_1 (position VARCHAR, points VARCHAR)
### Question:
How many team position scored 56 points?
### Answer:
SELECT COUNT(position) 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 instructor (name VARCHAR, salary INTEGER, dept_name VARCHAR)
### Question:
Find names of instructors with salary greater than that of some (at least one) instructor in the Biology department.
### Answer:
SELECT name FROM instructor WHERE salary > (SELECT MIN(salary) FROM instructor WHERE dept_name = 'Biology') |
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 (game VARCHAR, october VARCHAR, record VARCHAR)
### Question:
Which game was after October 24 and had a record of 6-2-1?
### Answer:
SELECT game FROM table_name_70 WHERE october > 24 AND record = "6-2-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_13 (ship_size VARCHAR)
### Question:
What was the cargo value in 2004 for ship size?
### Answer:
SELECT 2004 FROM table_name_13 WHERE ship_size = "ship size" |
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 (winners VARCHAR, runners_up VARCHAR)
### Question:
Who was the winner when the runner-up was Guangzhou Apollo?
### Answer:
SELECT winners FROM table_name_34 WHERE runners_up = "guangzhou apollo" |
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 (loss INTEGER, avg_g VARCHAR, long VARCHAR)
### Question:
What is the average Loss, when Avg/g is 0, and when Long is less than 0?
### Answer:
SELECT AVG(loss) FROM table_name_12 WHERE avg_g = 0 AND long < 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_50 (round INTEGER, name VARCHAR, overall VARCHAR)
### Question:
What round did Mitch Davis, with an overall higher than 118, have?
### Answer:
SELECT SUM(round) FROM table_name_50 WHERE name = "mitch davis" AND overall < 118 |
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_84 (driver VARCHAR, grid VARCHAR)
### Question:
who is the driver with the grid of 13?
### Answer:
SELECT driver FROM table_name_84 WHERE grid = 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 (year INTEGER, community_award VARCHAR)
### Question:
Which Year has a Community Award of jarrod harbrow?
### Answer:
SELECT SUM(year) FROM table_name_85 WHERE community_award = "jarrod harbrow" |
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 shop (name VARCHAR, number_products INTEGER)
### Question:
Find the names of stores whose number products is more than the average number of products.
### Answer:
SELECT name FROM shop WHERE number_products > (SELECT AVG(number_products) FROM shop) |
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 Sportsinfo (sportname VARCHAR)
### Question:
Show all sport name and the number of students.
### Answer:
SELECT sportname, COUNT(*) FROM Sportsinfo GROUP BY sportname |
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 (surface VARCHAR, week VARCHAR)
### Question:
What surface was played on during the week of August 10?
### Answer:
SELECT surface FROM table_name_20 WHERE week = "august 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_1449176_1 (common_of VARCHAR, rank VARCHAR)
### Question:
What is the name of the 9th ranked common?
### Answer:
SELECT common_of FROM table_1449176_1 WHERE rank = "9th" |
Subsets and Splits