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_42 (silver VARCHAR, year VARCHAR)
### Question:
How many silver medals were won in 1938?
### Answer:
SELECT silver FROM table_name_42 WHERE year = "1938" |
Below is an context that describes a sql 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 (score VARCHAR, visitor VARCHAR)
### Question:
What was the score when the visitor was pittsburgh?
### Answer:
SELECT score FROM table_name_51 WHERE visitor = "pittsburgh" |
Below is an context that describes a sql 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 (game_site VARCHAR, result VARCHAR)
### Question:
Name the game site with result of w 20-14
### Answer:
SELECT game_site FROM table_name_88 WHERE result = "w 20-14" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_82 (away_team VARCHAR, venue VARCHAR)
### Question:
Which Away team has a Venue of mcg?
### Answer:
SELECT away_team FROM table_name_82 WHERE venue = "mcg" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_37 (affiliation VARCHAR, founded VARCHAR, high_school VARCHAR)
### Question:
What is the affiliation of a high school in Issaquah that was founded in less than 1965?
### Answer:
SELECT affiliation FROM table_name_37 WHERE founded < 1965 AND high_school = "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_39 (name VARCHAR, transfer_fee VARCHAR)
### Question:
Who had a transfer fee of dkk 6m?
### Answer:
SELECT name FROM table_name_39 WHERE transfer_fee = "dkk 6m" |
Below is an context that describes a sql 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 (home VARCHAR, visitor VARCHAR, series VARCHAR)
### Question:
Which Home has a Visitor of ny rangers, and a Series of flyers win 4–3?
### Answer:
SELECT home FROM table_name_42 WHERE visitor = "ny rangers" AND series = "flyers win 4–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_13026799_1 (championship VARCHAR, margin VARCHAR)
### Question:
What championship had a margin of playoff 2?
### Answer:
SELECT championship FROM table_13026799_1 WHERE margin = "Playoff 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_2293510_1 (region___nuts_2006_ VARCHAR, ppp__million_€_ VARCHAR)
### Question:
Where is the PPP 23164 million €?
### Answer:
SELECT region___nuts_2006_ FROM table_2293510_1 WHERE ppp__million_€_ = 23164 |
Below is an context that describes a sql 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 (rank INTEGER, name VARCHAR)
### Question:
What is the lowest rank that has paul biedermann as the name?
### Answer:
SELECT MIN(rank) FROM table_name_31 WHERE name = "paul biedermann" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17304621_14 (upstream VARCHAR, price_tl VARCHAR)
### Question:
What is the upstream speed that you get for 89 tl?
### Answer:
SELECT upstream FROM table_17304621_14 WHERE price_tl = "89 TL" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25316812_1 (rate_limit__p_ VARCHAR, budget_plans__£m_ VARCHAR)
### Question:
What is the rate limit when budget plans (£m) is limit agreed?
### Answer:
SELECT rate_limit__p_ FROM table_25316812_1 WHERE budget_plans__£m_ = "limit agreed" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_78 (second VARCHAR, lead VARCHAR)
### Question:
Who is the second with a lead of Sarah Macintyre (jr) Anne Laird (w)?
### Answer:
SELECT second FROM table_name_78 WHERE lead = "sarah macintyre (jr) anne laird (w)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_65 (tournament_name VARCHAR, score VARCHAR)
### Question:
What tournament had a score of 5–7, 6–4, 6–4?
### Answer:
SELECT tournament_name FROM table_name_65 WHERE score = "5–7, 6–4, 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_56 (caps INTEGER, position VARCHAR, date_of_birth__age_ VARCHAR)
### Question:
What is the lowest number of caps of the fullback player born on 13 April 1983?
### Answer:
SELECT MIN(caps) FROM table_name_56 WHERE position = "fullback" AND date_of_birth__age_ = "13 april 1983" |
Below is an context that describes a sql 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 (featuring VARCHAR, doctor VARCHAR, series_sorted VARCHAR)
### Question:
who is the featuring when the doctor is the 6th and the series sorted is 6y/ak?
### Answer:
SELECT featuring FROM table_name_30 WHERE doctor = "6th" AND series_sorted = "6y/ak" |
Below is an context that describes a sql 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 (race_1 VARCHAR, round VARCHAR)
### Question:
What is the Race 1 result of Round 2?
### Answer:
SELECT race_1 FROM table_name_25 WHERE round = "round 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_16388047_1 (time VARCHAR, date VARCHAR)
### Question:
Name the time for saturday 4 march 1995
### Answer:
SELECT time FROM table_16388047_1 WHERE date = "Saturday 4 March 1995" |
Below is an context that describes a sql 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 (sales__x1000_ VARCHAR, no_of_stores VARCHAR)
### Question:
How much money did the country with 282 stores make in sales?
### Answer:
SELECT sales__x1000_ FROM table_name_49 WHERE no_of_stores = 282 |
Below is an context that describes a sql 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 (score VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)
### Question:
What is the Score when the opponent in the final is alicia pillay on a hard surface?
### Answer:
SELECT score FROM table_name_73 WHERE surface = "hard" AND opponent_in_the_final = "alicia pillay" |
Below is an context that describes a sql 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 (time VARCHAR, race VARCHAR)
### Question:
What is the fastest time for the Kentucky Derby race?
### Answer:
SELECT time FROM table_name_40 WHERE race = "kentucky derby" |
Below is an context that describes a sql 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 (winning_driver VARCHAR, winning_car VARCHAR)
### Question:
Which driver drove car Wolf WR3?
### Answer:
SELECT winning_driver FROM table_name_12 WHERE winning_car = "wolf wr3" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE checking (balance INTEGER)
### Question:
Find the average checking balance.
### Answer:
SELECT AVG(balance) FROM checking |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12379297_1 (coverage__transmitter_site_ VARCHAR, station_type VARCHAR, ch__number VARCHAR)
### Question:
What is the coverage for relay tv-37?
### Answer:
SELECT coverage__transmitter_site_ FROM table_12379297_1 WHERE station_type = "Relay" AND ch__number = "TV-37" |
Below is an context that describes a sql 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 (rank_number VARCHAR, opponent_number VARCHAR)
### Question:
What was the rank # for opponent AT Baylor?
### Answer:
SELECT rank_number FROM table_name_27 WHERE opponent_number = "at baylor" |
Below is an context that describes a sql 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 (share INTEGER, viewers__m_ VARCHAR, timeslot_rank VARCHAR)
### Question:
What is the smallest share for a timeslot ranking less than 4 and fewer viewers than 8.78 million?
### Answer:
SELECT MIN(share) FROM table_name_67 WHERE viewers__m_ < 8.78 AND timeslot_rank < 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_25016824_2 (vote VARCHAR, air_date VARCHAR)
### Question:
How many entries are there for vote when the air date was 15 november 1997?
### Answer:
SELECT COUNT(vote) FROM table_25016824_2 WHERE air_date = "15 November 1997" |
Below is an context that describes a sql 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_number VARCHAR, player VARCHAR)
### Question:
How many team numbers have john keane as the player?
### Answer:
SELECT COUNT(team_number) FROM table_name_93 WHERE player = "john keane" |
Below is an context that describes a sql 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 (game VARCHAR, opponents INTEGER)
### Question:
What game did the Buffalo Bills' opponents earn more than 28 points?
### Answer:
SELECT game FROM table_name_59 WHERE opponents > 28 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_287159_1 (brightest_star VARCHAR, meaning VARCHAR)
### Question:
What is the brightest star of the constellation that means archer?
### Answer:
SELECT brightest_star FROM table_287159_1 WHERE meaning = "archer" |
Below is an context that describes a sql 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 (position VARCHAR, difference VARCHAR, against VARCHAR)
### Question:
How many positions had a difference of - 4 and an against of less than 24?
### Answer:
SELECT COUNT(position) FROM table_name_75 WHERE difference = "- 4" 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_3 (place VARCHAR, machine VARCHAR)
### Question:
Where was the 249cc Yamaha?
### Answer:
SELECT place FROM table_name_3 WHERE machine = "249cc yamaha" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19576091_1 (venue VARCHAR, date VARCHAR)
### Question:
How many venues were there for the match on November 6?
### Answer:
SELECT COUNT(venue) FROM table_19576091_1 WHERE date = "November 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_39 (poles INTEGER, points VARCHAR, class VARCHAR, team VARCHAR)
### Question:
How many Poles have a Class of 125cc, and a Team of matteoni racing team, and Points larger than 3?
### Answer:
SELECT SUM(poles) FROM table_name_39 WHERE class = "125cc" AND team = "matteoni racing team" AND points > 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 phone_market (Phone_ID VARCHAR, Num_of_stock INTEGER); CREATE TABLE phone (Name VARCHAR, Phone_ID VARCHAR)
### Question:
Show the names of phones that have total number of stocks bigger than 2000, in descending order of the total number of stocks.
### Answer:
SELECT T2.Name FROM phone_market AS T1 JOIN phone AS T2 ON T1.Phone_ID = T2.Phone_ID GROUP BY T2.Name HAVING SUM(T1.Num_of_stock) >= 2000 ORDER BY SUM(T1.Num_of_stock) DESC |
Below is an context that describes a sql 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 (attendance VARCHAR, decision VARCHAR, home VARCHAR)
### Question:
What is the number of people in attendance when the decision was brodeur and the home was ottawa?
### Answer:
SELECT attendance FROM table_name_60 WHERE decision = "brodeur" AND home = "ottawa" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_61 (attendance VARCHAR, score VARCHAR)
### Question:
Score of 2 – 3 has what attendance?
### Answer:
SELECT attendance FROM table_name_61 WHERE score = "2 – 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_59 (track INTEGER, original_album VARCHAR)
### Question:
Which track has the original album turbulent indigo?
### Answer:
SELECT AVG(track) FROM table_name_59 WHERE original_album = "turbulent indigo" |
Below is an context that describes a sql 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 (round INTEGER, pick VARCHAR)
### Question:
WHAT IS THE ROUND WITH PICK OF 7?
### Answer:
SELECT SUM(round) FROM table_name_9 WHERE pick = 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_21 (timeslot VARCHAR, calls VARCHAR)
### Question:
Tell me the timeslot of calls of wrko
### Answer:
SELECT timeslot FROM table_name_21 WHERE calls = "wrko" |
Below is an context that describes a sql 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 (bronze VARCHAR, location VARCHAR)
### Question:
Who won the bronze when the Asian Games were in Doha?
### Answer:
SELECT bronze FROM table_name_70 WHERE location = "doha" |
Below is an context that describes a sql 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 (total INTEGER, nation VARCHAR, bronze VARCHAR)
### Question:
What average total has cuba as the nation, and a bronze greater than 1?
### Answer:
SELECT AVG(total) FROM table_name_8 WHERE nation = "cuba" AND bronze > 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_53 (country VARCHAR, to_par VARCHAR, player VARCHAR)
### Question:
What is Andy North with a To par greater than 8 Country?
### Answer:
SELECT country FROM table_name_53 WHERE to_par > 8 AND player = "andy 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_77 (country VARCHAR, medal VARCHAR, event VARCHAR)
### Question:
What country has a silver medal in the boxing, heavyweight event?
### Answer:
SELECT country FROM table_name_77 WHERE medal = "silver" AND event = "boxing, heavyweight" |
Below is an context that describes a sql 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 (score_final INTEGER, apparatus VARCHAR)
### Question:
Which Score-Final has an Apparatus of floor exercise?
### Answer:
SELECT MAX(score_final) FROM table_name_61 WHERE apparatus = "floor exercise" |
Below is an context that describes a sql 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 (react INTEGER, name VARCHAR, lane VARCHAR)
### Question:
What is the average React, when Name is "Candice Davis", and when Lane is less than 3?
### Answer:
SELECT AVG(react) FROM table_name_91 WHERE name = "candice davis" AND lane < 3 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_48 (competition VARCHAR, away_result VARCHAR, season VARCHAR)
### Question:
Away result of 0–3, and a Season of 1969-70 is what competition?
### Answer:
SELECT competition FROM table_name_48 WHERE away_result = "0–3" AND season = "1969-70" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_43 (player VARCHAR, place VARCHAR)
### Question:
What is Player, when Place is "1"?
### Answer:
SELECT player FROM table_name_43 WHERE place = "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_29547777_1 (song_title VARCHAR, result__placement_ VARCHAR)
### Question:
What the title of the song when the result is to the live shows?
### Answer:
SELECT song_title FROM table_29547777_1 WHERE result__placement_ = "to the Live Shows" |
Below is an context that describes a sql 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 (title VARCHAR, director VARCHAR)
### Question:
Which title was directed by Joyce Bernal?
### Answer:
SELECT title FROM table_name_76 WHERE director = "joyce bernal" |
Below is an context that describes a sql 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 (comp VARCHAR, name VARCHAR)
### Question:
Name the Comp which has a Name of smith?
### Answer:
SELECT comp FROM table_name_71 WHERE name = "smith" |
Below is an context that describes a sql 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 (position VARCHAR, school VARCHAR)
### Question:
What is the position of the player from Dartmouth Ohio State?
### Answer:
SELECT position FROM table_name_55 WHERE school = "dartmouth 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_97 (platform___os VARCHAR, name VARCHAR)
### Question:
Which Platform / OS has a Name of altova umodel?
### Answer:
SELECT platform___os FROM table_name_97 WHERE name = "altova umodel" |
Below is an context that describes a sql 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 (episodes VARCHAR, japanese_title VARCHAR)
### Question:
What is the total number of episodes for クロサギ?
### Answer:
SELECT COUNT(episodes) FROM table_name_13 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_26638600_3 (circuit VARCHAR, lites_1_race_two_winning_team VARCHAR)
### Question:
On which circuit was the lites race two winning team #13 Inspire Motorsports?
### Answer:
SELECT circuit FROM table_26638600_3 WHERE lites_1_race_two_winning_team = "#13 Inspire Motorsports" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26401898_2 (attendance INTEGER)
### Question:
Name the most attendance
### Answer:
SELECT MIN(attendance) FROM table_26401898_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_49 (lost VARCHAR, drawn VARCHAR, tries_against VARCHAR)
### Question:
What is the number of losses for the team with 1 draw and 34 tries against?
### Answer:
SELECT lost FROM table_name_49 WHERE drawn = "1" AND tries_against = "34" |
Below is an context that describes a sql 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 (game VARCHAR, date VARCHAR)
### Question:
What is the game number on December 21?
### Answer:
SELECT COUNT(game) FROM table_name_53 WHERE date = "december 21" |
Below is an context that describes a sql 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 (height_ft___m VARCHAR, floors VARCHAR, name VARCHAR)
### Question:
Name the height when the floors are bigger than 30 at the bny mellon center
### Answer:
SELECT height_ft___m FROM table_name_24 WHERE floors > 30 AND name = "bny mellon center" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15026994_2 (director VARCHAR, writer VARCHAR)
### Question:
How many different directors are associated with the writer Gaby Chiappe?
### Answer:
SELECT COUNT(director) FROM table_15026994_2 WHERE writer = "Gaby Chiappe" |
Below is an context that describes a sql 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 (song_title VARCHAR, number VARCHAR, singer_s_ VARCHAR, lyricist VARCHAR)
### Question:
What is the song title sung by Sonu Nigam with lyricists of Dev Kohli/Biddu, and number over 8?
### Answer:
SELECT song_title FROM table_name_3 WHERE singer_s_ = "sonu nigam" AND lyricist = "dev kohli/biddu" AND number > 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_56 (drawn INTEGER, played VARCHAR, points VARCHAR, lost VARCHAR)
### Question:
Which average Drawn has Points smaller than 14, and a Lost smaller than 4, and a Played larger than 9?
### Answer:
SELECT AVG(drawn) FROM table_name_56 WHERE points < 14 AND lost < 4 AND played > 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_4 (player VARCHAR, current_club VARCHAR, year_born VARCHAR)
### Question:
Which player from the Ironi Nahariya club was born in 1980?
### Answer:
SELECT player FROM table_name_4 WHERE current_club = "ironi nahariya" AND year_born = 1980 |
Below is an context that describes a sql 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 (rank INTEGER, lane VARCHAR)
### Question:
What is the Rank of the Swimmer in Lane 5?
### Answer:
SELECT AVG(rank) FROM table_name_16 WHERE lane = 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_22 (abbr VARCHAR, zodiac_sign VARCHAR)
### Question:
What is the abbreviation for the sign of Capricorn?
### Answer:
SELECT abbr FROM table_name_22 WHERE zodiac_sign = "capricorn" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_77 (circuit VARCHAR, date VARCHAR)
### Question:
Which circuit is on July 24?
### Answer:
SELECT circuit FROM table_name_77 WHERE date = "july 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_54 (silver INTEGER, total VARCHAR, rank VARCHAR, gold VARCHAR, bronze VARCHAR)
### Question:
What is the most silver won by the country with more than 1 gold, 3 bronze, ranked 1, and less than 12 as the total?
### Answer:
SELECT MAX(silver) FROM table_name_54 WHERE gold > "1" AND bronze = 3 AND rank = "1" AND total < 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_1404456_1 (capital VARCHAR, population_census_2009 VARCHAR)
### Question:
how many capital with population census 2009 being 284657
### Answer:
SELECT COUNT(capital) FROM table_1404456_1 WHERE population_census_2009 = 284657 |
Below is an context that describes a sql 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 (rank VARCHAR, points INTEGER)
### Question:
How much Rank has Points larger than 282.5?
### Answer:
SELECT COUNT(rank) FROM table_name_11 WHERE points > 282.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_9 (score INTEGER, to_par VARCHAR, player VARCHAR)
### Question:
What is the score when the to par was –5, for Peter Jacobsen?
### Answer:
SELECT SUM(score) FROM table_name_9 WHERE to_par = "–5" AND player = "peter jacobsen" |
Below is an context that describes a sql 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 (partner VARCHAR, surface VARCHAR, score VARCHAR)
### Question:
What is Partner, when Surface is Hard, and when Score is 6–3, 7–6(0)?
### Answer:
SELECT partner FROM table_name_94 WHERE surface = "hard" AND score = "6–3, 7–6(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_70 (winner VARCHAR, distance VARCHAR)
### Question:
Who was the winner of the race that had a distance of 175.6km?
### Answer:
SELECT winner FROM table_name_70 WHERE distance = "175.6km" |
Below is an context that describes a sql 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 (record VARCHAR, time VARCHAR)
### Question:
Which record has 4:14 as the time?
### Answer:
SELECT record FROM table_name_94 WHERE time = "4:14" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2071644_2 (weight__kg_m_ VARCHAR, cross_section_area__cm_2__ VARCHAR)
### Question:
If the cross-section area is 21.2, what is the weight?
### Answer:
SELECT weight__kg_m_ FROM table_2071644_2 WHERE cross_section_area__cm_2__ = "21.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_26 (type VARCHAR, quantity VARCHAR)
### Question:
What type has 5 as the quantity?
### Answer:
SELECT type FROM table_name_26 WHERE quantity = 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_16 (champs INTEGER, draw VARCHAR, games VARCHAR)
### Question:
Which Champs is the average one that has a Draw larger than 2, and Games smaller than 60?
### Answer:
SELECT AVG(champs) FROM table_name_16 WHERE draw > 2 AND games < 60 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1506950_4 (score INTEGER)
### Question:
What is the worst (highest) score?
### Answer:
SELECT MAX(score) FROM table_1506950_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_95 (draws INTEGER, position VARCHAR, played VARCHAR)
### Question:
Tell me the sum of draws for position less than 15 with played more than 38
### Answer:
SELECT SUM(draws) FROM table_name_95 WHERE position < 15 AND played > 38 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_67 (opponent VARCHAR, record VARCHAR)
### Question:
Who was the opponent at the game when the record was 71-78?
### Answer:
SELECT opponent FROM table_name_67 WHERE record = "71-78" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22756549_1 (party VARCHAR, margin VARCHAR)
### Question:
What party won with a margin of 105731?
### Answer:
SELECT party FROM table_22756549_1 WHERE margin = 105731 |
Below is an context that describes a sql 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 (weight__kg_ INTEGER, manufacturer VARCHAR, model VARCHAR)
### Question:
Which Weight (kg) has a Manufacturer of fujitsu, and a Model of lifebook p1610?
### Answer:
SELECT AVG(weight__kg_) FROM table_name_67 WHERE manufacturer = "fujitsu" AND model = "lifebook p1610" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1756264_2 (subsidiaries INTEGER, company_name VARCHAR)
### Question:
How many subsidiaries are there of Postermobile Advertising Limited?
### Answer:
SELECT MIN(subsidiaries) FROM table_1756264_2 WHERE company_name = "POSTERMOBILE ADVERTISING LIMITED" |
Below is an context that describes a sql 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 (crowd INTEGER, home_team VARCHAR)
### Question:
How many people attended games with st kilda as the home side?
### Answer:
SELECT SUM(crowd) FROM table_name_57 WHERE home_team = "st kilda" |
Below is an context that describes a sql 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 (casualties VARCHAR, location VARCHAR)
### Question:
Name the casualities for kabul area
### Answer:
SELECT casualties FROM table_name_74 WHERE location = "kabul area" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24837750_1 (installed_capacity__mw_ VARCHAR, county VARCHAR)
### Question:
How much capacity was installed in Wheatland?
### Answer:
SELECT installed_capacity__mw_ FROM table_24837750_1 WHERE county = "Wheatland" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_78 (competition VARCHAR, score VARCHAR)
### Question:
What competition had a score of 8-1?
### Answer:
SELECT competition FROM table_name_78 WHERE score = "8-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_11803648_17 (round INTEGER, position VARCHAR)
### Question:
WHAT ROUND WAS FORWARD ANDRE PETERSSON SELECTED?
### Answer:
SELECT MIN(round) FROM table_11803648_17 WHERE position = "Forward" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17058116_6 (record VARCHAR, team VARCHAR)
### Question:
How many times did the team play charlotte?
### Answer:
SELECT COUNT(record) FROM table_17058116_6 WHERE team = "Charlotte" |
Below is an context that describes a sql 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 (mintage INTEGER, year VARCHAR, artist VARCHAR, issue_price VARCHAR)
### Question:
What is the lowest Mintage for the Artist Royal Canadian Mint Engravers, in the Year 2009, with an Issue Price of $10,199.95?
### Answer:
SELECT MIN(mintage) FROM table_name_9 WHERE artist = "royal canadian mint engravers" AND issue_price = "$10,199.95" AND year > 2009 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Activity (activity_name VARCHAR, actid VARCHAR); CREATE TABLE Faculty (facID VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE Faculty_participates_in (facID VARCHAR, actid VARCHAR)
### Question:
Show the names of all the activities Mark Giuliano participates in.
### Answer:
SELECT T3.activity_name FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID = T2.facID JOIN Activity AS T3 ON T3.actid = T2.actid WHERE T1.fname = "Mark" AND T1.lname = "Giuliano" |
Below is an context that describes a sql 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 (tie_no VARCHAR, home_team VARCHAR)
### Question:
Which Tie is from everton?
### Answer:
SELECT tie_no FROM table_name_89 WHERE home_team = "everton" |
Below is an context that describes a sql 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 (result VARCHAR, location VARCHAR)
### Question:
What is the Result with a Location of brussels?
### Answer:
SELECT COUNT(result) FROM table_name_96 WHERE location = "brussels" |
Below is an context that describes a sql 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 (county VARCHAR, mascot VARCHAR)
### Question:
What counties mascot are the Red Ramblers?
### Answer:
SELECT county FROM table_name_85 WHERE mascot = "red ramblers" |
Below is an context that describes a sql 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 (winning_score VARCHAR, date VARCHAR)
### Question:
For the tournament played on 16 Jan 2011, what was the winning score?
### Answer:
SELECT winning_score FROM table_name_21 WHERE date = "16 jan 2011" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_12 (total INTEGER, country VARCHAR, player VARCHAR)
### Question:
Which Total has a Country of united states, and a Player of andy north?
### Answer:
SELECT AVG(total) FROM table_name_12 WHERE country = "united states" AND player = "andy 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_44 (team_c VARCHAR, team_e VARCHAR)
### Question:
Who is team c when dhez javier is team e?
### Answer:
SELECT team_c FROM table_name_44 WHERE team_e = "dhez javier" |
Below is an context that describes a sql 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 (away_captain VARCHAR, venue VARCHAR)
### Question:
Who was the away captain for matches played at Trent Bridge?
### Answer:
SELECT away_captain FROM table_name_81 WHERE venue = "trent bridge" |
Below is an context that describes a sql 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 (tournament VARCHAR, surface VARCHAR, date VARCHAR)
### Question:
What tournament took place on July 17, 2005, with a clay surface?
### Answer:
SELECT tournament FROM table_name_70 WHERE surface = "clay" AND date = "july 17, 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_19249824_1 (song VARCHAR, result VARCHAR, country VARCHAR)
### Question:
With the country of Sweden and the result is out, what is the song?
### Answer:
SELECT song FROM table_19249824_1 WHERE result = "Out" AND country = "Sweden" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_42 (date VARCHAR, opposing_teams VARCHAR, status VARCHAR, venue VARCHAR)
### Question:
When Status of five nations, and a Venue of twickenham , london, and a Opposing Teams of ireland are in?
### Answer:
SELECT date FROM table_name_42 WHERE status = "five nations" AND venue = "twickenham , london" AND opposing_teams = "ireland" |
Subsets and Splits