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_90 (match VARCHAR)
### Question:
When the game was played in the stadium called stadium what was the match?
### Answer:
SELECT match FROM table_name_90 WHERE "stadium" = "stadium" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1414743_1 (fte_teachers VARCHAR, pupil_teacher_ratio VARCHAR)
### Question:
How many FTE teachers are there when the student:teacher ration is 19?
### Answer:
SELECT fte_teachers FROM table_1414743_1 WHERE pupil_teacher_ratio = "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 campuses (campus VARCHAR, LOCATION VARCHAR)
### Question:
What are the names of all campuses located at Chico?
### Answer:
SELECT campus FROM campuses WHERE LOCATION = "Chico" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27469019_2 (television_network VARCHAR, television_channel VARCHAR)
### Question:
What is the television network with the television channel of Astro Pelangi & Astro Bintang?
### Answer:
SELECT television_network FROM table_27469019_2 WHERE television_channel = "Astro Pelangi & Astro Bintang" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26561508_1 (patient_portrayer VARCHAR, directed_by VARCHAR, written_by VARCHAR)
### Question:
What is the total number of patient portayers for the episode directed by Craig Zisk and written by Brad Falchuk?
### Answer:
SELECT COUNT(patient_portrayer) FROM table_26561508_1 WHERE directed_by = "Craig Zisk" AND written_by = "Brad Falchuk" |
Below is an context that describes a sql 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 (nationality VARCHAR, player VARCHAR)
### Question:
What nationality is Barry Duench?
### Answer:
SELECT nationality FROM table_name_6 WHERE player = "barry duench" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE journalist (Name VARCHAR, journalist_ID VARCHAR); CREATE TABLE news_report (Name VARCHAR, journalist_ID VARCHAR)
### Question:
List the names of journalists who have not reported any event.
### Answer:
SELECT Name FROM journalist WHERE NOT journalist_ID IN (SELECT journalist_ID FROM news_report) |
Below is an context that describes a sql 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 (time_retired VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR)
### Question:
What is the time/retired for a grid larger than 11, laps larger than 41, and nick heidfeld?
### Answer:
SELECT time_retired FROM table_name_32 WHERE grid > 11 AND laps > 41 AND driver = "nick heidfeld" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_67 (silver INTEGER, bronze VARCHAR, total VARCHAR)
### Question:
What is the largest number of silver that had 0 bronzes and total less than 1?
### Answer:
SELECT MAX(silver) FROM table_name_67 WHERE bronze = 0 AND 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_12305325_4 (safe VARCHAR, eliminated VARCHAR)
### Question:
Who is safe if John and Nicole are eliminated?
### Answer:
SELECT safe FROM table_12305325_4 WHERE eliminated = "John and Nicole" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29486189_4 (first_elected VARCHAR, representative VARCHAR)
### Question:
when was al landis first elected
### Answer:
SELECT first_elected FROM table_29486189_4 WHERE representative = "Al Landis" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2668378_5 (party VARCHAR, district VARCHAR)
### Question:
Name the number of party for kentucky 1
### Answer:
SELECT COUNT(party) FROM table_2668378_5 WHERE district = "Kentucky 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_14882588_3 (yacht VARCHAR, sail_number VARCHAR)
### Question:
What were all Yachts with a sail number of 6952?
### Answer:
SELECT yacht FROM table_14882588_3 WHERE sail_number = "6952" |
Below is an context that describes a sql 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 (goals_for INTEGER, team VARCHAR, lost VARCHAR)
### Question:
Which Goals For has a Team of congleton town, and a Lost larger than 11?
### Answer:
SELECT MAX(goals_for) FROM table_name_27 WHERE team = "congleton town" AND lost > 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_29 (grid INTEGER, laps VARCHAR, driver VARCHAR)
### Question:
What is the average grid for damon hill with over 74 laps?
### Answer:
SELECT AVG(grid) FROM table_name_29 WHERE laps > 74 AND driver = "damon hill" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29163303_1 (championship VARCHAR, score VARCHAR)
### Question:
What are the championship venues where the score was 6–7 (4–7) , 3–6?
### Answer:
SELECT championship FROM table_29163303_1 WHERE score = "6–7 (4–7) , 3–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_99 (races VARCHAR, series VARCHAR, wins VARCHAR)
### Question:
Which Race has the Toyota Racing Series New Zealand and 0 wins?
### Answer:
SELECT races FROM table_name_99 WHERE series = "toyota racing series new zealand" AND wins = "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_63 (date VARCHAR, score VARCHAR)
### Question:
Which Date has a Score of 102–113?
### Answer:
SELECT date FROM table_name_63 WHERE score = "102–113" |
Below is an context that describes a sql 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 (partnering VARCHAR, opponents_in_final VARCHAR)
### Question:
Who is the partnering that had the opponents of Marcelo Melo André Sá?
### Answer:
SELECT partnering FROM table_name_29 WHERE opponents_in_final = "marcelo melo andré sá" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE mountain (Name VARCHAR, Mountain_ID VARCHAR); CREATE TABLE climber (Mountain_ID VARCHAR, Country VARCHAR)
### Question:
Show the distinct names of mountains climbed by climbers from country "West Germany".
### Answer:
SELECT DISTINCT T2.Name FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID WHERE T1.Country = "West Germany" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_12 (payload VARCHAR, class VARCHAR, range__varies_with_payload_weight_ VARCHAR)
### Question:
What is the payload for Class MRBM, and a range of 1,930km?
### Answer:
SELECT payload FROM table_name_12 WHERE class = "mrbm" AND range__varies_with_payload_weight_ = "1,930km" |
Below is an context that describes a sql 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 (crowd INTEGER, home_team VARCHAR)
### Question:
How big was the crowd of the Home team of Collingwood?
### Answer:
SELECT MAX(crowd) FROM table_name_92 WHERE home_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_24126518_2 (attendance INTEGER, final_score VARCHAR)
### Question:
Name the least attendance for l 36–1
### Answer:
SELECT MIN(attendance) FROM table_24126518_2 WHERE final_score = "L 36–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_2233872_1 (season VARCHAR, gf VARCHAR)
### Question:
What was the season where the team reached a GP of 244?
### Answer:
SELECT season FROM table_2233872_1 WHERE gf = 244 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_67 (college VARCHAR, round VARCHAR, overall VARCHAR)
### Question:
Round smaller than 7, and an Overall of 129 is what college?
### Answer:
SELECT college FROM table_name_67 WHERE round < 7 AND overall = 129 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23486853_8 (date VARCHAR, record VARCHAR)
### Question:
What is every date with a record of 30–34–12?
### Answer:
SELECT date FROM table_23486853_8 WHERE record = "30–34–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_80 (record VARCHAR, game VARCHAR, date VARCHAR)
### Question:
What is Record, when Game is greater than 55, and when Date is "March 25"?
### Answer:
SELECT record FROM table_name_80 WHERE game > 55 AND date = "march 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 table_name_66 (erp_w INTEGER, city_of_license VARCHAR)
### Question:
What is the smallest ERP for allentown, pennsylvania?
### Answer:
SELECT MIN(erp_w) FROM table_name_66 WHERE city_of_license = "allentown, pennsylvania" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_170969_2 (area_km_2 VARCHAR, official_name VARCHAR)
### Question:
How many areas are named West Isles?
### Answer:
SELECT COUNT(area_km_2) FROM table_170969_2 WHERE official_name = "West Isles" |
Below is an context that describes a sql 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 (name_of_kingdom VARCHAR, capital VARCHAR)
### Question:
Which kingdom has Suin as its capital?
### Answer:
SELECT name_of_kingdom FROM table_name_65 WHERE capital = "suin" |
Below is an context that describes a sql 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 (skip VARCHAR, third VARCHAR)
### Question:
Who is the Skip when Alasdair Guthrie is the third?
### Answer:
SELECT skip FROM table_name_83 WHERE third = "alasdair guthrie" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE dorm_amenity (amenity_name VARCHAR, amenid VARCHAR); CREATE TABLE has_amenity (amenid VARCHAR)
### Question:
Find the name of amenity that is most common in all dorms.
### Answer:
SELECT T1.amenity_name FROM dorm_amenity AS T1 JOIN has_amenity AS T2 ON T1.amenid = T2.amenid GROUP BY T2.amenid 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_20898602_1 (position VARCHAR, height VARCHAR)
### Question:
what is the position of the player of height ft0in (m)
### Answer:
SELECT position FROM table_20898602_1 WHERE height = "ft0in (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_93 (team_1 VARCHAR, team_2 VARCHAR)
### Question:
What was the name of the Team 1, where the Team 2 was Stade De Reims (d2)?
### Answer:
SELECT team_1 FROM table_name_93 WHERE team_2 = "stade de reims (d2)" |
Below is an context that describes a sql 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 (delegate VARCHAR, first_elected VARCHAR)
### Question:
When first elected was 2006, who was the delegate?
### Answer:
SELECT delegate FROM table_name_99 WHERE first_elected = 2006 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_79 (kind VARCHAR, year VARCHAR, manuals VARCHAR)
### Question:
What kind is in the year 1978 and a manual of ii/p?
### Answer:
SELECT kind FROM table_name_79 WHERE year = "1978" AND manuals = "ii/p" |
Below is an context that describes a sql 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 (tournament VARCHAR, runner_s__up VARCHAR)
### Question:
What tournament had a Runner(s)-up of Tom Kite?
### Answer:
SELECT tournament FROM table_name_11 WHERE runner_s__up = "tom kite" |
Below is an context that describes a sql 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 (school VARCHAR, city VARCHAR)
### Question:
What school is in Brookville?
### Answer:
SELECT school FROM table_name_34 WHERE city = "brookville" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_47 (team__number2 VARCHAR)
### Question:
what is the 2nd leg when team #2 is žalgiris kaunas?
### Answer:
SELECT 2 AS nd_leg FROM table_name_47 WHERE team__number2 = "žalgiris kaunas" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342149_43 (result VARCHAR, district VARCHAR)
### Question:
What was the result of the election in the Texas 3 district?
### Answer:
SELECT result FROM table_1342149_43 WHERE district = "Texas 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_45 (launched VARCHAR, country VARCHAR)
### Question:
What is the Launched from a Country that is spain?
### Answer:
SELECT launched FROM table_name_45 WHERE country = "spain" |
Below is an context that describes a sql 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 (winning_driver VARCHAR, constructor VARCHAR, race VARCHAR)
### Question:
What driver was the winner when constructor was Maserati at the Monaco grand prix?
### Answer:
SELECT winning_driver FROM table_name_36 WHERE constructor = "maserati" AND race = "monaco grand prix" |
Below is an context that describes a sql 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 (opponent VARCHAR, record VARCHAR, score VARCHAR, decision VARCHAR)
### Question:
What was the opponent when the score was 3 - 2, and the decision was Raycroft, with a record of 25-29-1?
### Answer:
SELECT opponent FROM table_name_13 WHERE score = "3 - 2" AND decision = "raycroft" AND record = "25-29-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_1416612_1 (mean_elevation VARCHAR, lowest_point VARCHAR, state VARCHAR)
### Question:
how many mean elevation with lowest point being gulf of mexico and state being texas
### Answer:
SELECT COUNT(mean_elevation) FROM table_1416612_1 WHERE lowest_point = "Gulf of Mexico" AND state = "Texas" |
Below is an context that describes a sql 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 (october INTEGER, record VARCHAR)
### Question:
WHich October has a Record of 1–0–0?
### Answer:
SELECT MIN(october) FROM table_name_50 WHERE record = "1–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_14631909_1 (english_title VARCHAR, author VARCHAR)
### Question:
What is the English version of Mariusz Szczygieł book?
### Answer:
SELECT english_title FROM table_14631909_1 WHERE author = "Mariusz Szczygieł" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19115414_4 (mountains_classification VARCHAR, points_classification VARCHAR)
### Question:
Name the mountains classification for alexander kristoff
### Answer:
SELECT mountains_classification FROM table_19115414_4 WHERE points_classification = "Alexander Kristoff" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10718631_2 (written_by VARCHAR, no_in_series VARCHAR)
### Question:
Who wrote episode 94?
### Answer:
SELECT written_by FROM table_10718631_2 WHERE no_in_series = 94 |
Below is an context that describes a sql 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 (song VARCHAR, draw VARCHAR, artist VARCHAR)
### Question:
Name the song for draw less than 7 and artists of martin & johannes
### Answer:
SELECT song FROM table_name_42 WHERE draw < 7 AND artist = "martin & johannes" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1939367_1 (arabs_2001 VARCHAR, province VARCHAR)
### Question:
If the province is British Columbia, what is the Arabs 2001 total number?
### Answer:
SELECT COUNT(arabs_2001) FROM table_1939367_1 WHERE province = "British Columbia" |
Below is an context that describes a sql 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 (constellation VARCHAR, right_ascension___j2000__ VARCHAR)
### Question:
what is the constellation when the right ascension (j2000) is 09h51m54.0s?
### Answer:
SELECT constellation FROM table_name_61 WHERE right_ascension___j2000__ = "09h51m54.0s" |
Below is an context that describes a sql 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 (away_team VARCHAR, home_team VARCHAR)
### Question:
What is the score for the away team when they played Hawthorn?
### Answer:
SELECT away_team AS score FROM table_name_46 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_name_66 (class VARCHAR, no_built VARCHAR)
### Question:
Which class at 55 built?
### Answer:
SELECT class FROM table_name_66 WHERE no_built = 55 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_3 (player VARCHAR, pick VARCHAR, team VARCHAR)
### Question:
What player was picked earlier than 126 by the Houston Oilers?
### Answer:
SELECT player FROM table_name_3 WHERE pick < 126 AND team = "houston oilers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Charges (charge_amount INTEGER)
### Question:
How much does the most expensive charge type costs?
### Answer:
SELECT MAX(charge_amount) FROM Charges |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10333757_1 (frequency VARCHAR, calls VARCHAR)
### Question:
Which Frequency is used for WEGP calls?
### Answer:
SELECT frequency FROM table_10333757_1 WHERE calls = "WEGP" |
Below is an context that describes a sql 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 (time_retired VARCHAR, rider VARCHAR, laps VARCHAR, manufacturer VARCHAR, grid VARCHAR)
### Question:
What was the time for Aprilia and their driver Casey Stoner, before gird 9, and less than 26 laps?
### Answer:
SELECT time_retired FROM table_name_35 WHERE manufacturer = "aprilia" AND grid < 9 AND laps < 26 AND rider = "casey stoner" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_57 (time VARCHAR, country VARCHAR)
### Question:
What is the time for Kazakhstan?
### Answer:
SELECT time FROM table_name_57 WHERE country = "kazakhstan" |
Below is an context that describes a sql 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 (year INTEGER, entrant VARCHAR, engine VARCHAR, chassis VARCHAR)
### Question:
Which is the latest year that has an engine of Offenhauser l4, a chassis of Kurtis Kraft 500c, and the entrant of Federal Engineering?
### Answer:
SELECT MAX(year) FROM table_name_82 WHERE engine = "offenhauser l4" AND chassis = "kurtis kraft 500c" AND entrant = "federal engineering" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE artist (artist_name VARCHAR, country VARCHAR, gender VARCHAR)
### Question:
What are the names of artists who are Male and are from UK?
### Answer:
SELECT artist_name FROM artist WHERE country = "UK" AND gender = "Male" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE discipline_enrollments (undergraduate INTEGER, campus VARCHAR, year VARCHAR); CREATE TABLE campuses (id VARCHAR, campus VARCHAR)
### Question:
How many undergraduates are there in "San Jose State University" in year 2004?
### Answer:
SELECT SUM(t1.undergraduate) FROM discipline_enrollments AS t1 JOIN campuses AS t2 ON t1.campus = t2.id WHERE t1.year = 2004 AND t2.campus = "San Jose State University" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_57 (ratio VARCHAR, unit VARCHAR)
### Question:
What Ratio has a Unit of zolotnik?
### Answer:
SELECT ratio FROM table_name_57 WHERE unit = "zolotnik" |
Below is an context that describes a sql 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 (performance VARCHAR, class VARCHAR, test_standard VARCHAR, particulate_size_approaching_100_percentage_retention VARCHAR)
### Question:
Which Performance has a Test Standard of bs en779, and a Particulate size approaching 100% retention of >2µm, and a Class of f6?
### Answer:
SELECT performance FROM table_name_39 WHERE test_standard = "bs en779" AND particulate_size_approaching_100_percentage_retention = ">2µm" AND class = "f6" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22546460_4 (best_male_lyricist VARCHAR, best_male_record VARCHAR)
### Question:
Who was the Best Male Lyricist if Neshia Nee won the Best Male Record?
### Answer:
SELECT best_male_lyricist FROM table_22546460_4 WHERE best_male_record = "Neshia Nee" |
Below is an context that describes a sql 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 (attendance INTEGER, home VARCHAR)
### Question:
What is the least number of people to attend a game when Los Angeles was the home team?
### Answer:
SELECT MIN(attendance) FROM table_name_97 WHERE home = "los angeles" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10601843_2 (capacity INTEGER, stadium VARCHAR)
### Question:
What is the maximum capacity of the Otkrytie Arena stadium?
### Answer:
SELECT MAX(capacity) FROM table_10601843_2 WHERE stadium = "Otkrytie Arena" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12744399_1 (english_title_translation VARCHAR, japanese_title VARCHAR)
### Question:
What's the English translation of the Japanese title of the game Ranma ½: Chougi Rambuhen?
### Answer:
SELECT english_title_translation FROM table_12744399_1 WHERE japanese_title = "Ranma ½: Chougi Rambuhen" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_84 (score VARCHAR, game VARCHAR)
### Question:
What was the score of game 4?
### Answer:
SELECT score FROM table_name_84 WHERE 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_12 (score VARCHAR, opponent VARCHAR, time VARCHAR, location VARCHAR)
### Question:
What was the score of the 7:00pm game at Scotiabank Place against the Philadelphia Flyers?
### Answer:
SELECT score FROM table_name_12 WHERE time = "7:00pm" AND location = "scotiabank place" AND opponent = "philadelphia flyers" |
Below is an context that describes a sql 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 (director_s_ VARCHAR, rank VARCHAR, film VARCHAR)
### Question:
Who directed the nominated film 'blood on his hands'?
### Answer:
SELECT director_s_ FROM table_name_45 WHERE rank = "nominated" AND film = "blood on his hands" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15739098_1 (airdate VARCHAR, director VARCHAR)
### Question:
What is the airdate when the director is george spenton-foster
### Answer:
SELECT airdate FROM table_15739098_1 WHERE director = "George Spenton-Foster" |
Below is an context that describes a sql 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 (game VARCHAR, date VARCHAR)
### Question:
What is the Game number on March 30?
### Answer:
SELECT game FROM table_name_33 WHERE date = "march 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 conductor (Name VARCHAR, Age VARCHAR)
### Question:
List the names of conductors in ascending order of age.
### Answer:
SELECT Name FROM conductor ORDER BY Age |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Ref_Attraction_Types (Attraction_Type_Description VARCHAR, Attraction_Type_Code VARCHAR); CREATE TABLE Tourist_Attractions (Attraction_Type_Code VARCHAR)
### Question:
Show the description and code of the attraction type most tourist attractions belong to.
### Answer:
SELECT T1.Attraction_Type_Description, T2.Attraction_Type_Code FROM Ref_Attraction_Types AS T1 JOIN Tourist_Attractions AS T2 ON T1.Attraction_Type_Code = T2.Attraction_Type_Code GROUP BY T2.Attraction_Type_Code 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_50 (language VARCHAR, television_service VARCHAR)
### Question:
What is the language of the television service cartello promozionale sky hd?
### Answer:
SELECT language FROM table_name_50 WHERE television_service = "cartello promozionale sky hd" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14903081_1 (country VARCHAR, location VARCHAR)
### Question:
Rome is in which country?
### Answer:
SELECT country FROM table_14903081_1 WHERE location = "Rome" |
Below is an context that describes a sql 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 (weekly_schedule VARCHAR, timeslot VARCHAR)
### Question:
What days of the week is the show aired on that runs at 16:45?
### Answer:
SELECT weekly_schedule FROM table_name_21 WHERE timeslot = "16:45" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22862203_2 (terps_points INTEGER, opp_points VARCHAR)
### Question:
What is the highest number of terps points in games where the opponent made 53 points?
### Answer:
SELECT MAX(terps_points) FROM table_22862203_2 WHERE opp_points = 53 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_81 (Id VARCHAR)
### Question:
What is 2009, when 2004 is 2R, and when 1993 is A?
### Answer:
SELECT 2009 FROM table_name_81 WHERE 2004 = "2r" AND 1993 = "a" |
Below is an context that describes a sql 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 (score VARCHAR, record VARCHAR)
### Question:
What was the score of the Kings game when they had a record of 8–11–1?
### Answer:
SELECT score FROM table_name_27 WHERE record = "8–11–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_50 (original_name VARCHAR, location VARCHAR)
### Question:
What was the original name of the restaurant located in Orillia, ON?
### Answer:
SELECT original_name FROM table_name_50 WHERE location = "orillia, on" |
Below is an context that describes a sql 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 (location VARCHAR, school VARCHAR)
### Question:
Where is Terre Haute North located?
### Answer:
SELECT location FROM table_name_35 WHERE school = "terre haute north" |
Below is an context that describes a sql 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 (total INTEGER, rank VARCHAR, gold VARCHAR, bronze VARCHAR)
### Question:
What is the highest metal total when there are 2 Gold medals, 0 Bronze metals, and the rank is smaller than 2?
### Answer:
SELECT MAX(total) FROM table_name_24 WHERE gold = 2 AND bronze = 0 AND rank < 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_92 (entered VARCHAR, celebrity VARCHAR)
### Question:
When did kim woodburn enter?
### Answer:
SELECT entered FROM table_name_92 WHERE celebrity = "kim woodburn" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23242968_1 (title VARCHAR, production_code VARCHAR)
### Question:
What was the name of the episode with a production code of 3ajn20?
### Answer:
SELECT title FROM table_23242968_1 WHERE production_code = "3AJN20" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE manufacturer (name VARCHAR, open_year VARCHAR, num_of_shops VARCHAR, Num_of_Factories VARCHAR)
### Question:
Give me the name and year of opening of the manufacturers that have either less than 10 factories or more than 10 shops.
### Answer:
SELECT name, open_year FROM manufacturer WHERE num_of_shops > 10 OR Num_of_Factories < 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_79 (played INTEGER, drawn VARCHAR, against VARCHAR)
### Question:
What is the average number played of the team with 1 drawn and 24 against?
### Answer:
SELECT AVG(played) FROM table_name_79 WHERE drawn = 1 AND against = 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_48 (people_on_board INTEGER, airline VARCHAR, aircraft_type VARCHAR)
### Question:
What is the number of people on board at Iberia Airline, with the aircraft type of lockheed l-1049g?
### Answer:
SELECT AVG(people_on_board) FROM table_name_48 WHERE airline = "iberia" AND aircraft_type = "lockheed l-1049g" |
Below is an context that describes a sql 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 (kaine__d_ VARCHAR, date VARCHAR)
### Question:
What was Kaine's (D) percentage in the poll on september 19, 2005?
### Answer:
SELECT kaine__d_ FROM table_name_7 WHERE date = "september 19, 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_15 (tournament VARCHAR, location VARCHAR, winner VARCHAR)
### Question:
Which Tournament has a Location of texas, and a Winner of tom watson (39)?
### Answer:
SELECT tournament FROM table_name_15 WHERE location = "texas" AND winner = "tom watson (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_71 (wrestlers VARCHAR, event VARCHAR)
### Question:
What wrestlers have summer brawl 2006 as the event?
### Answer:
SELECT wrestlers FROM table_name_71 WHERE event = "summer brawl 2006" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13553701_1 (mens_singles VARCHAR, womens_singles VARCHAR)
### Question:
Who is the mens singles and womens singlses is wang shixian?
### Answer:
SELECT mens_singles FROM table_13553701_1 WHERE womens_singles = "Wang Shixian" |
Below is an context that describes a sql 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 (rank_points VARCHAR, total VARCHAR, score_points VARCHAR)
### Question:
What were the rank points when the score was 7 and the total was 15?
### Answer:
SELECT rank_points FROM table_name_59 WHERE total = "15" AND score_points = "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_65 (frequency VARCHAR, website VARCHAR)
### Question:
what is the frequency of visits to elmanana.com.mx
### Answer:
SELECT frequency FROM table_name_65 WHERE website = "elmanana.com.mx" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25740774_1 (season INTEGER, podiums INTEGER)
### Question:
What is the season with podiums more than 2.0?
### Answer:
SELECT MAX(season) FROM table_25740774_1 WHERE podiums > 2.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 (opponents_in_final VARCHAR, date VARCHAR)
### Question:
Which Opponents in Final has a Date of september 16, 1990?
### Answer:
SELECT opponents_in_final FROM table_name_25 WHERE date = "september 16, 1990" |
Below is an context that describes a sql 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, game VARCHAR)
### Question:
Can you tell me the Date that has the Game of 2?
### Answer:
SELECT date FROM table_name_51 WHERE game = 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_5 (chassis VARCHAR, entrant VARCHAR, points VARCHAR, year VARCHAR)
### Question:
Can you tell me the Chassis that has the Points of 13, and the Year of 1975, and the Entrant of scuderia citta del mille?
### Answer:
SELECT chassis FROM table_name_5 WHERE points = 13 AND year = 1975 AND entrant = "scuderia citta del mille" |
Below is an context that describes a sql 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 (venue VARCHAR, home_team VARCHAR)
### Question:
What is the Essendon Home Team's venue?
### Answer:
SELECT venue FROM table_name_61 WHERE home_team = "essendon" |
Below is an context that describes a sql 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, road_team VARCHAR, result VARCHAR)
### Question:
Which Home Team has a Road Team of rochester, and a Result of 71-78?
### Answer:
SELECT home_team FROM table_name_97 WHERE road_team = "rochester" AND result = "71-78" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.