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_18600760_1 (land___sqmi__ VARCHAR, township VARCHAR)
### Question:
Name the land for ada
### Answer:
SELECT COUNT(land___sqmi__) FROM table_18600760_1 WHERE township = "Ada" |
Below is an context that describes a sql 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 (lost VARCHAR, points VARCHAR, against VARCHAR)
### Question:
How many games lost for team(s) with less than 4 paints and against total of over 340?
### Answer:
SELECT COUNT(lost) FROM table_name_65 WHERE points < 4 AND against > 340 |
Below is an context that describes a sql 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 (release_price___usd__ VARCHAR, model_number VARCHAR)
### Question:
What was the release price of the Atom Z510PT processor?
### Answer:
SELECT release_price___usd__ FROM table_name_53 WHERE model_number = "atom z510pt" |
Below is an context that describes a sql 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 (career_w_l VARCHAR, tournament VARCHAR)
### Question:
What is the value for Career W-L for the Grand Slam Tournaments?
### Answer:
SELECT career_w_l FROM table_name_83 WHERE tournament = "grand slam tournaments" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1558077_8 (lunar_blastoff_date VARCHAR, mission_name VARCHAR)
### Question:
Name the total number of luna blastoff date for apollo 11
### Answer:
SELECT COUNT(lunar_blastoff_date) FROM table_1558077_8 WHERE mission_name = "Apollo 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_73 (chassis VARCHAR, engine VARCHAR, points VARCHAR)
### Question:
What company made the chassis when Ferrari made the engine and there were 25 points?
### Answer:
SELECT chassis FROM table_name_73 WHERE engine = "ferrari" AND points = 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_17355408_5 (high_points VARCHAR, date VARCHAR)
### Question:
Name the highh points for december 29
### Answer:
SELECT high_points FROM table_17355408_5 WHERE date = "December 29" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_68 (player VARCHAR, nationality VARCHAR, position VARCHAR, round VARCHAR)
### Question:
Which player from the United States plays defence and was chosen before round 5?
### Answer:
SELECT player FROM table_name_68 WHERE position = "defence" AND round < 5 AND nationality = "united states" |
Below is an context that describes a sql 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 (country VARCHAR, label VARCHAR)
### Question:
What country is the Debemur Morti prod. label from?
### Answer:
SELECT country FROM table_name_97 WHERE label = "debemur morti prod." |
Below is an context that describes a sql 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 (runners VARCHAR, course VARCHAR)
### Question:
Name the runners for longchamp
### Answer:
SELECT runners FROM table_name_88 WHERE course = "longchamp" |
Below is an context that describes a sql 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 (trainer VARCHAR, winner VARCHAR)
### Question:
Who was the trainer when Mckaymackenna won?
### Answer:
SELECT trainer FROM table_name_3 WHERE winner = "mckaymackenna" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29181479_3 (team VARCHAR, game VARCHAR)
### Question:
Which team was the opponent in game 5?
### Answer:
SELECT team FROM table_29181479_3 WHERE game = 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_79 (last_title VARCHAR, country VARCHAR, wins VARCHAR, first_title VARCHAR)
### Question:
What is the total of Last title that has Wins smaller than 71 and a First title larger than 1968 and a Country of fiji?
### Answer:
SELECT COUNT(last_title) FROM table_name_79 WHERE wins < 71 AND first_title > 1968 AND country = "fiji" |
Below is an context that describes a sql 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 (pick VARCHAR, position VARCHAR)
### Question:
How many Picks have a Position of defensive back?
### Answer:
SELECT COUNT(pick) FROM table_name_61 WHERE position = "defensive back" |
Below is an context that describes a sql 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 (rank INTEGER, name VARCHAR, goals VARCHAR)
### Question:
When Oscar Míguez had over 107 goals, what was the lowest he ranked?
### Answer:
SELECT MIN(rank) FROM table_name_21 WHERE name = "oscar míguez" AND goals > 107 |
Below is an context that describes a sql 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 (duration VARCHAR, character VARCHAR)
### Question:
How long did Witold Latoszek character lasted?
### Answer:
SELECT duration FROM table_name_53 WHERE character = "witold latoszek" |
Below is an context that describes a sql 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 (name VARCHAR, death VARCHAR)
### Question:
What is the name with a death in 2001?
### Answer:
SELECT name FROM table_name_6 WHERE death = "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_73 (appointed_by VARCHAR, judge VARCHAR)
### Question:
Who appointed Judge Edward E. Cushman?
### Answer:
SELECT appointed_by FROM table_name_73 WHERE judge = "edward e. cushman" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15778392_1 (result VARCHAR, theme VARCHAR)
### Question:
WHERE THE THEME WAS "YEAR THEY WERE BORN," WHAT THE TOTAL NUMBER OF RESULTS?
### Answer:
SELECT COUNT(result) FROM table_15778392_1 WHERE theme = "Year They Were Born" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_41 (division_record VARCHAR, school VARCHAR)
### Question:
What is the division record of Sussex Central?
### Answer:
SELECT division_record FROM table_name_41 WHERE school = "sussex central" |
Below is an context that describes a sql 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 (points INTEGER, team VARCHAR, average VARCHAR, played VARCHAR)
### Question:
How many Points have an Average smaller than 1, a Played larger than 38, and a Team of gimnasia de la plata?
### Answer:
SELECT SUM(points) FROM table_name_73 WHERE average < 1 AND played > 38 AND team = "gimnasia de la plata" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23840623_4 (operating_mode VARCHAR, vehicle VARCHAR)
### Question:
What is the operating mode of the Coda?
### Answer:
SELECT operating_mode FROM table_23840623_4 WHERE vehicle = "Coda" |
Below is an context that describes a sql 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 (league VARCHAR, year VARCHAR)
### Question:
What league played in 2011?
### Answer:
SELECT league FROM table_name_65 WHERE year = 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 Has_allergy (Allergy VARCHAR); CREATE TABLE Allergy_Type (Allergy VARCHAR, allergytype VARCHAR); CREATE TABLE Student (sex VARCHAR, StuID VARCHAR)
### Question:
Find the number of male (sex is 'M') students who have some food type allery.
### Answer:
SELECT COUNT(*) FROM Student WHERE sex = "M" AND StuID IN (SELECT StuID FROM Has_allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy = T2.Allergy WHERE T2.allergytype = "food") |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE MATCH (winning_pilot VARCHAR); CREATE TABLE pilot (name VARCHAR, age INTEGER, pilot_id VARCHAR)
### Question:
find the name and age of the pilot who has won the most number of times among the pilots who are younger than 30.
### Answer:
SELECT t1.name, t1.age FROM pilot AS t1 JOIN MATCH AS t2 ON t1.pilot_id = t2.winning_pilot WHERE t1.age < 30 GROUP BY t2.winning_pilot 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_22825679_1 (percentage VARCHAR, team VARCHAR)
### Question:
Name the percentage for ole miss
### Answer:
SELECT percentage FROM table_22825679_1 WHERE team = "Ole Miss" |
Below is an context that describes a sql 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)
### Question:
What is melbourne's home team score?
### Answer:
SELECT home_team AS score FROM table_name_97 WHERE home_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_74 (Id VARCHAR)
### Question:
Which Tournament in 2010 also has Grand Slam tournaments in 2011
### Answer:
SELECT 2010 FROM table_name_74 WHERE 2011 = "grand slam tournaments" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE department (creation VARCHAR, department_id VARCHAR); CREATE TABLE management (department_id VARCHAR, head_id VARCHAR); CREATE TABLE head (head_id VARCHAR, born_state VARCHAR)
### Question:
What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
### Answer:
SELECT DISTINCT T1.creation FROM department AS T1 JOIN management AS T2 ON T1.department_id = T2.department_id JOIN head AS T3 ON T2.head_id = T3.head_id WHERE T3.born_state = 'Alabama' |
Below is an context that describes a sql 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 (label VARCHAR, country VARCHAR, format VARCHAR)
### Question:
Which Label has a Country of canada, and a Format of cd/digital download?
### Answer:
SELECT label FROM table_name_53 WHERE country = "canada" AND format = "cd/digital download" |
Below is an context that describes a sql 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 (sex_ratio__child_ INTEGER, work_participation___percentage_ VARCHAR)
### Question:
What is the child sex ration for the population with 37.7% work participation?
### Answer:
SELECT MAX(sex_ratio__child_) FROM table_name_24 WHERE work_participation___percentage_ = "37.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_261946_3 (founded INTEGER)
### Question:
Which founding year corresponds with the highest enrollment?
### Answer:
SELECT MAX(founded) FROM table_261946_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_22669816_1 (length VARCHAR, track VARCHAR)
### Question:
What lengths did Phoenix International Raceway host?
### Answer:
SELECT length FROM table_22669816_1 WHERE track = "Phoenix International Raceway" |
Below is an context that describes a sql 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 (team VARCHAR, laps VARCHAR, driver VARCHAR)
### Question:
What team had 10 Labs and the Driver was Alex Yoong?
### Answer:
SELECT team FROM table_name_24 WHERE laps = 10 AND driver = "alex yoong" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27622417_1 (directed_by VARCHAR, no_in_season VARCHAR)
### Question:
who were the director of the episode whose number in the season is 17?
### Answer:
SELECT directed_by FROM table_27622417_1 WHERE no_in_season = 17 |
Below is an context that describes a sql 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 (crowd INTEGER, away_team VARCHAR)
### Question:
How large a crowd did the Fitzroy Away team draw?
### Answer:
SELECT SUM(crowd) FROM table_name_15 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_8 (laps INTEGER, rider VARCHAR)
### Question:
What is the sum of Sylvain Guintoli's laps?
### Answer:
SELECT SUM(laps) FROM table_name_8 WHERE rider = "sylvain guintoli" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11703336_1 (display_size VARCHAR, calculator VARCHAR)
### Question:
what is the display size for the calculator ti-82?
### Answer:
SELECT display_size FROM table_11703336_1 WHERE calculator = "TI-82" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1143966_1 (won VARCHAR, standing VARCHAR, games VARCHAR)
### Question:
How many games were won with 2nd oha was standing and there were 62 games?
### Answer:
SELECT won FROM table_1143966_1 WHERE standing = "2nd OHA" AND games = 62 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE stadium (id VARCHAR, name VARCHAR); CREATE TABLE injury_accident (game_id VARCHAR); CREATE TABLE game (stadium_id VARCHAR, id VARCHAR)
### Question:
What are the id and name of the stadium where the most injury accidents happened?
### Answer:
SELECT T1.id, T1.name FROM stadium AS T1 JOIN game AS T2 ON T1.id = T2.stadium_id JOIN injury_accident AS T3 ON T2.id = T3.game_id GROUP BY T1.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_17968282_1 (played INTEGER, points VARCHAR)
### Question:
Name the most played when points is 105
### Answer:
SELECT MAX(played) FROM table_17968282_1 WHERE points = 105 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19304764_2 (recognised_seats INTEGER)
### Question:
Name the least recognised seats
### Answer:
SELECT MIN(recognised_seats) FROM table_19304764_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_17344582_11 (location_attendance VARCHAR, series VARCHAR)
### Question:
List all location attendance for series 1-1.
### Answer:
SELECT location_attendance FROM table_17344582_11 WHERE series = "1-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_79 (genre VARCHAR, release_year_of_first_charted_record VARCHAR, country_of_origin VARCHAR)
### Question:
What is the Genre, when the Release-year of first charted record is 1968, and when the Country of origin is United States?
### Answer:
SELECT genre FROM table_name_79 WHERE release_year_of_first_charted_record = 1968 AND country_of_origin = "united states" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341423_40 (candidates VARCHAR, incumbent VARCHAR)
### Question:
who are the candidates when the incumbent is lindsey graham?
### Answer:
SELECT candidates FROM table_1341423_40 WHERE incumbent = "Lindsey Graham" |
Below is an context that describes a sql 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 (english_meaning VARCHAR, case_suffix__case_ VARCHAR)
### Question:
What is English Meaning, when Case Suffix (Case) is "-sa (dative)"?
### Answer:
SELECT english_meaning FROM table_name_40 WHERE case_suffix__case_ = "-sa (dative)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27782699_3 (outgoing_manager VARCHAR, replaced_by VARCHAR)
### Question:
Which manager was replaced by Thomas Thomasberg?
### Answer:
SELECT outgoing_manager FROM table_27782699_3 WHERE replaced_by = "Thomas Thomasberg" |
Below is an context that describes a sql 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 (country VARCHAR, money___$__ VARCHAR, place VARCHAR)
### Question:
Which Country has a Money ($) of 0, and a Place of t10?
### Answer:
SELECT country FROM table_name_93 WHERE money___$__ = 0 AND place = "t10" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1784514_1 (year_established INTEGER, number_of_powiats VARCHAR)
### Question:
What is the latest year established that had 5 powiats?
### Answer:
SELECT MAX(year_established) FROM table_1784514_1 WHERE number_of_powiats = "5 powiats" |
Below is an context that describes a sql 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 (points INTEGER, year VARCHAR)
### Question:
Name the sum of points for 1991
### Answer:
SELECT SUM(points) FROM table_name_79 WHERE year = 1991 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_6 (winner_and_score VARCHAR, week VARCHAR)
### Question:
who is the winner and score for the week of august 9?
### Answer:
SELECT winner_and_score FROM table_name_6 WHERE week = "august 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_17288845_9 (record VARCHAR, score VARCHAR)
### Question:
Name the record for score of l 77–80 (ot)
### Answer:
SELECT record FROM table_17288845_9 WHERE score = "L 77–80 (OT)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_182410_10 (digital_terrestrial_channel VARCHAR, channel VARCHAR)
### Question:
What is the digital terrestria channel number for itv3?
### Answer:
SELECT digital_terrestrial_channel FROM table_182410_10 WHERE channel = "ITV3" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_55 (winning_driver VARCHAR, name VARCHAR)
### Question:
What Winning driver has a Name of mugello circuit?
### Answer:
SELECT winning_driver FROM table_name_55 WHERE name = "mugello circuit" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21436373_8 (type_of_record VARCHAR, result_games VARCHAR)
### Question:
What record was set when the result/game was montreal 20 @ ottawa 10?
### Answer:
SELECT type_of_record FROM table_21436373_8 WHERE result_games = "Montreal 20 @ Ottawa 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_36 (result VARCHAR, week VARCHAR)
### Question:
What was the result for week 16?
### Answer:
SELECT result FROM table_name_36 WHERE week = 16 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_75 (top_10 VARCHAR, top_25 VARCHAR, top_5 VARCHAR)
### Question:
Name the total number of top 10 with top 25 less than 2 and top 5 more than 0
### Answer:
SELECT COUNT(top_10) FROM table_name_75 WHERE top_25 < 2 AND top_5 > 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_15887683_9 (dar VARCHAR, television_service VARCHAR, n° VARCHAR)
### Question:
Name the total number of dar for disney channel and number is 613
### Answer:
SELECT COUNT(dar) FROM table_15887683_9 WHERE television_service = "Disney Channel" AND n° = 613 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23399481_2 (directed_by VARCHAR, us_viewers__in_millions_ VARCHAR)
### Question:
If the amount of U.S. viewers is 2.05 milliom, who was the episode directed by?
### Answer:
SELECT directed_by FROM table_23399481_2 WHERE us_viewers__in_millions_ = "2.05" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27277284_28 (model_number VARCHAR, order_part_number VARCHAR)
### Question:
What is the model number for the order part numbered tmrm75dam22gg?
### Answer:
SELECT model_number FROM table_27277284_28 WHERE order_part_number = "TMRM75DAM22GG" |
Below is an context that describes a sql 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 (rank INTEGER, silver VARCHAR, total VARCHAR)
### Question:
What is the rank for the nation with 0 silver medals and a total larger than 2?
### Answer:
SELECT SUM(rank) FROM table_name_86 WHERE silver = 0 AND total > 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_63 (year VARCHAR, award VARCHAR, nominee VARCHAR)
### Question:
In what year was Terry Johnson nominated for a Tony award?
### Answer:
SELECT COUNT(year) FROM table_name_63 WHERE award = "tony award" AND nominee = "terry johnson" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26173058_2 (× VARCHAR, jeel VARCHAR, ramtha VARCHAR)
### Question:
what the team where the record is 1-1 and the player is 1-1
### Answer:
SELECT × FROM table_26173058_2 WHERE jeel = "1-1" AND ramtha = "1-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_61 (game INTEGER, high_assists VARCHAR)
### Question:
What's the sum of the games that had paul (9) for high assists?
### Answer:
SELECT SUM(game) FROM table_name_61 WHERE high_assists = "paul (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_56 (status VARCHAR)
### Question:
What status has a role?
### Answer:
SELECT status FROM table_name_56 WHERE "role" = "role" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_171250_2 (census_ranking VARCHAR, area_km_2 VARCHAR)
### Question:
What are the census ranking(s) that have an area of 369.25 km2?
### Answer:
SELECT census_ranking FROM table_171250_2 WHERE area_km_2 = "369.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_49 (opponent VARCHAR, result VARCHAR)
### Question:
What is the Opponent of the game with a Result of w 13–0?
### Answer:
SELECT opponent FROM table_name_49 WHERE result = "w 13–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_54 (borough VARCHAR, location VARCHAR, listed VARCHAR)
### Question:
What is the Borough for the Seward listing on 1977-11-23?
### Answer:
SELECT borough FROM table_name_54 WHERE location = "seward" AND listed = "1977-11-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_97 (score_in_final VARCHAR, tournament VARCHAR)
### Question:
What is the score of the final in $10,000 – tarakan , indonesia f2?
### Answer:
SELECT score_in_final FROM table_name_97 WHERE tournament = "$10,000 – tarakan , indonesia f2" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE performance (Attendance INTEGER)
### Question:
What is the average number of attendees for performances?
### Answer:
SELECT AVG(Attendance) FROM performance |
Below is an context that describes a sql 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 (college_junior_club_team VARCHAR, position VARCHAR, nationality VARCHAR)
### Question:
What college/junior/club team is a left wing from Canada?
### Answer:
SELECT college_junior_club_team FROM table_name_94 WHERE position = "left wing" AND nationality = "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_61 (original_title VARCHAR, year__ceremony_ VARCHAR)
### Question:
What is the Original Title of the 1992 (65th) Film
### Answer:
SELECT original_title FROM table_name_61 WHERE year__ceremony_ = "1992 (65th)" |
Below is an context that describes a sql 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 (to_par VARCHAR, player VARCHAR, total VARCHAR)
### Question:
WHAT IS THE TOTAL, OF A TO PAR FOR HUBERT GREEN, AND A TOTAL LARGER THAN 291?
### Answer:
SELECT COUNT(to_par) FROM table_name_96 WHERE player = "hubert green" AND total > 291 |
Below is an context that describes a sql 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 (res VARCHAR, competition VARCHAR)
### Question:
What was the result for the friendly match competition?
### Answer:
SELECT res FROM table_name_49 WHERE competition = "friendly match" |
Below is an context that describes a sql 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 (branding VARCHAR, location VARCHAR)
### Question:
What is the brand where the location is Cagayan De Oro?
### Answer:
SELECT branding FROM table_name_54 WHERE location = "cagayan de oro" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE TRANSACTIONS (amount_of_transaction INTEGER, transaction_type_code VARCHAR)
### Question:
Show the average amount of transactions with type code "SALE".
### Answer:
SELECT AVG(amount_of_transaction) FROM TRANSACTIONS WHERE transaction_type_code = "SALE" |
Below is an context that describes a sql 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 (surface VARCHAR, score VARCHAR)
### Question:
What was the surface of the score of 7–5, 3–6, 7–6?
### Answer:
SELECT surface FROM table_name_58 WHERE score = "7–5, 3–6, 7–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_18373863_2 (player VARCHAR, fcsl_team VARCHAR, years_played VARCHAR)
### Question:
When 2006 is the year played and winter park is the fcsl team who is the player?
### Answer:
SELECT player FROM table_18373863_2 WHERE fcsl_team = "Winter Park" AND years_played = "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_1566848_7 (pictorials VARCHAR, centerfold_model VARCHAR)
### Question:
Who were the pictorials when the centerfold model was Ava Fabian?
### Answer:
SELECT pictorials FROM table_1566848_7 WHERE centerfold_model = "Ava Fabian" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2801442_1 (area__km²_ INTEGER, code VARCHAR)
### Question:
How big (in km2) is the district with a code BW?
### Answer:
SELECT MIN(area__km²_) FROM table_2801442_1 WHERE code = "BW" |
Below is an context that describes a sql 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, date VARCHAR)
### Question:
Name the score for september 12, 1993
### Answer:
SELECT score FROM table_name_34 WHERE date = "september 12, 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_57 (team_1 VARCHAR)
### Question:
What was the 2nd leg when Team 1 was Chicago Croatian?
### Answer:
SELECT 2 AS nd_leg FROM table_name_57 WHERE team_1 = "chicago croatian" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28211674_3 (mixed_restricted VARCHAR, mens_singles VARCHAR)
### Question:
When Matt Ware won the mens singles, who won the mixed restricted?
### Answer:
SELECT mixed_restricted FROM table_28211674_3 WHERE mens_singles = "Matt Ware" |
Below is an context that describes a sql 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 (position VARCHAR, school_club_team VARCHAR)
### Question:
What position in the club team of Kansas?
### Answer:
SELECT position FROM table_name_21 WHERE school_club_team = "kansas" |
Below is an context that describes a sql 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 (class VARCHAR, year VARCHAR)
### Question:
Which class has a Year of 1968?
### Answer:
SELECT class FROM table_name_36 WHERE year = 1968 |
Below is an context that describes a sql 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 (country VARCHAR, score VARCHAR)
### Question:
What Country had a Score of 75-68=143?
### Answer:
SELECT country FROM table_name_91 WHERE score = 75 - 68 = 143 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2008069_2 (pinyin VARCHAR, conventional VARCHAR)
### Question:
Name the pinyin for mazar
### Answer:
SELECT pinyin FROM table_2008069_2 WHERE conventional = "Mazar" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16493961_1 (miles__km_ VARCHAR, date VARCHAR)
### Question:
Name the miles for june 7
### Answer:
SELECT miles__km_ FROM table_16493961_1 WHERE date = "June 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_55 (opponent_in_final VARCHAR, surface VARCHAR)
### Question:
Who was the opponent on carpet in a final?
### Answer:
SELECT opponent_in_final FROM table_name_55 WHERE surface = "carpet" |
Below is an context that describes a sql 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 (record VARCHAR, opponent VARCHAR)
### Question:
What was the record after the bout with Alexis Vila?
### Answer:
SELECT record FROM table_name_79 WHERE opponent = "alexis vila" |
Below is an context that describes a sql 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 (team VARCHAR, name VARCHAR)
### Question:
What is Justin Wilson's Team?
### Answer:
SELECT team FROM table_name_13 WHERE name = "justin wilson" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23097214_1 (directed_by VARCHAR, season__number VARCHAR)
### Question:
How many directors directed episode 3 of the season?
### Answer:
SELECT COUNT(directed_by) FROM table_23097214_1 WHERE season__number = 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_26894949_2 (sanya VARCHAR, distance VARCHAR)
### Question:
How many time was the distance Abu Dhabi?
### Answer:
SELECT COUNT(sanya) FROM table_26894949_2 WHERE distance = "abu_dhabi" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Movie (title VARCHAR, director VARCHAR)
### Question:
Find the titles of all movies directed by steven spielberg.
### Answer:
SELECT title FROM Movie WHERE director = 'Steven Spielberg' |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29572583_19 (rank VARCHAR, new_points VARCHAR)
### Question:
How many rank entries are there when new points are 1155?
### Answer:
SELECT COUNT(rank) FROM table_29572583_19 WHERE new_points = 1155 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_89 (operator VARCHAR, project_name VARCHAR, peak VARCHAR, year_startup VARCHAR)
### Question:
What is the operator for peak 90, in startup year 2010 for the project named Aosp expansion 1 (jackpine ph 1a)?
### Answer:
SELECT operator FROM table_name_89 WHERE peak = "90" AND year_startup = "2010" AND project_name = "aosp expansion 1 (jackpine ph 1a)" |
Below is an context that describes a sql 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 (crowd VARCHAR, home_team VARCHAR)
### Question:
What is the total of the crowd when the home team is footscray?
### Answer:
SELECT COUNT(crowd) FROM table_name_60 WHERE home_team = "footscray" |
Below is an context that describes a sql 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 (team_wins INTEGER, nation VARCHAR, individual_wins VARCHAR)
### Question:
Which Team Win is from sweden and has a Individual win smaller than 1
### Answer:
SELECT MAX(team_wins) FROM table_name_48 WHERE nation = "sweden" AND individual_wins < 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_12 (payment VARCHAR, type VARCHAR, release_date VARCHAR)
### Question:
Which Payment has a Type of text, and a Release date of 26 september, 2003?
### Answer:
SELECT payment FROM table_name_12 WHERE type = "text" AND release_date = "26 september, 2003" |
Below is an context that describes a sql 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 (visitor VARCHAR, record VARCHAR)
### Question:
What visiting team has a record of 4-3?
### Answer:
SELECT visitor FROM table_name_49 WHERE record = "4-3" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.