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_22736523_1 (result VARCHAR, order__number VARCHAR, song_choice VARCHAR)
### Question:
If the song choice is Coba and the order number is 10, what is the result?
### Answer:
SELECT result FROM table_22736523_1 WHERE order__number = "10" AND song_choice = "Coba" |
Below is an context that describes a sql 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 (medal VARCHAR, name VARCHAR)
### Question:
What is the medal named fatuma roba category:articles with hcards for?
### Answer:
SELECT medal FROM table_name_73 WHERE name = "fatuma roba category:articles with hcards" |
Below is an context that describes a sql 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 (goals VARCHAR, caps VARCHAR)
### Question:
Caps of 93 had how many goals?
### Answer:
SELECT goals FROM table_name_94 WHERE caps = 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_85 (high_assists VARCHAR, game VARCHAR)
### Question:
Who had the high assists in Game 22?
### Answer:
SELECT high_assists FROM table_name_85 WHERE game = 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_29250534_1 (club VARCHAR, location VARCHAR)
### Question:
Which club is at the location of kuopio?
### Answer:
SELECT club FROM table_29250534_1 WHERE location = "Kuopio" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1231316_6 (wind__m_s_ VARCHAR, fastest_time__s_ VARCHAR, athlete VARCHAR)
### Question:
Name the wind m/s and fastest time of 10.25 and jeff demps
### Answer:
SELECT wind__m_s_ FROM table_1231316_6 WHERE fastest_time__s_ = "10.25" AND athlete = "Jeff Demps" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Flight (destination VARCHAR)
### Question:
Which destination has least number of flights?
### Answer:
SELECT destination FROM Flight GROUP BY destination ORDER BY COUNT(*) LIMIT 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_61 (losing_bonus VARCHAR, points VARCHAR)
### Question:
What is the Losing bonus, when the value for Points is 43?
### Answer:
SELECT losing_bonus FROM table_name_61 WHERE points = "43" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26916717_1 (name VARCHAR, home_town VARCHAR)
### Question:
What is the name of the player from purcell, ok?
### Answer:
SELECT name FROM table_26916717_1 WHERE home_town = "Purcell, OK" |
Below is an context that describes a sql 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 (partner VARCHAR, surface VARCHAR, date VARCHAR)
### Question:
What is the name of a partner that played on a hard surface on 18 April 2011?
### Answer:
SELECT partner FROM table_name_23 WHERE surface = "hard" AND date = "18 april 2011" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21258_1 (crude_death_rate VARCHAR, deaths VARCHAR)
### Question:
Among deaths 106 000 how many is crude rate.
### Answer:
SELECT crude_death_rate FROM table_21258_1 WHERE deaths = "106 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_39 (location VARCHAR, years_in_gfl VARCHAR)
### Question:
What's the location where the Years in GFL was 1988-?
### Answer:
SELECT location FROM table_name_39 WHERE years_in_gfl = "1988-" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13328239_4 (round VARCHAR, score VARCHAR)
### Question:
How many rounds ended with a score of 16-52?
### Answer:
SELECT COUNT(round) FROM table_13328239_4 WHERE score = "16-52" |
Below is an context that describes a sql 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 (group VARCHAR, race VARCHAR)
### Question:
with race of ranvet stakes what is the group?
### Answer:
SELECT group FROM table_name_12 WHERE race = "ranvet stakes" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE architect (gender VARCHAR)
### Question:
How many architects are female?
### Answer:
SELECT COUNT(*) FROM architect WHERE gender = 'female' |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17118657_7 (record VARCHAR, high_assists VARCHAR)
### Question:
What was the record when Canty (5) was the high assists?
### Answer:
SELECT record FROM table_17118657_7 WHERE high_assists = "Canty (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_20 (syracuse VARCHAR, utica VARCHAR, rochester VARCHAR)
### Question:
What is Syracuse, when Utica is Union Springs Shale And Limestone, and when Rochester is Union Springs Shale And Limestone?
### Answer:
SELECT syracuse FROM table_name_20 WHERE utica = "union springs shale and limestone" AND rochester = "union springs shale and limestone" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_256286_61 (meas_num VARCHAR, description VARCHAR)
### Question:
What is the measure number for the bill described as obscenity and sexual conduct bill?
### Answer:
SELECT meas_num FROM table_256286_61 WHERE description = "Obscenity and sexual conduct bill" |
Below is an context that describes a sql 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 (player VARCHAR, round VARCHAR, pick VARCHAR, position VARCHAR)
### Question:
Who was the back player with a pick less than 183 from the round greater than 12?
### Answer:
SELECT player FROM table_name_41 WHERE pick < 183 AND position = "back" AND round > 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_67 (attendance VARCHAR, away_team VARCHAR)
### Question:
How many people attended the Away team of middlesbrough?
### Answer:
SELECT COUNT(attendance) FROM table_name_67 WHERE away_team = "middlesbrough" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341453_22 (first_elected INTEGER, district VARCHAR)
### Question:
When did the elections take place in district Maryland 2?
### Answer:
SELECT MIN(first_elected) FROM table_1341453_22 WHERE district = "Maryland 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_93 (player VARCHAR, country VARCHAR)
### Question:
Which player is from south africa?
### Answer:
SELECT player FROM table_name_93 WHERE country = "south africa" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24285393_1 (country_or_region VARCHAR, highest_point VARCHAR)
### Question:
In what country is mont sokbaro a highest point
### Answer:
SELECT country_or_region FROM table_24285393_1 WHERE highest_point = "Mont Sokbaro" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_38 (high_assists VARCHAR, team VARCHAR)
### Question:
What is High Assists, when Team is "Oklahoma City"?
### Answer:
SELECT high_assists FROM table_name_38 WHERE team = "oklahoma 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_63 (nickname VARCHAR, meaning VARCHAR)
### Question:
What nickname has the meaning of God knows my journey?
### Answer:
SELECT nickname FROM table_name_63 WHERE meaning = "god knows my journey" |
Below is an context that describes a sql 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 (silver VARCHAR, bronze VARCHAR, gold VARCHAR)
### Question:
What's the total silver medals having less than 2 gold and 2 bronze?
### Answer:
SELECT COUNT(silver) FROM table_name_29 WHERE bronze = 2 AND gold < 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_22181917_2 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)
### Question:
Who directed the episode that was watched by 6.62 million U.S. viewers?
### Answer:
SELECT directed_by FROM table_22181917_2 WHERE us_viewers__millions_ = "6.62" |
Below is an context that describes a sql 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 (royal_house VARCHAR, name VARCHAR)
### Question:
Which royal house corresponds to Polyxenos Epiphanes Soter?
### Answer:
SELECT royal_house FROM table_name_84 WHERE name = "polyxenos epiphanes soter" |
Below is an context that describes a sql 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 (athlete VARCHAR, nationality VARCHAR)
### Question:
Which athlete from Germany has 2.20 of O and a 2.25 of O?
### Answer:
SELECT athlete FROM table_name_68 WHERE 220 = "o" AND 225 = "o" AND nationality = "germany" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22824319_3 (steals VARCHAR, blocks VARCHAR)
### Question:
Name the steals for 5 blocks
### Answer:
SELECT steals FROM table_22824319_3 WHERE blocks = 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_2 (nation VARCHAR, silver VARCHAR, gold VARCHAR)
### Question:
Which Nation won 5 Silver, and more than 4 Gold?
### Answer:
SELECT nation FROM table_name_2 WHERE silver = 5 AND gold > 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_90 (year VARCHAR, bronze VARCHAR)
### Question:
What is the total number of Year, when Bronze is "Jamie Stevenson"?
### Answer:
SELECT COUNT(year) FROM table_name_90 WHERE bronze = "jamie stevenson" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE products (product_type_code VARCHAR, product_price INTEGER)
### Question:
What is the average price for each type of product?
### Answer:
SELECT product_type_code, AVG(product_price) FROM products GROUP BY product_type_code |
Below is an context that describes a sql 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 (time VARCHAR, rank VARCHAR, react VARCHAR, athlete VARCHAR)
### Question:
How much Time has a Reaction of 0.155, and an Athlete of kristof beyens, and a Rank smaller than 3?
### Answer:
SELECT COUNT(time) FROM table_name_15 WHERE react = 0.155 AND athlete = "kristof beyens" AND rank < 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_60 (record VARCHAR, opponent VARCHAR, loss VARCHAR)
### Question:
Opponent of @ blue jays, and a Loss of lyon (5-4) had what opponent?
### Answer:
SELECT record FROM table_name_60 WHERE opponent = "@ blue jays" AND loss = "lyon (5-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_27615445_1 (audition_venue VARCHAR, guest_fourth_judge VARCHAR)
### Question:
Where was the audition venue where Peninha was the guest fourth judge?
### Answer:
SELECT audition_venue FROM table_27615445_1 WHERE guest_fourth_judge = "Peninha" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27133147_3 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR, position_in_table VARCHAR)
### Question:
If the position in table is 10th, and the manner of departure was resigned, what was the date of vacancy?
### Answer:
SELECT date_of_vacancy FROM table_27133147_3 WHERE manner_of_departure = "Resigned" AND position_in_table = "10th" |
Below is an context that describes a sql 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 (country VARCHAR, year VARCHAR)
### Question:
What country had a film in 1993?
### Answer:
SELECT country FROM table_name_31 WHERE year = 1993 |
Below is an context that describes a sql 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 (runner_s__up VARCHAR, margin VARCHAR)
### Question:
Who are the Runner(s)-up with a Margin of 1 stroke?
### Answer:
SELECT runner_s__up FROM table_name_12 WHERE margin = "1 stroke" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_7 (date VARCHAR, venue VARCHAR)
### Question:
Which date held the match at the City Stadium, Georgetown?
### Answer:
SELECT date FROM table_name_7 WHERE venue = "city stadium, georgetown" |
Below is an context that describes a sql 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 (venue VARCHAR, date VARCHAR, result VARCHAR, competition VARCHAR)
### Question:
Where was the friendly competition that Andriy Yarmolenko won on 28 may 2012?
### Answer:
SELECT venue FROM table_name_78 WHERE result = "won" AND competition = "friendly" AND date = "28 may 2012" |
Below is an context that describes a sql 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 (traditional VARCHAR, pinyin VARCHAR)
### Question:
What is the Traditional when the Pinyin is hédōng qū?
### Answer:
SELECT traditional FROM table_name_27 WHERE pinyin = "hédōng qū" |
Below is an context that describes a sql 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 (venue VARCHAR, away_team VARCHAR)
### Question:
When the Away team is melbourne, what venue do they play at?
### Answer:
SELECT venue FROM table_name_74 WHERE away_team = "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 (away_team VARCHAR)
### Question:
Name the away team score for geelong away team
### Answer:
SELECT away_team AS score FROM table_name_25 WHERE away_team = "geelong" |
Below is an context that describes a sql 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 (rank INTEGER, rider VARCHAR)
### Question:
What is the highest rank of rider colin martin?
### Answer:
SELECT MAX(rank) FROM table_name_66 WHERE rider = "colin martin" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24949975_1 (date VARCHAR, stadium VARCHAR, result VARCHAR)
### Question:
What is the date for the game at the tallaght stadium and result was 0–1?
### Answer:
SELECT date FROM table_24949975_1 WHERE stadium = "Tallaght stadium" AND result = "0–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_26919_7 (hebrew VARCHAR, english VARCHAR)
### Question:
If in english it is heart, what is it in hebrew?
### Answer:
SELECT hebrew FROM table_26919_7 WHERE english = "heart" |
Below is an context that describes a sql 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 (date VARCHAR, against VARCHAR, opposing_teams VARCHAR)
### Question:
What date has fewer than 32 against and the opposing team of Australia?
### Answer:
SELECT date FROM table_name_84 WHERE against < 32 AND opposing_teams = "australia" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_56 (method VARCHAR, res VARCHAR, opponent VARCHAR)
### Question:
What method was used that had a resulting win against opponent, Natsuko Kikukawa?
### Answer:
SELECT method FROM table_name_56 WHERE res = "win" AND opponent = "natsuko kikukawa" |
Below is an context that describes a sql 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 (latitude INTEGER, ansi_code VARCHAR, pop__2010_ VARCHAR)
### Question:
What is the highest recorded latitude for the township that has an ANSI code greater than 1759541 and a population in 2010 of 72?
### Answer:
SELECT MAX(latitude) FROM table_name_4 WHERE ansi_code > 1759541 AND pop__2010_ = 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_name_89 (record VARCHAR, visitor VARCHAR)
### Question:
Which record has a Visitor of magic?
### Answer:
SELECT record FROM table_name_89 WHERE visitor = "magic" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27756474_2 (high_assists VARCHAR, team VARCHAR)
### Question:
How many high assists where there for the team of caja laboral?
### Answer:
SELECT COUNT(high_assists) FROM table_27756474_2 WHERE team = "Caja Laboral" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11677691_1 (college VARCHAR, school VARCHAR)
### Question:
How many players attended Hillcrest High School?
### Answer:
SELECT COUNT(college) FROM table_11677691_1 WHERE school = "Hillcrest 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_93 (enrollment_08_09 VARCHAR, school VARCHAR)
### Question:
What was the total enrollment 08-09 of Franklin County?
### Answer:
SELECT COUNT(enrollment_08_09) FROM table_name_93 WHERE school = "franklin county" |
Below is an context that describes a sql 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 (iata VARCHAR, city VARCHAR)
### Question:
What is the IATA of Guam?
### Answer:
SELECT iata FROM table_name_4 WHERE city = "guam" |
Below is an context that describes a sql 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 (tribunal VARCHAR, total VARCHAR)
### Question:
Which tribunal had a total of 4167?
### Answer:
SELECT tribunal FROM table_name_34 WHERE total = "4167" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_20 (date VARCHAR, record VARCHAR)
### Question:
Name the date for record of 74-84
### Answer:
SELECT date FROM table_name_20 WHERE record = "74-84" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_20 (call_sign VARCHAR, erp_w VARCHAR)
### Question:
Name the call sign for ERP W of 4
### Answer:
SELECT call_sign FROM table_name_20 WHERE erp_w = 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_76 (date VARCHAR, catalog VARCHAR)
### Question:
What is the Date of Catalog 573 194-2?
### Answer:
SELECT date FROM table_name_76 WHERE catalog = "573 194-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 Statements (Id VARCHAR)
### Question:
How many statements do we have?
### Answer:
SELECT COUNT(*) FROM Statements |
Below is an context that describes a sql 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 (product VARCHAR, samples_taken VARCHAR, melamine_content_mg_kg_ VARCHAR, samples_failed VARCHAR)
### Question:
What's the product that has less than 98.6 melamine content, more than 1 sample failed and took less than 3 samples?
### Answer:
SELECT product FROM table_name_88 WHERE melamine_content_mg_kg_ < 98.6 AND samples_failed > 1 AND samples_taken < 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_43 (school VARCHAR, mascot VARCHAR, size VARCHAR, county VARCHAR)
### Question:
What school has a size less than 674, has a county of 19 dubois, and has the rangers as their mascot?
### Answer:
SELECT school FROM table_name_43 WHERE size < 674 AND county = "19 dubois" AND mascot = "rangers" |
Below is an context that describes a sql 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 (winning_driver VARCHAR, winning_constructor VARCHAR, name VARCHAR)
### Question:
Which winning driver of the Roussillon Grand Prix had an Alfa Romeo?
### Answer:
SELECT winning_driver FROM table_name_53 WHERE winning_constructor = "alfa romeo" AND name = "roussillon grand prix" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13564637_5 (points_against VARCHAR, tries_for VARCHAR)
### Question:
How many numbers were recorded points against when the tries were for 43?
### Answer:
SELECT COUNT(points_against) FROM table_13564637_5 WHERE tries_for = "43" |
Below is an context that describes a sql 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 (group_position VARCHAR, date VARCHAR)
### Question:
Date of 24 september 2002 is what group position?
### Answer:
SELECT group_position FROM table_name_55 WHERE date = "24 september 2002" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_77 (event VARCHAR, long_course_short_course VARCHAR, year_set VARCHAR)
### Question:
What event had a short course in 2010?
### Answer:
SELECT event FROM table_name_77 WHERE long_course_short_course = "short course" AND year_set = 2010 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14465871_2 (provider VARCHAR, application VARCHAR)
### Question:
Which providers use exchange server?
### Answer:
SELECT provider FROM table_14465871_2 WHERE application = "Exchange Server" |
Below is an context that describes a sql 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 (torque VARCHAR, engine VARCHAR)
### Question:
What is the torque of the 5.8l v12 engine?
### Answer:
SELECT torque FROM table_name_15 WHERE engine = "5.8l v12" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22825058_23 (w_l VARCHAR, against VARCHAR)
### Question:
Name the w/l for czech republic
### Answer:
SELECT w_l FROM table_22825058_23 WHERE against = "Czech Republic" |
Below is an context that describes a sql 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 (league_apps VARCHAR, fa_cup_apps VARCHAR, league_goals VARCHAR, position VARCHAR)
### Question:
Tell me the league apps with league goals less than 2 and position of df and FA cup apps of 5
### Answer:
SELECT league_apps FROM table_name_35 WHERE league_goals < 2 AND position = "df" AND fa_cup_apps = "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_11964154_9 (game INTEGER, high_points VARCHAR)
### Question:
what is the maximum game where high points is mickaël gelabale (21)
### Answer:
SELECT MAX(game) FROM table_11964154_9 WHERE high_points = "Mickaël Gelabale (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_72 (round VARCHAR, opponent VARCHAR)
### Question:
How many rounds did Brett go against Kevin Asplund?
### Answer:
SELECT COUNT(round) FROM table_name_72 WHERE opponent = "kevin asplund" |
Below is an context that describes a sql 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 (days_held VARCHAR, wrestler VARCHAR)
### Question:
What days held has noiz as the wrestler?
### Answer:
SELECT days_held FROM table_name_95 WHERE wrestler = "noiz" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_91 (seats_2001 INTEGER, parties_and_voter_communities VARCHAR, seats_2006 VARCHAR)
### Question:
what is the total number of seats 2001 with seats 2006 more than 10 and voter communities of cdu?
### Answer:
SELECT SUM(seats_2001) FROM table_name_91 WHERE parties_and_voter_communities = "cdu" AND seats_2006 > 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 singer (Name VARCHAR, Singer_ID VARCHAR); CREATE TABLE song (Sales INTEGER, Singer_ID VARCHAR)
### Question:
Show the names of singers and the total sales of their songs.
### Answer:
SELECT T1.Name, SUM(T2.Sales) FROM singer AS T1 JOIN song AS T2 ON T1.Singer_ID = T2.Singer_ID GROUP BY T1.Name |
Below is an context that describes a sql 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 (laps INTEGER, constructor VARCHAR, time_retired VARCHAR)
### Question:
What is the mean number of laps for the constructor Ferrari when the time/retired was fuel pressure?
### Answer:
SELECT AVG(laps) FROM table_name_93 WHERE constructor = "ferrari" AND time_retired = "fuel pressure" |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
What's the total in 2005 if there's more than 10.2 in 2006, less than 29.5 in 2007, more than 4.9 in 2009 and less than 43.8 in 2010?
### Answer:
SELECT COUNT(2005) FROM table_name_1 WHERE 2010 < 43.8 AND 2007 < 29.5 AND 2009 > 4.9 AND 2006 > 10.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_1 (author VARCHAR, tv_companions_featured VARCHAR, title VARCHAR)
### Question:
What is Author, when TV Companions Featured is "Peri Brown", and when Title is "Race Against Time"?
### Answer:
SELECT author FROM table_name_1 WHERE tv_companions_featured = "peri brown" AND title = "race against time" |
Below is an context that describes a sql 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 (score_ VARCHAR, c_ VARCHAR, winner VARCHAR, season VARCHAR)
### Question:
What is the score of the event that Alianza Lima won in 1965?
### Answer:
SELECT score_[c_] FROM table_name_76 WHERE winner = "alianza lima" AND season = 1965 |
Below is an context that describes a sql 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 (gold INTEGER, nation VARCHAR, silver VARCHAR)
### Question:
What is the sum of gold medals for the United States with silver medal count greater than 3?
### Answer:
SELECT SUM(gold) FROM table_name_26 WHERE nation = "united states" AND silver > 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_11497980_1 (model VARCHAR, transmission_make_type_speed VARCHAR)
### Question:
Which model possesses a transmission make/type/speed of eaton fs-6306 a manual synchromesh 6 speed?
### Answer:
SELECT model FROM table_11497980_1 WHERE transmission_make_type_speed = "Eaton FS-6306 A Manual Synchromesh 6 Speed" |
Below is an context that describes a sql 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 (power VARCHAR, displacement VARCHAR, notes VARCHAR)
### Question:
What is the power when the displacement is 182cid (2,988cc) and the notes are eu spec?
### Answer:
SELECT power FROM table_name_43 WHERE displacement = "182cid (2,988cc)" AND notes = "eu spec" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_25 (score VARCHAR, competition VARCHAR, goal VARCHAR)
### Question:
What is the score of the friendly competition with 1 goal?
### Answer:
SELECT score FROM table_name_25 WHERE competition = "friendly" AND goal = 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_93 (tournament VARCHAR, partner VARCHAR)
### Question:
Which tournament features the partner julian knowle?
### Answer:
SELECT tournament FROM table_name_93 WHERE partner = "julian knowle" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11677100_7 (school VARCHAR, player VARCHAR)
### Question:
How many schools did Mike Jones attend?
### Answer:
SELECT COUNT(school) FROM table_11677100_7 WHERE player = "Mike 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_26041144_11 (average VARCHAR, player VARCHAR)
### Question:
What was kumar sangakkara's average?
### Answer:
SELECT average FROM table_26041144_11 WHERE player = "Kumar Sangakkara" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21058836_1 (opponents VARCHAR, opponent VARCHAR)
### Question:
Santa Clara was played how many times?
### Answer:
SELECT opponents FROM table_21058836_1 WHERE opponent = "Santa Clara" |
Below is an context that describes a sql 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 (season VARCHAR, name VARCHAR)
### Question:
What years did Omar Sneed play?
### Answer:
SELECT season FROM table_name_9 WHERE name = "omar sneed" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29090919_1 (home_team VARCHAR, away_team VARCHAR)
### Question:
How many scores were there for the home team when the away team was fitzroy?
### Answer:
SELECT COUNT(home_team) AS score FROM table_29090919_1 WHERE away_team = "Fitzroy" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341522_13 (first_elected INTEGER, district VARCHAR)
### Question:
What's Georgia5's first elected year?
### Answer:
SELECT MAX(first_elected) FROM table_1341522_13 WHERE district = "Georgia5" |
Below is an context that describes a sql 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 (season INTEGER, home_team VARCHAR, away_team VARCHAR)
### Question:
Can you tell me the highest Season that has the Home Team of chonburi, and the Away Team of melbourne victory?
### Answer:
SELECT MAX(season) FROM table_name_8 WHERE home_team = "chonburi" AND away_team = "melbourne victory" |
Below is an context that describes a sql 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 (goals INTEGER, name VARCHAR)
### Question:
What is the Highest Goals for Grella?
### Answer:
SELECT MAX(goals) FROM table_name_43 WHERE name = "grella" |
Below is an context that describes a sql 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 (year VARCHAR, wins VARCHAR, win__percentage VARCHAR, matches VARCHAR)
### Question:
What year was the Win percentage 50.00%, with more than 14 matches, and wins more than 8?
### Answer:
SELECT year FROM table_name_6 WHERE win__percentage = "50.00%" AND matches > 14 AND wins > 8 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_92 (silver INTEGER, rank VARCHAR, bronze VARCHAR)
### Question:
What's the silver for rank 1 with less than 2 bronze?
### Answer:
SELECT MIN(silver) FROM table_name_92 WHERE rank = "1" AND bronze < 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_13273629_2 (no_in_series INTEGER, written_by VARCHAR)
### Question:
What's the series number of the episode that's written by Elizabeth Devine?
### Answer:
SELECT MIN(no_in_series) FROM table_13273629_2 WHERE written_by = "Elizabeth Devine" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25042332_26 (public_network VARCHAR, solar_panel VARCHAR)
### Question:
How many regions have 0.5% solar panels?
### Answer:
SELECT COUNT(public_network) FROM table_25042332_26 WHERE solar_panel = "0.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_78 (outcome VARCHAR, opponent VARCHAR)
### Question:
What was the outcome of the match against andy roddick?
### Answer:
SELECT outcome FROM table_name_78 WHERE opponent = "andy roddick" |
Below is an context that describes a sql 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 (total_viewers VARCHAR, bbc_one_weekly_ranking VARCHAR, episode_no VARCHAR)
### Question:
What was the total viewership for BBC One weekly rankings larger than 7, before episode 4?
### Answer:
SELECT total_viewers FROM table_name_30 WHERE bbc_one_weekly_ranking > 7 AND episode_no < 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_53 (position VARCHAR, player VARCHAR)
### Question:
What is the Position, when Player is "Magnus Nygren"?
### Answer:
SELECT position FROM table_name_53 WHERE player = "magnus nygren" |
Below is an context that describes a sql 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 (lost VARCHAR, points VARCHAR, drawn VARCHAR)
### Question:
Which Lost has Points smaller than 12, and a Drawn larger than 1?
### Answer:
SELECT COUNT(lost) FROM table_name_39 WHERE points < 12 AND drawn > 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.