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_79 (record VARCHAR, date VARCHAR)
### Question:
What was his record in 1987?
### Answer:
SELECT record FROM table_name_79 WHERE date = "1987" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_87 (elected INTEGER, district VARCHAR)
### Question:
What was the year elected in District 17?
### Answer:
SELECT MIN(elected) FROM table_name_87 WHERE district = 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_41 (player VARCHAR, score VARCHAR)
### Question:
What player has 72-67-71=210 as the score?
### Answer:
SELECT player FROM table_name_41 WHERE score = 72 - 67 - 71 = 210 |
Below is an context that describes a sql 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 (game INTEGER, opponent VARCHAR, attendance VARCHAR)
### Question:
Which Game has an Opponent of at kansas city chiefs, and an Attendance smaller than 40,213?
### Answer:
SELECT SUM(game) FROM table_name_60 WHERE opponent = "at kansas city chiefs" AND attendance < 40 OFFSET 213 |
Below is an context that describes a sql 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 (fall_05 VARCHAR, fall_09 VARCHAR, states VARCHAR, fall_08 VARCHAR, fall_06 VARCHAR)
### Question:
What is the sum amount of fall 05 when fall 08 is more than 5, fall 06 is more than 7, the state is Maryland, and fall 09 is more than 471?
### Answer:
SELECT COUNT(fall_05) FROM table_name_31 WHERE fall_08 > 5 AND fall_06 > 7 AND states = "maryland" AND fall_09 > 471 |
Below is an context that describes a sql 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 (females VARCHAR, males VARCHAR)
### Question:
Name the females when males are 1 548
### Answer:
SELECT females FROM table_name_60 WHERE males = "1 548" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1376890_2 (chroma_format VARCHAR, name VARCHAR)
### Question:
how many chroma format with name being high profile
### Answer:
SELECT COUNT(chroma_format) FROM table_1376890_2 WHERE name = "High profile" |
Below is an context that describes a sql 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 (holmenkollen VARCHAR, fis_nordic_world_ski_championships VARCHAR)
### Question:
When the FIS Nordic World Ski Championships was 1962, 1964 what was the Holmenkollen?
### Answer:
SELECT holmenkollen FROM table_name_58 WHERE fis_nordic_world_ski_championships = "1962, 1964" |
Below is an context that describes a sql 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 (away_team VARCHAR, home_team VARCHAR)
### Question:
What is the name of the away team who played Footscray?
### Answer:
SELECT away_team FROM table_name_23 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_61 (player VARCHAR, points VARCHAR, touchdowns VARCHAR, extra_points VARCHAR)
### Question:
What Player has more than 1 Touchdowns with 0 Extra Points and less than 50 Points?
### Answer:
SELECT player FROM table_name_61 WHERE touchdowns > 1 AND extra_points = 0 AND points < 50 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_40 (league_cup VARCHAR, years VARCHAR)
### Question:
What is the League Cup for 1947–1958?
### Answer:
SELECT league_cup FROM table_name_40 WHERE years = "1947–1958" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_87 (record VARCHAR, week VARCHAR)
### Question:
Tell me thee record for week of hf
### Answer:
SELECT record FROM table_name_87 WHERE week = "hf" |
Below is an context that describes a sql 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 (career_with_the_franchise_ VARCHAR, b_ VARCHAR, previous_team VARCHAR)
### Question:
What is Career with the franchise [b ], when Previous Team is "New Jersey Nets"?
### Answer:
SELECT career_with_the_franchise_[b_] FROM table_name_68 WHERE previous_team = "new jersey nets" |
Below is an context that describes a sql 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 (north_america VARCHAR, title VARCHAR)
### Question:
Tell me the north america for phantom brave
### Answer:
SELECT north_america FROM table_name_74 WHERE title = "phantom brave" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Plays_games (gameid VARCHAR); CREATE TABLE Video_games (gameid VARCHAR)
### Question:
Show the game name that has most number of hours played.
### Answer:
SELECT gname FROM Plays_games AS T1 JOIN Video_games AS T2 ON T1.gameid = T2.gameid GROUP BY T1.gameid ORDER BY SUM(hours_played) 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_27 (name VARCHAR, authority VARCHAR, roll VARCHAR)
### Question:
Which school has a state authority and a roll of 318?
### Answer:
SELECT name FROM table_name_27 WHERE authority = "state" AND roll = 318 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28794440_1 (branding VARCHAR, callsign VARCHAR)
### Question:
Which branding has the callsign of DXGH?
### Answer:
SELECT branding FROM table_28794440_1 WHERE callsign = "DXGH" |
Below is an context that describes a sql 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 (tournament VARCHAR, score_in_the_final VARCHAR)
### Question:
Which tournament had a final score of 6–3, 6–2?
### Answer:
SELECT tournament FROM table_name_65 WHERE score_in_the_final = "6–3, 6–2" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_12 (province VARCHAR, iata VARCHAR)
### Question:
WHich province has an IATA of UYN?
### Answer:
SELECT province FROM table_name_12 WHERE iata = "uyn" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_44 (height VARCHAR, position VARCHAR, year_born VARCHAR)
### Question:
Born in 1982, this guard has what listed as a height?
### Answer:
SELECT height FROM table_name_44 WHERE position = "guard" AND year_born = 1982 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_14 (gold INTEGER, silver INTEGER)
### Question:
What is the lowest amount of gold for more than 16 silver?
### Answer:
SELECT MIN(gold) FROM table_name_14 WHERE silver > 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_60 (award VARCHAR, outcome VARCHAR, name VARCHAR)
### Question:
Anuya Bhagvath was nominated for what award?
### Answer:
SELECT award FROM table_name_60 WHERE outcome = "nominated" AND name = "anuya bhagvath" |
Below is an context that describes a sql 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 (team VARCHAR, high_points VARCHAR)
### Question:
What team has a high score with tracy mcgrady (24)?
### Answer:
SELECT team FROM table_name_70 WHERE high_points = "tracy mcgrady (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 Documents_to_be_destroyed (employee_id VARCHAR, Destruction_Authorised_by_Employee_ID VARCHAR); CREATE TABLE Employees (employee_id VARCHAR, Destruction_Authorised_by_Employee_ID VARCHAR)
### Question:
Show the ids of the employees who don't authorize destruction for any document.
### Answer:
SELECT employee_id FROM Employees EXCEPT SELECT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed |
Below is an context that describes a sql 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 (drawn INTEGER, played INTEGER)
### Question:
What is the lowest number of games drawn associated with over 39 games played?
### Answer:
SELECT MIN(drawn) FROM table_name_39 WHERE played > 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_5 (site VARCHAR, function VARCHAR, orbit VARCHAR, decay___utc__ VARCHAR)
### Question:
What site has an orbit of Leo, a decay (UTC) of still in orbit, and a magnetosphere research?
### Answer:
SELECT site FROM table_name_5 WHERE orbit = "leo" AND decay___utc__ = "still in orbit" AND function = "magnetosphere research" |
Below is an context that describes a sql 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 (venue VARCHAR, result VARCHAR, score VARCHAR)
### Question:
What is the Venue with a Result that is win, and a Score that is 5-0?
### Answer:
SELECT venue FROM table_name_35 WHERE result = "win" AND score = "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 employees (department_id VARCHAR)
### Question:
Return all the information for all employees without any department number.
### Answer:
SELECT * FROM employees WHERE department_id = "null" |
Below is an context that describes a sql 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 (country VARCHAR, round VARCHAR)
### Question:
Which country had a round of Q3?
### Answer:
SELECT country FROM table_name_58 WHERE round = "q3" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE film (directed_by VARCHAR)
### Question:
List all directors along with the number of films directed by each director.
### Answer:
SELECT directed_by, COUNT(*) FROM film GROUP BY directed_by |
Below is an context that describes a sql 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 (date VARCHAR, label VARCHAR)
### Question:
What date is associated with the label Village Records?
### Answer:
SELECT date FROM table_name_88 WHERE label = "village records" |
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR)
### Question:
What is the score on september 20?
### Answer:
SELECT score FROM table_name_6 WHERE date = "september 20" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_81 (points INTEGER, home VARCHAR)
### Question:
What is the lowest Points, when Home is "Boston"?
### Answer:
SELECT MIN(points) FROM table_name_81 WHERE home = "boston" |
Below is an context that describes a sql 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 (record VARCHAR, date VARCHAR)
### Question:
What was the record on April 8?
### Answer:
SELECT record FROM table_name_53 WHERE date = "april 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_97 (defensive VARCHAR, rookie VARCHAR, week VARCHAR)
### Question:
Who played defensive when the rookie Craig Point was playing during week 6?
### Answer:
SELECT defensive FROM table_name_97 WHERE rookie = "craig point" AND week = 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_24865763_2 (gt2_winning_team VARCHAR, lmp1_winning_team VARCHAR)
### Question:
Who was the GT2 Winning Team if Greg Mansell Leo Mansell was the LMP1 Winning Team?
### Answer:
SELECT gt2_winning_team FROM table_24865763_2 WHERE lmp1_winning_team = "Greg Mansell Leo Mansell" |
Below is an context that describes a sql 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 (country VARCHAR, nominating_festival VARCHAR)
### Question:
Name the country which has prix uip venezia
### Answer:
SELECT country FROM table_name_9 WHERE nominating_festival = "prix uip venezia" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_69 (edition VARCHAR, date VARCHAR, region VARCHAR)
### Question:
What kind of edition was released September 23, 2008 from the United States?
### Answer:
SELECT edition FROM table_name_69 WHERE date = "september 23, 2008" AND region = "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_23 (pos VARCHAR, year INTEGER)
### Question:
What was the position of the teams before 1973?
### Answer:
SELECT pos FROM table_name_23 WHERE year < 1973 |
Below is an context that describes a sql 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 (played INTEGER, drawn VARCHAR, points VARCHAR)
### Question:
Which average Played has a Drawn smaller than 1, and Points larger than 4?
### Answer:
SELECT AVG(played) FROM table_name_83 WHERE drawn < 1 AND points > 4 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15315103_1 (school_year VARCHAR, class_aAAA VARCHAR, Dayton VARCHAR)
### Question:
What year is dayton in class AAAA?
### Answer:
SELECT school_year FROM table_15315103_1 WHERE class_aAAA = Dayton |
Below is an context that describes a sql 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 (attendance INTEGER, tie_no VARCHAR)
### Question:
How many attended tie number 1?
### Answer:
SELECT SUM(attendance) FROM table_name_47 WHERE tie_no = "1" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_54 (type VARCHAR, company VARCHAR, incorporated_in VARCHAR, principal_activities VARCHAR)
### Question:
Which Type has an Incorporated in of netherlands, a Principal activities of airline, and a Company of transavia.com?
### Answer:
SELECT type FROM table_name_54 WHERE incorporated_in = "netherlands" AND principal_activities = "airline" AND company = "transavia.com" |
Below is an context that describes a sql 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 (_jerk VARCHAR, clean_ INTEGER, bodyweight VARCHAR, snatch VARCHAR)
### Question:
What was the average clean and jerk of all weightlifters who had a bodyweight smaller than 87.5 and a snatch of less than 95?
### Answer:
SELECT AVG(clean_) & _jerk FROM table_name_94 WHERE bodyweight = 87.5 AND snatch < 95 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_76 (_specialist_ VARCHAR, physician__gp_ INTEGER, all_nurses VARCHAR)
### Question:
What is the number of physicians in the region with an all nurses number of 91?
### Answer:
SELECT MIN(physician__gp_) & _specialist_ FROM table_name_76 WHERE all_nurses = 91 |
Below is an context that describes a sql 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 (affiliation VARCHAR, location VARCHAR)
### Question:
What is the affiliation of a location called Issaquah?
### Answer:
SELECT affiliation FROM table_name_51 WHERE location = "issaquah" |
Below is an context that describes a sql 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 (run_2 VARCHAR, run_4 VARCHAR, run_3 VARCHAR)
### Question:
How much Run 2 has a Run 4 of 57.68, and a Run 3 smaller than 57.9?
### Answer:
SELECT COUNT(run_2) FROM table_name_53 WHERE run_4 = 57.68 AND run_3 < 57.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_5 (theme_song_s_ VARCHAR, japanese_title VARCHAR)
### Question:
What is the Theme Song of 働きマン?
### Answer:
SELECT theme_song_s_ FROM table_name_5 WHERE japanese_title = "働きマン" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_1 (comp VARCHAR, date VARCHAR)
### Question:
What's the comp for 1998-04-22?
### Answer:
SELECT comp FROM table_name_1 WHERE date = "1998-04-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_name_2 (att INTEGER, loss VARCHAR)
### Question:
What was the lowest attendance at a game that had a loss of lohse (12–11)?
### Answer:
SELECT MIN(att) FROM table_name_2 WHERE loss = "lohse (12–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_12078626_1 (success VARCHAR, date_of_completion VARCHAR)
### Question:
what's the success where date of completion is september 28, 2007
### Answer:
SELECT success FROM table_12078626_1 WHERE date_of_completion = "September 28, 2007" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18183850_12 (edition VARCHAR, surface VARCHAR, outcome VARCHAR)
### Question:
What was the game edition when they played on the clay (i) surface and the outcome was a winner?
### Answer:
SELECT edition FROM table_18183850_12 WHERE surface = "Clay (i)" AND outcome = "Winner" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2679061_4 (nationality VARCHAR, player VARCHAR)
### Question:
What is the nationality of Bob Essensa?
### Answer:
SELECT nationality FROM table_2679061_4 WHERE player = "Bob Essensa" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_106367_2 (_number_of_seats_won VARCHAR, _number_of_candidates VARCHAR)
### Question:
How many seats were won in the election with 125 candidates?
### Answer:
SELECT COUNT(_number_of_seats_won) FROM table_106367_2 WHERE _number_of_candidates = 125 |
Below is an context that describes a sql 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 (event VARCHAR, competition VARCHAR, year VARCHAR)
### Question:
Which Event has a Competition of chicago marathon, and a Year larger than 2004?
### Answer:
SELECT event FROM table_name_79 WHERE competition = "chicago marathon" AND year > 2004 |
Below is an context that describes a sql 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 (year INTEGER, winning_team VARCHAR, losing_team VARCHAR)
### Question:
What was the latest year that the Atlanta Braves won and the St. Louis Cardinals lost?
### Answer:
SELECT MAX(year) FROM table_name_70 WHERE winning_team = "atlanta braves" AND losing_team = "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 entrepreneur (Company VARCHAR, Investor VARCHAR)
### Question:
List the companies and the investors of entrepreneurs.
### Answer:
SELECT Company, Investor FROM entrepreneur |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21321804_5 (position VARCHAR, player VARCHAR)
### Question:
What is Marc Parenteau's position?
### Answer:
SELECT position FROM table_21321804_5 WHERE player = "Marc Parenteau" |
Below is an context that describes a sql 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 (hand_guards VARCHAR, name VARCHAR, barrel_twist VARCHAR)
### Question:
Name the hand guards for ar-15a2 government carbine and barrel twist of 1:9
### Answer:
SELECT hand_guards FROM table_name_8 WHERE name = "ar-15a2 government carbine" AND barrel_twist = "1: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_38 (attendance INTEGER, date VARCHAR, week VARCHAR)
### Question:
What was the attendance on September 19, 1971, after week 1?
### Answer:
SELECT AVG(attendance) FROM table_name_38 WHERE date = "september 19, 1971" AND week > 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_23 (home_team VARCHAR, venue VARCHAR)
### Question:
What is the home side's score at western oval?
### Answer:
SELECT home_team AS score FROM table_name_23 WHERE venue = "western 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_17822401_1 (branding VARCHAR, power__kw_ VARCHAR)
### Question:
What is the number of brand where the power is 5kw?
### Answer:
SELECT COUNT(branding) FROM table_17822401_1 WHERE power__kw_ = "5kW" |
Below is an context that describes a sql 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 (season VARCHAR, rank VARCHAR)
### Question:
Which season has rank 2?
### Answer:
SELECT season FROM table_name_35 WHERE 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_20 (event VARCHAR, location VARCHAR)
### Question:
Which event was held at Manly Beach?
### Answer:
SELECT event FROM table_name_20 WHERE location = "manly beach" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11677760_31 (height VARCHAR, college VARCHAR)
### Question:
What is the height of the player that went to ohio state?
### Answer:
SELECT height FROM table_11677760_31 WHERE college = "Ohio State" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_16 (away_team VARCHAR, venue VARCHAR)
### Question:
Who was the away team at the game held at Arden Street Oval?
### Answer:
SELECT away_team FROM table_name_16 WHERE venue = "arden street 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_32 (surface VARCHAR, score VARCHAR)
### Question:
On what surface was the match played with a score of 2–6, 6–3, 6–4?
### Answer:
SELECT surface FROM table_name_32 WHERE score = "2–6, 6–3, 6–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_39 (yield VARCHAR, location VARCHAR)
### Question:
What was the yield for a blast that was in nts area 3s?
### Answer:
SELECT yield FROM table_name_39 WHERE location = "nts area 3s" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19744915_4 (karen VARCHAR, nicky VARCHAR)
### Question:
Name the karen when nicky is 2.5
### Answer:
SELECT karen FROM table_19744915_4 WHERE nicky = "2.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_53 (term_start VARCHAR, born_died VARCHAR)
### Question:
What is Term Start, when Born-Died is Prime Ministers 1939 - 1943?
### Answer:
SELECT term_start FROM table_name_53 WHERE born_died = "prime ministers 1939 - 1943" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2144389_8 (_number INTEGER, japanese_title VARCHAR)
### Question:
Name the least number for 君のそばで~ヒカリのテーマ~(popup.version)
### Answer:
SELECT MIN(_number) FROM table_2144389_8 WHERE japanese_title = "君のそばで~ヒカリのテーマ~(PopUp.Version)" |
Below is an context that describes a sql 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 (gold VARCHAR, bronze VARCHAR, silver VARCHAR)
### Question:
What is the total number of gold medals when the team got 2 bronze and more than 5 silver medals?
### Answer:
SELECT COUNT(gold) FROM table_name_93 WHERE bronze = 2 AND silver > 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_17765888_1 (record VARCHAR, date VARCHAR)
### Question:
What is the record for November 26, 1961?
### Answer:
SELECT record FROM table_17765888_1 WHERE date = "November 26, 1961" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_64 (fs VARCHAR, sp INTEGER, name VARCHAR, placings VARCHAR)
### Question:
What is the lowest value for SP+FS for Miljan Begovic with a greater than 189 place?
### Answer:
SELECT MIN(sp) + fs FROM table_name_64 WHERE name = "miljan begovic" AND placings > 189 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_7 (score VARCHAR, place VARCHAR, player VARCHAR)
### Question:
What score did Ed Furgol get to come in at T6?
### Answer:
SELECT score FROM table_name_7 WHERE place = "t6" AND player = "ed furgol" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21926985_2 (state_rank_by_revenue VARCHAR, known_for VARCHAR)
### Question:
What is the rank of the company known for retailing?
### Answer:
SELECT COUNT(state_rank_by_revenue) FROM table_21926985_2 WHERE known_for = "Retailing" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_260938_1 (peletier VARCHAR, systematics VARCHAR)
### Question:
Name the peletier for systematics being million 1
### Answer:
SELECT peletier FROM table_260938_1 WHERE systematics = "Million 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_30 (race VARCHAR, runners VARCHAR, odds VARCHAR)
### Question:
Which Race has a Runners of 7 and Odds of 1/3?
### Answer:
SELECT race FROM table_name_30 WHERE runners = 7 AND odds = "1/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_85 (original_title VARCHAR, director VARCHAR)
### Question:
Name the original title directed by luis buñuel
### Answer:
SELECT original_title FROM table_name_85 WHERE director = "luis buñuel" |
Below is an context that describes a sql 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 (sport VARCHAR, country VARCHAR, year VARCHAR)
### Question:
Name the sport for canada in 2004
### Answer:
SELECT sport FROM table_name_40 WHERE country = "canada" AND year = 2004 |
Below is an context that describes a sql 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 (attendance VARCHAR, away_team VARCHAR)
### Question:
what was the attendance when the away team was boreham wood?
### Answer:
SELECT attendance FROM table_name_84 WHERE away_team = "boreham wood" |
Below is an context that describes a sql 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 (city VARCHAR, track VARCHAR)
### Question:
What is the city the track of manzanita speedway is in?
### Answer:
SELECT city FROM table_name_89 WHERE track = "manzanita speedway" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18335117_3 (original_air_date VARCHAR, no_overall VARCHAR)
### Question:
When 15 is the number overall what is the original air date?
### Answer:
SELECT original_air_date FROM table_18335117_3 WHERE no_overall = 15 |
Below is an context that describes a sql 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 (game INTEGER, march VARCHAR)
### Question:
March of 26 has what lowest game?
### Answer:
SELECT MIN(game) FROM table_name_24 WHERE march = 26 |
Below is an context that describes a sql 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 (away_team VARCHAR, home_team VARCHAR)
### Question:
What is the away team where the home team is Coventry City?
### Answer:
SELECT away_team FROM table_name_73 WHERE home_team = "coventry city" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_98 (country VARCHAR, place VARCHAR, score VARCHAR)
### Question:
What is Country, when Place is "T8", and when Score is "70-67=137"?
### Answer:
SELECT country FROM table_name_98 WHERE place = "t8" AND score = 70 - 67 = 137 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_101336_1 (t_c__k_ VARCHAR, notation VARCHAR)
### Question:
What is the number for t c (k) when the notation is tl-2212?
### Answer:
SELECT COUNT(t_c__k_) FROM table_101336_1 WHERE notation = "Tl-2212" |
Below is an context that describes a sql 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 (champion VARCHAR, location VARCHAR, semi_finalist__number2 VARCHAR)
### Question:
Which champion was from the location of Morrisville, NC, and whose SemiFinalist #2 of Clemson?
### Answer:
SELECT champion FROM table_name_47 WHERE location = "morrisville, nc" AND semi_finalist__number2 = "clemson" |
Below is an context that describes a sql 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 (years VARCHAR, name VARCHAR)
### Question:
What are asashio's years?
### Answer:
SELECT years FROM table_name_31 WHERE name = "asashio" |
Below is an context that describes a sql 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 (type VARCHAR, date VARCHAR, ship VARCHAR)
### Question:
What type has a Date of 8 dec 16, and a Ship of duchess of cornwall?
### Answer:
SELECT type FROM table_name_75 WHERE date = "8 dec 16" AND ship = "duchess of cornwall" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_4 (time VARCHAR, opponent VARCHAR, record VARCHAR)
### Question:
What was time of the game against the Royals with a record of 81–73?
### Answer:
SELECT time FROM table_name_4 WHERE opponent = "royals" AND record = "81–73" |
Below is an context that describes 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, YEAR INTEGER)
### Question:
Find the name of the campuses opened before 1800.
### Answer:
SELECT campus FROM campuses WHERE YEAR < 1800 |
Below is an context that describes a sql 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 (fa_cup INTEGER, player VARCHAR, total VARCHAR)
### Question:
Which FA Cup has a Player of khairan ezuan razali, and a Total smaller than 0?
### Answer:
SELECT AVG(fa_cup) FROM table_name_62 WHERE player = "khairan ezuan razali" AND total < 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_1875157_2 (avg_finish VARCHAR, winnings VARCHAR)
### Question:
What is the average finish for winnings of $1,400?
### Answer:
SELECT avg_finish FROM table_1875157_2 WHERE winnings = "$1,400" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12134383_1 (date_of_birth VARCHAR, end_of_term VARCHAR)
### Question:
what's the date of birth with end of term being 5july1978
### Answer:
SELECT date_of_birth FROM table_12134383_1 WHERE end_of_term = "5July1978" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22607062_1 (comptroller VARCHAR, ticket___office VARCHAR)
### Question:
Name the comptroller for republican
### Answer:
SELECT comptroller FROM table_22607062_1 WHERE ticket___office = "Republican" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2562572_11 (settlement VARCHAR, cyrillic_name_other_names VARCHAR)
### Question:
How to you write плавна with the latin alphabet?
### Answer:
SELECT settlement FROM table_2562572_11 WHERE cyrillic_name_other_names = "Плавна" |
Below is an context that describes a sql 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 (year INTEGER, opponent_in_the_final VARCHAR)
### Question:
How many years have an Opponent in the final of welby van horn?
### Answer:
SELECT SUM(year) FROM table_name_74 WHERE opponent_in_the_final = "welby van horn" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_30049462_3 (high_points VARCHAR, team VARCHAR)
### Question:
in the milwaukee team who made the high points
### Answer:
SELECT high_points FROM table_30049462_3 WHERE team = "Milwaukee" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26336739_1 (elected VARCHAR, incumbent VARCHAR)
### Question:
How many elected catagories are there for the district with Saxby Chambliss as the incumbent?
### Answer:
SELECT COUNT(elected) FROM table_26336739_1 WHERE incumbent = "Saxby Chambliss" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.