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 club (name VARCHAR, Start_year VARCHAR)
### Question:
List all club names in ascending order of start year.
### Answer:
SELECT name FROM club ORDER BY Start_year |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_46 (record_label VARCHAR, title VARCHAR)
### Question:
Which Record label has a Title of 诀别诗?
### Answer:
SELECT record_label FROM table_name_46 WHERE title = "诀别诗" |
Below is an context that describes a sql 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 (billboard_peak VARCHAR, label VARCHAR, date_of_release VARCHAR)
### Question:
What was the Billboard peak for the album released on February 2, 1976 by MCA?
### Answer:
SELECT billboard_peak FROM table_name_95 WHERE label = "mca" AND date_of_release = "february 2, 1976" |
Below is an context that describes a sql 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 (lost INTEGER, points VARCHAR, place VARCHAR, goals_scored VARCHAR)
### Question:
what is the least lost when the place is higher than 4, goals scored is 12 and points is more than 4?
### Answer:
SELECT MIN(lost) FROM table_name_72 WHERE place > 4 AND goals_scored = 12 AND points > 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_80 (Id VARCHAR)
### Question:
What is the 1999 answer when 1998 is Grand Slam Tournaments?
### Answer:
SELECT 1999 FROM table_name_80 WHERE 1998 = "grand slam tournaments" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_45 (district VARCHAR, party VARCHAR)
### Question:
What district has a democratic party?
### Answer:
SELECT district FROM table_name_45 WHERE party = "democratic" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE broadcast (time_of_day VARCHAR)
### Question:
how many programs are broadcast in each time section of the day?
### Answer:
SELECT COUNT(*), time_of_day FROM broadcast GROUP BY time_of_day |
Below is an context that describes a sql 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 (speed VARCHAR, machine VARCHAR, points VARCHAR)
### Question:
How fast does the BMW with 6 points go?
### Answer:
SELECT speed FROM table_name_43 WHERE machine = "bmw" AND points = 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_1708014_1 (winnings VARCHAR, poles VARCHAR, position VARCHAR)
### Question:
When the poles are 0 and the position is 14th, how much are the winnings?
### Answer:
SELECT winnings FROM table_1708014_1 WHERE poles = 0 AND position = "14th" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20195922_3 (divisions VARCHAR, number_of_winning_tickets VARCHAR)
### Question:
Which divisions have 565 as the number of winning tickets?
### Answer:
SELECT divisions FROM table_20195922_3 WHERE number_of_winning_tickets = 565 |
Below is an context that describes a sql 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 (player VARCHAR, score VARCHAR)
### Question:
WHAT IS THE PLAYER WITH A SCORE OF 66?
### Answer:
SELECT player FROM table_name_76 WHERE score = 66 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_86 (date VARCHAR, outcome VARCHAR, opponent_in_the_final VARCHAR)
### Question:
Which date has an Outcome of runner-up, and an Opponent in the final of gilles simon?
### Answer:
SELECT date FROM table_name_86 WHERE outcome = "runner-up" AND opponent_in_the_final = "gilles simon" |
Below is an context that describes a sql 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 (famous_for VARCHAR, celebrity VARCHAR)
### Question:
What was Dom Joly famous for?
### Answer:
SELECT famous_for FROM table_name_32 WHERE celebrity = "dom joly" |
Below is an context that describes a sql 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 (name VARCHAR, overall VARCHAR, team VARCHAR)
### Question:
What is the Name with an overall of less than 123 for the Detroit Lions?
### Answer:
SELECT name FROM table_name_3 WHERE overall < 123 AND team = "detroit lions" |
Below is an context that describes a sql 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 (date VARCHAR, results¹ VARCHAR)
### Question:
On what Date were the Results¹ 5:1?
### Answer:
SELECT date FROM table_name_72 WHERE results¹ = "5: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_69 (overall INTEGER, round VARCHAR, pick VARCHAR, college VARCHAR)
### Question:
What is the average overall that has a pick less than 20, North Carolina as the college, with a round less than 8?
### Answer:
SELECT AVG(overall) FROM table_name_69 WHERE pick < 20 AND college = "north carolina" AND round < 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_56 (masaaki_mochizuki VARCHAR, gran_hamada VARCHAR)
### Question:
Which Masaaki Mochizuki has a Gran Hamada of hamada (10:47)?
### Answer:
SELECT masaaki_mochizuki FROM table_name_56 WHERE gran_hamada = "hamada (10:47)" |
Below is an context that describes a sql 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 (points INTEGER, chassis VARCHAR, year VARCHAR)
### Question:
What are the lowest points with a Chassis of zakspeed 841, and a Year smaller than 1985?
### Answer:
SELECT MIN(points) FROM table_name_32 WHERE chassis = "zakspeed 841" AND year < 1985 |
Below is an context that describes a sql 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 (broadcasting_hours VARCHAR, network VARCHAR)
### Question:
What's the broadcasting hours of NBT?
### Answer:
SELECT broadcasting_hours FROM table_name_47 WHERE network = "nbt" |
Below is an context that describes a sql 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 (europe INTEGER, position VARCHAR, others VARCHAR, league VARCHAR)
### Question:
What is the sum of the Europe totals for players with other appearances of 0, league appearances under 328, and a position of MF?
### Answer:
SELECT SUM(europe) FROM table_name_72 WHERE others = 0 AND league < 328 AND position = "mf" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2668416_7 (district VARCHAR, party VARCHAR, candidates VARCHAR)
### Question:
What is the district for the party federalist and the candidates are william craik (f) 51.0% benjamin edwards 49.0%?
### Answer:
SELECT district FROM table_2668416_7 WHERE party = "Federalist" AND candidates = "William Craik (F) 51.0% Benjamin Edwards 49.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_56 (record VARCHAR, game VARCHAR)
### Question:
Which Record has a Game of 61?
### Answer:
SELECT record FROM table_name_56 WHERE game = 61 |
Below is an context that describes a sql 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 (round INTEGER, position VARCHAR, pick__number VARCHAR)
### Question:
Position of guard, and a Pick # larger than 9 is what highest round?
### Answer:
SELECT MAX(round) FROM table_name_67 WHERE position = "guard" AND pick__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_28365816_2 (regular_season_winner VARCHAR, conference VARCHAR)
### Question:
During the Big Seven Conference which team was the regular season winner?
### Answer:
SELECT regular_season_winner FROM table_28365816_2 WHERE conference = "Big Seven conference" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2516282_3 (score VARCHAR, surface VARCHAR)
### Question:
When the surface was Hard (i), what was the score?
### Answer:
SELECT score FROM table_2516282_3 WHERE surface = "Hard (i)" |
Below is an context that describes a sql 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 (root_of_all_evil VARCHAR, original_air_date VARCHAR)
### Question:
What is the Root of All Evil with an Original air date that is september 3, 2008?
### Answer:
SELECT root_of_all_evil FROM table_name_33 WHERE original_air_date = "september 3, 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_16 (round INTEGER, college VARCHAR)
### Question:
What is the average round for players from california?
### Answer:
SELECT AVG(round) FROM table_name_16 WHERE college = "california" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23916272_6 (directed_by VARCHAR, original_air_date VARCHAR)
### Question:
Who was the director for the episode originally airing September 29, 2003?
### Answer:
SELECT directed_by FROM table_23916272_6 WHERE original_air_date = "September 29, 2003" |
Below is an context that describes a sql 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 (date VARCHAR, game VARCHAR)
### Question:
What was the date of game 21?
### Answer:
SELECT date FROM table_name_85 WHERE game = 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_50 (surface VARCHAR, partner VARCHAR)
### Question:
What was the surface made of in the contest where Paula Ormaechea was the partner?
### Answer:
SELECT surface FROM table_name_50 WHERE partner = "paula ormaechea" |
Below is an context that describes a sql 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 (pick INTEGER, draft VARCHAR, player VARCHAR, round VARCHAR, nationality VARCHAR)
### Question:
What is the average pick of player josh green from Canada from round 2 with a draft after 1996?
### Answer:
SELECT AVG(pick) FROM table_name_76 WHERE round = "2" AND nationality = "canada" AND player = "josh green" AND draft > 1996 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23286158_9 (high_points VARCHAR, team VARCHAR)
### Question:
Who led with the highest points during the game against Indiana?
### Answer:
SELECT high_points FROM table_23286158_9 WHERE team = "Indiana" |
Below is an context that describes a sql 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 (caps INTEGER, player VARCHAR)
### Question:
What is the largest caps value for Glen Moss?
### Answer:
SELECT MAX(caps) FROM table_name_50 WHERE player = "glen moss" |
Below is an context that describes a sql 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 (rank INTEGER, nation VARCHAR, silver VARCHAR)
### Question:
What was the average rank for south africa when they had more than 8 silver medals?
### Answer:
SELECT AVG(rank) FROM table_name_64 WHERE nation = "south africa" AND silver > 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_38 (venue VARCHAR, home_team VARCHAR)
### Question:
Where did Melbourne play as the home team?
### Answer:
SELECT venue FROM table_name_38 WHERE home_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_26 (location_attendance VARCHAR, game VARCHAR)
### Question:
Where is the location of Game 4?
### Answer:
SELECT location_attendance FROM table_name_26 WHERE game = "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_2012187_3 (wins INTEGER, position VARCHAR)
### Question:
How many wins in the 4th position?
### Answer:
SELECT MIN(wins) FROM table_2012187_3 WHERE position = "4th" |
Below is an context that describes a sql 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 (cultural_and_educational_panel INTEGER, administrative_panel VARCHAR, agricultural_panel VARCHAR)
### Question:
What is the sum of the cultural and educational panel value with an administrative panel of 0 and an agricultural panel value less than 0?
### Answer:
SELECT SUM(cultural_and_educational_panel) FROM table_name_87 WHERE administrative_panel = 0 AND agricultural_panel < 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_75 (coach VARCHAR, most_improved VARCHAR)
### Question:
Which Coach has a Most Improved of rory thompson?
### Answer:
SELECT coach FROM table_name_75 WHERE most_improved = "rory thompson" |
Below is an context that describes a sql 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 (january INTEGER, record VARCHAR, points VARCHAR)
### Question:
How much January has a Record of 26–12–6, and Points smaller than 58?
### Answer:
SELECT SUM(january) FROM table_name_37 WHERE record = "26–12–6" AND points < 58 |
Below is an context that describes a sql 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 (attendance VARCHAR, season VARCHAR, games VARCHAR, sellouts VARCHAR)
### Question:
How many attendance numbers had more than 15 games, and sellouts of more than 8 in the 2011-12 season?
### Answer:
SELECT COUNT(attendance) FROM table_name_34 WHERE games > 15 AND sellouts > 8 AND season = "2011-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 (masculine_u_stems VARCHAR, neuter_a_stems VARCHAR)
### Question:
What is the masculine u form for the old Swedish word with a neuter a form of skipum?
### Answer:
SELECT masculine_u_stems FROM table_name_68 WHERE neuter_a_stems = "skipum" |
Below is an context that describes a sql 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 (class_aAAA VARCHAR, school_year VARCHAR)
### Question:
Name the clas AAAA of school year 2000-01
### Answer:
SELECT class_aAAA FROM table_name_76 WHERE school_year = "2000-01" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24099628_1 (cores VARCHAR, model__list_ VARCHAR)
### Question:
What is the number of cores associated with model name e2xxx?
### Answer:
SELECT cores FROM table_24099628_1 WHERE model__list_ = "E2xxx" |
Below is an context that describes a sql 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 (percentage_lost VARCHAR, starting_weight__kg_ VARCHAR, weight_lost__kg_ VARCHAR)
### Question:
What is the Percentage Lost for the contestant with a starting weight above 102 kg who lost 46.9 kg?
### Answer:
SELECT percentage_lost FROM table_name_93 WHERE starting_weight__kg_ > 102 AND weight_lost__kg_ = 46.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_14345690_5 (celebrity VARCHAR, finished VARCHAR)
### Question:
what is the celebrity where the finished is 5th?
### Answer:
SELECT celebrity FROM table_14345690_5 WHERE finished = "5th" |
Below is an context that describes a sql 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 (to_par VARCHAR, year_s__won VARCHAR, country VARCHAR, total VARCHAR)
### Question:
What is the To par of the United States, when the Total was 145, in 2004?
### Answer:
SELECT to_par FROM table_name_21 WHERE country = "united states" AND total = 145 AND year_s__won = "2004" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_79 (pick__number INTEGER, player VARCHAR)
### Question:
What was Rich Voltzke's highest pick number?
### Answer:
SELECT MAX(pick__number) FROM table_name_79 WHERE player = "rich voltzke" |
Below is an context that describes a sql 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 (award VARCHAR, motion_picture VARCHAR)
### Question:
What Award was received bby the Motion Picture What's Love Got To Do With It?
### Answer:
SELECT award FROM table_name_97 WHERE motion_picture = "what's love got to do with it" |
Below is an context that describes a sql 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, home_team VARCHAR)
### Question:
What is the Date of the Middlesbrough Home game?
### Answer:
SELECT date FROM table_name_42 WHERE home_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_name_6 (electorate VARCHAR, member VARCHAR, state VARCHAR, party VARCHAR)
### Question:
Which Electorate is from vic, a labor party, and is David Charles a member of?
### Answer:
SELECT electorate FROM table_name_6 WHERE state = "vic" AND party = "labor" AND member = "david charles" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341897_3 (candidates VARCHAR, incumbent VARCHAR)
### Question:
How many candidates represent the district of kenneth a. roberts?
### Answer:
SELECT COUNT(candidates) FROM table_1341897_3 WHERE incumbent = "Kenneth A. Roberts" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16581695_3 (no_in_season VARCHAR, production_code VARCHAR)
### Question:
How many seasons have a production code of 204?
### Answer:
SELECT COUNT(no_in_season) FROM table_16581695_3 WHERE production_code = 204 |
Below is an context that describes a sql 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 (college_junior_club_team VARCHAR, position VARCHAR, nationality VARCHAR)
### Question:
Can you tell me the College/Junior/Club Team that has the Position of defence, and the Nationality of czechoslovakia?
### Answer:
SELECT college_junior_club_team FROM table_name_58 WHERE position = "defence" AND nationality = "czechoslovakia" |
Below is an context that describes a sql 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 (year INTEGER, length VARCHAR)
### Question:
What is the earliest year having a length of 11:25?
### Answer:
SELECT MIN(year) FROM table_name_21 WHERE length = "11:25" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_3 (enrollment INTEGER, school VARCHAR)
### Question:
What is the enrollment at the school of Hamilton community?
### Answer:
SELECT AVG(enrollment) FROM table_name_3 WHERE school = "hamilton community" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15187735_20 (segment_c VARCHAR, segment_d VARCHAR)
### Question:
How many segment C are there in the episode where segment D is bicycle tires?
### Answer:
SELECT COUNT(segment_c) FROM table_15187735_20 WHERE segment_d = "Bicycle Tires" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2508633_8 (pick__number INTEGER, player VARCHAR)
### Question:
What is the pick number minimum if the player is Mark Bortz?
### Answer:
SELECT MIN(pick__number) FROM table_2508633_8 WHERE player = "Mark Bortz" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22570439_1 (us_viewers__millions_ VARCHAR, series__number VARCHAR)
### Question:
How many u.s. viewers (million) have a series # 83?
### Answer:
SELECT us_viewers__millions_ FROM table_22570439_1 WHERE series__number = 83 |
Below is an context that describes a sql 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 (score VARCHAR, player VARCHAR, to_par VARCHAR, money___$__ VARCHAR)
### Question:
What score has a to par greater than 15, money ($) greater than 116, with billy burke as the player?
### Answer:
SELECT score FROM table_name_81 WHERE to_par > 15 AND money___$__ > 116 AND player = "billy burke" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_48 (year INTEGER, entrant VARCHAR)
### Question:
What year did Bryant Heating enter?
### Answer:
SELECT SUM(year) FROM table_name_48 WHERE entrant = "bryant heating" |
Below is an context that describes a sql 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 (year VARCHAR, league VARCHAR, league_position VARCHAR)
### Question:
What year did the malaysia premier league get a position of 8/12?
### Answer:
SELECT year FROM table_name_93 WHERE league = "malaysia premier league" AND league_position = "8/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_56 (date_of_issue VARCHAR, theme VARCHAR)
### Question:
When did the Theme of bobsleigh release?
### Answer:
SELECT date_of_issue FROM table_name_56 WHERE theme = "bobsleigh" |
Below is an context that describes a sql 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 (draw VARCHAR, televote_points VARCHAR)
### Question:
Which Draw had 8 Televote Points?
### Answer:
SELECT COUNT(draw) FROM table_name_43 WHERE televote_points = "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_74 (poles INTEGER, podiums VARCHAR, wins VARCHAR, fastest_laps VARCHAR, races VARCHAR)
### Question:
which Poles has a Fastest Laps of 0, and a Races of 17, and a Wins larger than 0, and a Podiums smaller than 2?
### Answer:
SELECT MAX(poles) FROM table_name_74 WHERE fastest_laps = 0 AND races = 17 AND wins > 0 AND podiums < 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_28283535_4 (date_aired VARCHAR, episode VARCHAR)
### Question:
When did the episode 1.13 air for the first time?
### Answer:
SELECT date_aired FROM table_28283535_4 WHERE episode = "1.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_49 (rider VARCHAR, time VARCHAR, bike VARCHAR)
### Question:
Who was the rider who had an accident time and a kawasaki zx-10r bike?
### Answer:
SELECT rider FROM table_name_49 WHERE time = "accident" AND bike = "kawasaki zx-10r" |
Below is an context that describes a sql 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 (country VARCHAR, event VARCHAR)
### Question:
What is the Country of the Half Marathon Event?
### Answer:
SELECT country FROM table_name_97 WHERE event = "half marathon" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_291768_1 (launched VARCHAR, commissioned VARCHAR)
### Question:
when was the first start date that actually began on august 6, 1969
### Answer:
SELECT launched FROM table_291768_1 WHERE commissioned = "August 6, 1969" |
Below is an context that describes a sql 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 (silver VARCHAR, rank VARCHAR, gold VARCHAR)
### Question:
What kind of Silver has a Rank of 3, and a Gold smaller than 2?
### Answer:
SELECT COUNT(silver) FROM table_name_9 WHERE rank = "3" 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_1342338_3 (party VARCHAR, district VARCHAR)
### Question:
What kind of party is the district in Alabama 1?
### Answer:
SELECT party FROM table_1342338_3 WHERE district = "Alabama 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_81 (event VARCHAR, games VARCHAR)
### Question:
What event was in the 2008 Beijing games?
### Answer:
SELECT event FROM table_name_81 WHERE games = "2008 beijing" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Accounts (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR)
### Question:
Show the first names and last names of customers without any account.
### Answer:
SELECT customer_first_name, customer_last_name FROM Customers EXCEPT SELECT T1.customer_first_name, T1.customer_last_name FROM Customers AS T1 JOIN Accounts AS T2 ON T1.customer_id = T2.customer_id |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_43 (date VARCHAR, surface VARCHAR, opponent VARCHAR)
### Question:
What was the date of the tournament with a clay surface and an opponent of Irina Falconi?
### Answer:
SELECT date FROM table_name_43 WHERE surface = "clay" AND opponent = "irina falconi" |
Below is an context that describes a sql 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 (original_name VARCHAR, country VARCHAR)
### Question:
Name the original name for the one from bulgaria
### Answer:
SELECT original_name FROM table_name_4 WHERE country = "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_name_94 (goals_for INTEGER, wins INTEGER)
### Question:
What is the average Goals For for a team that has more Wins than 8?
### Answer:
SELECT AVG(goals_for) FROM table_name_94 WHERE 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_70 (free VARCHAR, genitive_3 VARCHAR)
### Question:
Which Free polite has a Genitive 3 of *ni-da?
### Answer:
SELECT free AS polite FROM table_name_70 WHERE genitive_3 = "*ni-da" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE weather (date VARCHAR, mean_temperature_f VARCHAR, mean_humidity VARCHAR, max_gust_speed_mph VARCHAR)
### Question:
What are the date, mean temperature and mean humidity for the top 3 days with the largest max gust speeds?
### Answer:
SELECT date, mean_temperature_f, mean_humidity FROM weather ORDER BY max_gust_speed_mph DESC LIMIT 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_47 (score VARCHAR, time VARCHAR)
### Question:
what is the score when the time is 2:22?
### Answer:
SELECT score FROM table_name_47 WHERE time = "2: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_92 (attendance VARCHAR, result VARCHAR)
### Question:
Name the attendance with result of t 14-14
### Answer:
SELECT attendance FROM table_name_92 WHERE result = "t 14-14" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25214321_1 (contestants INTEGER, runner_up VARCHAR)
### Question:
How many contestants were there when the runner-up was Sérgio Abreu?
### Answer:
SELECT MAX(contestants) FROM table_25214321_1 WHERE runner_up = "Sérgio Abreu" |
Below is an context that describes a sql 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 (record VARCHAR, home VARCHAR, date VARCHAR)
### Question:
On December 4, Tampa Bay has a record of 12-13-2.
### Answer:
SELECT record FROM table_name_42 WHERE home = "tampa bay" AND date = "december 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_5 (region VARCHAR, catalog VARCHAR)
### Question:
What is the Region, when the Catalog is SM 2965-05?
### Answer:
SELECT region FROM table_name_5 WHERE catalog = "sm 2965-05" |
Below is an context that describes a sql 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 (year_10_5th_quad VARCHAR, open_1st_viii VARCHAR, year_10_3rd_quad VARCHAR)
### Question:
What is the Year 10 5th Quads with NC as Open 1st VIII and NC as a Year 10 3rd Quads?
### Answer:
SELECT year_10_5th_quad FROM table_name_16 WHERE open_1st_viii = "nc" AND year_10_3rd_quad = "nc" |
Below is an context that describes a sql 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 (high_hill_zone VARCHAR, mid_hill_zone VARCHAR)
### Question:
Which mid-hill zone has a slightly warm temperature?
### Answer:
SELECT high_hill_zone FROM table_name_87 WHERE mid_hill_zone = "slightly warm temperature" |
Below is an context that describes a sql 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 (round INTEGER, opponent VARCHAR, location VARCHAR)
### Question:
What is the highest round of the match with Rene Rooze as the opponent in Saitama, Japan?
### Answer:
SELECT MAX(round) FROM table_name_91 WHERE opponent = "rene rooze" AND location = "saitama, japan" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_87 (tries_for VARCHAR, lost VARCHAR)
### Question:
How many tries were for the 7 lost?
### Answer:
SELECT tries_for FROM table_name_87 WHERE lost = "7" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_1 (legs_lost VARCHAR, high_checkout VARCHAR, played VARCHAR)
### Question:
What is the total number of legs lost of the player with a high checkout less than 76 and less than 3 played?
### Answer:
SELECT COUNT(legs_lost) FROM table_name_1 WHERE high_checkout < 76 AND played < 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_32 (pick INTEGER, name VARCHAR, overall VARCHAR)
### Question:
The player Cecil Martin with an overall less than 268 has what total pick?
### Answer:
SELECT SUM(pick) FROM table_name_32 WHERE name = "cecil martin" AND overall < 268 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_19 (erp_w VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR)
### Question:
Name the ERP W with a frequency mhz more than 93.3 and city license of washington, georgia
### Answer:
SELECT erp_w FROM table_name_19 WHERE frequency_mhz > 93.3 AND city_of_license = "washington, georgia" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE stay (patient VARCHAR, room VARCHAR, staystart VARCHAR)
### Question:
Find the patient who most recently stayed in room 111.
### Answer:
SELECT patient FROM stay WHERE room = 111 ORDER BY staystart DESC 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_20046379_3 (title VARCHAR, us_viewers__millions_ VARCHAR)
### Question:
What's the title of the episode seen by 3.8 million people in the US?
### Answer:
SELECT title FROM table_20046379_3 WHERE us_viewers__millions_ = "3.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_22 (rank INTEGER, time VARCHAR)
### Question:
Who placed highest with a time of 1:47.70?
### Answer:
SELECT MIN(rank) FROM table_name_22 WHERE time = "1:47.70" |
Below is an context that describes a sql 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 (opponent VARCHAR, date VARCHAR)
### Question:
who is the opponent on 31 jul?
### Answer:
SELECT opponent FROM table_name_43 WHERE date = "31 jul" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17964087_2 (foreign_nationality VARCHAR, romanised_name VARCHAR)
### Question:
The name cheung, raymond man-to is listed as a romanised name is cheung, raymond man-to?
### Answer:
SELECT foreign_nationality FROM table_17964087_2 WHERE romanised_name = "Cheung, Raymond Man-to" |
Below is an context that describes a sql 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 (date_of_release VARCHAR, title VARCHAR)
### Question:
When was twenty released?
### Answer:
SELECT date_of_release FROM table_name_16 WHERE title = "twenty" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_262560_1 (institution VARCHAR, founded VARCHAR)
### Question:
Name the place that was founded in 1920
### Answer:
SELECT institution FROM table_262560_1 WHERE founded = 1920 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_82 (elected VARCHAR)
### Question:
Who is the 1st member elected in 1620/21?
### Answer:
SELECT 1 AS st_member FROM table_name_82 WHERE elected = "1620/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_99 (country VARCHAR, score VARCHAR)
### Question:
What is the Country of the Player with a Score of 69-71-66=206?
### Answer:
SELECT country FROM table_name_99 WHERE score = 69 - 71 - 66 = 206 |
Below is an context that describes a sql 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 (record VARCHAR, opponent VARCHAR)
### Question:
what is the record when the opponent is akiko inoue?
### Answer:
SELECT record FROM table_name_37 WHERE opponent = "akiko inoue" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.