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_24 (nat VARCHAR, name VARCHAR)
### Question:
What nation had a ship named Roma?
### Answer:
SELECT nat FROM table_name_24 WHERE name = "roma" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12146068_2 (gt1_winning_team VARCHAR, rnd VARCHAR)
### Question:
What is the number of gt1 winning team for rnd 5?
### Answer:
SELECT COUNT(gt1_winning_team) FROM table_12146068_2 WHERE rnd = 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_2780146_6 (pm__g_kwh_ VARCHAR, co__g_kwh_ VARCHAR)
### Question:
What's the PM for the standard with 12.3 g/kWh CO?
### Answer:
SELECT pm__g_kwh_ FROM table_2780146_6 WHERE co__g_kwh_ = "12.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_61 (spanish_voice_actor VARCHAR, french_voice_actor VARCHAR)
### Question:
Which Spanish voice actor does the same character as French voice actor Dennis Boileau?
### Answer:
SELECT spanish_voice_actor FROM table_name_61 WHERE french_voice_actor = "dennis boileau" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE member (address VARCHAR)
### Question:
Find the number of members living in each address.
### Answer:
SELECT COUNT(*), address FROM member GROUP BY address |
Below is an context that describes a sql 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 (opponent VARCHAR, stadium VARCHAR)
### Question:
What opponent has balboa stadium as the opponent?
### Answer:
SELECT opponent FROM table_name_4 WHERE stadium = "balboa stadium" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE INVESTORS (Investor_details VARCHAR)
### Question:
Show all investor details.
### Answer:
SELECT Investor_details FROM INVESTORS |
Below is an context that describes a sql 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 (current_champion_s_ VARCHAR, championship VARCHAR)
### Question:
Who is the current champion in the NECW Heavyweight Championship?
### Answer:
SELECT current_champion_s_ FROM table_name_44 WHERE championship = "necw heavyweight champion" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE election (Party VARCHAR); CREATE TABLE party (Party VARCHAR, Party_ID VARCHAR)
### Question:
Show the name of each party and the corresponding number of delegates from that party.
### Answer:
SELECT T2.Party, COUNT(*) FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID GROUP BY T1.Party |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE mission (Name VARCHAR, Ship_ID VARCHAR); CREATE TABLE ship (Name VARCHAR, Ship_ID VARCHAR)
### Question:
List the name of ships that are not involved in any mission
### Answer:
SELECT Name FROM ship WHERE NOT Ship_ID IN (SELECT Ship_ID FROM mission) |
Below is an context that describes a sql 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 (points INTEGER, difference VARCHAR, played VARCHAR)
### Question:
Which Points has a Difference of 3, and a Played smaller than 10?
### Answer:
SELECT AVG(points) FROM table_name_80 WHERE difference = "3" AND played < 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_96 (score INTEGER, number VARCHAR, drop_goals VARCHAR, penalties VARCHAR)
### Question:
drop goals larger than 0, and a Penalties of 52, and a Number larger than 5 had what lowest score?
### Answer:
SELECT MIN(score) FROM table_name_96 WHERE drop_goals > 0 AND penalties = 52 AND number > 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_50 (date VARCHAR, location VARCHAR, year VARCHAR)
### Question:
Tell me the date for warsaw 1929
### Answer:
SELECT date FROM table_name_50 WHERE location = "warsaw" AND year = 1929 |
Below is an context that describes a sql 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 (wins INTEGER, year VARCHAR, drivers VARCHAR)
### Question:
In 2011, how many wins did Michael Meadows have?
### Answer:
SELECT SUM(wins) FROM table_name_2 WHERE year = 2011 AND drivers = "michael meadows" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_72 (region VARCHAR, format_s_ VARCHAR, date VARCHAR)
### Question:
What region has a lp format on 4 August 2008?
### Answer:
SELECT region FROM table_name_72 WHERE format_s_ = "lp" AND date = "4 august 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_53 (week_1 VARCHAR, week_3 VARCHAR)
### Question:
What is the week 1 with candice hunnicutt in week 3?
### Answer:
SELECT week_1 FROM table_name_53 WHERE week_3 = "candice hunnicutt" |
Below is an context that describes a sql 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 (took_office INTEGER, name VARCHAR, up_for_reelection VARCHAR)
### Question:
What was the earliest year that Yvette Alexander took office and was up for reelection after 2016?
### Answer:
SELECT MIN(took_office) FROM table_name_70 WHERE name = "yvette alexander" AND up_for_reelection > 2016 |
Below is an context that describes a sql 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 (round_3 VARCHAR, round_4 VARCHAR)
### Question:
Round 3 with a round 4 of 50?
### Answer:
SELECT round_3 FROM table_name_39 WHERE round_4 = "50" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_42 (average INTEGER, evening_gown VARCHAR, interview VARCHAR, country VARCHAR)
### Question:
Name the lowest average for interview more than 9.57 and delaware and evening gown more than 9.77
### Answer:
SELECT MIN(average) FROM table_name_42 WHERE interview > 9.57 AND country = "delaware" AND evening_gown > 9.77 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19789597_5 (date VARCHAR, score VARCHAR)
### Question:
Name the total number of date for l 63-77
### Answer:
SELECT COUNT(date) FROM table_19789597_5 WHERE score = "L 63-77" |
Below is an context that describes a sql 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 (country VARCHAR, to_par VARCHAR, score VARCHAR)
### Question:
What country is the player ho had a To par of +1 and a score of 69-70-72=211 from?
### Answer:
SELECT country FROM table_name_92 WHERE to_par = "+1" AND score = 69 - 70 - 72 = 211 |
Below is an context that describes a sql 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 (laps VARCHAR, manufacturer VARCHAR, time_retired VARCHAR)
### Question:
Name the laps for suzuki and time/retired of +1:02.804
### Answer:
SELECT laps FROM table_name_92 WHERE manufacturer = "suzuki" AND time_retired = "+1:02.804" |
Below is an context that describes a sql 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 (year VARCHAR, position VARCHAR, college VARCHAR)
### Question:
Tell me the year for defensive tackle and college of lsu
### Answer:
SELECT year FROM table_name_13 WHERE position = "defensive tackle" AND college = "lsu" |
Below is an context that describes a sql 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 (rank INTEGER, time VARCHAR, lane VARCHAR)
### Question:
What is the Rank of the Swimmer with a Time of 2:25.65 in a Lane larger than 3?
### Answer:
SELECT AVG(rank) FROM table_name_36 WHERE time = "2:25.65" 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_37 (b_score INTEGER, a_score VARCHAR, total VARCHAR)
### Question:
what is the sum of the b score when the a score is 6.6 and the total is 15.6?
### Answer:
SELECT SUM(b_score) FROM table_name_37 WHERE a_score = 6.6 AND total = 15.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_47 (score VARCHAR)
### Question:
What is the average first prize of the tournament with a score of 279 (–9)?
### Answer:
SELECT AVG(1 AS st_prize___) AS $__ FROM table_name_47 WHERE score = "279 (–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_24 (name VARCHAR, family VARCHAR, species_authority VARCHAR)
### Question:
Who has canidae as family and canis rufus audubon & bachman, 1851 as species/authority?
### Answer:
SELECT name FROM table_name_24 WHERE family = "canidae" AND species_authority = "canis rufus audubon & bachman, 1851" |
Below is an context that describes a sql 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 (time VARCHAR, set_3 VARCHAR)
### Question:
What is the time when the set 3 score is 31–29?
### Answer:
SELECT time FROM table_name_23 WHERE set_3 = "31–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 player (POSITION VARCHAR)
### Question:
how many different positions are there?
### Answer:
SELECT COUNT(DISTINCT POSITION) FROM player |
Below is an context that describes a sql 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 (opponent VARCHAR, week VARCHAR, attendance VARCHAR)
### Question:
What opponent had an attendance of 12,508 during weeks 1 through 8?
### Answer:
SELECT opponent FROM table_name_76 WHERE week < 8 AND attendance = "12,508" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12828723_5 (played VARCHAR, club VARCHAR)
### Question:
What was the played with club tumble rfc?
### Answer:
SELECT played FROM table_12828723_5 WHERE club = "Tumble RFC" |
Below is an context that describes a sql 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 (points INTEGER, grade VARCHAR)
### Question:
What is the total number of points when the grade was A?
### Answer:
SELECT SUM(points) FROM table_name_31 WHERE grade = "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_6 (date VARCHAR, margin_of_victory VARCHAR, runner_s__up VARCHAR)
### Question:
On what Date was Carole Charbonnier a Runner(s)-up with a 1 stroke Margin of victory?
### Answer:
SELECT date FROM table_name_6 WHERE margin_of_victory = "1 stroke" AND runner_s__up = "carole charbonnier" |
Below is an context that describes a sql 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, nation VARCHAR, gold VARCHAR)
### Question:
What is the smallest bronze with a Nation of west germany, and a Gold larger than 0?
### Answer:
SELECT MIN(bronze) FROM table_name_58 WHERE nation = "west germany" AND gold > 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_13557843_7 (date VARCHAR, game VARCHAR)
### Question:
what's the date with game being 72
### Answer:
SELECT date FROM table_13557843_7 WHERE game = 72 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1745843_7 (part_4 VARCHAR, part_3 VARCHAR)
### Question:
What's the part 4 for the verb whose part 3 is borgen?
### Answer:
SELECT part_4 FROM table_1745843_7 WHERE part_3 = "borgen" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24951872_2 (week INTEGER, attendance VARCHAR)
### Question:
What was the maximum week that had attendance of 10738?
### Answer:
SELECT MAX(week) FROM table_24951872_2 WHERE attendance = 10738 |
Below is an context that describes a sql 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 (metres VARCHAR, feet INTEGER)
### Question:
How many metres tall is the building that is larger than 850 feet tall?
### Answer:
SELECT metres FROM table_name_21 WHERE feet > 850 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26368963_2 (under_11 VARCHAR, under_17 VARCHAR)
### Question:
What is every value for Under-11 when value of under-17 is Salma Nassar?
### Answer:
SELECT under_11 FROM table_26368963_2 WHERE under_17 = "Salma Nassar" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20236726_2 (wd_no VARCHAR, lms_no VARCHAR)
### Question:
Name the total number of wd number for lms number being 7638
### Answer:
SELECT COUNT(wd_no) FROM table_20236726_2 WHERE lms_no = 7638 |
Below is an context that describes a sql 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 (grid VARCHAR, team VARCHAR)
### Question:
What is the Grid number for the Team from Italy?
### Answer:
SELECT COUNT(grid) FROM table_name_87 WHERE team = "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_19930660_2 (winner VARCHAR, rufus_guest VARCHAR)
### Question:
Who won the episode in which Sean Lock was Rufus's guest?
### Answer:
SELECT winner FROM table_19930660_2 WHERE rufus_guest = "Sean Lock" |
Below is an context that describes a sql 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 (away_team VARCHAR, home_team VARCHAR)
### Question:
What did the away team score when playing South Melbourne?
### Answer:
SELECT away_team AS score FROM table_name_44 WHERE home_team = "south melbourne" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_25 (circuit VARCHAR, fastest_lap VARCHAR)
### Question:
I want the circuit for jim clark
### Answer:
SELECT circuit FROM table_name_25 WHERE fastest_lap = "jim clark" |
Below is an context that describes a sql 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 (points VARCHAR, wins VARCHAR, year VARCHAR, rank VARCHAR)
### Question:
Name the total number of points with year less than 1955 and rank of 5th with wins less than 0
### Answer:
SELECT COUNT(points) FROM table_name_31 WHERE year < 1955 AND rank = "5th" AND wins < 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_71 (ihsaa_football_class VARCHAR, school VARCHAR)
### Question:
Which IHSAA Football Class has a School of wood memorial?
### Answer:
SELECT ihsaa_football_class FROM table_name_71 WHERE school = "wood memorial" |
Below is an context that describes a sql 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 (melbourne VARCHAR, sydney VARCHAR, auckland VARCHAR, gold_coast VARCHAR, perth VARCHAR)
### Question:
What is the result for Melbourne when Gold Coast, Perth, Auckland, and Sydney are no?
### Answer:
SELECT melbourne FROM table_name_1 WHERE gold_coast = "no" AND perth = "no" AND auckland = "no" AND sydney = "no" |
Below is an context that describes 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_Attributes (player_api_id VARCHAR); CREATE TABLE Player (player_name VARCHAR, birthday VARCHAR, player_api_id VARCHAR)
### Question:
List the names and birthdays of the top five players in terms of potential.
### Answer:
SELECT DISTINCT T1.player_name, T1.birthday FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id = T2.player_api_id ORDER BY potential DESC LIMIT 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_16185956_1 (incumbent VARCHAR)
### Question:
How many groups of candidates are there in there in the district where the incumbent is Doc Hastings?
### Answer:
SELECT COUNT(2008 AS _candidates) FROM table_16185956_1 WHERE incumbent = "Doc Hastings" |
Below is an context that describes a sql 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 (moving_to VARCHAR, nat VARCHAR)
### Question:
Where is the nationality of Arg Esp moving to?
### Answer:
SELECT moving_to FROM table_name_15 WHERE nat = "arg esp" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17356106_1 (original_air_date VARCHAR, series__number VARCHAR)
### Question:
For series number 256, what was the original air date?
### Answer:
SELECT original_air_date FROM table_17356106_1 WHERE series__number = 256 |
Below is an context that describes a sql 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 (from_club VARCHAR, player VARCHAR)
### Question:
What is From Club, when Player is "Robinho"?
### Answer:
SELECT from_club FROM table_name_80 WHERE player = "robinho" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_5 (player VARCHAR, school_club_team VARCHAR)
### Question:
Which Player has a School/Club Team of Illinois?
### Answer:
SELECT player FROM table_name_5 WHERE school_club_team = "illinois" |
Below is an context that describes a sql 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 (home VARCHAR, date VARCHAR, geust VARCHAR)
### Question:
Who was the home team of the match on 21.10.07, which had bsc young boys (asl) as the geust?
### Answer:
SELECT home FROM table_name_30 WHERE date = "21.10.07" AND geust = "bsc young boys (asl)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2201541_3 (outcome VARCHAR, partner VARCHAR)
### Question:
How many different outcomes did the final with Paul McNamee as a partner have?
### Answer:
SELECT COUNT(outcome) FROM table_2201541_3 WHERE partner = "Paul McNamee" |
Below is an context that describes a sql 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 (player VARCHAR, place VARCHAR)
### Question:
What is the Player in T5 Place?
### Answer:
SELECT player FROM table_name_71 WHERE place = "t5" |
Below is an context that describes a sql 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 (outcome VARCHAR, partner VARCHAR)
### Question:
What was the outcome for Jan Pisecky and his partner?
### Answer:
SELECT outcome FROM table_name_32 WHERE partner = "jan pisecky" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27913160_3 (race VARCHAR, most_laps_led VARCHAR)
### Question:
What race did Simon Pagenaud have the most laps in?
### Answer:
SELECT race FROM table_27913160_3 WHERE most_laps_led = "Simon Pagenaud" |
Below is an context that describes a sql 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 (category VARCHAR, result VARCHAR, year VARCHAR)
### Question:
In 2007 what category won?
### Answer:
SELECT category FROM table_name_62 WHERE result = "won" 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_name_99 (linke VARCHAR, state VARCHAR)
### Question:
What percent did LINKE get in Tyrol?
### Answer:
SELECT linke FROM table_name_99 WHERE state = "tyrol" |
Below is an context that describes a sql 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 (total INTEGER, nation VARCHAR, silver VARCHAR)
### Question:
What is the lowest Total for Italy with less than 0 silver?
### Answer:
SELECT MIN(total) FROM table_name_32 WHERE nation = "italy" AND silver < 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_95 (date VARCHAR, home VARCHAR)
### Question:
Home of dallas happened on what date?
### Answer:
SELECT date FROM table_name_95 WHERE home = "dallas" |
Below is an context that describes a sql 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 (loss VARCHAR, name VARCHAR, long VARCHAR)
### Question:
How many losses have jake sharp as the name, with a long less than 30?
### Answer:
SELECT COUNT(loss) FROM table_name_81 WHERE name = "jake sharp" AND long < 30 |
Below is an context that describes a sql 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 (outcome VARCHAR, opponents_in_the_final VARCHAR)
### Question:
Name the outcome for opponents of jonas björkman john mcenroe
### Answer:
SELECT outcome FROM table_name_60 WHERE opponents_in_the_final = "jonas björkman john mcenroe" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_49 (opponent VARCHAR, attendance VARCHAR)
### Question:
Attendance of 23,150 had what opponent?
### Answer:
SELECT opponent FROM table_name_49 WHERE attendance = "23,150" |
Below is an context that describes a sql 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 (player VARCHAR, round VARCHAR)
### Question:
What is the Player in Round 5?
### Answer:
SELECT player FROM table_name_23 WHERE round = 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_59 (airport VARCHAR, iata VARCHAR)
### Question:
Which airport has IATA of BKK?
### Answer:
SELECT airport FROM table_name_59 WHERE iata = "bkk" |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
Who attended the school in 2008, that Deandria Hill attended in 2005?
### Answer:
SELECT 2008 FROM table_name_15 WHERE 2005 = "deandria 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_12 (average_attendance INTEGER, _number_of_home_games VARCHAR)
### Question:
What was the Average Attendance during the Year in which there were 9 Home Games?
### Answer:
SELECT MAX(average_attendance) FROM table_name_12 WHERE _number_of_home_games = 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_6 (canadian_championship VARCHAR, concacaf_champions_league VARCHAR)
### Question:
What Canadian Championship had CONCACAF Champions League of semifinals?
### Answer:
SELECT canadian_championship FROM table_name_6 WHERE concacaf_champions_league = "semifinals" |
Below is an context that describes a sql 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 (artist VARCHAR, theme VARCHAR)
### Question:
Who was the artist for the year of the snake?
### Answer:
SELECT artist FROM table_name_76 WHERE theme = "year of the snake" |
Below is an context that describes a sql 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 (attendance VARCHAR, game_site VARCHAR, opponent VARCHAR)
### Question:
How many were in attendance at Griffith Stadium with Philadelphia Eagles as an opponent?
### Answer:
SELECT attendance FROM table_name_78 WHERE game_site = "griffith stadium" AND opponent = "philadelphia eagles" |
Below is an context that describes a sql 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 (discs VARCHAR, region_1_release VARCHAR)
### Question:
What discs has a region 1 release date of January 22, 2008?
### Answer:
SELECT discs FROM table_name_90 WHERE region_1_release = "january 22, 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_24384861_1 (aux_in VARCHAR, dock_connection VARCHAR)
### Question:
How many connections aux in using FIrewire?
### Answer:
SELECT COUNT(aux_in) FROM table_24384861_1 WHERE dock_connection = "FireWire" |
Below is an context that describes a sql 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 (conference_joined VARCHAR, mascot VARCHAR)
### Question:
Can you tell me the Conference Joined that has the Mascot of little sycamores?
### Answer:
SELECT conference_joined FROM table_name_88 WHERE mascot = "little sycamores" |
Below is an context that describes a sql 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 (average INTEGER, state VARCHAR, evening_gown VARCHAR)
### Question:
What is the highest average of the contestant from Texas with an evening gown larger than 8.875?
### Answer:
SELECT MAX(average) FROM table_name_57 WHERE state = "texas" AND evening_gown > 8.875 |
Below is an context that describes a sql 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 (points VARCHAR, engine VARCHAR, year VARCHAR)
### Question:
What is the number of points for the maserati straight-4 engine, later than 1959?
### Answer:
SELECT COUNT(points) FROM table_name_94 WHERE engine = "maserati straight-4" AND year > 1959 |
Below is an context that describes a sql 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 (class VARCHAR, part_3 VARCHAR)
### Question:
What is the class for trafen in part 3?
### Answer:
SELECT class FROM table_name_49 WHERE part_3 = "trafen" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14747043_1 (class_aA VARCHAR, class_a VARCHAR)
### Question:
Which is the class AA when graford was the class A
### Answer:
SELECT class_aA FROM table_14747043_1 WHERE class_a = "Graford" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12744399_1 (initial_release_date VARCHAR, developer VARCHAR)
### Question:
When was the game developed by Microvision released?
### Answer:
SELECT initial_release_date FROM table_12744399_1 WHERE developer = "Microvision" |
Below is an context that describes a sql 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 (matches INTEGER, team VARCHAR, strike_rate VARCHAR)
### Question:
What were the total number of matches played when the Deccan Chargers had a strike rate of 15.5?
### Answer:
SELECT MAX(matches) FROM table_name_50 WHERE team = "deccan chargers" AND strike_rate > 15.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_52 (wins INTEGER, draws INTEGER)
### Question:
How many wins are there when the draws are less than 0?
### Answer:
SELECT SUM(wins) FROM table_name_52 WHERE draws < 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_87 (round VARCHAR, opponent VARCHAR)
### Question:
How many rounds was the bout against bobby rehman?
### Answer:
SELECT round FROM table_name_87 WHERE opponent = "bobby rehman" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13036251_1 (the_mole VARCHAR, winner VARCHAR)
### Question:
what's the mole with winner being frédérique huydts
### Answer:
SELECT the_mole FROM table_13036251_1 WHERE winner = "Frédérique Huydts" |
Below is an context that describes a sql 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 (home_team VARCHAR, venue VARCHAR)
### Question:
Which home team's venue is junction oval?
### Answer:
SELECT home_team FROM table_name_71 WHERE venue = "junction oval" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_2 (record VARCHAR, high_points VARCHAR, team VARCHAR)
### Question:
What is Record, when High Points is "Thaddeus Young (19)", and when Team is "@ Orlando"?
### Answer:
SELECT record FROM table_name_2 WHERE high_points = "thaddeus young (19)" AND team = "@ orlando" |
Below is an context that describes a sql 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 (home VARCHAR, geust VARCHAR)
### Question:
What is the home of fc thun (asl) geust?
### Answer:
SELECT home FROM table_name_83 WHERE geust = "fc thun (asl)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16390001_2 (interview VARCHAR, average VARCHAR)
### Question:
What are the interview scores for contestants whose average is 9.090?
### Answer:
SELECT interview FROM table_16390001_2 WHERE average = "9.090" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2651755_2 (alliance VARCHAR, democratic_coalition VARCHAR)
### Question:
where democratic coalition is eduardo frei ( pdc ) what are all the alliance
### Answer:
SELECT alliance FROM table_2651755_2 WHERE democratic_coalition = "Eduardo Frei ( PDC )" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE entrepreneur (People_ID VARCHAR, Investor VARCHAR); CREATE TABLE people (Date_of_Birth VARCHAR, People_ID VARCHAR)
### Question:
What are the dates of birth of entrepreneurs with investor "Simon Woodroffe" or "Peter Jones"?
### Answer:
SELECT T2.Date_of_Birth FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Investor = "Simon Woodroffe" OR T1.Investor = "Peter Jones" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13514348_7 (umpires VARCHAR, simpson_medal VARCHAR)
### Question:
Who were the umpires when Paul Vines (S) won the Simpson Medal?
### Answer:
SELECT umpires FROM table_13514348_7 WHERE simpson_medal = "Paul Vines (S)" |
Below is an context that describes a sql 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 (location VARCHAR, school VARCHAR)
### Question:
What is the location for Lakewood Park Christian?
### Answer:
SELECT location FROM table_name_81 WHERE school = "lakewood park christian" |
Below is an context that describes a sql 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 (parish__prestegjeld_ VARCHAR, church_name VARCHAR)
### Question:
Which parish has a church named Vangsnes Kyrkje?
### Answer:
SELECT parish__prestegjeld_ FROM table_name_44 WHERE church_name = "vangsnes kyrkje" |
Below is an context that describes a sql 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 (player VARCHAR, mls_team VARCHAR)
### Question:
Tell me the player from dallas burn
### Answer:
SELECT player FROM table_name_64 WHERE mls_team = "dallas burn" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE FLIGHTS (FlightNo VARCHAR, DestAirport VARCHAR)
### Question:
What are flight numbers of flights arriving at Airport "APG"?
### Answer:
SELECT FlightNo FROM FLIGHTS WHERE DestAirport = "APG" |
Below is an context that describes a sql 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 (location VARCHAR, mascot VARCHAR)
### Question:
where is Mascot of quakers?
### Answer:
SELECT location FROM table_name_35 WHERE mascot = "quakers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17429402_7 (occ_championships INTEGER, last_outright_occ_championship VARCHAR)
### Question:
What is the fewest number of occ championships for the team that last won an outright occ championship in 2006?
### Answer:
SELECT MIN(occ_championships) FROM table_17429402_7 WHERE last_outright_occ_championship = "2006" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_12 (event VARCHAR, opponent VARCHAR)
### Question:
What is the event where the opponent was Chris Barden?
### Answer:
SELECT event FROM table_name_12 WHERE opponent = "chris barden" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE mountain (Height VARCHAR, Mountain_ID VARCHAR); CREATE TABLE climber (Name VARCHAR, Mountain_ID VARCHAR)
### Question:
Show the names of climbers and the heights of mountains they climb.
### Answer:
SELECT T1.Name, T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_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_23585197_3 (position INTEGER, date_eliminated VARCHAR)
### Question:
What is the position of the song that was eliminated on 11 november?
### Answer:
SELECT MAX(position) FROM table_23585197_3 WHERE date_eliminated = "11 November" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.