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_21501565_1 (original_artist VARCHAR, theme VARCHAR)
### Question:
Who is the original artist with a theme of N/A?
### Answer:
SELECT original_artist FROM table_21501565_1 WHERE theme = "N/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_27715173_6 (record VARCHAR, date VARCHAR)
### Question:
How many records are there for the game on november 24?
### Answer:
SELECT COUNT(record) FROM table_27715173_6 WHERE date = "November 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_28 (losses VARCHAR, goals_against VARCHAR, wins VARCHAR)
### Question:
what is the number of losses with wins less than 4 and goals against more than 39?
### Answer:
SELECT COUNT(losses) FROM table_name_28 WHERE goals_against > 39 AND wins < 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_94 (career VARCHAR, average VARCHAR, player VARCHAR)
### Question:
What years did Tymerlan Huseynov, whose average is larger than 0.361, play?
### Answer:
SELECT career FROM table_name_94 WHERE average > 0.361 AND player = "tymerlan huseynov" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27932399_1 (catalogue_number VARCHAR, release_date VARCHAR, artist VARCHAR)
### Question:
What is the catalogue number for release dates of exactly 2005 and released by The Clear Spots?
### Answer:
SELECT catalogue_number FROM table_27932399_1 WHERE release_date = 2005 AND artist = "The Clear Spots" |
Below is an context that describes a sql 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_in_the_final VARCHAR, tournament VARCHAR, outcome VARCHAR, surface VARCHAR)
### Question:
What is Opponent In The Final, when Outcome is "Winner", when Surface is "Carpet (I)", and when Tournament is "Lyon, France"?
### Answer:
SELECT opponent_in_the_final FROM table_name_67 WHERE outcome = "winner" AND surface = "carpet (i)" AND tournament = "lyon, france" |
Below is an context that describes a sql 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 (date VARCHAR, away_team VARCHAR)
### Question:
What is the Date for the Away team University?
### Answer:
SELECT date FROM table_name_73 WHERE away_team = "university" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_73 (final VARCHAR, event VARCHAR)
### Question:
What is the final result for the 63.5 kg?
### Answer:
SELECT final FROM table_name_73 WHERE event = "63.5 kg" |
Below is an context that describes a sql 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 (round VARCHAR, player VARCHAR, pick VARCHAR)
### Question:
What is the total number of rounds that had draft pick 97, duncan mccoll?
### Answer:
SELECT COUNT(round) FROM table_name_62 WHERE player = "duncan mccoll" AND pick < 97 |
Below is an context that describes a sql 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 (country VARCHAR, wins INTEGER)
### Question:
Which Country has a number of Wins larger than 2?
### Answer:
SELECT country FROM table_name_71 WHERE wins > 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_62 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
### Question:
What was the time when the laps were smaller than 66 and the grid was 15?
### Answer:
SELECT time_retired FROM table_name_62 WHERE laps < 66 AND grid = 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_6 (against VARCHAR, opposing_teams VARCHAR, status VARCHAR, venue VARCHAR)
### Question:
What's the total against for opposing team scotland at twickenham, london venue with a status of five nations?
### Answer:
SELECT COUNT(against) FROM table_name_6 WHERE status = "five nations" AND venue = "twickenham, london" AND opposing_teams = "scotland" |
Below is an context that describes a sql 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 (first_exercise INTEGER, second_exercise VARCHAR)
### Question:
What is the total for the first exercise and has 18 as the second exercise?
### Answer:
SELECT SUM(first_exercise) FROM table_name_2 WHERE second_exercise = 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_21795650_1 (points VARCHAR, series VARCHAR)
### Question:
What is the point total for the Formula Renault 2.0 Italy series?
### Answer:
SELECT COUNT(points) FROM table_21795650_1 WHERE series = "Formula Renault 2.0 Italy" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_3005915_3 (starts INTEGER)
### Question:
What is the maximum number of starts?
### Answer:
SELECT MAX(starts) FROM table_3005915_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_99 (geohash_length INTEGER, lat_error VARCHAR, lat_bits VARCHAR)
### Question:
What is the highest geohash length when the lat error is ±0.00068, and the lat bits larger than 17?
### Answer:
SELECT MAX(geohash_length) FROM table_name_99 WHERE lat_error = "±0.00068" AND lat_bits > 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_35 (team VARCHAR, driver VARCHAR)
### Question:
What team does jan heylen race for?
### Answer:
SELECT team FROM table_name_35 WHERE driver = "jan heylen" |
Below is an context that describes a sql 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 (round VARCHAR, pick__number VARCHAR)
### Question:
In what Round was Pick #12 drafted?
### Answer:
SELECT round FROM table_name_53 WHERE pick__number = 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_16 (gerb VARCHAR, attack VARCHAR)
### Question:
What GERB has an 11% Attack?
### Answer:
SELECT gerb FROM table_name_16 WHERE attack = "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_26 (overall INTEGER, name VARCHAR, round VARCHAR)
### Question:
Which Overall is the highest one that has a Name of daimon shelton, and a Round larger than 6?
### Answer:
SELECT MAX(overall) FROM table_name_26 WHERE name = "daimon shelton" AND round > 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_43 (player VARCHAR, school VARCHAR)
### Question:
What is the name of the player from Vanderbilt University?
### Answer:
SELECT player FROM table_name_43 WHERE school = "vanderbilt university" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341423_36 (first_elected VARCHAR, district VARCHAR)
### Question:
when was the first elected for districk oklahoma 1?
### Answer:
SELECT first_elected FROM table_1341423_36 WHERE district = "Oklahoma 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_83 (name VARCHAR, moving_to VARCHAR, nat VARCHAR, transfer_window VARCHAR)
### Question:
What is the name of the player who is Sco and moving to greenock morton in the summer?
### Answer:
SELECT name FROM table_name_83 WHERE nat = "sco" AND transfer_window = "summer" AND moving_to = "greenock morton" |
Below is an context that describes a sql 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 (date VARCHAR, week VARCHAR)
### Question:
What day did they play on week 4?
### Answer:
SELECT date FROM table_name_25 WHERE week = 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_4 (extra_points VARCHAR, touchdowns VARCHAR, field_goals VARCHAR)
### Question:
How many Extra points have Touchdowns larger than 2, and Field goals larger than 0?
### Answer:
SELECT COUNT(extra_points) FROM table_name_4 WHERE touchdowns > 2 AND field_goals > 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_19 (home_away VARCHAR, date VARCHAR)
### Question:
What home/away game is on February 29, 2008?
### Answer:
SELECT home_away FROM table_name_19 WHERE date = "february 29, 2008" |
Below is an context that describes a sql 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 (season VARCHAR, player VARCHAR, opponent VARCHAR)
### Question:
Which season did Tich Freeman play against opponent V Warwickshire?
### Answer:
SELECT season FROM table_name_62 WHERE player = "tich freeman" AND opponent = "v warwickshire" |
Below is an context that describes a sql 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 (muzzle_energy VARCHAR, source VARCHAR)
### Question:
What is Muzzle energy, when Source is hornady?
### Answer:
SELECT muzzle_energy FROM table_name_16 WHERE source = "hornady" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1137718_2 (rd INTEGER, location VARCHAR)
### Question:
Which rd. took place at Hockenheimring?
### Answer:
SELECT MIN(rd) FROM table_1137718_2 WHERE location = "Hockenheimring" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27712702_8 (record VARCHAR, date VARCHAR)
### Question:
What was the record on December 27?
### Answer:
SELECT record FROM table_27712702_8 WHERE date = "December 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_29 (player VARCHAR, to_par VARCHAR, country VARCHAR)
### Question:
WHAT IS TEH PLAYER WITH A TO PAR OF +1 FOR SCOTLAND?
### Answer:
SELECT player FROM table_name_29 WHERE to_par = "+1" AND country = "scotland" |
Below is an context that describes a sql 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 (orbital_regime VARCHAR, launches VARCHAR, failures VARCHAR)
### Question:
What is the orbital regime of launches greater than 4 and failures less than 2?
### Answer:
SELECT orbital_regime FROM table_name_76 WHERE launches > 4 AND failures < 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_11178271_1 (weekly_rank INTEGER, air_date VARCHAR)
### Question:
What is the lowest weekly rank with an air date of november 26, 2007?
### Answer:
SELECT MIN(weekly_rank) FROM table_11178271_1 WHERE air_date = "November 26, 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_11658094_3 (nickname VARCHAR, enrollment VARCHAR)
### Question:
What is the nickname of the school with an enrollment of 2386?
### Answer:
SELECT nickname FROM table_11658094_3 WHERE enrollment = 2386 |
Below is an context that describes a sql 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 (builder VARCHAR, date_ordered VARCHAR, tc VARCHAR, stl_no__1883_84_ VARCHAR)
### Question:
Who built the order on November 1881 of more than 54 TC&StL no. (1883–84)?
### Answer:
SELECT builder FROM table_name_6 WHERE tc & stl_no__1883_84_ > 54 AND date_ordered = "november 1881" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE customer (cust_name VARCHAR, cust_id VARCHAR); CREATE TABLE loan (cust_id VARCHAR)
### Question:
Find the the name of the customers who have a loan with amount more than 3000.
### Answer:
SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id WHERE amount > 3000 |
Below is an context that describes a sql 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 (result VARCHAR, game_site VARCHAR, week VARCHAR)
### Question:
What was the result for the game at Memorial Stadium in week 15?
### Answer:
SELECT result FROM table_name_24 WHERE game_site = "memorial stadium" AND week = 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_10 (laps INTEGER, grid VARCHAR, constructor VARCHAR, driver VARCHAR)
### Question:
Which entry has the highest laps of those with constructor Minardi - Fondmetal, driver Marc Gené, and a grid larger than 20?
### Answer:
SELECT MAX(laps) FROM table_name_10 WHERE constructor = "minardi - fondmetal" AND driver = "marc gené" AND grid > 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_23 (ratings VARCHAR, year VARCHAR)
### Question:
How many Ratings did the 2013 Year have?
### Answer:
SELECT ratings FROM table_name_23 WHERE year = 2013 |
Below is an context that describes a sql 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 (began_play VARCHAR, club VARCHAR)
### Question:
When did the Rochester Rhinos begin to play?
### Answer:
SELECT began_play FROM table_name_48 WHERE club = "rochester rhinos" |
Below is an context that describes a sql 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 (date VARCHAR, decision VARCHAR, visitor VARCHAR)
### Question:
What is the date with Ellis as the decision and St. Louis as the visitor?
### Answer:
SELECT date FROM table_name_27 WHERE decision = "ellis" AND visitor = "st. louis" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE people (People_ID VARCHAR, Height INTEGER); CREATE TABLE entrepreneur (Money_Requested INTEGER, People_ID VARCHAR)
### Question:
What is the total money requested by entrepreneurs with height more than 1.85?
### Answer:
SELECT SUM(T1.Money_Requested) FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T2.Height > 1.85 |
Below is an context that describes a sql 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 (score INTEGER, player VARCHAR, to_par VARCHAR, country VARCHAR)
### Question:
What is the score when To par was −3, in South Africa, for Richard Sterne?
### Answer:
SELECT AVG(score) FROM table_name_74 WHERE to_par = "−3" AND country = "south africa" AND player = "richard sterne" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_90 (date_final VARCHAR, year VARCHAR)
### Question:
What date final has 1989 as the year?
### Answer:
SELECT date_final FROM table_name_90 WHERE year = "1989" |
Below is an context that describes a sql 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 (album VARCHAR, record_label VARCHAR)
### Question:
What album was recorded by the rca label?
### Answer:
SELECT album FROM table_name_83 WHERE record_label = "rca" |
Below is an context that describes a sql 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 (year_completed INTEGER, dam_type VARCHAR, dam_constructed VARCHAR)
### Question:
Which Year completed has a Dam type of earthfill embankment, and a Dam constructed of khancoban dam?
### Answer:
SELECT MAX(year_completed) FROM table_name_25 WHERE dam_type = "earthfill embankment" AND dam_constructed = "khancoban dam" |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
What's the 2006 if there's less than 6.7 in 2007 and less than 3.4 in 2009?
### Answer:
SELECT SUM(2006) FROM table_name_46 WHERE 2007 < 6.7 AND 2009 < 3.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 (record VARCHAR, date VARCHAR)
### Question:
What was the record on May 21?
### Answer:
SELECT record FROM table_name_15 WHERE date = "may 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_87 (opponent VARCHAR, record VARCHAR)
### Question:
Who was the opponent when the Seattle Seahawks had a record of 8-7?
### Answer:
SELECT opponent FROM table_name_87 WHERE record = "8-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_85 (silver VARCHAR, total VARCHAR, bronze VARCHAR)
### Question:
what is the total silver when total is 30 and bronze is more than 10?
### Answer:
SELECT COUNT(silver) FROM table_name_85 WHERE total = 30 AND bronze > 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_92 (winning_pct INTEGER, wins VARCHAR, games_started VARCHAR, losses VARCHAR, ties VARCHAR)
### Question:
What is the highest winning pct from a team with wins less than 22, losses greater than 4, ties less than 2 and games started greater than 11?
### Answer:
SELECT MAX(winning_pct) FROM table_name_92 WHERE losses > 4 AND ties < 2 AND games_started > 11 AND wins < 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_22705586_1 (number INTEGER)
### Question:
Name the least number
### Answer:
SELECT MIN(number) FROM table_22705586_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_1682026_2 (company VARCHAR, market_value__billion_$_ VARCHAR)
### Question:
Which company has a market value of 147.4?
### Answer:
SELECT company FROM table_1682026_2 WHERE market_value__billion_$_ = "147.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_98 (class VARCHAR, league VARCHAR, school VARCHAR)
### Question:
What is the class of the Middletown High School team that is in the DSHA league?
### Answer:
SELECT class FROM table_name_98 WHERE league = "dsha" AND school = "middletown high school" |
Below is an context that describes a sql 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 (position VARCHAR, pick__number VARCHAR, affiliation VARCHAR)
### Question:
What position has UCLA pick that is larger than #47?
### Answer:
SELECT position FROM table_name_78 WHERE pick__number > 47 AND affiliation = "ucla" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1182314_5 (norwegian_americans__1980_ INTEGER, state VARCHAR)
### Question:
what is the minimum norwegian americans (1980) where state is rhode island
### Answer:
SELECT MIN(norwegian_americans__1980_) FROM table_1182314_5 WHERE state = "Rhode Island" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21436373_5 (date_year VARCHAR, type_of_record VARCHAR)
### Question:
For what year is the type of record 'total attendance-regular season?
### Answer:
SELECT date_year FROM table_21436373_5 WHERE type_of_record = "Total attendance-Regular season" |
Below is an context that describes a sql 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 (points INTEGER, year VARCHAR, class VARCHAR, rank VARCHAR)
### Question:
What is the sum of Points for 250cc class, ranked 13th, later than 1955?
### Answer:
SELECT SUM(points) FROM table_name_89 WHERE class = "250cc" AND rank = "13th" AND year > 1955 |
Below is an context that describes a sql 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 (series_2 VARCHAR, series_3 VARCHAR)
### Question:
Which Series 2 has a Series 3 of deborah meaden?
### Answer:
SELECT series_2 FROM table_name_35 WHERE series_3 = "deborah meaden" |
Below is an context that describes a sql 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 (league_goals INTEGER, total_apps VARCHAR)
### Question:
What are the average league goals that have 2 (1) as the total apps?
### Answer:
SELECT AVG(league_goals) FROM table_name_18 WHERE total_apps = "2 (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_8 (took_office INTEGER, district VARCHAR)
### Question:
Which Took Office has a District of 29?
### Answer:
SELECT AVG(took_office) FROM table_name_8 WHERE district = 29 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_45 (total INTEGER, to_par VARCHAR)
### Question:
what total was the lowest and had a to par of e?
### Answer:
SELECT MIN(total) FROM table_name_45 WHERE to_par = "e" |
Below is an context that describes a sql 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 (loss VARCHAR, date VARCHAR)
### Question:
Name the loss for may 1
### Answer:
SELECT loss FROM table_name_4 WHERE date = "may 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_27756314_10 (team VARCHAR, high_points VARCHAR)
### Question:
What is the team when the high points were by wesley johnson (20)?
### Answer:
SELECT team FROM table_27756314_10 WHERE high_points = "Wesley Johnson (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_21 (date VARCHAR, status VARCHAR, against VARCHAR)
### Question:
What date has a status of 1995 rugby world cup and an against of 20?
### Answer:
SELECT date FROM table_name_21 WHERE status = "1995 rugby world cup" AND against = 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_65 (caps INTEGER, name VARCHAR)
### Question:
Name of rivelino had how many highest caps?
### Answer:
SELECT MAX(caps) FROM table_name_65 WHERE name = "rivelino" |
Below is an context that describes a sql 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 (location VARCHAR, record VARCHAR)
### Question:
What was the location that led to a record of 9-0-0?
### Answer:
SELECT location FROM table_name_95 WHERE record = "9-0-0" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22879262_7 (high_rebounds VARCHAR, team VARCHAR)
### Question:
what is the total number of high rebounds for minnesota?
### Answer:
SELECT COUNT(high_rebounds) FROM table_22879262_7 WHERE team = "Minnesota" |
Below is an context that describes a sql 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 (player VARCHAR, place VARCHAR)
### Question:
What is Player, when Place is 2?
### Answer:
SELECT player FROM table_name_93 WHERE place = "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_82 (mountains_classification VARCHAR, stage VARCHAR, young_rider_classification VARCHAR, intergiro_classification VARCHAR)
### Question:
Name the mountains classification which has a young rider classification of francesco casagrande and integiro classification of not awarded with stage of 2
### Answer:
SELECT mountains_classification FROM table_name_82 WHERE young_rider_classification = "francesco casagrande" AND intergiro_classification = "not awarded" AND stage = "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_39 (film_or_series VARCHAR, year VARCHAR, award VARCHAR, category VARCHAR)
### Question:
What film won best actress at the 2007 Inside Soap Awards?
### Answer:
SELECT film_or_series FROM table_name_39 WHERE award = "inside soap awards" AND category = "best actress" AND 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 table_25563779_4 (champion VARCHAR, third VARCHAR)
### Question:
If the third name is Bruno Bonifacio, what is the champion?
### Answer:
SELECT champion FROM table_25563779_4 WHERE third = "Bruno Bonifacio" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_80 (band VARCHAR, female VARCHAR)
### Question:
What band performed when Samantha Mumba presented?
### Answer:
SELECT band FROM table_name_80 WHERE female = "samantha mumba" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27690037_2 (kickoff VARCHAR, game_site VARCHAR)
### Question:
Name the kickoff for rheinstadion
### Answer:
SELECT kickoff FROM table_27690037_2 WHERE game_site = "Rheinstadion" |
Below is an context that describes a sql 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 (bronze VARCHAR, total VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR)
### Question:
Gold of 0, and a Silver smaller than 3, and a Rank larger than 9, and a Total of 1 has how many numbers of bronze?
### Answer:
SELECT COUNT(bronze) FROM table_name_1 WHERE gold = 0 AND silver < 3 AND rank > 9 AND total = 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2668352_14 (district VARCHAR, incumbent VARCHAR)
### Question:
Name the district for hugh glasgow
### Answer:
SELECT district FROM table_2668352_14 WHERE incumbent = "Hugh Glasgow" |
Below is an context that describes a sql 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 (location VARCHAR, competition VARCHAR)
### Question:
What is the location of the gold medal match?
### Answer:
SELECT location FROM table_name_30 WHERE competition = "gold medal match" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_32 (result VARCHAR, week VARCHAR, attendance VARCHAR)
### Question:
What was the result of the game before week 3 with an attendance of 53,658?
### Answer:
SELECT result FROM table_name_32 WHERE week < 3 AND attendance = "53,658" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342292_2 (district VARCHAR, candidates VARCHAR)
### Question:
how many dbeingtrict with candidates being william b. bankhead (d) 71.3% e. m. reed (r) 28.7%
### Answer:
SELECT COUNT(district) FROM table_1342292_2 WHERE candidates = "William B. Bankhead (D) 71.3% E. M. Reed (R) 28.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_1847523_2 (owned_since INTEGER, station VARCHAR)
### Question:
What is the minimum stations owned since kero-tv?
### Answer:
SELECT MIN(owned_since) FROM table_1847523_2 WHERE station = "KERO-TV" |
Below is an context that describes a sql 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 (year_s__of_manufacture VARCHAR, railway_number_s_ VARCHAR)
### Question:
What are the year(s) of manufacture for railway number(s) 26 (ii) …63 (ii) , 188–193?
### Answer:
SELECT year_s__of_manufacture FROM table_name_35 WHERE railway_number_s_ = "26 (ii) …63 (ii) , 188–193" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE player (name_first VARCHAR, name_last VARCHAR, weight VARCHAR, height VARCHAR)
### Question:
List players' first name and last name who have weight greater than 220 or height shorter than 75.
### Answer:
SELECT name_first, name_last FROM player WHERE weight > 220 OR height < 75 |
Below is an context that describes a sql 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 (score VARCHAR, opponent_in_the_final VARCHAR)
### Question:
Name the score for when the opponent in the final is shiho hisamatsu
### Answer:
SELECT score FROM table_name_43 WHERE opponent_in_the_final = "shiho hisamatsu" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11404452_1 (series__number INTEGER, writer_s_ VARCHAR)
### Question:
When did Shelia Lawrence join the series?
### Answer:
SELECT MIN(series__number) FROM table_11404452_1 WHERE writer_s_ = "Shelia Lawrence" |
Below is an context that describes a sql 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 (away_team VARCHAR, home_team VARCHAR)
### Question:
Who was the away team when the home team was Norwich City?
### Answer:
SELECT away_team FROM table_name_83 WHERE home_team = "norwich 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_6 (shirt_no INTEGER, birth_date VARCHAR, weight VARCHAR)
### Question:
Birth Date of 8 November 1980, and a Weight smaller than 93 has what sum of a shirt number?
### Answer:
SELECT SUM(shirt_no) FROM table_name_6 WHERE birth_date = "8 november 1980" AND weight < 93 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29218221_2 (rider VARCHAR, fri_3_june VARCHAR)
### Question:
Who was the rider with a Fri 3 June time of 18' 19.68 123.516mph?
### Answer:
SELECT rider FROM table_29218221_2 WHERE fri_3_june = "18' 19.68 123.516mph" |
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR)
### Question:
What is the score on 22 September 1972?
### Answer:
SELECT score FROM table_name_24 WHERE date = "22 september 1972" |
Below is an context that describes a sql 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 (decile VARCHAR, years VARCHAR, roll VARCHAR)
### Question:
How many deciles have Years of 1–8, and a Roll of 49?
### Answer:
SELECT COUNT(decile) FROM table_name_95 WHERE years = "1–8" AND roll = 49 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13710464_1 (score VARCHAR, date VARCHAR)
### Question:
How many games played on june 25?
### Answer:
SELECT COUNT(score) FROM table_13710464_1 WHERE date = "June 25" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Students (login_name VARCHAR, family_name VARCHAR)
### Question:
What are the login names of the students with family name "Ward"?
### Answer:
SELECT login_name FROM Students WHERE family_name = "Ward" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25107064_2 (Ends INTEGER, pf VARCHAR)
### Question:
Name the least ends won for pf being 78
### Answer:
SELECT MIN(Ends) AS won FROM table_25107064_2 WHERE pf = 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_name_34 (articulatory_class VARCHAR, aspirated_stop VARCHAR)
### Question:
Which Articulatory class has and Aspirated stop of ㅍ?
### Answer:
SELECT articulatory_class FROM table_name_34 WHERE aspirated_stop = "ㅍ" |
Below is an context that describes a sql 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 (name VARCHAR, nationality VARCHAR, rank VARCHAR, time VARCHAR, lane VARCHAR)
### Question:
Which Name has a Time larger than 53.06, and a Lane smaller than 8, and a Rank larger than 2, and a Nationality of japan?
### Answer:
SELECT name FROM table_name_96 WHERE time > 53.06 AND lane < 8 AND rank > 2 AND nationality = "japan" |
Below is an context that describes a sql 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 (position VARCHAR, years_for_rockets VARCHAR)
### Question:
For the years 1992-93, what position did he play for the Houston Rockets?
### Answer:
SELECT position FROM table_name_4 WHERE years_for_rockets = "1992-93" |
Below is an context that describes a sql 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, surface VARCHAR, tournament VARCHAR)
### Question:
what is the score when the surface is clay and the tournament is san marino?
### Answer:
SELECT score FROM table_name_18 WHERE surface = "clay" AND tournament = "san marino" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_45 (date__ddmmyyyy_ VARCHAR, axis_unit VARCHAR)
### Question:
What was the date of the victory when the Axis Unit was 5./jg 3?
### Answer:
SELECT date__ddmmyyyy_ FROM table_name_45 WHERE axis_unit = "5./jg 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_2 (national_titles VARCHAR, mascot VARCHAR)
### Question:
What is the total number of national titles for the team with doane tigers as the mascot?
### Answer:
SELECT COUNT(national_titles) FROM table_name_2 WHERE mascot = "doane tigers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29997127_4 (game INTEGER, location_attendance VARCHAR)
### Question:
In what game was the attendance at the America West Arena 18,756?
### Answer:
SELECT MAX(game) FROM table_29997127_4 WHERE location_attendance = "America West Arena 18,756" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_92 (round VARCHAR, pick VARCHAR)
### Question:
In which round is pick number 242?
### Answer:
SELECT COUNT(round) FROM table_name_92 WHERE pick = "242" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.