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_21 (name VARCHAR, length__ft_ VARCHAR)
### Question:
Who has a length of 71 ft?
### Answer:
SELECT name FROM table_name_21 WHERE length__ft_ = 71 |
Below is an context that describes a sql 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 (college VARCHAR, pba_team VARCHAR)
### Question:
What is the College of the Player from San Miguel Beermen PBA Team?
### Answer:
SELECT college FROM table_name_31 WHERE pba_team = "san miguel beermen" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28498999_4 (to_par VARCHAR, winnings__$_ VARCHAR)
### Question:
What is the to par for the winnings of 232500?
### Answer:
SELECT to_par FROM table_28498999_4 WHERE winnings__$_ = 232500 |
Below is an context that describes a sql 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 (college_junior_club_team__league_ VARCHAR, position VARCHAR, player VARCHAR)
### Question:
What is the college/junior/club team (league) of left wing Ondrej Roman?
### Answer:
SELECT college_junior_club_team__league_ FROM table_name_62 WHERE position = "left wing" AND player = "ondrej roman" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29302781_12 (semifinalists VARCHAR, runner_up VARCHAR)
### Question:
Who were the semifinalists when the runner-up was Peter Feigl?
### Answer:
SELECT semifinalists FROM table_29302781_12 WHERE runner_up = "Peter Feigl" |
Below is an context that describes a sql 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 (original_team VARCHAR, background VARCHAR)
### Question:
What is the Original Team of the Clothing Company Owner Candidate?
### Answer:
SELECT original_team FROM table_name_37 WHERE background = "clothing company owner" |
Below is an context that describes a sql 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 (college VARCHAR, pick VARCHAR)
### Question:
What is the college pick for 213?
### Answer:
SELECT college FROM table_name_23 WHERE pick = 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_48 (score VARCHAR, home VARCHAR, record VARCHAR)
### Question:
What is the Score of the game with the New York Rangers Home team with a Record of 8–27–5?
### Answer:
SELECT score FROM table_name_48 WHERE home = "new york rangers" AND record = "8–27–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_88 (top_5 INTEGER, cuts_made VARCHAR, events VARCHAR)
### Question:
Which Top-5 is the lowest one that has Cuts made of 10, and Events larger than 10?
### Answer:
SELECT MIN(top_5) FROM table_name_88 WHERE cuts_made = 10 AND events > 10 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_79 (championship VARCHAR, score_in_the_final VARCHAR)
### Question:
Which championship had a score in the final of 3–6, 6–4, 5–7?
### Answer:
SELECT championship FROM table_name_79 WHERE score_in_the_final = "3–6, 6–4, 5–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_67 (lost INTEGER, points INTEGER)
### Question:
How few losses were the least number of losses and points higher than 23?
### Answer:
SELECT MIN(lost) FROM table_name_67 WHERE points > 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_44 (position VARCHAR, a_score INTEGER)
### Question:
what is the position for the competitor that has a score more than 7
### Answer:
SELECT position FROM table_name_44 WHERE a_score > 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_11 (long INTEGER, gain VARCHAR, avg_g VARCHAR)
### Question:
How many longs have a gain less than 379, and 0.8 as an avg/g?
### Answer:
SELECT SUM(long) FROM table_name_11 WHERE gain < 379 AND avg_g = 0.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 representative (Party VARCHAR)
### Question:
What parties have at least three representatives?
### Answer:
SELECT Party FROM representative GROUP BY Party HAVING COUNT(*) >= 3 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_33 (score VARCHAR, game VARCHAR)
### Question:
What was the score of Game 48?
### Answer:
SELECT score FROM table_name_33 WHERE game = 48 |
Below is an context that describes a sql 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 (country VARCHAR, score VARCHAR)
### Question:
What is the country with a 76-68=144 score?
### Answer:
SELECT country FROM table_name_21 WHERE score = 76 - 68 = 144 |
Below is an context that describes a sql 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 (year_made VARCHAR, class VARCHAR)
### Question:
What year was class of undine?
### Answer:
SELECT year_made FROM table_name_67 WHERE class = "undine" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17120964_8 (venue VARCHAR, man_of_the_match VARCHAR)
### Question:
What is the venue of the game with Man of the Match Vaclav Zavoral?
### Answer:
SELECT venue FROM table_17120964_8 WHERE man_of_the_match = "Vaclav Zavoral" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17323092_7 (high_points VARCHAR, location_attendance VARCHAR)
### Question:
How many players had high points in the location/attendance FedexForum 11,498 respectively?
### Answer:
SELECT COUNT(high_points) FROM table_17323092_7 WHERE location_attendance = "FedExForum 11,498" |
Below is an context that describes a sql 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 (home VARCHAR, record VARCHAR)
### Question:
Which home had a record of 2-4?
### Answer:
SELECT home FROM table_name_73 WHERE record = "2-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 authorship (authid VARCHAR, paperid VARCHAR, instid VARCHAR, authorder VARCHAR); CREATE TABLE authors (authid VARCHAR, lname VARCHAR); CREATE TABLE papers (title VARCHAR, paperid VARCHAR); CREATE TABLE inst (instid VARCHAR, country VARCHAR)
### Question:
Which paper is published in an institution in "USA" and have "Turon" as its second author?
### Answer:
SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid JOIN inst AS t4 ON t2.instid = t4.instid WHERE t4.country = "USA" AND t2.authorder = 2 AND t1.lname = "Turon" |
Below is an context that describes a sql 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 (team VARCHAR, kitmaker VARCHAR, shirt_sponsor VARCHAR)
### Question:
Which team uses the kitmaker Saller and has Krombacher as their shirt sponsor?
### Answer:
SELECT team FROM table_name_73 WHERE kitmaker = "saller" AND shirt_sponsor = "krombacher" |
Below is an context that describes a sql 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 (number INTEGER, college VARCHAR)
### Question:
What is the lowest Number, when College is "University of Alabama"?
### Answer:
SELECT MIN(number) FROM table_name_48 WHERE college = "university of 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_73 (distance VARCHAR, stage VARCHAR)
### Question:
What's the distance of the course of stage 4?
### Answer:
SELECT distance FROM table_name_73 WHERE stage = "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_15 (outcome VARCHAR, score_in_the_final VARCHAR, date VARCHAR)
### Question:
Name the Outcome which has a Score in the final of 4–6, 4–6 on october 21, 1990?
### Answer:
SELECT outcome FROM table_name_15 WHERE score_in_the_final = "4–6, 4–6" AND date = "october 21, 1990" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_1 (servedby VARCHAR, station VARCHAR, local_authority_ VARCHAR, a_ VARCHAR)
### Question:
Which Servedby has a Local authority [a ] of thurrock, and a Station of ockendon?
### Answer:
SELECT servedby FROM table_name_1 WHERE local_authority_[a_] = "thurrock" AND station = "ockendon" |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
What was 2002, when 2011 was, "atp masters series"?
### Answer:
SELECT 2002 FROM table_name_71 WHERE 2011 = "atp masters series" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_17 (crowd VARCHAR, venue VARCHAR)
### Question:
How many people came to the game at Victoria Park?
### Answer:
SELECT COUNT(crowd) FROM table_name_17 WHERE venue = "victoria park" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18328569_1 (new_entries_this_round VARCHAR, winners_from_previous_round VARCHAR)
### Question:
How many new entries started in the round where winners from the previous round is 16?
### Answer:
SELECT new_entries_this_round FROM table_18328569_1 WHERE winners_from_previous_round = "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_19418696_3 (qb_rating VARCHAR, completions VARCHAR)
### Question:
How many QB ratings for the player with 1069 completions?
### Answer:
SELECT COUNT(qb_rating) FROM table_19418696_3 WHERE completions = 1069 |
Below is an context that describes a sql 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 (finish VARCHAR, year INTEGER)
### Question:
Give the Finish for years after 2007.
### Answer:
SELECT finish FROM table_name_42 WHERE year > 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 match_season (POSITION VARCHAR, College VARCHAR)
### Question:
Show the distinct position of players from college UCLA or Duke.
### Answer:
SELECT DISTINCT POSITION FROM match_season WHERE College = "UCLA" OR College = "Duke" |
Below is an context that describes a sql 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 (winning_score VARCHAR, runner_s__up VARCHAR)
### Question:
What is Winning Score, when Runner(s)-up is Ted Purdy?
### Answer:
SELECT winning_score FROM table_name_37 WHERE runner_s__up = "ted purdy" |
Below is an context that describes a sql 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 (competition_finish INTEGER, average VARCHAR, number_of_dances VARCHAR)
### Question:
Name the greatest competition finish with average more than 32.9 and number of dances more than 16
### Answer:
SELECT MAX(competition_finish) FROM table_name_4 WHERE average > 32.9 AND number_of_dances > 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_32 (notes VARCHAR, venue VARCHAR)
### Question:
What were the notes in Toronto, Canada?
### Answer:
SELECT notes FROM table_name_32 WHERE venue = "toronto, 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_58 (team__number1 VARCHAR)
### Question:
What is 1st Leg, when Team #1 is "San Lorenzo"?
### Answer:
SELECT 1 AS st_leg FROM table_name_58 WHERE team__number1 = "san lorenzo" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2192067_4 (reason_for_change VARCHAR, date_successor_seated VARCHAR)
### Question:
what is the total number of reasons for change where the date the successor was seated is june 8, 1876?
### Answer:
SELECT COUNT(reason_for_change) FROM table_2192067_4 WHERE date_successor_seated = "June 8, 1876" |
Below is an context that describes a sql 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 (date VARCHAR, week VARCHAR)
### Question:
What day did the team play on week 8?
### Answer:
SELECT date FROM table_name_55 WHERE week = 8 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_36 (high_rebounds VARCHAR, date VARCHAR)
### Question:
Who had the high rebounds on February 24?
### Answer:
SELECT high_rebounds FROM table_name_36 WHERE date = "february 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_201400_2 (malayalam_name_മലയാളം VARCHAR, sanskrit VARCHAR)
### Question:
what is the malayalam name മലയാളം of sanskrit uttarāṣāḍha उत्तराषाढा
### Answer:
SELECT malayalam_name_മലയാളം FROM table_201400_2 WHERE sanskrit = "Uttarāṣāḍha उत्तराषाढा" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26593762_2 (chairman VARCHAR, manager VARCHAR)
### Question:
Who is the chairman of Mark Robins team?
### Answer:
SELECT chairman FROM table_26593762_2 WHERE manager = "Mark Robins" |
Below is an context that describes a sql 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 (score VARCHAR, place VARCHAR, nation VARCHAR)
### Question:
What was the score in a place of t5 in the United States?
### Answer:
SELECT score FROM table_name_25 WHERE place = "t5" AND nation = "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_1697190_2 (earnings___ INTEGER)
### Question:
what was Casey Martin's minimum yearly earnings?
### Answer:
SELECT MIN(earnings___) AS $__ FROM table_1697190_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_13 (power VARCHAR, name VARCHAR)
### Question:
what is the power when the name is 1.2 16v lpg?
### Answer:
SELECT power FROM table_name_13 WHERE name = "1.2 16v lpg" |
Below is an context that describes a sql 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 (height VARCHAR, date_of_birth VARCHAR)
### Question:
How tall is the person born on 1976-12-27?
### Answer:
SELECT height FROM table_name_2 WHERE date_of_birth = "1976-12-27" |
Below is an context that describes a sql 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 (week INTEGER, attendance VARCHAR, result VARCHAR)
### Question:
What is the Week of the game with an Attendance of 64,900 and a Result of L 34-13?
### Answer:
SELECT MAX(week) FROM table_name_83 WHERE attendance = "64,900" AND result = "l 34-13" |
Below is an context that describes a sql 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 (valvetrain VARCHAR, fuel_system VARCHAR)
### Question:
What Valvetrain has a fuel system made up of petrol engines?
### Answer:
SELECT valvetrain FROM table_name_77 WHERE fuel_system = "petrol engines" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_18 (score VARCHAR, loss VARCHAR)
### Question:
What was the score when the game has a loss of Lary (10-12)?
### Answer:
SELECT score FROM table_name_18 WHERE loss = "lary (10-12)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_51 (crowd INTEGER, venue VARCHAR)
### Question:
What is the highest crowd at windy hill?
### Answer:
SELECT MAX(crowd) FROM table_name_51 WHERE venue = "windy hill" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_24 (game INTEGER, attendance VARCHAR, points VARCHAR, date VARCHAR)
### Question:
What is the highest value for Game, when Points is 16, when Date is November 11, 2008, and when Attendance is greater than 19,289?
### Answer:
SELECT MAX(game) FROM table_name_24 WHERE points = 16 AND date = "november 11, 2008" AND attendance > 19 OFFSET 289 |
Below is an context that describes a sql 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 (rank VARCHAR, total INTEGER)
### Question:
Name the total number of ranks when total is less than 1
### Answer:
SELECT COUNT(rank) FROM table_name_76 WHERE total < 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23316034_16 (player VARCHAR, innings VARCHAR)
### Question:
What is the name of the player if the innings is 82?
### Answer:
SELECT player FROM table_23316034_16 WHERE innings = 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_name_46 (run_4 VARCHAR, athletes VARCHAR)
### Question:
Which Run 4 has Athletes of hubert stevens & curtis stevens?
### Answer:
SELECT run_4 FROM table_name_46 WHERE athletes = "hubert stevens & curtis stevens" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16741821_8 (result VARCHAR, surface VARCHAR, against VARCHAR)
### Question:
WHAT WERE ALL OF THE RESULTS WHEN THEY PLAYED AGAINST LITHUANIA AND THE SURFACE WAS MADE OF CLAY?
### Answer:
SELECT result FROM table_16741821_8 WHERE surface = "Clay" AND against = "Lithuania" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20217456_7 (rl_süd__1st_ VARCHAR, rl_südwest__1st_ VARCHAR)
### Question:
Who was RL Süd (1st) when FK Pirmasens was RL Südwest (1st)?
### Answer:
SELECT rl_süd__1st_ FROM table_20217456_7 WHERE rl_südwest__1st_ = "FK Pirmasens" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR)
### Question:
Find the names of customers who never placed an order.
### Answer:
SELECT customer_name FROM customers EXCEPT SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id |
Below is an context that describes a sql 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 (date VARCHAR, attendance VARCHAR)
### Question:
On what date was the crowd size of 71,789?
### Answer:
SELECT date FROM table_name_35 WHERE attendance = "71,789" |
Below is an context that describes a sql 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 (time VARCHAR, date VARCHAR, loss VARCHAR)
### Question:
What is the Time on july 18 that has a Loss of lilly (3-3)?
### Answer:
SELECT time FROM table_name_34 WHERE date = "july 18" AND loss = "lilly (3-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_1569516_1 (destination VARCHAR, service_pattern VARCHAR)
### Question:
Where is the service pattern sydenham then fast to norwood junction?
### Answer:
SELECT destination FROM table_1569516_1 WHERE service_pattern = "Sydenham then fast to Norwood Junction" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_50 (attendance INTEGER, date VARCHAR)
### Question:
How many attended the game on April 17?
### Answer:
SELECT SUM(attendance) FROM table_name_50 WHERE date = "april 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_16028499_2 (attendance INTEGER, opponent VARCHAR)
### Question:
What was the minimum attendance against the New Orleans Saints?
### Answer:
SELECT MIN(attendance) FROM table_16028499_2 WHERE opponent = "New Orleans Saints" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_81 (Id VARCHAR)
### Question:
Which 2011 is the lowest one that has a 1948 smaller than 15872624, and a 1966 of 263103, and a 1992 larger than 266308?
### Answer:
SELECT MIN(2011) FROM table_name_81 WHERE 1948 < 15872624 AND 1966 = 263103 AND 1992 > 266308 |
Below is an context that describes a sql 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 (venue VARCHAR, away_team VARCHAR)
### Question:
Which venue has a Away team of hawthorn?
### Answer:
SELECT venue FROM table_name_76 WHERE away_team = "hawthorn" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1305623_18 (gold_medals VARCHAR, silver_medals INTEGER)
### Question:
what are all the gold medals when the silver medals is smaller than 1.0?
### Answer:
SELECT gold_medals FROM table_1305623_18 WHERE silver_medals < 1.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_58 (bronze INTEGER, rank VARCHAR, total VARCHAR, silver VARCHAR)
### Question:
What is the average number of bronze medals associated with 0 silver, 1 total, and ranks over 16?
### Answer:
SELECT AVG(bronze) FROM table_name_58 WHERE total = 1 AND silver = 0 AND rank > 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_19763199_4 (result VARCHAR, artist VARCHAR)
### Question:
What is Salva Ortega's result?
### Answer:
SELECT result FROM table_19763199_4 WHERE artist = "Salva Ortega" |
Below is an context that describes a sql 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, position VARCHAR, pick VARCHAR)
### Question:
What is Player, when Position is "SS", and when Pick is "11"?
### Answer:
SELECT player FROM table_name_61 WHERE position = "ss" AND pick = 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_2203760_4 (domestic_box_office VARCHAR, film VARCHAR)
### Question:
What was the domestic box office for "House on Haunted Hill"?
### Answer:
SELECT domestic_box_office FROM table_2203760_4 WHERE film = "House on Haunted Hill" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_60 (lane INTEGER, athlete VARCHAR, react VARCHAR, rank VARCHAR, time VARCHAR)
### Question:
Which Lane has a Rank larger than 3, and a Time larger than 45.63, and a Reaction smaller than 0.28800000000000003, and an Athlete of geiner mosquera?
### Answer:
SELECT MAX(lane) FROM table_name_60 WHERE rank > 3 AND time > 45.63 AND react < 0.28800000000000003 AND athlete = "geiner mosquera" |
Below is an context that describes a sql 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 VARCHAR, pole_position VARCHAR)
### Question:
What race has a Pole Position of Jacques Laffite?
### Answer:
SELECT race FROM table_name_25 WHERE pole_position = "jacques laffite" |
Below is an context that describes a sql 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 (years VARCHAR, roll VARCHAR, decile VARCHAR)
### Question:
Name the Years of schools with a Roll Larger than 23 and a Decile greater than 5.
### Answer:
SELECT years FROM table_name_27 WHERE roll > 23 AND decile > 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_14 (date VARCHAR, to_par VARCHAR, tournament VARCHAR, margin_of_victory VARCHAR)
### Question:
Which Date has a Tournament of at&t pebble beach national pro-am, and a Margin of victory of 1 stroke, and a To par of –11?
### Answer:
SELECT date FROM table_name_14 WHERE tournament = "at&t pebble beach national pro-am" AND margin_of_victory = "1 stroke" AND to_par = "–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_44 (Id VARCHAR)
### Question:
What is 2012, when 2009 is "A"?
### Answer:
SELECT 2012 FROM table_name_44 WHERE 2009 = "a" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_29 (grid INTEGER, driver VARCHAR)
### Question:
What was the smallest grid for Prince bira?
### Answer:
SELECT MIN(grid) FROM table_name_29 WHERE driver = "prince bira" |
Below is an context that describes a sql 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 (entrant VARCHAR, year VARCHAR, engine VARCHAR)
### Question:
What entrant has a year earlier than 1960 and a veritas straight-6 engine?
### Answer:
SELECT entrant FROM table_name_77 WHERE year < 1960 AND engine = "veritas straight-6" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_99 (grid INTEGER, laps VARCHAR, constructor VARCHAR, driver VARCHAR)
### Question:
What is the highest grid value with constructor Mclaren - Mercedes, driver David Coulthard, and has fewer than 66 laps?
### Answer:
SELECT MAX(grid) FROM table_name_99 WHERE constructor = "mclaren - mercedes" AND driver = "david coulthard" AND laps < 66 |
Below is an context that describes a sql 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 (label VARCHAR, format VARCHAR, edition_s_ VARCHAR)
### Question:
Tell me the label for digital download for bonus tracks version
### Answer:
SELECT label FROM table_name_39 WHERE format = "digital download" AND edition_s_ = "bonus tracks 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_14 (date VARCHAR, game VARCHAR)
### Question:
What was the date for game 13?
### Answer:
SELECT date FROM table_name_14 WHERE game = "13" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28498999_4 (country VARCHAR, player VARCHAR)
### Question:
What country is charley hoffman from?
### Answer:
SELECT country FROM table_28498999_4 WHERE player = "Charley Hoffman" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10236830_6 (nomination VARCHAR, film_name VARCHAR)
### Question:
Which nominations was the film 27 Stolen Kisses nominated for?
### Answer:
SELECT nomination FROM table_10236830_6 WHERE film_name = "27 Stolen Kisses" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_29 (time_retired VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR)
### Question:
What is the time/retired for phil hill with over 67 laps and a grad smaller than 18?
### Answer:
SELECT time_retired FROM table_name_29 WHERE laps > 67 AND grid < 18 AND driver = "phil hill" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_64 (Id VARCHAR)
### Question:
Name the 2011 for 2010 of olympic games
### Answer:
SELECT 2011 FROM table_name_64 WHERE 2010 = "olympic games" |
Below is an context that describes a sql 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 (played INTEGER, position VARCHAR, drawn VARCHAR)
### Question:
What is the lowest number played with a position of 6 and less than 1 draw?
### Answer:
SELECT MIN(played) FROM table_name_89 WHERE position = 6 AND drawn < 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_14 (place VARCHAR, player VARCHAR, country VARCHAR, score VARCHAR)
### Question:
What is Place, when Score is 72-72=144, when Country is United States, and when Player is Scott McCarron?
### Answer:
SELECT place FROM table_name_14 WHERE score = 72 - 72 = 144 AND country = "united states" AND player = "scott mccarron" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE airport (country VARCHAR)
### Question:
which countries have more than 2 airports?
### Answer:
SELECT country FROM airport GROUP BY country HAVING COUNT(*) > 2 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_88 (penalties VARCHAR, pim VARCHAR)
### Question:
What penalties has P.I.M. of 34.5?
### Answer:
SELECT penalties FROM table_name_88 WHERE pim = "34.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_62 (points VARCHAR, year INTEGER)
### Question:
with year greater than 1988 what is the total number of points?
### Answer:
SELECT COUNT(points) FROM table_name_62 WHERE year > 1988 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1831262_2 (hydroxymatairesinol VARCHAR, sesamin VARCHAR)
### Question:
what is the number of hydroxymatairesinol where sesamin is 62724?
### Answer:
SELECT hydroxymatairesinol FROM table_1831262_2 WHERE sesamin = "62724" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_30058355_7 (fri_26_aug VARCHAR, wed_24_aug VARCHAR)
### Question:
What is every entry for Friday August 26 when the entry for Wednesday August 24 is 23' 52.67 94.807mph?
### Answer:
SELECT fri_26_aug FROM table_30058355_7 WHERE wed_24_aug = "23' 52.67 94.807mph" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21550897_1 (production_code INTEGER, us_viewers__million_ VARCHAR)
### Question:
What is the production code for the episode that had 9.18 million viewers (U.S.)?
### Answer:
SELECT MAX(production_code) FROM table_21550897_1 WHERE us_viewers__million_ = "9.18" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_46 (date VARCHAR, opponents VARCHAR)
### Question:
Tell me the date for opponents of raffaella bindi biljana pawlowa-dimitrova
### Answer:
SELECT date FROM table_name_46 WHERE opponents = "raffaella bindi biljana pawlowa-dimitrova" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17862135_3 (average VARCHAR, couple VARCHAR)
### Question:
What is average for Cody & Julianne?
### Answer:
SELECT average FROM table_17862135_3 WHERE couple = "Cody & Julianne" |
Below is an context that describes a sql 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 (score VARCHAR, home VARCHAR, date VARCHAR)
### Question:
What's the score for Toronto Maple Leafs on November 10?
### Answer:
SELECT score FROM table_name_49 WHERE home = "toronto maple leafs" AND date = "november 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_47 (kaz_hayashi VARCHAR, block_a VARCHAR)
### Question:
Name the kaz hayashi with block A of Shuji Kondo
### Answer:
SELECT kaz_hayashi FROM table_name_47 WHERE block_a = "shuji kondo" |
Below is an context that describes a sql 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 (issue_date_s_ VARCHAR, artist VARCHAR)
### Question:
When was the song by Andy Gibb issued?
### Answer:
SELECT issue_date_s_ FROM table_name_44 WHERE artist = "andy gibb" |
Below is an context that describes a sql 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 (pos VARCHAR, year VARCHAR)
### Question:
What was the position in 1997?
### Answer:
SELECT pos FROM table_name_35 WHERE year = 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_85 (position VARCHAR, competition VARCHAR)
### Question:
What Position has a Super League 1 Competition?
### Answer:
SELECT position FROM table_name_85 WHERE competition = "super league 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_2 (Id VARCHAR)
### Question:
Name the 2001 with 2007 of sf
### Answer:
SELECT 2001 FROM table_name_2 WHERE 2007 = "sf" |
Below is an context that describes a sql 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 (position VARCHAR, against VARCHAR, played VARCHAR)
### Question:
How many positions have an against of less than 27, and a played number of less than 8?
### Answer:
SELECT COUNT(position) FROM table_name_59 WHERE against < 27 AND played < 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_82 (tournament VARCHAR, outcome VARCHAR, partner VARCHAR)
### Question:
Partner Aurelija Misevičiūtė had an outcome of runner-up in what tournament?
### Answer:
SELECT tournament FROM table_name_82 WHERE outcome = "runner-up" AND partner = "aurelija misevičiūtė" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.