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_2 (date VARCHAR, city_location VARCHAR, round VARCHAR)
### Question:
What day was the location Cleveland, Ohio in Round 6?
### Answer:
SELECT date FROM table_name_2 WHERE city_location = "cleveland, ohio" AND round = 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_44 (player VARCHAR, pick__number INTEGER)
### Question:
What player has a pick # greater than 207?
### Answer:
SELECT player FROM table_name_44 WHERE pick__number > 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_11690135_1 (interview VARCHAR, country VARCHAR)
### Question:
How many interviews were there for Miss Virginia?
### Answer:
SELECT COUNT(interview) FROM table_11690135_1 WHERE country = "Virginia" |
Below is an context that describes a 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_53 (cuts_made VARCHAR, events VARCHAR, top_5 VARCHAR, top_25 VARCHAR)
### Question:
Which Cuts made has a Top-5 smaller than 3, and a Top-25 smaller than 6, and an Events of 10?
### Answer:
SELECT cuts_made FROM table_name_53 WHERE top_5 < 3 AND top_25 < 6 AND events = 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_97 (date_of_death VARCHAR, date_of_birth VARCHAR)
### Question:
What was the Date of Death of the person whose Date of Birth was 28 May 1371?
### Answer:
SELECT date_of_death FROM table_name_97 WHERE date_of_birth = "28 may 1371" |
Below is an context that describes a 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 (population_est__2012_ VARCHAR, capital VARCHAR)
### Question:
What is the 2012 population for the state whose capital is Santa Fe?
### Answer:
SELECT population_est__2012_ FROM table_name_61 WHERE capital = "santa fe" |
Below is an context that describes a 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 (team_s_ VARCHAR, time VARCHAR)
### Question:
What teams used a track 3:29 long?
### Answer:
SELECT team_s_ FROM table_name_51 WHERE time = "3:29" |
Below is an context that describes a 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 (result VARCHAR, round VARCHAR)
### Question:
What was the result of the second round?
### Answer:
SELECT result FROM table_name_5 WHERE round = "second round" |
Below is an context that describes a 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 (pick INTEGER, position VARCHAR, overall VARCHAR)
### Question:
WHAT IS THE PICK WITH K POSITION AND OVERALL SMALLER THAN 181?
### Answer:
SELECT SUM(pick) FROM table_name_40 WHERE position = "k" AND overall < 181 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14975415_1 (result VARCHAR, english_title VARCHAR)
### Question:
Was diary for my loves nominated?
### Answer:
SELECT result FROM table_14975415_1 WHERE english_title = "Diary for My Loves" |
Below is an context that describes a 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_93 (laps INTEGER, manufacturer VARCHAR, grid VARCHAR)
### Question:
Which Laps have a Manufacturer of suzuki, and a Grid smaller than 16?
### Answer:
SELECT MAX(laps) FROM table_name_93 WHERE manufacturer = "suzuki" AND grid < 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_27397948_2 (no_in_season INTEGER, no_in_series VARCHAR)
### Question:
What's the highest season number with a series number of 47?
### Answer:
SELECT MAX(no_in_season) FROM table_27397948_2 WHERE no_in_series = 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_13710464_1 (location VARCHAR, date VARCHAR)
### Question:
Where was the game played on may 20?
### Answer:
SELECT location FROM table_13710464_1 WHERE date = "May 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_name_48 (venue VARCHAR, home_team VARCHAR)
### Question:
Where does St Kilda play?
### Answer:
SELECT venue FROM table_name_48 WHERE home_team = "st kilda" |
Below is an context that describes a 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 (attendance INTEGER, date VARCHAR)
### Question:
What was the attendance on August 2?
### Answer:
SELECT MAX(attendance) FROM table_name_28 WHERE date = "august 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_10 (school_club_team VARCHAR, years_for_grizzlies VARCHAR)
### Question:
What's the school that played for the Grizzlie from 1995-1998?
### Answer:
SELECT school_club_team FROM table_name_10 WHERE years_for_grizzlies = "1995-1998" |
Below is an context that describes a 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 (series VARCHAR, score VARCHAR)
### Question:
Which Series has a Score of 3 – 8?
### Answer:
SELECT series FROM table_name_63 WHERE score = "3 – 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 (season VARCHAR, round VARCHAR, home_result VARCHAR)
### Question:
Round of 2r, and a Home result of 0-0 has what season?
### Answer:
SELECT season FROM table_name_24 WHERE round = "2r" AND home_result = "0-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_25 (score VARCHAR, opponent VARCHAR, game VARCHAR, february VARCHAR)
### Question:
What is Score, when Game is less than 61, when February is less than 11, and when Opponent is "@ Buffalo Sabres"?
### Answer:
SELECT score FROM table_name_25 WHERE game < 61 AND february < 11 AND opponent = "@ buffalo sabres" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27495117_3 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)
### Question:
what was the appointment date for outgoing manager luis césar sampedro
### Answer:
SELECT date_of_appointment FROM table_27495117_3 WHERE outgoing_manager = "Luis César Sampedro" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28059992_2 (college VARCHAR, player VARCHAR)
### Question:
Name the number of colleges for jerome pathon
### Answer:
SELECT COUNT(college) FROM table_28059992_2 WHERE player = "Jerome Pathon" |
Below is an context that describes a 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 (release_date VARCHAR, song_title VARCHAR)
### Question:
When was the song titled if you talk in your sleep released?
### Answer:
SELECT release_date FROM table_name_34 WHERE song_title = "if you talk in your sleep" |
Below is an context that describes a 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 (silver VARCHAR, total INTEGER)
### Question:
What is the total number of Silver with a Total that is smaller than 1?
### Answer:
SELECT COUNT(silver) FROM table_name_19 WHERE total < 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_2879165_1 (ioc_code VARCHAR, country VARCHAR)
### Question:
What is the ioc code when the country is listed as Singapore?
### Answer:
SELECT ioc_code FROM table_2879165_1 WHERE country = "Singapore" |
Below is an context that describes a 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 (country VARCHAR, place VARCHAR)
### Question:
What country has a place of 4?
### Answer:
SELECT country FROM table_name_66 WHERE place = "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_2850912_4 (position VARCHAR, nhl_team VARCHAR)
### Question:
Which position was selected for by the Toronto Maple Leafs?
### Answer:
SELECT position FROM table_2850912_4 WHERE nhl_team = "Toronto Maple Leafs" |
Below is an context that describes a 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 (score VARCHAR, loss VARCHAR)
### Question:
What was the score of the game that had a loss of Wegman (2-6)?
### Answer:
SELECT score FROM table_name_7 WHERE loss = "wegman (2-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_18626383_2 (contestant VARCHAR, hometown VARCHAR)
### Question:
When santiago del estero is the hometown who is the contestant?
### Answer:
SELECT contestant FROM table_18626383_2 WHERE hometown = "Santiago del Estero" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE trained_in (physician VARCHAR, treatment VARCHAR); CREATE TABLE procedures (name VARCHAR, cost INTEGER); CREATE TABLE physician (employeeid VARCHAR, name VARCHAR); CREATE TABLE procedures (name VARCHAR, code VARCHAR)
### Question:
Find all procedures which cost more than 1000 or which physician John Wen was trained in.
### Answer:
SELECT name FROM procedures WHERE cost > 1000 UNION SELECT T3.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid = T2.physician JOIN procedures AS T3 ON T3.code = T2.treatment WHERE T1.name = "John Wen" |
Below is an context that describes a 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 (firefox VARCHAR, source VARCHAR)
### Question:
According to W3Counter, what percentage of browsers used Firefox?
### Answer:
SELECT firefox FROM table_name_60 WHERE source = "w3counter" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE city (city VARCHAR, regional_population INTEGER)
### Question:
Please give me a list of cities whose regional population is over 8000000 or under 5000000.
### Answer:
SELECT city FROM city WHERE regional_population > 10000000 UNION SELECT city FROM city WHERE regional_population < 5000000 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28846752_9 (bbi VARCHAR, economy VARCHAR)
### Question:
What is the BBI whent the economy is 5.68?
### Answer:
SELECT bbi FROM table_28846752_9 WHERE economy = "5.68" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE endowment (school_name VARCHAR, school_id VARCHAR); CREATE TABLE school (school_name VARCHAR, school_id VARCHAR)
### Question:
List the names of the schools without any endowment.
### Answer:
SELECT school_name FROM school WHERE NOT school_id IN (SELECT school_id FROM endowment) |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE trip (start_station_id VARCHAR); CREATE TABLE station (lat INTEGER, long INTEGER, id VARCHAR)
### Question:
What is the average latitude and longitude of the starting points of all trips?
### Answer:
SELECT AVG(T1.lat), AVG(T1.long) FROM station AS T1 JOIN trip AS T2 ON T1.id = T2.start_station_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_name_83 (social_ao VARCHAR, external_co VARCHAR, internal_co VARCHAR)
### Question:
What Social AO has an External CO of simonas savickas, and an Internal CO of pieter kuijsten?
### Answer:
SELECT social_ao FROM table_name_83 WHERE external_co = "simonas savickas" AND internal_co = "pieter kuijsten" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Teachers (last_name VARCHAR); CREATE TABLE Teachers (last_name VARCHAR, teacher_id VARCHAR); CREATE TABLE Detention (teacher_id VARCHAR)
### Question:
Find the last names of teachers who are not involved in any detention.
### Answer:
SELECT last_name FROM Teachers EXCEPT SELECT T1.last_name FROM Teachers AS T1 JOIN Detention AS T2 ON T1.teacher_id = T2.teacher_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_name_43 (year_s__won VARCHAR, player VARCHAR)
### Question:
Which years did raymond floyd win?
### Answer:
SELECT year_s__won FROM table_name_43 WHERE player = "raymond floyd" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19763199_3 (total_votes INTEGER)
### Question:
What is the least total votes?
### Answer:
SELECT MIN(total_votes) FROM table_19763199_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_6 (venue VARCHAR, competition VARCHAR, result VARCHAR)
### Question:
What is the location of the game that was friendly and resulted in 2-3?
### Answer:
SELECT venue FROM table_name_6 WHERE competition = "friendly" AND result = "2-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_59 (nickname VARCHAR, club VARCHAR)
### Question:
What was the nickname of the team in the Geelong West Cricket & Football Club?
### Answer:
SELECT nickname FROM table_name_59 WHERE club = "geelong west cricket & football club" |
Below is an context that describes a 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 (tdp___w__ VARCHAR, codename VARCHAR)
### Question:
What is the TDP (w) of the chipset with a codename sb850?
### Answer:
SELECT COUNT(tdp___w__) FROM table_name_3 WHERE codename = "sb850" |
Below is an context that describes a 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 (state VARCHAR, rank__2012_ VARCHAR)
### Question:
What is the state that has the 2012 rank of 43?
### Answer:
SELECT state FROM table_name_98 WHERE rank__2012_ = 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_64 (points VARCHAR, races VARCHAR, season VARCHAR)
### Question:
If the Season is later than 2008 and Races is 11, what ate the Points?
### Answer:
SELECT points FROM table_name_64 WHERE races = "11" AND season > 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_name_51 (date VARCHAR, rank__number VARCHAR)
### Question:
WHAT DATE HAD 6 RANK?
### Answer:
SELECT date FROM table_name_51 WHERE rank__number = "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_34 (location VARCHAR, method VARCHAR)
### Question:
Where was the method of tko?
### Answer:
SELECT location FROM table_name_34 WHERE method = "tko" |
Below is an context that describes a 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 (aggregate VARCHAR, club VARCHAR)
### Question:
Which aggregate has ajax as the club?
### Answer:
SELECT aggregate FROM table_name_49 WHERE club = "ajax" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE inst (name VARCHAR, instid VARCHAR); CREATE TABLE authorship (instid VARCHAR, paperid VARCHAR); CREATE TABLE papers (paperid VARCHAR)
### Question:
Find the name of the organization that has published the largest number of papers.
### Answer:
SELECT t1.name FROM inst AS t1 JOIN authorship AS t2 ON t1.instid = t2.instid JOIN papers AS t3 ON t2.paperid = t3.paperid GROUP BY t1.name 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_43 (game INTEGER, record VARCHAR, points VARCHAR)
### Question:
Which Game has a Record of 8–2–0, and Points larger than 16?
### Answer:
SELECT SUM(game) FROM table_name_43 WHERE record = "8–2–0" AND points > 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_21500850_1 (song_title VARCHAR, year VARCHAR)
### Question:
What is every song title for 2007?
### Answer:
SELECT song_title FROM table_21500850_1 WHERE year = 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_26428602_1 (ε__m_−1_cm_−1__ VARCHAR, color VARCHAR)
### Question:
What is the ε (m −1 cm −1 ) of the orange flourescent dye?
### Answer:
SELECT ε__m_−1_cm_−1__ FROM table_26428602_1 WHERE color = "orange" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2803106_1 (result VARCHAR, tonioli VARCHAR, horwood VARCHAR)
### Question:
What was the result for the dance that tonioli's scored an 8 and horwood scored a 6?
### Answer:
SELECT result FROM table_2803106_1 WHERE tonioli = "8" AND horwood = "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_96 (spacecraft VARCHAR, start_date_time VARCHAR)
### Question:
The EVA that started 8 July 12:38 was from what spacecraft?
### Answer:
SELECT spacecraft FROM table_name_96 WHERE start_date_time = "8 july 12:38" |
Below is an context that describes a 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 (time_retired VARCHAR, rider VARCHAR, grid VARCHAR, laps VARCHAR)
### Question:
What was the time of the race that was on a grid smaller than 9 with jeremy mcwilliams as the rider doing 21 laps?
### Answer:
SELECT time_retired FROM table_name_80 WHERE grid < 9 AND laps = 21 AND rider = "jeremy mcwilliams" |
Below is an context that describes a 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 (goal_difference INTEGER, played VARCHAR, wins VARCHAR, position VARCHAR)
### Question:
Which Goal Difference has 13 Wins, and a Position of 3, and Played smaller than 30?
### Answer:
SELECT AVG(goal_difference) FROM table_name_10 WHERE wins = 13 AND position = 3 AND played < 30 |
Below is an context that describes a 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 (features VARCHAR, datacenter VARCHAR)
### Question:
Which Features have Yes listed under Datacenter?
### Answer:
SELECT features FROM table_name_18 WHERE datacenter = "yes" |
Below is an context that describes a 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 (position VARCHAR, round VARCHAR, name VARCHAR)
### Question:
Which Position has a Round larger than 7, and a Name of wayne asberry?
### Answer:
SELECT position FROM table_name_92 WHERE round > 7 AND name = "wayne asberry" |
Below is an context that describes a 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 INTEGER, opponent VARCHAR, november VARCHAR)
### Question:
Which Points have an Opponent of vancouver canucks, and a November smaller than 11?
### Answer:
SELECT AVG(points) FROM table_name_42 WHERE opponent = "vancouver canucks" AND november < 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_49 (venue VARCHAR, away_team VARCHAR)
### Question:
What was the venue when Collingwood was the away team?
### Answer:
SELECT venue FROM table_name_49 WHERE away_team = "collingwood" |
Below is an context that describes a 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_25 (coach VARCHAR, home_ground VARCHAR)
### Question:
Who is the coach of the team with home ground at Club Cove?
### Answer:
SELECT coach FROM table_name_25 WHERE home_ground = "club cove" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20861261_4 (choice INTEGER, weight VARCHAR)
### Question:
What's the choice score of the player who weights 303lb (137kg)?
### Answer:
SELECT MIN(choice) FROM table_20861261_4 WHERE weight = "303lb (137kg)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Aircraft (name VARCHAR, aid VARCHAR); CREATE TABLE Flight (aid VARCHAR)
### Question:
Show names for all aircraft with at least two flights.
### Answer:
SELECT T2.name FROM Flight AS T1 JOIN Aircraft AS T2 ON T1.aid = T2.aid GROUP BY T1.aid 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_2581397_4 (distance VARCHAR, race VARCHAR)
### Question:
What was the distance in the Manikato Stakes race?
### Answer:
SELECT distance FROM table_2581397_4 WHERE race = "Manikato Stakes" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1242447_1 (strongs_transliteration VARCHAR, hebrew_word VARCHAR)
### Question:
What is the strongs transliteration of the hebrew word יוֹחָנָן?
### Answer:
SELECT strongs_transliteration FROM table_1242447_1 WHERE hebrew_word = "יוֹחָנָן" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11173827_1 (english_title VARCHAR, finale VARCHAR, peak VARCHAR)
### Question:
What is the english title that has finale as 33 and peak as 42?
### Answer:
SELECT english_title FROM table_11173827_1 WHERE finale = 33 AND peak = 42 |
Below is an context that describes a 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_89 (marks VARCHAR, season VARCHAR)
### Question:
How many marks did he get in 2005?
### Answer:
SELECT marks FROM table_name_89 WHERE season = "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_66 (year INTEGER, points VARCHAR, wins VARCHAR, class VARCHAR)
### Question:
What is the mean year number where there are more than 0 wins, the class is 250cc, and the points are 95?
### Answer:
SELECT AVG(year) FROM table_name_66 WHERE wins > 0 AND class = "250cc" AND points = 95 |
Below is an context that describes a 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 (score VARCHAR, date VARCHAR)
### Question:
What was the score of the game on February 8?
### Answer:
SELECT score FROM table_name_69 WHERE date = "february 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_86 (duration VARCHAR, lok_sabha VARCHAR)
### Question:
What is the duration when Lok Sabha shows fifth?
### Answer:
SELECT duration FROM table_name_86 WHERE lok_sabha = "fifth" |
Below is an context that describes a 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_65 (loss VARCHAR, record VARCHAR)
### Question:
What was the loss of the game when the record was 46-84?
### Answer:
SELECT loss FROM table_name_65 WHERE record = "46-84" |
Below is an context that describes a 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 (usage VARCHAR, engine VARCHAR)
### Question:
What is the usage for the f136e engline?
### Answer:
SELECT usage FROM table_name_60 WHERE engine = "f136e" |
Below is an context that describes a 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 (debut VARCHAR, country VARCHAR, name VARCHAR)
### Question:
When did Sydney Barnes debut in England?
### Answer:
SELECT debut FROM table_name_35 WHERE country = "england" AND name = "sydney barnes" |
Below is an context that describes a 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 (inhabitants INTEGER, election VARCHAR, party VARCHAR, municipality VARCHAR)
### Question:
Which Inhabitants have a Party of democratic party, and a Municipality of florence, and an Election smaller than 2009?
### Answer:
SELECT MIN(inhabitants) FROM table_name_99 WHERE party = "democratic party" AND municipality = "florence" AND election < 2009 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29135051_2 (ratings VARCHAR, guest_s_ VARCHAR)
### Question:
Name the number of ratings for bruce forsyth
### Answer:
SELECT COUNT(ratings) FROM table_29135051_2 WHERE guest_s_ = "Bruce Forsyth" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18602462_22 (round_of_16 VARCHAR, semifinals VARCHAR)
### Question:
The semifinal score of vergeer ( ned ) l 0-6, 1-6 follows a round of 16 result of what?
### Answer:
SELECT round_of_16 FROM table_18602462_22 WHERE semifinals = "Vergeer ( NED ) L 0-6, 1-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_53 (years_for_jazz VARCHAR, player VARCHAR)
### Question:
What years did Eddie Hughes play for the Jazz?
### Answer:
SELECT years_for_jazz FROM table_name_53 WHERE player = "eddie hughes" |
Below is an context that describes a 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, venue VARCHAR, series VARCHAR)
### Question:
Name the most that attendend when the venue was td banknorth garden and the series of montreal leads 3-1
### Answer:
SELECT MAX(attendance) FROM table_name_99 WHERE venue = "td banknorth garden" AND series = "montreal leads 3-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_17103566_1 (date VARCHAR, match_number VARCHAR)
### Question:
How many dates have a Match number of 5?
### Answer:
SELECT COUNT(date) FROM table_17103566_1 WHERE match_number = 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_19517621_3 (series__number INTEGER, written_by VARCHAR)
### Question:
What is the series number for the episode written by Kristen Dunphy and David Ogilvy?
### Answer:
SELECT MAX(series__number) FROM table_19517621_3 WHERE written_by = "Kristen Dunphy and David Ogilvy" |
Below is an context that describes a 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 (game INTEGER, date VARCHAR)
### Question:
What is the sum of Game, when Date is 29 January 2008?
### Answer:
SELECT SUM(game) FROM table_name_59 WHERE date = "29 january 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 Rooms (RoomId VARCHAR, roomName VARCHAR, basePrice VARCHAR)
### Question:
Find the id and name of the most expensive base price room.
### Answer:
SELECT RoomId, roomName FROM Rooms ORDER BY basePrice 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_181240_1 (modern_german__standard_wording_ VARCHAR, writing_system_2__german_based_ VARCHAR)
### Question:
What is the modern german standard wording for the german based writing system 2 phrase "wie mir die vergewwe wu uns schuldich sinn."?
### Answer:
SELECT modern_german__standard_wording_ FROM table_181240_1 WHERE writing_system_2__german_based_ = "wie mir die vergewwe wu uns schuldich sinn." |
Below is an context that describes a 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 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)
### Question:
Who constructed the car with a grid larger than 20 that got in an accident?
### Answer:
SELECT constructor FROM table_name_1 WHERE grid > 20 AND time_retired = "accident" |
Below is an context that describes a 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 (nation VARCHAR, date VARCHAR)
### Question:
What is the Nation with a Date that is may 6, 1991?
### Answer:
SELECT nation FROM table_name_51 WHERE date = "may 6, 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 table_name_93 (induction VARCHAR, years VARCHAR)
### Question:
What is the inductioin for 1975–1976?
### Answer:
SELECT induction FROM table_name_93 WHERE years = "1975–1976" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE actual_orders (actual_order_id VARCHAR, order_status_code VARCHAR)
### Question:
Find the ids of orders whose status is 'Success'.
### Answer:
SELECT actual_order_id FROM actual_orders WHERE order_status_code = 'Success' |
Below is an context that describes a 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_74 (home_team VARCHAR)
### Question:
What is the score of the Home team of geelong?
### Answer:
SELECT home_team AS score FROM table_name_74 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_17360840_9 (record VARCHAR, location VARCHAR, opponent VARCHAR)
### Question:
What was the record when the opposing team was the Columbus Blue Jackets at St. Pete Times Forum?
### Answer:
SELECT record FROM table_17360840_9 WHERE location = "St. Pete Times Forum" AND opponent = "Columbus Blue Jackets" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE dept_locations (dnumber VARCHAR, dlocation VARCHAR); CREATE TABLE department (dname VARCHAR, dnumber VARCHAR)
### Question:
Find the names of departments that are located in Houston.
### Answer:
SELECT t1.dname FROM department AS t1 JOIN dept_locations AS t2 ON t1.dnumber = t2.dnumber WHERE t2.dlocation = 'Houston' |
Below is an context that describes a 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 (notes VARCHAR, date VARCHAR)
### Question:
Which Notes have a Date of 2008-01-27?
### Answer:
SELECT notes FROM table_name_21 WHERE date = "2008-01-27" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27069503_2 (coach VARCHAR, overall VARCHAR)
### Question:
Who was the coach of the Pandas when their overall record was 20-6-2?
### Answer:
SELECT coach FROM table_27069503_2 WHERE overall = "20-6-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_56 (ri_song_hui___prk__ VARCHAR)
### Question:
What's the 102kg when the Ri Song-Hui was 226kg?
### Answer:
SELECT 102 AS kg FROM table_name_56 WHERE ri_song_hui___prk__ = "226kg" |
Below is an context that describes a 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 (name VARCHAR, round VARCHAR)
### Question:
Tell me the name for round of e
### Answer:
SELECT name FROM table_name_29 WHERE round = "e" |
Below is an context that describes a 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 (score VARCHAR, date VARCHAR)
### Question:
what was the score on 6 june 2010?
### Answer:
SELECT score FROM table_name_82 WHERE date = "6 june 2010" |
Below is an context that describes a 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 (airport VARCHAR, carriers VARCHAR)
### Question:
Which Airport has a Carrier of malaysia airlines?
### Answer:
SELECT airport FROM table_name_52 WHERE carriers = "malaysia airlines" |
Below is an context that describes a 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 (week VARCHAR, finalist VARCHAR)
### Question:
what is the week when the finalist is marcelo ríos?
### Answer:
SELECT week FROM table_name_16 WHERE finalist = "marcelo ríos" |
Below is an context that describes a 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 (match_report VARCHAR, date VARCHAR, venue VARCHAR, competition VARCHAR)
### Question:
What is the match report for the game that was played on 23 august 2008 in stark's park during the second division competition?
### Answer:
SELECT match_report FROM table_name_13 WHERE venue = "stark's park" AND competition = "second division" AND date = "23 august 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_1342331_43 (result VARCHAR, incumbent VARCHAR)
### Question:
what happened during the election for Richard M. Kleberg?
### Answer:
SELECT result FROM table_1342331_43 WHERE incumbent = "Richard M. Kleberg" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2581397_2 (group VARCHAR, venue VARCHAR)
### Question:
What group was sunline in when he was at moonee valley?
### Answer:
SELECT group FROM table_2581397_2 WHERE venue = "Moonee Valley" |
Below is an context that describes a 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 (score VARCHAR, december VARCHAR)
### Question:
What's the score for December of 30?
### Answer:
SELECT score FROM table_name_48 WHERE december = 30 |
Below is an context that describes a 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_14 (saturday_shani__saturn_ VARCHAR, sunday_surya__the_sun_ VARCHAR)
### Question:
What is the result on Saturday that's রবিবার robibar on Sunday
### Answer:
SELECT saturday_shani__saturn_ FROM table_name_14 WHERE sunday_surya__the_sun_ = "রবিবার robibar" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.