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_10602294_1 (damage__usd_ VARCHAR, pressure VARCHAR)
### Question:
What was the damage (usd) from the cyclones that measured 1003hPa (29.62inHg) pressure?
### Answer:
SELECT damage__usd_ FROM table_10602294_1 WHERE pressure = "1003hPa (29.62inHg)" |
Below is an context that describes a sql 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 (years VARCHAR, model VARCHAR)
### Question:
What are the years for the 250 model?
### Answer:
SELECT years FROM table_name_97 WHERE model = "250" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15001681_1 (year INTEGER, womens_doubles VARCHAR)
### Question:
What is the most current year where the women's doubles champions are astrid eidenbenz claudia jehle
### Answer:
SELECT MAX(year) FROM table_15001681_1 WHERE womens_doubles = "Astrid Eidenbenz Claudia Jehle" |
Below is an context that describes 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 (people_id VARCHAR); CREATE TABLE people (name VARCHAR, people_id VARCHAR, sex VARCHAR)
### Question:
list all female (sex is F) candidate names in the alphabetical order.
### Answer:
SELECT t1.name FROM people AS t1 JOIN candidate AS t2 ON t1.people_id = t2.people_id WHERE t1.sex = 'F' ORDER BY t1.name |
Below is an context that describes a sql 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 (opponent VARCHAR, date VARCHAR)
### Question:
Who did the Blue Jays play against on April 11?
### Answer:
SELECT opponent FROM table_name_52 WHERE date = "april 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_34 (score VARCHAR, country VARCHAR, player VARCHAR)
### Question:
What is Score, when Country is "United States", and when Player is "Mark Brooks"?
### Answer:
SELECT score FROM table_name_34 WHERE country = "united states" AND player = "mark brooks" |
Below is an context that describes a sql 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 (laps INTEGER, finish VARCHAR)
### Question:
What is the average lap of the race with a 23 finish?
### Answer:
SELECT AVG(laps) FROM table_name_49 WHERE finish = "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_13 (car_no VARCHAR, points VARCHAR)
### Question:
What car number had 24 points?
### Answer:
SELECT car_no FROM table_name_13 WHERE points = "24" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_92 (date_withdrawn VARCHAR, date_made VARCHAR)
### Question:
What is the withdrawal date associated with a date made of 1904?
### Answer:
SELECT date_withdrawn FROM table_name_92 WHERE date_made = "1904" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_70 (attendance INTEGER, week VARCHAR)
### Question:
What was the Attendance on Week 8?
### Answer:
SELECT AVG(attendance) FROM table_name_70 WHERE week = 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_75 (team VARCHAR, seed VARCHAR, notes VARCHAR)
### Question:
What team with a seed value greater than 7 has a note that they were an NCRAA champion?
### Answer:
SELECT team FROM table_name_75 WHERE seed > 7 AND notes = "ncraa champion" |
Below is an context that describes a sql 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 (number VARCHAR, position VARCHAR, school_club_team VARCHAR)
### Question:
What is the number for the forward position from the school/club team La Salle?
### Answer:
SELECT number FROM table_name_90 WHERE position = "forward" AND school_club_team = "la salle" |
Below is an context that describes a sql 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 (score VARCHAR, venue VARCHAR)
### Question:
What score has amblecote as the venue?
### Answer:
SELECT score FROM table_name_97 WHERE venue = "amblecote" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_38 (date VARCHAR, week VARCHAR, opponent VARCHAR)
### Question:
What was the date of the game after week 6 with the New York Jets as the opponent?
### Answer:
SELECT date FROM table_name_38 WHERE week > 6 AND opponent = "new york jets" |
Below is an context that describes a sql 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 (to_par VARCHAR, country VARCHAR)
### Question:
What is the To par of the Player from Argentina?
### Answer:
SELECT to_par FROM table_name_39 WHERE country = "argentina" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_58 (event VARCHAR)
### Question:
What is the 2008-09 result has Masters as the event?
### Answer:
SELECT 2008 AS _09 FROM table_name_58 WHERE event = "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_13 (location_attendance VARCHAR, date VARCHAR)
### Question:
What was the location and attendance on the May 22 game?
### Answer:
SELECT location_attendance FROM table_name_13 WHERE date = "may 22" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_256286_43 (passed VARCHAR, no_votes VARCHAR)
### Question:
What is every entry for passed when NO votes is 312187?
### Answer:
SELECT passed FROM table_256286_43 WHERE no_votes = 312187 |
Below is an context that describes a sql 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 (date VARCHAR, label VARCHAR, format VARCHAR)
### Question:
Which date has Total Holocaust records in the ed Remaster cassette format?
### Answer:
SELECT date FROM table_name_85 WHERE label = "total holocaust records" AND format = "ed remaster cassette" |
Below is an context that describes a sql 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 (co_drivers VARCHAR, team VARCHAR, pos VARCHAR, year VARCHAR)
### Question:
Who were the co-drivers for the Racing Organisation Course team in years before 2011, who had a position of DNF?
### Answer:
SELECT co_drivers FROM table_name_92 WHERE pos = "dnf" AND year < 2011 AND team = "racing organisation course" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1893276_2 (air_date VARCHAR, eliminated VARCHAR)
### Question:
How many air dates were there when Morgan was eliminated?
### Answer:
SELECT COUNT(air_date) FROM table_1893276_2 WHERE eliminated = "Morgan" |
Below is an context that describes a sql 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 (area__km_2__ VARCHAR, population VARCHAR, place VARCHAR)
### Question:
What is the total number of area listed for cannonvale with a population less than 409?
### Answer:
SELECT COUNT(area__km_2__) FROM table_name_96 WHERE population < 409 AND place = "cannonvale" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17271495_1 (laps VARCHAR, points VARCHAR)
### Question:
Name the laps for 18 pointss
### Answer:
SELECT laps FROM table_17271495_1 WHERE 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_3 (lost INTEGER, points_difference VARCHAR, games VARCHAR)
### Question:
What is the lowest number of games loss with a Points difference of 40 - 17, and over 6 games?
### Answer:
SELECT MIN(lost) FROM table_name_3 WHERE points_difference = "40 - 17" AND games > 6 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_61 (opponent_team VARCHAR, result VARCHAR)
### Question:
What opponent was in the match that resulted in 1-2?
### Answer:
SELECT opponent_team FROM table_name_61 WHERE result = "1-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_20 (swing_to_gain VARCHAR, constituency VARCHAR)
### Question:
how many times is the constituency edinburgh northern and leith?
### Answer:
SELECT COUNT(swing_to_gain) FROM table_name_20 WHERE constituency = "edinburgh northern and leith" |
Below is an context that describes a sql 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 (college_junior_club_team__league_ VARCHAR, player VARCHAR, round VARCHAR, position VARCHAR)
### Question:
What is the School/Junior/Club Group (Association) that has a Round bigger than 6, and a Place of winger, and a Player of evgeny afanasiev?
### Answer:
SELECT college_junior_club_team__league_ FROM table_name_49 WHERE round > 6 AND position = "winger" AND player = "evgeny afanasiev" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_38 (home_team VARCHAR, away_team VARCHAR)
### Question:
Who played Melbourne as the home team?
### Answer:
SELECT home_team FROM table_name_38 WHERE away_team = "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_50 (diameter__km_ INTEGER, latitude VARCHAR, year_named VARCHAR, longitude VARCHAR)
### Question:
What is the diameter for 1997 when longitude is 212.0e and latitude is 47.0n?
### Answer:
SELECT MIN(diameter__km_) FROM table_name_50 WHERE year_named = 1997 AND longitude = "212.0e" AND latitude = "47.0n" |
Below is an context that describes a sql 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 (barangay VARCHAR, exit VARCHAR)
### Question:
Which Barangay has an exit of Sisiman toll barrier?
### Answer:
SELECT barangay FROM table_name_66 WHERE exit = "sisiman toll barrier" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_58 (number_of_households INTEGER, county VARCHAR)
### Question:
How many households are in Ottawa?
### Answer:
SELECT SUM(number_of_households) FROM table_name_58 WHERE county = "ottawa" |
Below is an context that describes a sql 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 (away_team VARCHAR, venue VARCHAR)
### Question:
What is the away team's score at punt road oval?
### Answer:
SELECT away_team FROM table_name_27 WHERE venue = "punt road oval" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_37 (chassis VARCHAR, drivers VARCHAR)
### Question:
What Chassis did Memo Gidley use?
### Answer:
SELECT chassis FROM table_name_37 WHERE drivers = "memo gidley" |
Below is an context that describes a sql 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 (time_retired VARCHAR, driver VARCHAR)
### Question:
what is the time/retired when the driver is toulo de graffenried?
### Answer:
SELECT time_retired FROM table_name_51 WHERE driver = "toulo de graffenried" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23292220_7 (seans_team VARCHAR, first_broadcast VARCHAR)
### Question:
Name the seans team being 13 november 2008
### Answer:
SELECT seans_team FROM table_23292220_7 WHERE first_broadcast = "13 November 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_10705060_1 (points VARCHAR, position VARCHAR)
### Question:
What is the total for 10th position?
### Answer:
SELECT COUNT(points) FROM table_10705060_1 WHERE position = "10th" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_225199_4 (date_successor_seated VARCHAR, district VARCHAR)
### Question:
What is every date successor seated for the Virginia 11th District?
### Answer:
SELECT date_successor_seated FROM table_225199_4 WHERE district = "Virginia 11th" |
Below is an context that describes a sql 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 (crowd VARCHAR, venue VARCHAR)
### Question:
What was the attendance at the game played at Moorabbin Oval?
### Answer:
SELECT crowd FROM table_name_78 WHERE venue = "moorabbin oval" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24850487_5 (field_goals INTEGER, blocks VARCHAR)
### Question:
How many field goals did the player who had 8 blocks have?
### Answer:
SELECT MIN(field_goals) FROM table_24850487_5 WHERE blocks = 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_15 (record VARCHAR, score VARCHAR)
### Question:
What record has a Score of 9–6?
### Answer:
SELECT record FROM table_name_15 WHERE score = "9–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 Projects (project_id VARCHAR, project_details VARCHAR); CREATE TABLE Project_outcomes (project_id VARCHAR); CREATE TABLE Tasks (task_details VARCHAR, task_id VARCHAR, project_id VARCHAR)
### Question:
What are the task details, task id and project id for the projects which are detailed as 'omnis' or have more than 2 outcomes?
### Answer:
SELECT T1.task_details, T1.task_id, T2.project_id FROM Tasks AS T1 JOIN Projects AS T2 ON T1.project_id = T2.project_id WHERE T2.project_details = 'omnis' UNION SELECT T1.task_details, T1.task_id, T2.project_id FROM Tasks AS T1 JOIN Projects AS T2 ON T1.project_id = T2.project_id JOIN Project_outcomes AS T3 ON T2.project_id = T3.project_id GROUP BY T2.project_id 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 Document_locations (location_code VARCHAR)
### Question:
Show the location codes with at least 3 documents.
### Answer:
SELECT location_code FROM Document_locations GROUP BY location_code HAVING COUNT(*) >= 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_92 (points INTEGER, against VARCHAR, lost VARCHAR)
### Question:
What is the lowest Points with an against of 20 and less than 1 lost?
### Answer:
SELECT MIN(points) FROM table_name_92 WHERE against = 20 AND lost < 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_15 (record VARCHAR, opponent VARCHAR)
### Question:
What was the record after the game against the St. Louis Cardinals?
### Answer:
SELECT record FROM table_name_15 WHERE opponent = "st. louis cardinals" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17039232_3 (outgoing_manager VARCHAR, position_in_table VARCHAR)
### Question:
Name the outgoing manager for position in table being 11th
### Answer:
SELECT outgoing_manager FROM table_17039232_3 WHERE position_in_table = "11th" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_88 (avg_g VARCHAR, att_cmp_int VARCHAR, effic VARCHAR)
### Question:
How many players had an Att-Cmp-Int of 143–269–16, and an efficiency of less than 116.9?
### Answer:
SELECT COUNT(avg_g) FROM table_name_88 WHERE att_cmp_int = "143–269–16" AND effic < 116.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 student (dept_name VARCHAR)
### Question:
Find the total number of students in each department.
### Answer:
SELECT COUNT(*), dept_name FROM student GROUP BY dept_name |
Below is an context that describes a sql 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 (entered VARCHAR, known_for VARCHAR)
### Question:
On which day did the person who is known for the only way is essex star enter?
### Answer:
SELECT entered FROM table_name_42 WHERE known_for = "the only way is essex star" |
Below is an context that describes a sql 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 (date VARCHAR, city___state VARCHAR)
### Question:
On what date was the race in Melbourne, Victoria?
### Answer:
SELECT date FROM table_name_42 WHERE city___state = "melbourne, victoria" |
Below is an context that describes a sql 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 (runner_s__up VARCHAR, margin_of_victory VARCHAR)
### Question:
Who was the runner-up with the margin of victory of 8 strokes?
### Answer:
SELECT runner_s__up FROM table_name_6 WHERE margin_of_victory = "8 strokes" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_37 (school VARCHAR, player VARCHAR)
### Question:
What School did Player Billy Owens attend?
### Answer:
SELECT school FROM table_name_37 WHERE player = "billy owens" |
Below is an context that describes a sql 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 (team VARCHAR, points_diff VARCHAR)
### Question:
What team has +119 Points diff?
### Answer:
SELECT team FROM table_name_83 WHERE points_diff = "+119" |
Below is an context that describes a sql 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 (mintage INTEGER, issue_price VARCHAR, artist VARCHAR)
### Question:
What was the mintage having an issue price of $1,099.99, artist being Pamela Stagg?
### Answer:
SELECT AVG(mintage) FROM table_name_62 WHERE issue_price = "$1,099.99" AND artist = "pamela stagg" |
Below is an context that describes a sql 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 (weight VARCHAR, club VARCHAR, height VARCHAR)
### Question:
What is the Weight of the Player from DSHNK Almaty Club with a Height of m (ft 6in)?
### Answer:
SELECT weight FROM table_name_31 WHERE club = "dshnk almaty" AND height = "m (ft 6in)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1507852_1 (description VARCHAR, type VARCHAR)
### Question:
When the type is "reset" what is the description?
### Answer:
SELECT description FROM table_1507852_1 WHERE type = "reset" |
Below is an context that describes a sql 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 (games INTEGER, order VARCHAR, goals VARCHAR)
### Question:
How many games have an Order of 1006, and Goals larger than 192?
### Answer:
SELECT SUM(games) FROM table_name_94 WHERE order = 1006 AND goals > 192 |
Below is an context that describes a sql 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 VARCHAR, score VARCHAR, game VARCHAR)
### Question:
Which Date has a Score of 4–5, and a Game smaller than 4?
### Answer:
SELECT date FROM table_name_33 WHERE score = "4–5" AND game < 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_60 (Id VARCHAR)
### Question:
What is the highest 1937 value that has a 1940 value over 126?
### Answer:
SELECT MAX(1937) FROM table_name_60 WHERE 1940 > 126 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26708105_2 (conserved_in_mus_musculus VARCHAR, sequence VARCHAR)
### Question:
What is the conserved in mus musculus listing for sequence aagtact?
### Answer:
SELECT conserved_in_mus_musculus FROM table_26708105_2 WHERE sequence = "aAGTAct" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_70 (attendance INTEGER, save VARCHAR, record VARCHAR)
### Question:
WHAT IS THE NUMBER OF Attendance WITH A RECORD 94–36
### Answer:
SELECT AVG(attendance) FROM table_name_70 WHERE save = "–" AND record = "94–36" |
Below is an context that describes a sql 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 (pick__number VARCHAR, round VARCHAR)
### Question:
How many picks for round 12?
### Answer:
SELECT COUNT(pick__number) FROM table_name_5 WHERE round = 12 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12792876_2 (lost VARCHAR, points_against VARCHAR)
### Question:
How many loses corresponded to giving up 714 points?
### Answer:
SELECT lost FROM table_12792876_2 WHERE points_against = "714" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13336122_3 (original_air_date VARCHAR, directed_by VARCHAR)
### Question:
When did the episode directed by David Duchovny originally air?
### Answer:
SELECT original_air_date FROM table_13336122_3 WHERE directed_by = "David Duchovny" |
Below is an context that describes a sql 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 (rank VARCHAR, bronze VARCHAR, silver VARCHAR, total VARCHAR)
### Question:
What is the total number of ladies ranked who had less than 3 silvers, less than 2 total medals, and more than 0 bronze medals?
### Answer:
SELECT COUNT(rank) FROM table_name_9 WHERE silver < 3 AND total < 2 AND bronze > 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_9 (date VARCHAR, catalog VARCHAR, region VARCHAR)
### Question:
what is the date for catolog 88697185162 when the region is canada?
### Answer:
SELECT date FROM table_name_9 WHERE catalog = 88697185162 AND region = "canada" |
Below is an context that describes a sql 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 (race VARCHAR, track VARCHAR, date VARCHAR)
### Question:
What race happened at pocono on 08-02-2008?
### Answer:
SELECT race FROM table_name_24 WHERE track = "pocono" AND date = "08-02-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_33 (tournament VARCHAR, winner_and_score VARCHAR)
### Question:
Which Tournament has a Winner and score of goran ivanišević 6–4, 6–2, 7–6(2)?
### Answer:
SELECT tournament FROM table_name_33 WHERE winner_and_score = "goran ivanišević 6–4, 6–2, 7–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 Has_Allergy (stuid VARCHAR, Allergy VARCHAR); CREATE TABLE Student (fname VARCHAR, city_code VARCHAR, stuid VARCHAR)
### Question:
Find the different first names and cities of the students who have allergy to milk or cat.
### Answer:
SELECT DISTINCT T1.fname, T1.city_code FROM Student AS T1 JOIN Has_Allergy AS T2 ON T1.stuid = T2.stuid WHERE T2.Allergy = "Milk" OR T2.Allergy = "Cat" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1773908_3 (down__up_to_kbit_s_ INTEGER, provider VARCHAR)
### Question:
What is download bandwith where the provider is deutsche telekom ag?
### Answer:
SELECT MAX(down__up_to_kbit_s_) FROM table_1773908_3 WHERE provider = "Deutsche Telekom AG" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_37 (result VARCHAR, competition VARCHAR)
### Question:
What is the result of the friendly match?
### Answer:
SELECT result FROM table_name_37 WHERE competition = "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 table_2159571_1 (reason_for_change VARCHAR, date_of_successors_formal_installation VARCHAR)
### Question:
What is every reason for change for the date of successors installation is March 16, 1960?
### Answer:
SELECT reason_for_change FROM table_2159571_1 WHERE date_of_successors_formal_installation = "March 16, 1960" |
Below is an context that describes a sql 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 (height__ft_ VARCHAR, country VARCHAR)
### Question:
How high is Macedonia's highest point?
### Answer:
SELECT height__ft_ FROM table_name_53 WHERE country = "macedonia" |
Below is an context that describes a sql 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 (catalog VARCHAR, label VARCHAR, format VARCHAR)
### Question:
Which Catalog was formated as a CD under the label Alfa Records?
### Answer:
SELECT catalog FROM table_name_9 WHERE label = "alfa records" AND format = "cd" |
Below is an context that describes a sql 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 (qual VARCHAR, year VARCHAR)
### Question:
Name the qual for year of 1960
### Answer:
SELECT qual FROM table_name_25 WHERE year = "1960" |
Below is an context that describes a sql 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 (govt_salary VARCHAR, romanised_name VARCHAR)
### Question:
What is the government salary of the Undersecretary with a Romanised name of Chen Wei-On, Kenneth?
### Answer:
SELECT govt_salary FROM table_name_19 WHERE romanised_name = "chen wei-on, kenneth" |
Below is an context that describes a sql 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 (name VARCHAR, dcsf_number VARCHAR)
### Question:
Can you tell me the Name that has the DCSF number of 2117?
### Answer:
SELECT name FROM table_name_11 WHERE dcsf_number = 2117 |
Below is an context that describes a sql 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 (height INTEGER, position VARCHAR)
### Question:
What height is the tallest for an outside hitter?
### Answer:
SELECT MAX(height) FROM table_name_94 WHERE position = "outside hitter" |
Below is an context that describes a sql 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 (results_2004 VARCHAR, party VARCHAR)
### Question:
Name the 2004 results for npa
### Answer:
SELECT results_2004 FROM table_name_18 WHERE party = "npa" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_27 (attendance VARCHAR, opponent VARCHAR)
### Question:
What is the attendance rate for the Middlesbrough opponent?
### Answer:
SELECT attendance FROM table_name_27 WHERE opponent = "middlesbrough" |
Below is an context that describes a sql 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 (points INTEGER, drawn INTEGER)
### Question:
What is the average points when the drawn is less than 0?
### Answer:
SELECT AVG(points) FROM table_name_68 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 table_name_40 (game_site VARCHAR, date VARCHAR)
### Question:
Name the game site for october 4, 1992
### Answer:
SELECT game_site FROM table_name_40 WHERE date = "october 4, 1992" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18143210_2 (club VARCHAR, top_division_titles VARCHAR)
### Question:
What was the club that won 10 top division titles?
### Answer:
SELECT club FROM table_18143210_2 WHERE top_division_titles = 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_27614571_1 (week__number VARCHAR, original_artist VARCHAR)
### Question:
In which week # was the original artist of Barreto's song choice was Leila Pinheiro?
### Answer:
SELECT week__number FROM table_27614571_1 WHERE original_artist = "Leila Pinheiro" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_45 (game INTEGER, date VARCHAR)
### Question:
What average game has January 30 as the date?
### Answer:
SELECT AVG(game) FROM table_name_45 WHERE date = "january 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_31 (constructor VARCHAR, laps VARCHAR)
### Question:
Which constructor was there for the race with 25 laps?
### Answer:
SELECT constructor FROM table_name_31 WHERE laps = 25 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Highschooler (name VARCHAR, id VARCHAR); CREATE TABLE Friend (student_id VARCHAR)
### Question:
What is the name of the high schooler who has the greatest number of friends?
### Answer:
SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id ORDER BY COUNT(*) DESC LIMIT 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11497980_1 (gvm__kg__technical_capacity VARCHAR, model VARCHAR)
### Question:
If the model is 15.180e, what is the GVM (kg) Technical Capacity?
### Answer:
SELECT gvm__kg__technical_capacity FROM table_11497980_1 WHERE model = "15.180E" |
Below is an context that describes a sql 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 (driver VARCHAR, laps VARCHAR, time_retired VARCHAR)
### Question:
Who drive the car that went under 60 laps and spun off?
### Answer:
SELECT driver FROM table_name_25 WHERE laps < 60 AND time_retired = "spun off" |
Below is an context that describes a sql 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 (regular_season___preseason VARCHAR, date VARCHAR)
### Question:
What type of regular season/preseason game was played on August 25, 2007?
### Answer:
SELECT regular_season___preseason FROM table_name_70 WHERE date = "august 25, 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 member (card_number VARCHAR, Hometown VARCHAR)
### Question:
list the card number of all members whose hometown address includes word "Kentucky".
### Answer:
SELECT card_number FROM member WHERE Hometown LIKE "%Kentucky%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_38 (frequency_mhz INTEGER, city_of_license VARCHAR)
### Question:
Which Frequency MHz is the highest one that has a City of license of byron, ga?
### Answer:
SELECT MAX(frequency_mhz) FROM table_name_38 WHERE city_of_license = "byron, ga" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2847477_2 (density INTEGER, area VARCHAR)
### Question:
What is the density of the place with an area of 1512?
### Answer:
SELECT MAX(density) FROM table_2847477_2 WHERE area = 1512 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21109892_1 (quantity_world_rank VARCHAR, value_world_rank VARCHAR)
### Question:
where value world rank is 12, what is the quantity world rank?
### Answer:
SELECT quantity_world_rank FROM table_21109892_1 WHERE value_world_rank = "12" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_95 (home_team VARCHAR, away_team VARCHAR)
### Question:
WHAT IS THE HOME TEAM WITH AN AWAY OF LEYTON ORIENT?
### Answer:
SELECT home_team FROM table_name_95 WHERE away_team = "leyton orient" |
Below is an context that describes a sql 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 (animal VARCHAR, ap_duration__ms_ VARCHAR, conduction_speed__m_s_ VARCHAR)
### Question:
Which animal has an AP duration of 1.0 and a conduction speed of 7–30?
### Answer:
SELECT animal FROM table_name_11 WHERE ap_duration__ms_ = "1.0" AND conduction_speed__m_s_ = "7–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_24 (label VARCHAR, album VARCHAR)
### Question:
What label shows an Album of cover version v?
### Answer:
SELECT label FROM table_name_24 WHERE album = "cover version v" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_23 (opponent VARCHAR, date VARCHAR)
### Question:
who is the opponent on 18 january 1993?
### Answer:
SELECT opponent FROM table_name_23 WHERE date = "18 january 1993" |
Below is an context that describes a sql 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 (country VARCHAR, icao VARCHAR)
### Question:
Tell me the country with ICAO of zgha
### Answer:
SELECT country FROM table_name_71 WHERE icao = "zgha" |
Below is an context that describes a sql 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 (circumstances VARCHAR, nature_of_incident VARCHAR, location VARCHAR)
### Question:
What were the circumstances of the Hostile incident on the road to Jalalabad?
### Answer:
SELECT circumstances FROM table_name_18 WHERE nature_of_incident = "hostile" AND location = "road to jalalabad" |
Below is an context that describes a sql 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 (league VARCHAR, date VARCHAR)
### Question:
What is the league on 5 October 1997?
### Answer:
SELECT league FROM table_name_48 WHERE date = "5 october 1997" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.