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_12 (venue VARCHAR, runs VARCHAR)
### Question:
What was the venue for runs 325/6?
### Answer:
SELECT venue FROM table_name_12 WHERE runs = "325/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_27721131_6 (team VARCHAR, high_points VARCHAR)
### Question:
Which team played them when andray blatche , javale mcgee (20) had the high points?
### Answer:
SELECT team FROM table_27721131_6 WHERE high_points = "Andray Blatche , JaVale McGee (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_14342210_14 (player VARCHAR, touchdowns__5_points_ VARCHAR)
### Question:
How many players made 4 touchdowns?
### Answer:
SELECT COUNT(player) FROM table_14342210_14 WHERE touchdowns__5_points_ = 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_83 (duration VARCHAR, start_date_time VARCHAR)
### Question:
The EVA that started on 8 July 12:38 went for how long?
### Answer:
SELECT duration FROM table_name_83 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_11734041_1 (years_for_rockets VARCHAR, position VARCHAR, school_club_team_country VARCHAR)
### Question:
How many times did a center that attended Oral Roberts play for the Rockets?
### Answer:
SELECT COUNT(years_for_rockets) FROM table_11734041_1 WHERE position = "Center" AND school_club_team_country = "Oral 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_2201724_2 (score_in_the_final VARCHAR, year VARCHAR)
### Question:
How many different final scores were there in 1963?
### Answer:
SELECT COUNT(score_in_the_final) FROM table_2201724_2 WHERE year = 1963 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22871239_5 (score VARCHAR, team VARCHAR)
### Question:
What was the score when the team was @ New Jersey?
### Answer:
SELECT score FROM table_22871239_5 WHERE team = "@ New Jersey" |
Below is an context that describes a sql 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 (method VARCHAR, round VARCHAR, event VARCHAR)
### Question:
What was the method in round 1 of the UFC 20 event?
### Answer:
SELECT method FROM table_name_87 WHERE round = 1 AND event = "ufc 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_16 (type VARCHAR, works_number VARCHAR)
### Question:
What is Type, when Works Number is 75823?
### Answer:
SELECT type FROM table_name_16 WHERE works_number = "75823" |
Below is an context that describes a sql 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 (cdt___5_utc_ VARCHAR, pdt___7_utc_ VARCHAR)
### Question:
What time is CDT when PDT is 3:17 a.m.?
### Answer:
SELECT cdt___5_utc_ FROM table_name_13 WHERE pdt___7_utc_ = "3:17 a.m." |
Below is an context that describes a sql 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 (away_team VARCHAR, date VARCHAR)
### Question:
What was the away team score at the game held on 17 August 1935?
### Answer:
SELECT away_team AS score FROM table_name_65 WHERE date = "17 august 1935" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR, year VARCHAR); CREATE TABLE Person (name VARCHAR, age VARCHAR, job VARCHAR); CREATE TABLE PersonFriend (YEAR INTEGER, friend VARCHAR)
### Question:
Find the name, age, and job title of persons who are friends with Alice for the longest years.
### Answer:
SELECT T1.name, T1.age, T1.job FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend = 'Alice' AND T2.year = (SELECT MAX(YEAR) FROM PersonFriend WHERE friend = 'Alice') |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE editor (Name VARCHAR, editor_id VARCHAR); CREATE TABLE journal_committee (Name VARCHAR, editor_id VARCHAR)
### Question:
List the names of editors that are not on any journal committee.
### Answer:
SELECT Name FROM editor WHERE NOT editor_id IN (SELECT editor_id FROM journal_committee) |
Below is an context that describes a sql 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 (race VARCHAR, pole_position VARCHAR)
### Question:
What race had Jody Scheckter hold pole position?
### Answer:
SELECT race FROM table_name_63 WHERE pole_position = "jody scheckter" |
Below is an context that describes a sql 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 (attendance VARCHAR, date VARCHAR)
### Question:
What is the Attendance of New Zealand Scores in bold?
### Answer:
SELECT attendance FROM table_name_6 WHERE date = "new zealand scores in bold" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE debate (Date VARCHAR, Venue VARCHAR)
### Question:
What are the date and venue of each debate?
### Answer:
SELECT Date, Venue FROM debate |
Below is an context that describes a sql 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, home_team VARCHAR)
### Question:
Where did Hawthorn play as home team?
### Answer:
SELECT venue FROM table_name_29 WHERE home_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 table_1952057_5 (afc_championships INTEGER)
### Question:
What is the maximum number of AFC championships?
### Answer:
SELECT MAX(afc_championships) FROM table_1952057_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_28 (progressive_ticket VARCHAR, democratic_ticket VARCHAR)
### Question:
Who was on the Progressive ticket when John T. Norton was on the Democratic ticket?
### Answer:
SELECT progressive_ticket FROM table_name_28 WHERE democratic_ticket = "john t. norton" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22993636_5 (games_played INTEGER, steals VARCHAR)
### Question:
What is the lowest number of games played by the player with 50 steals?
### Answer:
SELECT MIN(games_played) FROM table_22993636_5 WHERE steals = 50 |
Below is an context that describes a sql 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 (rank VARCHAR, event VARCHAR)
### Question:
What is Rank, when Event is "LAPT4 São Paulo"?
### Answer:
SELECT rank FROM table_name_66 WHERE event = "lapt4 são paulo" |
Below is an context that describes a sql 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 (time VARCHAR, rider VARCHAR)
### Question:
What time did rider steve plater have?
### Answer:
SELECT time FROM table_name_27 WHERE rider = "steve plater" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27734577_8 (high_rebounds VARCHAR, high_points VARCHAR)
### Question:
What are the high rebounds in the jamal crawford (20) high points?
### Answer:
SELECT high_rebounds FROM table_27734577_8 WHERE high_points = "Jamal Crawford (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_19255192_1 (fiscal_year INTEGER, total_vehicles VARCHAR)
### Question:
What is the lowest fiscal year if total vehicles is 490?
### Answer:
SELECT MIN(fiscal_year) FROM table_19255192_1 WHERE total_vehicles = 490 |
Below is an context that describes a sql 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 (first_performance VARCHAR, status VARCHAR)
### Question:
When was the first performance with a replacement cast?
### Answer:
SELECT first_performance FROM table_name_80 WHERE status = "replacement cast" |
Below is an context that describes a sql 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 (venue VARCHAR, against VARCHAR, date VARCHAR)
### Question:
Where was the match on 10/11/2001 against 15?
### Answer:
SELECT venue FROM table_name_3 WHERE against = 15 AND date = "10/11/2001" |
Below is an context that describes a sql 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 (wins INTEGER, club VARCHAR, draws VARCHAR)
### Question:
What is the total number of wins for Cobden club when there are more than 2 draws?
### Answer:
SELECT SUM(wins) FROM table_name_39 WHERE club = "cobden" AND draws > 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_36 (maidens INTEGER, matches VARCHAR)
### Question:
What is the sum of Maidens with a number of Matches that is 2?
### Answer:
SELECT SUM(maidens) FROM table_name_36 WHERE matches = 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_59 (italian VARCHAR, mexican VARCHAR)
### Question:
What is the Italian word for the Mexican word frijol?
### Answer:
SELECT italian FROM table_name_59 WHERE mexican = "frijol" |
Below is an context that describes a sql 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 (games INTEGER, wins VARCHAR, draws VARCHAR)
### Question:
What is the lowest Games, when Wins is less than 1, and when Draws is greater than 1?
### Answer:
SELECT MIN(games) FROM table_name_40 WHERE wins < 1 AND draws > 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_27720737_1 (series__number VARCHAR, production_code VARCHAR)
### Question:
How many episodes had a production code 120?
### Answer:
SELECT COUNT(series__number) FROM table_27720737_1 WHERE production_code = 120 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE flight (Id VARCHAR); CREATE TABLE operate_company (type VARCHAR, id VARCHAR)
### Question:
What are the distinct types of the companies that have operated any flights with velocity less than 200?
### Answer:
SELECT DISTINCT T1.type FROM operate_company AS T1 JOIN flight AS t2 ON T1.id = T2.company_id WHERE T2.velocity < 200 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341865_11 (district VARCHAR, incumbent VARCHAR)
### Question:
What district did Donald Ray Matthews belong to?
### Answer:
SELECT district FROM table_1341865_11 WHERE incumbent = "Donald Ray Matthews" |
Below is an context that describes a sql 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 (release_date VARCHAR, vendor VARCHAR)
### Question:
What is the release date for Eclipse Foundation?
### Answer:
SELECT release_date FROM table_name_43 WHERE vendor = "eclipse foundation" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22355_50 (nation VARCHAR, athlete VARCHAR)
### Question:
how many times was nation counted where athlete is shuhei nishida category:articles with hcards
### Answer:
SELECT COUNT(nation) FROM table_22355_50 WHERE athlete = "Shuhei Nishida Category:Articles with hCards" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2266762_1 (driver VARCHAR, race_time VARCHAR)
### Question:
Who was the winning driver in the race that was 3:04:09 long?
### Answer:
SELECT driver FROM table_2266762_1 WHERE race_time = "3:04:09" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25737761_3 (director VARCHAR, no VARCHAR)
### Question:
Who directed episode number 2?
### Answer:
SELECT director FROM table_25737761_3 WHERE no = 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_26801821_1 (no_in_series VARCHAR, written_by VARCHAR)
### Question:
What is the number of the series written by Teresa Lin?
### Answer:
SELECT COUNT(no_in_series) FROM table_26801821_1 WHERE written_by = "Teresa Lin" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22951088_3 (original_air_date VARCHAR, no VARCHAR)
### Question:
What was the original air date of episode number 1?
### Answer:
SELECT original_air_date FROM table_22951088_3 WHERE no = 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_18946749_1 (elevation__m_ INTEGER, peak VARCHAR)
### Question:
When mount kobowre is the peak what is the highest elevation in meters?
### Answer:
SELECT MAX(elevation__m_) FROM table_18946749_1 WHERE peak = "Mount Kobowre" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11960407_4 (record VARCHAR, game VARCHAR)
### Question:
How many times was the game 39?
### Answer:
SELECT COUNT(record) FROM table_11960407_4 WHERE game = 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_name_27 (roman VARCHAR, proto_germanic_origin VARCHAR)
### Question:
The Proto-Germanic origin of /w/ is associated with what Roman entry?
### Answer:
SELECT roman FROM table_name_27 WHERE proto_germanic_origin = "/w/" |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
What is the 2013 with virgin in 2009?
### Answer:
SELECT 2013 FROM table_name_5 WHERE 2009 = "virgin" |
Below is an context that describes a sql 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 (notes VARCHAR, tournament VARCHAR, year VARCHAR)
### Question:
What is the notes for the hypo-meeting tournament in 2012?
### Answer:
SELECT notes FROM table_name_95 WHERE tournament = "hypo-meeting" AND year = 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_96 (record VARCHAR, time VARCHAR)
### Question:
What was the record when there was a fight that lasted 5:00?
### Answer:
SELECT record FROM table_name_96 WHERE time = "5:00" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11944282_1 (component VARCHAR, allied_related VARCHAR)
### Question:
What is the name of the integrated where allied-related is shared?
### Answer:
SELECT component FROM table_11944282_1 WHERE allied_related = "Shared" |
Below is an context that describes a sql 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 (home VARCHAR, visitor VARCHAR)
### Question:
What was the home who had California visiting?
### Answer:
SELECT home FROM table_name_94 WHERE visitor = "california" |
Below is an context that describes 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 Behavior_Incident (student_id VARCHAR)
### Question:
How many students are not involved in any behavior incident?
### Answer:
SELECT COUNT(*) FROM STUDENTS WHERE NOT student_id IN (SELECT student_id FROM Behavior_Incident) |
Below is an context that describes a sql 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 (label VARCHAR, release_date VARCHAR)
### Question:
What Label was Released on December 7, 2012?
### Answer:
SELECT label FROM table_name_27 WHERE release_date = "december 7, 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_13 (school_club_team VARCHAR, player VARCHAR)
### Question:
Which school was Lawrence Roberts from ?
### Answer:
SELECT school_club_team FROM table_name_13 WHERE player = "lawrence 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_98 (date VARCHAR, winning_score VARCHAR)
### Question:
Which Date has a Winning score of −15 (71-69-68-65=273)?
### Answer:
SELECT date FROM table_name_98 WHERE winning_score = −15(71 - 69 - 68 - 65 = 273) |
Below is an context that describes a sql 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 (lost VARCHAR, points_against VARCHAR)
### Question:
when points against was 387 what was the lost?
### Answer:
SELECT lost FROM table_name_8 WHERE points_against = "387" |
Below is an context that describes a sql 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 (position INTEGER, lost VARCHAR, drawn VARCHAR)
### Question:
What is the highest position of the team with 24 lost and a drawn greater than 9?
### Answer:
SELECT MAX(position) FROM table_name_62 WHERE lost = 24 AND drawn > 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_54 (points INTEGER, played VARCHAR, position VARCHAR, lost VARCHAR)
### Question:
What's the points that has a lost more 6, played less than 14 and a position more than 1?
### Answer:
SELECT SUM(points) FROM table_name_54 WHERE position > 1 AND lost > 6 AND played < 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_23476629_2 (hometown VARCHAR, province VARCHAR)
### Question:
What is the hometown of contestants who are from the province of Huesca?
### Answer:
SELECT hometown FROM table_23476629_2 WHERE province = "Huesca" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE problem_log (assigned_to_staff_id VARCHAR, problem_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR)
### Question:
List the first and last names of all distinct staff members who are assigned to the problem whose id is 1.
### Answer:
SELECT DISTINCT staff_first_name, staff_last_name FROM staff AS T1 JOIN problem_log AS T2 ON T1.staff_id = T2.assigned_to_staff_id WHERE T2.problem_id = 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_9 (home_team VARCHAR, away_team VARCHAR)
### Question:
In the match played against Telford United, who was the home team?
### Answer:
SELECT home_team FROM table_name_9 WHERE away_team = "telford united" |
Below is an context that describes a sql 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 (opponent_in_the_final VARCHAR, outcome VARCHAR, date VARCHAR)
### Question:
Which opponent was a runner-up on 2 march 1998?
### Answer:
SELECT opponent_in_the_final FROM table_name_6 WHERE outcome = "runner-up" AND date = "2 march 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_97 (home_team VARCHAR, away_team VARCHAR)
### Question:
What was the score of the team that played against Fitzroy?
### Answer:
SELECT home_team AS score FROM table_name_97 WHERE away_team = "fitzroy" |
Below is an context that describes a sql 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 (ngc_number VARCHAR, constellation VARCHAR, object_type VARCHAR)
### Question:
I want the NGC number for leo of irregular galaxy
### Answer:
SELECT ngc_number FROM table_name_16 WHERE constellation = "leo" AND object_type = "irregular galaxy" |
Below is an context that describes a sql 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 (place VARCHAR, country VARCHAR)
### Question:
What was the place ranking for the player from Australia?
### Answer:
SELECT place FROM table_name_43 WHERE country = "australia" |
Below is an context that describes a sql 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 (nationality VARCHAR, team VARCHAR)
### Question:
What is the nationality for milwaukee hawks?
### Answer:
SELECT nationality FROM table_name_91 WHERE team = "milwaukee 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 customers (email VARCHAR, phone VARCHAR, first_name VARCHAR, last_name VARCHAR)
### Question:
What is Astrid Gruber's email and phone number?
### Answer:
SELECT email, phone FROM customers WHERE first_name = "Astrid" AND last_name = "Gruber" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19753079_8 (district VARCHAR, incumbent VARCHAR)
### Question:
What district did George Miller belong to?
### Answer:
SELECT district FROM table_19753079_8 WHERE incumbent = "George 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_name_99 (format VARCHAR, catalog VARCHAR)
### Question:
What is the Format o Catalog F4 87199?
### Answer:
SELECT format FROM table_name_99 WHERE catalog = "f4 87199" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17413485_1 (episode VARCHAR, graemes_guest VARCHAR)
### Question:
what is the number of the episode where maria mcerlane where gramer guest
### Answer:
SELECT episode FROM table_17413485_1 WHERE graemes_guest = "Maria McErlane" |
Below is an context that describes a sql 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 (date_of_appointment VARCHAR, team VARCHAR)
### Question:
WHAT IS THE APPOINTMENT DATE FOR AC HORSENS?
### Answer:
SELECT date_of_appointment FROM table_name_33 WHERE team = "ac horsens" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29626583_3 (position VARCHAR, mls_team VARCHAR)
### Question:
What position did the team new york red bulls pick?
### Answer:
SELECT position FROM table_29626583_3 WHERE mls_team = "New York Red Bulls" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17120964_6 (venue VARCHAR, man_of_the_match VARCHAR)
### Question:
At what venue did Alex Mettam/Mark Williams be named Man of the Match?
### Answer:
SELECT venue FROM table_17120964_6 WHERE man_of_the_match = "Alex Mettam/Mark Williams" |
Below is an context that describes a sql 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 (time VARCHAR, reaction_time VARCHAR, lane VARCHAR)
### Question:
How many Times have a Reaction Time larger than 0.17500000000000002, and a Lane of 3?
### Answer:
SELECT COUNT(time) FROM table_name_62 WHERE reaction_time > 0.17500000000000002 AND lane = 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_31 (catalogno VARCHAR, remark VARCHAR)
### Question:
Which Catalogno was #160 us?
### Answer:
SELECT catalogno FROM table_name_31 WHERE remark = "#160 us" |
Below is an context that describes a sql 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 (year INTEGER, venue VARCHAR)
### Question:
What is the average year of events that took place in Antwerp, Belgium?
### Answer:
SELECT AVG(year) FROM table_name_97 WHERE venue = "antwerp, belgium" |
Below is an context that describes a sql 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 (date VARCHAR, record VARCHAR)
### Question:
When was 11-8 the record?
### Answer:
SELECT date FROM table_name_43 WHERE record = "11-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_20704243_5 (series__number VARCHAR, written_by VARCHAR)
### Question:
Name the series number for m. scott veach & rebecca kirsch
### Answer:
SELECT series__number FROM table_20704243_5 WHERE written_by = "M. Scott Veach & Rebecca Kirsch" |
Below is an context that describes a sql 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 (result VARCHAR, score VARCHAR)
### Question:
With a score of 2-2, what was the Result?
### Answer:
SELECT result FROM table_name_30 WHERE score = "2-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_68 (competition VARCHAR, date VARCHAR)
### Question:
What is the Competition on July 7?
### Answer:
SELECT competition FROM table_name_68 WHERE date = "july 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_99 (games INTEGER, player VARCHAR)
### Question:
How many average games did Nick Rimando have?
### Answer:
SELECT AVG(games) FROM table_name_99 WHERE player = "nick rimando" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25668203_2 (winning_team VARCHAR, winning_driver VARCHAR)
### Question:
What was the winning team when mikhail goikhberg was the winning driver?
### Answer:
SELECT winning_team FROM table_25668203_2 WHERE winning_driver = "Mikhail Goikhberg" |
Below is an context that describes a sql 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 (engine VARCHAR, entrant VARCHAR, year VARCHAR, points VARCHAR)
### Question:
What engine was used by Equipe Simca Gordini before 1956 with less than 4 points?
### Answer:
SELECT engine FROM table_name_15 WHERE year < 1956 AND points < 4 AND entrant = "equipe simca gordini" |
Below is an context that describes a sql 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 (wins INTEGER, losses VARCHAR, ties VARCHAR)
### Question:
What is the most wins when the number of losses was less than 4 and there was more than 0 ties?
### Answer:
SELECT MAX(wins) FROM table_name_77 WHERE losses < 4 AND ties > 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_98 (stake VARCHAR, occupation VARCHAR)
### Question:
What stake has realtor for American equity realty as their occupation?
### Answer:
SELECT stake FROM table_name_98 WHERE occupation = "realtor for american equity realty" |
Below is an context that describes a sql 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 (points INTEGER, goals_for VARCHAR, draws VARCHAR, wins VARCHAR)
### Question:
What is the highest points of the club with less than 9 draws, 11 wins, and more than 40 goals?
### Answer:
SELECT MAX(points) FROM table_name_28 WHERE draws < 9 AND wins = 11 AND goals_for > 40 |
Below is an context that describes a sql 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 (opponent_in_the_final VARCHAR, surface VARCHAR, tournament VARCHAR)
### Question:
Who is the opponent in the final with a clay surface at the Tournament of Lyneham?
### Answer:
SELECT opponent_in_the_final FROM table_name_20 WHERE surface = "clay" AND tournament = "lyneham" |
Below is an context that describes a sql 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 (points INTEGER, chassis VARCHAR, year VARCHAR)
### Question:
Name the sum of points for chassis of brm p160e and year more than 1974
### Answer:
SELECT SUM(points) FROM table_name_32 WHERE chassis = "brm p160e" AND year > 1974 |
Below is an context that describes a sql 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 (score VARCHAR, place VARCHAR)
### Question:
What score has 3 as the place?
### Answer:
SELECT score FROM table_name_87 WHERE place = "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_82 (competition VARCHAR, date VARCHAR)
### Question:
Name the competition for november 19, 2008
### Answer:
SELECT competition FROM table_name_82 WHERE date = "november 19, 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_61 (position VARCHAR, pick__number VARCHAR, player VARCHAR)
### Question:
Which Position has a Pick # smaller than 26 and a Player of jack campbell?
### Answer:
SELECT position FROM table_name_61 WHERE pick__number < 26 AND player = "jack campbell" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_46 (place VARCHAR, to_par VARCHAR, score VARCHAR)
### Question:
What is the Place when the To par was +3 and Score was 74-73=147?
### Answer:
SELECT place FROM table_name_46 WHERE to_par = "+3" AND score = 74 - 73 = 147 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_73 (author VARCHAR, title VARCHAR)
### Question:
who is the author when the title is destination: nerva?
### Answer:
SELECT author FROM table_name_73 WHERE title = "destination: nerva" |
Below is an context that describes a sql 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 (date VARCHAR, score VARCHAR, tie_no VARCHAR)
### Question:
What is the Date of Tie no 35 with a Score of 3–2?
### Answer:
SELECT date FROM table_name_78 WHERE score = "3–2" AND tie_no = "35" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18268826_1 (no_in_season INTEGER, us_viewers__million_ VARCHAR)
### Question:
What's the season number of the episode viewed by 3.19 million people in the US?
### Answer:
SELECT MAX(no_in_season) FROM table_18268826_1 WHERE us_viewers__million_ = "3.19" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_70 (drawn VARCHAR, position VARCHAR, points VARCHAR)
### Question:
How many Drawn have a Position of 7, and Points larger than 18?
### Answer:
SELECT COUNT(drawn) FROM table_name_70 WHERE position = 7 AND points > 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_name_42 (agg VARCHAR, team_2 VARCHAR)
### Question:
What is Agg., when Team 2 is Mukungwa?
### Answer:
SELECT agg FROM table_name_42 WHERE team_2 = "mukungwa" |
Below is an context that describes a sql 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 (left_office VARCHAR, minister VARCHAR)
### Question:
Tell me the left office for enrico la loggia
### Answer:
SELECT left_office FROM table_name_83 WHERE minister = "enrico la loggia" |
Below is an context that describes a sql 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 (game INTEGER, score VARCHAR)
### Question:
Score of 108-85 is what lowest game?
### Answer:
SELECT MIN(game) FROM table_name_77 WHERE score = "108-85" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15624586_2 (indigenous_mining_production_2006 VARCHAR, _percentage_of_world_demand VARCHAR)
### Question:
What is the indigenous mining production of the country that uses 3.4% of the world demand?
### Answer:
SELECT indigenous_mining_production_2006 FROM table_15624586_2 WHERE _percentage_of_world_demand = "3.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_63 (round INTEGER, pick VARCHAR, player VARCHAR)
### Question:
What round was jerry corcoran drafted in as pick number 114?
### Answer:
SELECT MAX(round) FROM table_name_63 WHERE pick > 114 AND player = "jerry corcoran" |
Below is an context that describes a sql 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 (title VARCHAR, rank VARCHAR, worldwide_gross VARCHAR)
### Question:
What is the Title of the Film with a Rank greater than 11 and Worldwide Gross of $131,002,597?
### Answer:
SELECT title FROM table_name_25 WHERE rank > 11 AND worldwide_gross = "$131,002,597" |
Below is an context that describes a sql 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 (gamerankings VARCHAR, metacritic VARCHAR, year_released VARCHAR)
### Question:
What is the GameRankings Released of 2011 with a Metacritic of 83/100?
### Answer:
SELECT gamerankings FROM table_name_40 WHERE metacritic = "83/100" AND year_released = 2011 |
Below is an context that describes a sql 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 (designation VARCHAR, qualification VARCHAR)
### Question:
What is the designation for the m.tech (e.c.e) qualification?
### Answer:
SELECT designation FROM table_name_86 WHERE qualification = "m.tech (e.c.e)" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.