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_22 (skip VARCHAR, lead VARCHAR)
### Question:
Which Skip did marju velga lead?
### Answer:
SELECT skip FROM table_name_22 WHERE lead = "marju velga" |
Below is an context that describes a sql 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 (genre VARCHAR, language VARCHAR, network VARCHAR)
### Question:
What Genre has Hindi as the Language and Star Gold as the Network?
### Answer:
SELECT genre FROM table_name_16 WHERE language = "hindi" AND network = "star gold" |
Below is an context that describes a sql 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 (points INTEGER, name VARCHAR, position VARCHAR)
### Question:
what is the lowest points when name is ehc münchen ii and position is less than 7?
### Answer:
SELECT MIN(points) FROM table_name_24 WHERE name = "ehc münchen ii" AND position < 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_27893892_2 (team_record VARCHAR, opponent VARCHAR)
### Question:
what was the achievement for the rival at scottish claymores
### Answer:
SELECT team_record FROM table_27893892_2 WHERE opponent = "at Scottish Claymores" |
Below is an context that describes a sql 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 (year INTEGER, tournament VARCHAR, round_4 VARCHAR)
### Question:
What is the earliest year when the Dunlop Phoenix Tournament was played with a round 4 score larger than 72?
### Answer:
SELECT MIN(year) FROM table_name_23 WHERE tournament = "dunlop phoenix tournament" AND round_4 > 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_81 (fielding_team VARCHAR, wicket VARCHAR)
### Question:
Who fielded against the 8th wicket?
### Answer:
SELECT fielding_team FROM table_name_81 WHERE wicket = "8th" |
Below is an context that describes a sql 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 (radon VARCHAR, neon VARCHAR)
### Question:
Which Radon has Neon of 4.79?
### Answer:
SELECT radon FROM table_name_62 WHERE neon = "4.79" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_19 (home_team VARCHAR, away_team VARCHAR)
### Question:
What was the home team's score at the game where Richmond was the away team?
### Answer:
SELECT home_team AS score FROM table_name_19 WHERE away_team = "richmond" |
Below is an context that describes a sql 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 (draw INTEGER, artist VARCHAR)
### Question:
Emilya Valenti has what draw average?
### Answer:
SELECT AVG(draw) FROM table_name_31 WHERE artist = "emilya valenti" |
Below is an context that describes a sql 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 (high_assists VARCHAR, location_attendance VARCHAR)
### Question:
Who had the high assists when the game was at American Airlines Center 20,223?
### Answer:
SELECT high_assists FROM table_name_8 WHERE location_attendance = "american airlines center 20,223" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2562572_5 (city___municipality VARCHAR, urban_settlement VARCHAR)
### Question:
Name the city for kanjiža
### Answer:
SELECT city___municipality FROM table_2562572_5 WHERE urban_settlement = "Kanjiža" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_87 (nations VARCHAR, year VARCHAR)
### Question:
What nations participated in 2007?
### Answer:
SELECT nations FROM table_name_87 WHERE year = "2007" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_59 (win__percentage VARCHAR)
### Question:
WHat in 2005 has a Win % of 82.61?
### Answer:
SELECT 2005 FROM table_name_59 WHERE win__percentage = "82.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_78 (moving_to VARCHAR, nat VARCHAR)
### Question:
Who is moving with the nationality of Tri?
### Answer:
SELECT moving_to FROM table_name_78 WHERE nat = "tri" |
Below is an context that describes a sql 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 (visitor VARCHAR, date VARCHAR)
### Question:
Who was the visiting team on December 17?
### Answer:
SELECT visitor FROM table_name_90 WHERE date = "december 17" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_65 (club VARCHAR, try_bonus VARCHAR, drawn VARCHAR, lost VARCHAR)
### Question:
Which club had 1, draw, 11 lost, and a try bonus of 7?
### Answer:
SELECT club FROM table_name_65 WHERE drawn = "1" AND lost = "11" AND try_bonus = "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_26375386_28 (average VARCHAR, number_of_dances VARCHAR)
### Question:
What is every average when number of dances is 1?
### Answer:
SELECT average FROM table_26375386_28 WHERE number_of_dances = 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_54 (type VARCHAR, satellite VARCHAR)
### Question:
Which type is a satellite of GPS IIIA-2?
### Answer:
SELECT type FROM table_name_54 WHERE satellite = "gps iiia-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_38 (played VARCHAR, points_for VARCHAR)
### Question:
How many rounds were played in the matching resulting in a Points For score of 343?
### Answer:
SELECT played FROM table_name_38 WHERE points_for = "343" |
Below is an context that describes a sql 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 (team VARCHAR, rank VARCHAR, points VARCHAR)
### Question:
What is Team, when Rank is greater than 2, and when Points are greater than 259?
### Answer:
SELECT team FROM table_name_12 WHERE rank > 2 AND points > 259 |
Below is an context that describes a sql 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 (time VARCHAR, nationality VARCHAR, heat VARCHAR, lane VARCHAR)
### Question:
What is the time in a heat smaller than 5, in Lane 5, for Vietnam?
### Answer:
SELECT time FROM table_name_88 WHERE heat < 5 AND lane = 5 AND nationality = "vietnam" |
Below is an context that describes a sql 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 (company_or_product_name VARCHAR, money_requested__£_ VARCHAR, entrepreneur_s_ VARCHAR)
### Question:
What was the Company or Product name where Entrepreneurs Geoff and Colette Bell requested £75,000?
### Answer:
SELECT company_or_product_name FROM table_name_25 WHERE money_requested__£_ = "75,000" AND entrepreneur_s_ = "geoff and colette bell" |
Below is an context that describes a sql 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 (home VARCHAR, score VARCHAR)
### Question:
Who was the home team when the score was 4–3?
### Answer:
SELECT home FROM table_name_93 WHERE score = "4–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 prereq (course_id VARCHAR); CREATE TABLE course (course_id VARCHAR)
### Question:
Find the id of the courses that do not have any prerequisite?
### Answer:
SELECT course_id FROM course EXCEPT SELECT course_id FROM prereq |
Below is an context that describes a sql 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 (event VARCHAR, opponent VARCHAR)
### Question:
What is Event, when Opponent is "Joe Pardo"?
### Answer:
SELECT event FROM table_name_41 WHERE opponent = "joe pardo" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_36 (pick VARCHAR, year VARCHAR, team VARCHAR, position VARCHAR)
### Question:
What is the total pick number of the los angeles dodgers, which has a lhp position before 1979?
### Answer:
SELECT COUNT(pick) FROM table_name_36 WHERE team = "los angeles dodgers" AND position = "lhp" AND year < 1979 |
Below is an context that describes a sql 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 (championship VARCHAR, opponent_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR)
### Question:
Against Opponent in the Final Ivan Lendl, on a Surface of clay, with an Outcome of runner-up, where was the Championship?
### Answer:
SELECT championship FROM table_name_89 WHERE outcome = "runner-up" AND surface = "clay" AND opponent_in_the_final = "ivan lendl" |
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR)
### Question:
Which home team played the Away team from Richmond?
### Answer:
SELECT home_team FROM table_name_29 WHERE away_team = "richmond" |
Below is an context that describes a sql 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 (nationality VARCHAR, nhl_team VARCHAR)
### Question:
What is the nationality of the Washington Capitals?
### Answer:
SELECT nationality FROM table_name_68 WHERE nhl_team = "washington capitals" |
Below is an context that describes a sql 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 (year INTEGER, director VARCHAR)
### Question:
Director of christophe barratier had what highest year?
### Answer:
SELECT MAX(year) FROM table_name_3 WHERE director = "christophe barratier" |
Below is an context that describes a sql 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 (result VARCHAR, date VARCHAR)
### Question:
what is the result for 11 august 2010?
### Answer:
SELECT result FROM table_name_94 WHERE date = "11 august 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_1342270_5 (first_elected VARCHAR, incumbent VARCHAR)
### Question:
William Fadjo Cravens is the only candidate who was first elected in 1939.
### Answer:
SELECT COUNT(first_elected) FROM table_1342270_5 WHERE incumbent = "William Fadjo Cravens" |
Below is an context that describes a sql 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 (size__steps_ INTEGER, just_ratio VARCHAR)
### Question:
ratio of 16:13 has how many highest size (steps)?
### Answer:
SELECT MAX(size__steps_) FROM table_name_38 WHERE just_ratio = "16: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_13 (no_of_events VARCHAR, country VARCHAR, date VARCHAR)
### Question:
How many Events have a Country of trinidad and tobago, and a Date of march 30-april 1?
### Answer:
SELECT no_of_events FROM table_name_13 WHERE country = "trinidad and tobago" AND date = "march 30-april 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_35 (director VARCHAR, title VARCHAR)
### Question:
Who is the director of Antz?
### Answer:
SELECT director FROM table_name_35 WHERE title = "antz" |
Below is an context that describes a sql 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 (partnerships VARCHAR, runs VARCHAR)
### Question:
Which partnership has a run number of 27?
### Answer:
SELECT partnerships FROM table_name_70 WHERE runs = "27" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_262383_1 (margin VARCHAR, runner_s__up VARCHAR)
### Question:
what is the space where the next winner is skee riegel
### Answer:
SELECT margin FROM table_262383_1 WHERE runner_s__up = "Skee Riegel" |
Below is an context that describes a sql 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 (capacity INTEGER, head_coach VARCHAR)
### Question:
What is the Capacity of the Venue of Head Coach Ali Asghar Modir Roosta?
### Answer:
SELECT MAX(capacity) FROM table_name_93 WHERE head_coach = "ali asghar modir roosta" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21632864_1 (champions VARCHAR, third_place VARCHAR)
### Question:
who got the first position when Ehime Shimanami got the third position?
### Answer:
SELECT champions FROM table_21632864_1 WHERE third_place = "Ehime Shimanami" |
Below is an context that describes a sql 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 (sales VARCHAR, peak_position VARCHAR)
### Question:
Name the sales with peak position of #24
### Answer:
SELECT sales FROM table_name_7 WHERE peak_position = "#24" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_85 (tournament VARCHAR, finalist VARCHAR)
### Question:
Which tournament had Richard Krajicek as a finalist?
### Answer:
SELECT tournament FROM table_name_85 WHERE finalist = "richard krajicek" |
Below is an context that describes a sql 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 (to_par VARCHAR, player VARCHAR)
### Question:
Which To par has a Player of johanna head?
### Answer:
SELECT to_par FROM table_name_87 WHERE player = "johanna head" |
Below is an context that describes a sql 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 (location VARCHAR, mascot VARCHAR)
### Question:
Where is the school with Royals as their mascot?
### Answer:
SELECT location FROM table_name_15 WHERE mascot = "royals" |
Below is an context that describes a sql 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 (score VARCHAR, opponent VARCHAR, date VARCHAR)
### Question:
Opponent of @ blue jays, and a Date of october 6 had what score?
### Answer:
SELECT score FROM table_name_19 WHERE opponent = "@ blue jays" AND date = "october 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_2668243_25 (first_elected VARCHAR, incumbent VARCHAR)
### Question:
How many people were first elected when john roane was the incumbent?
### Answer:
SELECT COUNT(first_elected) FROM table_2668243_25 WHERE incumbent = "John Roane" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2267345_2 (team_classification VARCHAR, young_rider_classification VARCHAR, combativity_award VARCHAR)
### Question:
What is the total number of team classifications when the young rider classification leader was Salvatore Commesso and the combativity award winner was Jacky Durand?
### Answer:
SELECT COUNT(team_classification) FROM table_2267345_2 WHERE young_rider_classification = "Salvatore Commesso" AND combativity_award = "Jacky Durand" |
Below is an context that describes a sql 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 (points INTEGER, goals_scored VARCHAR, goals_conceded VARCHAR, place VARCHAR)
### Question:
what is the points when the goals conceded is less than 24, place is less than 6 and goals scored is less than 26?
### Answer:
SELECT SUM(points) FROM table_name_15 WHERE goals_conceded < 24 AND place < 6 AND goals_scored < 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 TOURIST_ATTRACTIONS (Tourist_Attraction_ID VARCHAR, Name VARCHAR); CREATE TABLE STAFF (Name VARCHAR, Tourist_Attraction_ID VARCHAR)
### Question:
What is the name of the staff that is in charge of the attraction named "US museum"?
### Answer:
SELECT T1.Name FROM STAFF AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID WHERE T2.Name = "US museum" |
Below is an context that describes a sql 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 (away_team VARCHAR, venue VARCHAR)
### Question:
When the game was played at the EMCG venue, who was the away team?
### Answer:
SELECT away_team FROM table_name_60 WHERE venue = "emcg" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Students (cell_mobile_number VARCHAR, first_name VARCHAR, last_name VARCHAR)
### Question:
What is the phone number of the man with the first name Timmothy and the last name Ward?
### Answer:
SELECT cell_mobile_number FROM Students WHERE first_name = 'Timmothy' AND last_name = 'Ward' |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_16 (reg_season VARCHAR, avg_attendance INTEGER)
### Question:
What regular season result had an average attendance less than 942?
### Answer:
SELECT reg_season FROM table_name_16 WHERE avg_attendance < 942 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21576644_2 (season VARCHAR, mens_2nd_xi VARCHAR)
### Question:
When 5th, south western district 2 is the mens 2nd xi what is the season?
### Answer:
SELECT season FROM table_21576644_2 WHERE mens_2nd_xi = "5th, South Western District 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_16729930_18 (gpu_frequency VARCHAR, tdp VARCHAR, part_number_s_ VARCHAR)
### Question:
For a processor with part number cy80632007221ab and TDP of 3.6 W, What are the available GPU frequencies?
### Answer:
SELECT gpu_frequency FROM table_16729930_18 WHERE tdp = "3.6 W" AND part_number_s_ = "CY80632007221AB" |
Below is an context that describes a sql 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 (position VARCHAR, player VARCHAR)
### Question:
What position does Karl Singer play?
### Answer:
SELECT position FROM table_name_22 WHERE player = "karl singer" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25220821_3 (rider VARCHAR, tues_1_june VARCHAR)
### Question:
If Tuesday 1 June is 21' 05.27 107.351mph, what is the rider total number?
### Answer:
SELECT COUNT(rider) FROM table_25220821_3 WHERE tues_1_june = "21' 05.27 107.351mph" |
Below is an context that describes a sql 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 (score VARCHAR, player VARCHAR)
### Question:
What is the score for Sandy Lyle?
### Answer:
SELECT score FROM table_name_93 WHERE player = "sandy lyle" |
Below is an context that describes a sql 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 (studio VARCHAR, year VARCHAR, title VARCHAR)
### Question:
What was the studio for The Hard Way in 1943?
### Answer:
SELECT studio FROM table_name_77 WHERE year = 1943 AND title = "the hard way" |
Below is an context that describes a sql 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 (to_par INTEGER, country VARCHAR, place VARCHAR, score VARCHAR)
### Question:
What is the highest to par of the player from the United States with a t3 place and a 74-73-72-69=288 place?
### Answer:
SELECT MAX(to_par) FROM table_name_30 WHERE country = "united states" AND place = "t3" AND score = 74 - 73 - 72 - 69 = 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_1013129_10 (player VARCHAR, position VARCHAR, nhl_team VARCHAR)
### Question:
NHL players are all centre in Florida panthers.
### Answer:
SELECT player FROM table_1013129_10 WHERE position = "Centre" AND nhl_team = "Florida Panthers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10595672_1 (score VARCHAR, record VARCHAR)
### Question:
What was the score of the game when the team reached a record of 6-9?
### Answer:
SELECT score FROM table_10595672_1 WHERE record = "6-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 party (minister VARCHAR, party_name VARCHAR)
### Question:
Show all ministers who do not belong to Progress Party.
### Answer:
SELECT minister FROM party WHERE party_name <> 'Progress Party' |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341453_40 (district VARCHAR, incumbent VARCHAR)
### Question:
In what district was Tim Holden the incumbent?
### Answer:
SELECT district FROM table_1341453_40 WHERE incumbent = "Tim Holden" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11908801_1 (nickname VARCHAR, meaning VARCHAR)
### Question:
What is the nickname that means god holds my life?
### Answer:
SELECT nickname FROM table_11908801_1 WHERE meaning = "God Holds My Life" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16279520_1 (release VARCHAR, timeline VARCHAR)
### Question:
What is the releases number under Season 2?
### Answer:
SELECT release FROM table_16279520_1 WHERE timeline = "Season 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_32 (home_town VARCHAR, graduated VARCHAR, college_prior VARCHAR)
### Question:
Where was the player from who graduated from Michigan after 2010?
### Answer:
SELECT home_town FROM table_name_32 WHERE graduated > 2010 AND college_prior = "michigan" |
Below is an context that describes a sql 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 (class VARCHAR, call_sign VARCHAR)
### Question:
Name the class with call sign of k220cp
### Answer:
SELECT class FROM table_name_2 WHERE call_sign = "k220cp" |
Below is an context that describes a sql 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 (game INTEGER, opponent VARCHAR, march VARCHAR)
### Question:
What is the sum of Game, when Opponent is "Cleveland Barons", and when March is less than 8?
### Answer:
SELECT SUM(game) FROM table_name_58 WHERE opponent = "cleveland barons" AND march < 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_5 (result VARCHAR, date VARCHAR)
### Question:
what game was on may 29
### Answer:
SELECT result FROM table_name_5 WHERE date = "may 29" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29395291_2 (subscribers__2006___thousands_ VARCHAR, provider VARCHAR)
### Question:
How many subscribers, in 2006, does Glo Mobile have?
### Answer:
SELECT subscribers__2006___thousands_ FROM table_29395291_2 WHERE provider = "Glo Mobile" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_13 (Id VARCHAR)
### Question:
Which 992 has a 1–2 of 1989 ?
### Answer:
SELECT 1992 FROM table_name_13 WHERE 1989 = "1–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 Payments (Payment_Method_Code VARCHAR)
### Question:
What is the most popular payment method?
### Answer:
SELECT Payment_Method_Code FROM Payments GROUP BY Payment_Method_Code ORDER BY COUNT(*) 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_name_13 (high_assists VARCHAR, team VARCHAR)
### Question:
Who had the high assists in the game against Memphis?
### Answer:
SELECT high_assists FROM table_name_13 WHERE team = "memphis" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26176081_29 (brup INTEGER, long VARCHAR)
### Question:
What is the lowest brup when long is 94?
### Answer:
SELECT MIN(brup) FROM table_26176081_29 WHERE long = 94 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE song (f_id VARCHAR, formats VARCHAR, resolution INTEGER); CREATE TABLE files (f_id VARCHAR, formats VARCHAR, resolution INTEGER)
### Question:
What are the ids of songs that are available in either mp4 format or have resolution above 720?
### Answer:
SELECT f_id FROM files WHERE formats = "mp4" UNION SELECT f_id FROM song WHERE resolution > 720 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12261714_2 (intergiro_classification VARCHAR, stage VARCHAR)
### Question:
How many leaders are there in the intergiro classification in stage 20?
### Answer:
SELECT COUNT(intergiro_classification) FROM table_12261714_2 WHERE stage = "20" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_81 (peak INTEGER, track VARCHAR, year VARCHAR)
### Question:
What number did Moño Negro peak at before 1996?
### Answer:
SELECT MAX(peak) FROM table_name_81 WHERE track = "moño negro" AND year < 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_name_29 (position__eliminated VARCHAR, age¹ VARCHAR, full_name VARCHAR)
### Question:
What is Position/ Eliminated, when Age¹ is less than 22, and when Full Name is "Muhammad Fairul Azreen Bin Mohd Zahid"?
### Answer:
SELECT position__eliminated FROM table_name_29 WHERE age¹ < 22 AND full_name = "muhammad fairul azreen bin mohd zahid" |
Below is an context that describes a sql 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 (bronze INTEGER, points VARCHAR, gold VARCHAR)
### Question:
For clubs that have 0 gold and less than 5 points, what is the average amount of bronze medals?
### Answer:
SELECT AVG(bronze) FROM table_name_43 WHERE points < 5 AND gold < 0 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_55 (enrollment INTEGER, team_nickname VARCHAR, founded VARCHAR)
### Question:
what is the average enrollment when the team nickname is wolverines and founded is after 1817?
### Answer:
SELECT AVG(enrollment) FROM table_name_55 WHERE team_nickname = "wolverines" AND founded > 1817 |
Below is an context that describes a sql 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 (result VARCHAR, competition VARCHAR)
### Question:
What was the result for a friendly match?
### Answer:
SELECT result FROM table_name_86 WHERE competition = "friendly match" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_91 (bodyweight INTEGER, total__kg_ VARCHAR, clean_ VARCHAR, _jerk VARCHAR)
### Question:
What is the bodyweight for the player with a clean & jerk of 82.5 and total smaller than 152.5?
### Answer:
SELECT SUM(bodyweight) FROM table_name_91 WHERE clean_ & _jerk = 82.5 AND total__kg_ < 152.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_53 (music VARCHAR, year INTEGER)
### Question:
What music is in the film before 1963?
### Answer:
SELECT music FROM table_name_53 WHERE year < 1963 |
Below is an context that describes a sql 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 (model_number VARCHAR, socket VARCHAR)
### Question:
What model number uses standard voltage socket?
### Answer:
SELECT model_number FROM table_name_48 WHERE socket = "standard voltage" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_17 (attendance INTEGER, date VARCHAR, points VARCHAR)
### Question:
What was the highest attendance of February 7, 2009 and more than 49 points?
### Answer:
SELECT MAX(attendance) FROM table_name_17 WHERE date = "february 7, 2009" AND points > 49 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_56 (round VARCHAR, name VARCHAR, overall VARCHAR)
### Question:
How many times is brannon condren with and overall more than 131 drafted?
### Answer:
SELECT COUNT(round) FROM table_name_56 WHERE name = "brannon condren" AND overall > 131 |
Below is an context that describes a sql 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 (launched VARCHAR, commissioned VARCHAR, bow_number VARCHAR)
### Question:
When did the ship commissioned in November 1975 with a bow number of ps-18 launch?
### Answer:
SELECT launched FROM table_name_33 WHERE commissioned = "november 1975" AND bow_number = "ps-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_2683116_1 (vap VARCHAR, valid_votes VARCHAR)
### Question:
How many vap values are associated with 140469 valid votes?
### Answer:
SELECT COUNT(vap) FROM table_2683116_1 WHERE valid_votes = 140469 |
Below is an context that describes a sql 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 (name VARCHAR, matches VARCHAR, wins VARCHAR, losses VARCHAR)
### Question:
Who has 1 win, 1 loss, and has played 2 matches?
### Answer:
SELECT name FROM table_name_77 WHERE wins = "1" AND losses = "1" AND matches = "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 (year VARCHAR, director VARCHAR)
### Question:
What is the year of the TV series directed by Soroush Sehat?
### Answer:
SELECT year FROM table_name_1 WHERE director = "soroush sehat" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_11 (year INTEGER, region VARCHAR)
### Question:
What's the highest Year with the Region of Southeast?
### Answer:
SELECT MAX(year) FROM table_name_11 WHERE region = "southeast" |
Below is an context that describes a sql 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 (against INTEGER, venue VARCHAR)
### Question:
Name the Against which has a Venue of wembley stadium , london?
### Answer:
SELECT MAX(against) FROM table_name_91 WHERE venue = "wembley stadium , london" |
Below is an context that describes a sql 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 (race VARCHAR, date VARCHAR)
### Question:
What is the race on 10/10/2008?
### Answer:
SELECT race FROM table_name_3 WHERE date = "10/10/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_24 (elevation VARCHAR, route VARCHAR, highway VARCHAR)
### Question:
Route larger than 24, and a Highway of trail ridge road had what elevation?
### Answer:
SELECT elevation FROM table_name_24 WHERE route > 24 AND highway = "trail ridge road" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29565541_2 (stolen_ends INTEGER, l VARCHAR)
### Question:
When 5 is the l what is the lowest amount of stolen ends?
### Answer:
SELECT MIN(stolen_ends) FROM table_29565541_2 WHERE l = 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_1342292_45 (result VARCHAR, first_elected VARCHAR)
### Question:
What was the election result for the candidate first elected in 1918?
### Answer:
SELECT result FROM table_1342292_45 WHERE first_elected = 1918 |
Below is an context that describes a sql 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 (home VARCHAR, record VARCHAR)
### Question:
Which Home has a Record of 16–17–6?
### Answer:
SELECT home FROM table_name_5 WHERE record = "16–17–6" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_32 (score VARCHAR, record VARCHAR)
### Question:
What is the score when the record was 5-4-2?
### Answer:
SELECT score FROM table_name_32 WHERE record = "5-4-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_83 (round INTEGER, pick__number INTEGER)
### Question:
What is the highest round of the player with a pick number lower than 34?
### Answer:
SELECT MAX(round) FROM table_name_83 WHERE pick__number > 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_2668254_8 (district VARCHAR, incumbent VARCHAR)
### Question:
In what district was the incumbent Charles A. Wickliffe?
### Answer:
SELECT district FROM table_2668254_8 WHERE incumbent = "Charles A. Wickliffe" |
Below is an context that describes a sql 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 (silver INTEGER, rank VARCHAR, gold VARCHAR, total VARCHAR)
### Question:
How much silver does the rank have that has gold smaller than 4, and a total of 1 and a rank larger than 6?
### Answer:
SELECT SUM(silver) FROM table_name_34 WHERE gold < 4 AND total = 1 AND rank > 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.