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_78 (date VARCHAR, result_f_a VARCHAR, opponent VARCHAR)
### Question:
What day did they play the bolton wanderers with a result F–A of 1–2?
### Answer:
SELECT date FROM table_name_78 WHERE result_f_a = "1–2" AND opponent = "bolton wanderers" |
Below is an context that describes a sql 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 (mlb_draft VARCHAR, school VARCHAR)
### Question:
What is the MLB Draft status of the person who attended Seton Hall Preparatory School?
### Answer:
SELECT mlb_draft FROM table_name_80 WHERE school = "seton hall preparatory 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_76 (unit_test VARCHAR, msdn_integration VARCHAR, projects_templates VARCHAR)
### Question:
Which Unit test has a MSDN integration of full, and a Projects templates of yes?
### Answer:
SELECT unit_test FROM table_name_76 WHERE msdn_integration = "full" AND projects_templates = "yes" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19169116_6 (high_rebounds VARCHAR, date VARCHAR)
### Question:
how many games with high rebounds where in february 26
### Answer:
SELECT COUNT(high_rebounds) FROM table_19169116_6 WHERE date = "February 26" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11256021_1 (extroverted VARCHAR, _relationship_oriented VARCHAR, moderate VARCHAR)
### Question:
what's the extroverted, relationship-oriented where moderate is introverted sanguine
### Answer:
SELECT extroverted, _relationship_oriented FROM table_11256021_1 WHERE moderate = "Introverted Sanguine" |
Below is an context that describes a sql 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 (rider VARCHAR, points VARCHAR)
### Question:
Which rider had a points score equal to 10?
### Answer:
SELECT rider FROM table_name_60 WHERE points = 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_1341586_36 (party VARCHAR, incumbent VARCHAR)
### Question:
What party was Tony P. Hall affiliated with?
### Answer:
SELECT party FROM table_1341586_36 WHERE incumbent = "Tony P. Hall" |
Below is an context that describes a sql 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 (chassis VARCHAR, pts VARCHAR, year VARCHAR, engine VARCHAR)
### Question:
Which chassis has a year later than 1964, a Ford engine, and 13 points?
### Answer:
SELECT chassis FROM table_name_95 WHERE year > 1964 AND engine = "ford" AND pts = 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_60 (year VARCHAR, original_title VARCHAR)
### Question:
What was the year of Megáll az Idö?
### Answer:
SELECT year FROM table_name_60 WHERE original_title = "megáll az 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_99 (numeric_decline_from_peak_population VARCHAR, percent_decline_from_peak_population VARCHAR)
### Question:
what is the numeric decline from peak population when the perfect decline from peak population is -16.76%
### Answer:
SELECT numeric_decline_from_peak_population FROM table_name_99 WHERE percent_decline_from_peak_population = "-16.76%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_66 (tournament VARCHAR, score VARCHAR)
### Question:
Where was the tournament where the score was 1–6, 6–3, 3–6?
### Answer:
SELECT tournament FROM table_name_66 WHERE score = "1–6, 6–3, 3–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_12828723_4 (drawn VARCHAR, won VARCHAR)
### Question:
what is the drawn when the won is 12?
### Answer:
SELECT drawn FROM table_12828723_4 WHERE won = "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_29 (championship_game VARCHAR, final_four VARCHAR, conference VARCHAR)
### Question:
What is the Championship Game when the Final Four is 1 and the conference is American South?
### Answer:
SELECT championship_game FROM table_name_29 WHERE final_four = "1" AND conference = "american south" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_225099_3 (successor VARCHAR, state__class_ VARCHAR)
### Question:
Who was the successor for the state of Maine (2) ?
### Answer:
SELECT successor FROM table_225099_3 WHERE state__class_ = "Maine (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_76 (lead VARCHAR, country VARCHAR)
### Question:
Who was Canada's lead?
### Answer:
SELECT lead FROM table_name_76 WHERE country = "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_11545282_12 (nationality VARCHAR, player VARCHAR)
### Question:
Which country is Jim Les from?
### Answer:
SELECT nationality FROM table_11545282_12 WHERE player = "Jim Les" |
Below is an context that describes a sql 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 (status VARCHAR, against VARCHAR, date VARCHAR)
### Question:
What's the status with an against over 20 on 18/11/1995?
### Answer:
SELECT status FROM table_name_87 WHERE against > 20 AND date = "18/11/1995" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_3 (city VARCHAR, language VARCHAR, website VARCHAR)
### Question:
Which city has spanish news on the website ultimahora.com ?
### Answer:
SELECT city FROM table_name_3 WHERE language = "spanish" AND website = "ultimahora.com" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_55 (city VARCHAR, home_arena VARCHAR)
### Question:
Which city includes Barclays Center?
### Answer:
SELECT city FROM table_name_55 WHERE home_arena = "barclays center" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_22 (score VARCHAR, player VARCHAR)
### Question:
What was Paul Runyan's score?
### Answer:
SELECT score FROM table_name_22 WHERE player = "paul runyan" |
Below is an context that describes a sql 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 (gross VARCHAR, territory VARCHAR)
### Question:
What is the gross in the United Kingdom?
### Answer:
SELECT gross FROM table_name_33 WHERE territory = "united kingdom" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1024710_2 (province VARCHAR, electorate VARCHAR)
### Question:
Which province is bay of islands in
### Answer:
SELECT province FROM table_1024710_2 WHERE electorate = "Bay of Islands" |
Below is an context that describes a sql 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 (standalone VARCHAR, arcade VARCHAR)
### Question:
What is the Standalone when Tron is the Arcade?
### Answer:
SELECT standalone FROM table_name_99 WHERE arcade = "tron" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1773908_3 (provider VARCHAR, up__up_to_kbit_s_ VARCHAR, resale VARCHAR)
### Question:
Who are all of the telecom providers for which the upload rate is 1024 kbits and the resale category is yes?
### Answer:
SELECT provider FROM table_1773908_3 WHERE up__up_to_kbit_s_ = 1024 AND resale = "yes" |
Below is an context that describes a sql 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 (attendance VARCHAR, date VARCHAR)
### Question:
What is the attendance from November 3, 1974?
### Answer:
SELECT attendance FROM table_name_35 WHERE date = "november 3, 1974" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29747178_2 (title VARCHAR, series__number VARCHAR)
### Question:
What is the title when the series # is 7?
### Answer:
SELECT title FROM table_29747178_2 WHERE series__number = 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_106367_2 (general_election VARCHAR, result VARCHAR, _percentage_of_popular_vote VARCHAR)
### Question:
Which general election had a pq majority and a 44.75% of the popular vote?
### Answer:
SELECT general_election FROM table_106367_2 WHERE result = "PQ majority" AND _percentage_of_popular_vote = "44.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_59 (year INTEGER, rank VARCHAR, accolade VARCHAR)
### Question:
What is the highest Year, when Rank is less than 28, and when Accolade is "The 100 greatest metal albums of the decade"?
### Answer:
SELECT MAX(year) FROM table_name_59 WHERE rank < 28 AND accolade = "the 100 greatest metal albums of the decade" |
Below is an context that describes a sql 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 (max_pressure VARCHAR, muzzle_energy VARCHAR)
### Question:
What is the max pressure for the 468ft•lbf (634 j) muzzle energy?
### Answer:
SELECT max_pressure FROM table_name_99 WHERE muzzle_energy = "468ft•lbf (634 j)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20760802_1 (played VARCHAR, won VARCHAR)
### Question:
How many teams that played won 0 games?
### Answer:
SELECT played FROM table_20760802_1 WHERE won = "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_15945862_1 (january VARCHAR, june VARCHAR)
### Question:
January 7.34 where is June ?
### Answer:
SELECT january FROM table_15945862_1 WHERE june = "7.34" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29395291_2 (subscribers__2006___thousands_ INTEGER, provider VARCHAR)
### Question:
What is the maximum number of 2006 subscribers for Mobilis?
### Answer:
SELECT MAX(subscribers__2006___thousands_) FROM table_29395291_2 WHERE provider = "Mobilis" |
Below is an context that describes a sql 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 (score VARCHAR, runner_up VARCHAR, country VARCHAR, champion VARCHAR)
### Question:
What is the score of the match played in England where Peter McEvoy was the champion and Paul McKellar was runner-up?
### Answer:
SELECT score FROM table_name_34 WHERE country = "england" AND champion = "peter mcevoy" AND runner_up = "paul mckellar" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_88 (game_1 VARCHAR, position VARCHAR)
### Question:
Which Game 1 has a fullback?
### Answer:
SELECT game_1 FROM table_name_88 WHERE position = "fullback" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2669287_1 (tv_season VARCHAR, episodes VARCHAR)
### Question:
What tv season was episode 23 broadcast?
### Answer:
SELECT tv_season FROM table_2669287_1 WHERE episodes = 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_43 (away_team VARCHAR, home_team VARCHAR)
### Question:
What was the score of the away team when hawthorn was the home team?
### Answer:
SELECT away_team AS score FROM table_name_43 WHERE home_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_name_75 (fcc_info VARCHAR, call_sign VARCHAR)
### Question:
Which FCC info has a Call sign of wsja?
### Answer:
SELECT fcc_info FROM table_name_75 WHERE call_sign = "wsja" |
Below is an context that describes a sql 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 (melbourne INTEGER, episode_number_production_number VARCHAR, sydney VARCHAR)
### Question:
What is the sum of the values for Melbourne, when Episode Number Production Number is 19 2-06, and when Sydney is less than 389,000?
### Answer:
SELECT SUM(melbourne) FROM table_name_93 WHERE episode_number_production_number = "19 2-06" AND sydney < 389 OFFSET 000 |
Below is an context that describes a sql 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 (imperial_value VARCHAR, jyutping VARCHAR)
### Question:
what's the imperial that contains a jyutping of cin4?
### Answer:
SELECT imperial_value FROM table_name_51 WHERE jyutping = "cin4" |
Below is an context that describes a sql 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 (winner VARCHAR, location VARCHAR)
### Question:
What is the winner for Virginia?
### Answer:
SELECT winner FROM table_name_99 WHERE location = "virginia" |
Below is an context that describes a sql 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 (against INTEGER, difference VARCHAR, played VARCHAR)
### Question:
What was the highest number of against when the difference was 58 and the total played was more than 22?
### Answer:
SELECT MAX(against) FROM table_name_62 WHERE difference = "58" AND played > 22 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_57 (partner VARCHAR, date VARCHAR)
### Question:
Which Partner has a Date of 8 february 2009?
### Answer:
SELECT partner FROM table_name_57 WHERE date = "8 february 2009" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_76 (quantity INTEGER, type VARCHAR)
### Question:
What is the Quantity of Type 2-4-2t?
### Answer:
SELECT SUM(quantity) FROM table_name_76 WHERE type = "2-4-2t" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_168274_1 (company VARCHAR, index_weighting___percentage__at_17_january_2013 VARCHAR)
### Question:
Name the company where index weighting % is 11.96
### Answer:
SELECT company FROM table_168274_1 WHERE index_weighting___percentage__at_17_january_2013 = "11.96" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25580292_13 (stage VARCHAR, winner VARCHAR)
### Question:
What was the stage when the winner was luis león sánchez?
### Answer:
SELECT stage FROM table_25580292_13 WHERE winner = "Luis León Sánchez" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342359_5 (district VARCHAR, candidates VARCHAR)
### Question:
what's the district with candidates being harry lane englebright (r) unopposed
### Answer:
SELECT district FROM table_1342359_5 WHERE candidates = "Harry Lane Englebright (R) Unopposed" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27781212_1 (points INTEGER, driver VARCHAR)
### Question:
what are the minimum points for tommy kendall?
### Answer:
SELECT MIN(points) FROM table_27781212_1 WHERE driver = "Tommy Kendall" |
Below is an context that describes a sql 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 (attendance INTEGER, week INTEGER)
### Question:
What was the average attendance in weeks after 16?
### Answer:
SELECT AVG(attendance) FROM table_name_58 WHERE week > 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_5 (attendance INTEGER, visitor VARCHAR)
### Question:
What was the attendance at the game against Ottawa?
### Answer:
SELECT AVG(attendance) FROM table_name_5 WHERE visitor = "ottawa" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_97 (to_par VARCHAR, total INTEGER)
### Question:
What is the to par when the total is larger than 288?
### Answer:
SELECT to_par FROM table_name_97 WHERE total > 288 |
Below is an context that describes a sql 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 (set_1 VARCHAR, time VARCHAR, total VARCHAR)
### Question:
What is the set 1 when the time is 13:00, and total is 97–74?
### Answer:
SELECT set_1 FROM table_name_42 WHERE time = "13:00" AND total = "97–74" |
Below is an context that describes a sql 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 (wins VARCHAR, races VARCHAR, third VARCHAR, points VARCHAR)
### Question:
What is the number of wins when the number of third was 1, points were less than 572 and had less than 16 races?
### Answer:
SELECT wins FROM table_name_92 WHERE third = "1" AND points < 572 AND races < 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 EMPLOYEE (FirstName VARCHAR, LastName VARCHAR, City VARCHAR)
### Question:
What are the first names and last names of the employees who live in Calgary city.
### Answer:
SELECT FirstName, LastName FROM EMPLOYEE WHERE City = "Calgary" |
Below is an context that describes a sql 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 (tyre VARCHAR, fastest_lap VARCHAR)
### Question:
What tyre did Paul Russo have on his fastest lap?
### Answer:
SELECT tyre FROM table_name_67 WHERE fastest_lap = "paul russo" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14009909_1 (first_elected VARCHAR, committee VARCHAR)
### Question:
How many of the elected officials are on the Economic Matters committee?
### Answer:
SELECT COUNT(first_elected) FROM table_14009909_1 WHERE committee = "Economic Matters" |
Below is an context that describes a sql 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 (branding VARCHAR, callsign VARCHAR)
### Question:
What is Branding, when Callsign is "DXED-TV"?
### Answer:
SELECT branding FROM table_name_73 WHERE callsign = "dxed-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_21 (player VARCHAR, total_reb VARCHAR, fg_pct VARCHAR, def_reb VARCHAR)
### Question:
Which player has a FG Pct less than 45.9, a def reb less than 43, and a total reb of 9?
### Answer:
SELECT player FROM table_name_21 WHERE fg_pct < 45.9 AND def_reb < 43 AND total_reb = 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 CHARACTERISTICS (characteristic_id VARCHAR, characteristic_name VARCHAR); CREATE TABLE ref_colors (color_code VARCHAR, color_description VARCHAR); CREATE TABLE products (product_id VARCHAR, color_code VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR)
### Question:
Count the products that have the color description "white" or have the characteristic name "hot".
### Answer:
SELECT COUNT(*) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id JOIN ref_colors AS t4 ON t1.color_code = t4.color_code WHERE t4.color_description = "white" OR t3.characteristic_name = "hot" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2886617_8 (player VARCHAR, nhl_team VARCHAR)
### Question:
What player was picked for Buffalo Sabres?
### Answer:
SELECT player FROM table_2886617_8 WHERE nhl_team = "Buffalo Sabres" |
Below is an context that describes a sql 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 (yeast_ortholog VARCHAR, mouse_ortholog VARCHAR)
### Question:
What is the yeast ortholog of mouse ortholog MMS19?
### Answer:
SELECT yeast_ortholog FROM table_name_18 WHERE mouse_ortholog = "mms19" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_41 (score VARCHAR, opponent_in_the_final VARCHAR)
### Question:
What is the score of the tournament with olivier delaître as the opponent in the final?
### Answer:
SELECT score FROM table_name_41 WHERE opponent_in_the_final = "olivier delaître" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table (android_version VARCHAR, code_name VARCHAR)
### Question:
What is the Android version is the code name is Lotus?
### Answer:
SELECT android_version FROM table WHERE code_name = "Lotus" |
Below is an context that describes a sql 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 (manufacturer VARCHAR, grid VARCHAR)
### Question:
Which manufacturer is grid 11?
### Answer:
SELECT manufacturer FROM table_name_93 WHERE grid = "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_43 (date_of_issue VARCHAR, design VARCHAR)
### Question:
What date was the John Belisle, Kosta Tsetsekas stamp issued?
### Answer:
SELECT date_of_issue FROM table_name_43 WHERE design = "john belisle, kosta tsetsekas" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22916979_2 (population__2000_census_ VARCHAR, census_designated_place VARCHAR)
### Question:
what is the total number of population where census designated place is westmont?
### Answer:
SELECT COUNT(population__2000_census_) FROM table_22916979_2 WHERE census_designated_place = "Westmont" |
Below is an context that describes 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 (Delegate VARCHAR, District VARCHAR); CREATE TABLE county (County_name VARCHAR, County_id VARCHAR)
### Question:
Show the delegates and the names of county they belong to.
### Answer:
SELECT T2.Delegate, T1.County_name FROM county AS T1 JOIN election AS T2 ON T1.County_id = T2.District |
Below is an context that describes a sql 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 (record VARCHAR, method VARCHAR, time VARCHAR)
### Question:
What is Record, when Method is "submission (triangle choke)", and when Time is 0:48?
### Answer:
SELECT record FROM table_name_96 WHERE method = "submission (triangle choke)" AND time = "0: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_24 (pick INTEGER, round VARCHAR)
### Question:
Round of 11 had waht sum of pick?
### Answer:
SELECT SUM(pick) FROM table_name_24 WHERE round = 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 (rank VARCHAR, nation VARCHAR, silver VARCHAR, bronze VARCHAR)
### Question:
What rank is Bulgaria with less than 3 silver and more than 1 bronze?
### Answer:
SELECT rank FROM table_name_44 WHERE silver < 3 AND bronze > 1 AND nation = "bulgaria" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18042409_1 (player VARCHAR, alma_mater VARCHAR)
### Question:
List the plats that attended Wilfrid Laurier University.
### Answer:
SELECT player FROM table_18042409_1 WHERE alma_mater = "Wilfrid Laurier 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_14903841_1 (womens_doubles VARCHAR, year VARCHAR)
### Question:
Who are all the womens doubles for the year 2008/2009?
### Answer:
SELECT womens_doubles FROM table_14903841_1 WHERE year = "2008/2009" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_16 (years_with_franchise VARCHAR, number VARCHAR)
### Question:
How many years did the team in slot number 9 have a franchise?
### Answer:
SELECT years_with_franchise FROM table_name_16 WHERE number = 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_57 (type VARCHAR, manufacturer VARCHAR)
### Question:
Which type had an unknown manufacturer?
### Answer:
SELECT type FROM table_name_57 WHERE manufacturer = "unknown" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_84 (result VARCHAR, date VARCHAR)
### Question:
What was the Result on 11/02/1946?
### Answer:
SELECT result FROM table_name_84 WHERE date = "11/02/1946" |
Below is an context that describes a sql 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 (cb_cw VARCHAR, bb_pop VARCHAR)
### Question:
What is the CB CW of the song which has a BB Pop of 11?
### Answer:
SELECT cb_cw FROM table_name_73 WHERE bb_pop = "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_228973_5 (written_by VARCHAR, no_in_series VARCHAR)
### Question:
How many people wrote episode 68 in the series?
### Answer:
SELECT COUNT(written_by) FROM table_228973_5 WHERE no_in_series = 68 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_75 (score VARCHAR, date VARCHAR)
### Question:
What is the score on May 18?
### Answer:
SELECT score FROM table_name_75 WHERE date = "may 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_21100348_10 (period VARCHAR, average VARCHAR)
### Question:
What period was there a career average of 48.15?
### Answer:
SELECT period FROM table_21100348_10 WHERE average = "48.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_35 (home_team VARCHAR, tie_no VARCHAR)
### Question:
What is the Home team of Tie no 40?
### Answer:
SELECT home_team FROM table_name_35 WHERE tie_no = "40" |
Below is an context that describes a sql 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 (drawn INTEGER, difference VARCHAR, points VARCHAR)
### Question:
What is the average number of drawn with a difference of 17 and 22 points?
### Answer:
SELECT AVG(drawn) FROM table_name_64 WHERE difference = "17" AND points = 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_22860990_3 (opp_points INTEGER, record VARCHAR)
### Question:
How many points did the opponents with a 6-2 record against the Spartans score?
### Answer:
SELECT MIN(opp_points) FROM table_22860990_3 WHERE record = "6-2" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_65 (lost VARCHAR, goal_difference VARCHAR, drawn VARCHAR)
### Question:
What is the number of games lost when goal difference is +13 and draws are more than 12?
### Answer:
SELECT COUNT(lost) FROM table_name_65 WHERE goal_difference = "+13" AND drawn > 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_68 (score VARCHAR, loss VARCHAR)
### Question:
What was the score of the game that had a loss of Chad Fox (3–3)?
### Answer:
SELECT score FROM table_name_68 WHERE loss = "chad fox (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 Highschooler (grade VARCHAR)
### Question:
How many high schoolers are there in grade 9 or 10?
### Answer:
SELECT COUNT(*) FROM Highschooler WHERE grade = 9 OR grade = 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 employees (department_id VARCHAR, salary VARCHAR, commission_pct VARCHAR)
### Question:
display all the information of employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40.
### Answer:
SELECT * FROM employees WHERE salary BETWEEN 8000 AND 12000 AND commission_pct <> "null" OR department_id <> 40 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Faculty_participates_in (facID VARCHAR); CREATE TABLE Faculty (facID VARCHAR, fname VARCHAR, lname VARCHAR)
### Question:
How many activities does Mark Giuliano participate in?
### Answer:
SELECT COUNT(*) FROM Faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID = T2.facID WHERE T1.fname = "Mark" AND T1.lname = "Giuliano" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14342210_13 (class VARCHAR, prior_experience VARCHAR)
### Question:
How many entries are there for class when the prior experience is shasta h.s.
### Answer:
SELECT COUNT(class) FROM table_14342210_13 WHERE prior_experience = "Shasta H.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_28 (ngc_number INTEGER, declination___j2000__ VARCHAR, apparent_magnitude VARCHAR)
### Question:
What's the total number of NGC that has a Declination ( J2000 ) of °15′55″, and an Apparent magnitude greater than 10?
### Answer:
SELECT SUM(ngc_number) FROM table_name_28 WHERE declination___j2000__ = "°15′55″" AND apparent_magnitude > 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_86 (model_number VARCHAR, voltage VARCHAR, frequency VARCHAR)
### Question:
What is the Model Number, when the Voltage is 3.45 V, and when the Frequency is 133 MHZ?
### Answer:
SELECT model_number FROM table_name_86 WHERE voltage = "3.45 v" AND frequency = "133 mhz" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_84 (rank VARCHAR, school VARCHAR, sport VARCHAR)
### Question:
What is the total rank number for Los Alamos' girls cross country?
### Answer:
SELECT COUNT(rank) FROM table_name_84 WHERE school = "los alamos" AND sport = "girls cross country" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_42 (date VARCHAR, total VARCHAR)
### Question:
What date was the total 75–45?
### Answer:
SELECT date FROM table_name_42 WHERE total = "75–45" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18424435_5 (_number INTEGER)
### Question:
What is the smallest number?
### Answer:
SELECT MIN(_number) FROM table_18424435_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_54 (leading_scorer VARCHAR, home VARCHAR)
### Question:
Who was the leading score in the game at the Warriors?
### Answer:
SELECT leading_scorer FROM table_name_54 WHERE home = "warriors" |
Below is an context that describes a sql 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 (sleeves VARCHAR, year VARCHAR)
### Question:
Which Sleeves have a Year of 2006-2008?
### Answer:
SELECT sleeves FROM table_name_67 WHERE year = "2006-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_66 (tournament VARCHAR)
### Question:
What is the Tournament, when 2012 is 3R?
### Answer:
SELECT tournament FROM table_name_66 WHERE 2012 = "3r" |
Below is an context that describes a sql 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 (lane INTEGER, time VARCHAR, heat VARCHAR)
### Question:
What lane has a time of 24.83 and a heat less than 11?
### Answer:
SELECT SUM(lane) FROM table_name_73 WHERE time = "24.83" AND heat < 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_31 (company_name VARCHAR, hardware_model VARCHAR)
### Question:
What company makes the Nokia 700?
### Answer:
SELECT company_name FROM table_name_31 WHERE hardware_model = "nokia 700" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_9 (losses INTEGER, ballarat_fl VARCHAR, wins VARCHAR)
### Question:
What is the fewest losses that Ballarat FL of Lake Wendouree has when the wins are smaller than 9?
### Answer:
SELECT MIN(losses) FROM table_name_9 WHERE ballarat_fl = "lake wendouree" AND wins < 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_98 (crowd VARCHAR, home_team VARCHAR)
### Question:
What was the crowd size when Essendon was the home team?
### Answer:
SELECT crowd FROM table_name_98 WHERE home_team = "essendon" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25200461_9 (population INTEGER, registered_voters VARCHAR)
### Question:
If the registered voters is 66.8%, what is the minimum population?
### Answer:
SELECT MIN(population) FROM table_25200461_9 WHERE registered_voters = "66.8%" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.