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_55 (name_in_malay VARCHAR, foundation VARCHAR)
### Question:
What is the name for Malay with a foundation in Iptura?
### Answer:
SELECT name_in_malay FROM table_name_55 WHERE foundation = "iptura" |
Below is an context that describes a sql 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 (year VARCHAR, wins INTEGER)
### Question:
What is the total number of Year, when Wins is less than 0?
### Answer:
SELECT COUNT(year) FROM table_name_70 WHERE wins < 0 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_97 (election INTEGER, third_member VARCHAR, first_party VARCHAR)
### Question:
What was the highest election with third party member Sir Robert Price, BT, and first party member conservative?
### Answer:
SELECT MAX(election) FROM table_name_97 WHERE third_member = "sir robert price, bt" AND first_party = "conservative" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2190919_1 (poles VARCHAR, team_s_ VARCHAR)
### Question:
What are the poles is #08 Miller racing?
### Answer:
SELECT poles FROM table_2190919_1 WHERE team_s_ = "#08 Miller Racing" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_18 (second VARCHAR, sixth VARCHAR)
### Question:
What is SECOND, when SIXTH is Victoria?
### Answer:
SELECT second FROM table_name_18 WHERE sixth = "victoria" |
Below is an context that describes a sql 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 (msdn_integration VARCHAR, load_testing VARCHAR, test_impact_analysis VARCHAR)
### Question:
which MSDN integration has a Load testing of no, and a Test impact analysis of no?
### Answer:
SELECT msdn_integration FROM table_name_16 WHERE load_testing = "no" AND test_impact_analysis = "no" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_51 (week VARCHAR, date VARCHAR, attendance VARCHAR)
### Question:
On what week were there 26,243 in attendance on September 21, 1969?
### Answer:
SELECT COUNT(week) FROM table_name_51 WHERE date = "september 21, 1969" AND attendance < 26 OFFSET 243 |
Below is an context that describes a sql 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 (heat VARCHAR, name VARCHAR)
### Question:
What is the total number of heat for Chinyere Pigot?
### Answer:
SELECT COUNT(heat) FROM table_name_94 WHERE name = "chinyere pigot" |
Below is an context that describes a sql 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 (circuit VARCHAR, date VARCHAR)
### Question:
What is the circuit held on 15 april?
### Answer:
SELECT circuit FROM table_name_49 WHERE date = "15 april" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14342592_4 (starter VARCHAR, player VARCHAR)
### Question:
Name the starter for schulte
### Answer:
SELECT starter FROM table_14342592_4 WHERE player = "Schulte" |
Below is an context that describes a sql 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 (time VARCHAR, lane VARCHAR)
### Question:
What time does lane 7 have?
### Answer:
SELECT time FROM table_name_56 WHERE lane = 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_23 (award VARCHAR, recipient VARCHAR)
### Question:
What award was Hannah Gal the recipient of?
### Answer:
SELECT award FROM table_name_23 WHERE recipient = "hannah gal" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17525955_2 (rating VARCHAR)
### Question:
What is the rating of the episode with a rating/share of 0.9/4?
### Answer:
SELECT rating FROM table_17525955_2 WHERE rating / SHARE(18 AS –49) = 0.9 / 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_43 (res VARCHAR, method VARCHAR, opponent VARCHAR)
### Question:
What is the result when the method was decision (unanimous), and Chris Wilson was the opponent?
### Answer:
SELECT res FROM table_name_43 WHERE method = "decision (unanimous)" AND opponent = "chris wilson" |
Below is an context that describes a sql 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 (third VARCHAR, home VARCHAR, skip VARCHAR)
### Question:
Who is the third on the team from Madison, Wisconsin that has Craig Brown as skip?
### Answer:
SELECT third FROM table_name_23 WHERE home = "madison, wisconsin" AND skip = "craig brown" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_71 (area VARCHAR, name VARCHAR, years VARCHAR, decile VARCHAR)
### Question:
Which area has Years of 1–8, a Decile smaller than 7, and a Name of waikari school?
### Answer:
SELECT area FROM table_name_71 WHERE years = "1–8" AND decile < 7 AND name = "waikari 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 (fl_cup_apps__sub_ INTEGER, fl_cup_goals VARCHAR, other_apps VARCHAR)
### Question:
What is the average FL Cup Apps, with a FL Cup Goals greater than 0, but a Other Apps less than 0?
### Answer:
SELECT AVG(fl_cup_apps__sub_) FROM table_name_93 WHERE fl_cup_goals > 0 AND other_apps < 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_26485957_1 (artist VARCHAR, result VARCHAR)
### Question:
Which artist had a result of 4?
### Answer:
SELECT artist FROM table_26485957_1 WHERE result = "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_91 (country VARCHAR, television_service VARCHAR, content VARCHAR, package_option VARCHAR)
### Question:
What country has Tematico Content, and a package with sky TV and the Lei television service?
### Answer:
SELECT country FROM table_name_91 WHERE content = "tematico" AND package_option = "sky tv" AND television_service = "lei" |
Below is an context that describes a sql 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 (position VARCHAR, round VARCHAR)
### Question:
In round 3 what was the position?
### Answer:
SELECT position FROM table_name_83 WHERE round = "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_15187735_1 (segment_d VARCHAR, segment_b VARCHAR)
### Question:
What was segment D when segment B was jeans?
### Answer:
SELECT segment_d FROM table_15187735_1 WHERE segment_b = "Jeans" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23028629_2 (model_number VARCHAR, part_number_s_ VARCHAR)
### Question:
What is the model number for part numbers of cm80616003177acbx80616i5660?
### Answer:
SELECT model_number FROM table_23028629_2 WHERE part_number_s_ = "CM80616003177ACBX80616I5660" |
Below is an context that describes a sql 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 (round VARCHAR, venue VARCHAR, opponent VARCHAR)
### Question:
Which round has a Venue of nicosia, and a Opponent of levski sofia zapad?
### Answer:
SELECT round FROM table_name_53 WHERE venue = "nicosia" AND opponent = "levski sofia zapad" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21436373_12 (attendance INTEGER, type_of_record VARCHAR)
### Question:
what is the highest attendance for a total attendance-regular season record
### Answer:
SELECT MAX(attendance) FROM table_21436373_12 WHERE type_of_record = "Total attendance-Regular season" |
Below is an context that describes a sql 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 (gold INTEGER, total VARCHAR, bronze VARCHAR, rank VARCHAR)
### Question:
Bronze larger than 2, and a Rank of 4, and a Total larger than 7 has how many numbers of gold?
### Answer:
SELECT AVG(gold) FROM table_name_84 WHERE bronze > 2 AND rank = 4 AND total > 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_25 (team_2 VARCHAR, team_1 VARCHAR)
### Question:
What is the second team that has first team of Africa sports?
### Answer:
SELECT team_2 FROM table_name_25 WHERE team_1 = "africa sports" |
Below is an context that describes a sql 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 (week INTEGER, attendance VARCHAR)
### Question:
Which Week has an Attendance of 20,112?
### Answer:
SELECT MAX(week) FROM table_name_91 WHERE attendance = 20 OFFSET 112 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29301050_1 (train_name VARCHAR, arrival_lonavla VARCHAR)
### Question:
which train name arrives in lonavla at 17:45
### Answer:
SELECT train_name FROM table_29301050_1 WHERE arrival_lonavla = "17:45" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24224647_2 (year_premiered INTEGER, network VARCHAR, main_presenter VARCHAR)
### Question:
What is the highest year premiered for the TV2 network when main present is øyvind mund?
### Answer:
SELECT MAX(year_premiered) FROM table_24224647_2 WHERE network = "TV2" AND main_presenter = "Øyvind Mund" |
Below is an context that describes a sql 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 (points INTEGER, played VARCHAR, against VARCHAR, drawn VARCHAR)
### Question:
Against smaller than 53, and a Drawn smaller than 10, and a Played smaller than 38 has what average points?
### Answer:
SELECT AVG(points) FROM table_name_88 WHERE against < 53 AND drawn < 10 AND played < 38 |
Below is an context that describes a sql 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 (date VARCHAR, game VARCHAR)
### Question:
What is Date, when Game is "8"?
### Answer:
SELECT date FROM table_name_48 WHERE game = 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_2482547_5 (name VARCHAR, balls_bowled VARCHAR)
### Question:
Who are all the players who've bowled more than 4969 balls?
### Answer:
SELECT name FROM table_2482547_5 WHERE balls_bowled = 4969 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1342233_13 (district VARCHAR, incumbent VARCHAR)
### Question:
What district is incumbent sid simpson from?
### Answer:
SELECT district FROM table_1342233_13 WHERE incumbent = "Sid Simpson" |
Below is an context that describes a sql 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 (years_for_jazz VARCHAR, position VARCHAR, player VARCHAR)
### Question:
Who is the center position of Years for Jazz, Greg Ostertag?
### Answer:
SELECT years_for_jazz FROM table_name_43 WHERE position = "center" AND player = "greg ostertag" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23274514_8 (date VARCHAR, location_attendance VARCHAR)
### Question:
On what date was the attendance at TD Garden 18,624?
### Answer:
SELECT date FROM table_23274514_8 WHERE location_attendance = "TD Garden 18,624" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22815568_7 (county VARCHAR, unemployment_rate VARCHAR, market_income_per_capita VARCHAR)
### Question:
In what counties is the unemployment rate 5.8% and the market income per capita is $22,866?
### Answer:
SELECT county FROM table_22815568_7 WHERE unemployment_rate = "5.8%" AND market_income_per_capita = "$22,866" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_18 (season VARCHAR, rank VARCHAR)
### Question:
What season has 2 as a rank?
### Answer:
SELECT season FROM table_name_18 WHERE rank = "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_18 (lead VARCHAR, season VARCHAR)
### Question:
Which lead had a season of 2007-08?
### Answer:
SELECT lead FROM table_name_18 WHERE season = "2007-08" |
Below is an context that describes a sql 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 (candidate VARCHAR, election VARCHAR)
### Question:
Who is the candidate in the 2008 (2) election?
### Answer:
SELECT candidate FROM table_name_20 WHERE election = "2008 (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_67 (circuit VARCHAR, winning_team VARCHAR, fastest_lap VARCHAR)
### Question:
What circuit did marlboro team penske win with an unknown fastest lap?
### Answer:
SELECT circuit FROM table_name_67 WHERE winning_team = "marlboro team penske" AND fastest_lap = "unknown" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_90 (visitor VARCHAR, attendance INTEGER)
### Question:
What Visiting Team(s) had an Attendance of over 18,680
### Answer:
SELECT visitor FROM table_name_90 WHERE attendance > 18 OFFSET 680 |
Below is an context that describes a sql 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 (mascot VARCHAR, school VARCHAR)
### Question:
what is the mascot when the school is warsaw?
### Answer:
SELECT mascot FROM table_name_25 WHERE school = "warsaw" |
Below is an context that describes a sql 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 (bronze VARCHAR, rank VARCHAR)
### Question:
Which bronze has a Rank of 37?
### Answer:
SELECT bronze FROM table_name_66 WHERE rank = "37" |
Below is an context that describes a 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_4 (pick__number VARCHAR, player VARCHAR)
### Question:
What number pick was Danny Walters in the 1983 NFL draft?
### Answer:
SELECT COUNT(pick__number) FROM table_2508633_4 WHERE player = "Danny Walters" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_96 (position INTEGER, points VARCHAR, bike_no VARCHAR)
### Question:
What is the most elevated Position that has a Points of 257, and a Bike No littler than 19?
### Answer:
SELECT MAX(position) FROM table_name_96 WHERE points = 257 AND bike_no < 19 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_44 (position VARCHAR, school VARCHAR)
### Question:
What is the position of the player for Washington school?
### Answer:
SELECT position FROM table_name_44 WHERE school = "washington" |
Below is an context that describes a sql 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 (location VARCHAR, result VARCHAR, winner VARCHAR, year VARCHAR)
### Question:
What is the Location, when the Winner is the Baltimore Colts, when the Year is before 1972, and when the Result is 14-6?
### Answer:
SELECT location FROM table_name_90 WHERE winner = "baltimore colts" AND year < 1972 AND result = "14-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_58 (lost INTEGER, season VARCHAR, points VARCHAR)
### Question:
Which Lost is the highest one that has a Season of 2001–02, and Points larger than 47?
### Answer:
SELECT MAX(lost) FROM table_name_58 WHERE season = "2001–02" AND points > 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_33 (to_par VARCHAR, money___$__ VARCHAR, player VARCHAR)
### Question:
What is the total number of To Par, when Money ( $ ) is less than 387, and when Player is "Al Brosch"?
### Answer:
SELECT COUNT(to_par) FROM table_name_33 WHERE money___$__ < 387 AND player = "al brosch" |
Below is an context that describes a sql 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 (team_1 VARCHAR, season VARCHAR, score VARCHAR)
### Question:
What is the name of team 1 that was after the 2005 season and with a 4-2 score?
### Answer:
SELECT team_1 FROM table_name_11 WHERE season > 2005 AND score = "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_72 (method VARCHAR, round VARCHAR, res VARCHAR)
### Question:
What was the method for the resolution of nc where the fight lasted less than 3 rounds?
### Answer:
SELECT method FROM table_name_72 WHERE round < 3 AND res = "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_45 (party VARCHAR)
### Question:
What is the name of the party called name?
### Answer:
SELECT party FROM table_name_45 WHERE "name" = "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 purchases (sales_details VARCHAR, purchase_details VARCHAR); CREATE TABLE sales (sales_details VARCHAR, purchase_details VARCHAR)
### Question:
What are the details of all sales and purchases?
### Answer:
SELECT sales_details FROM sales UNION SELECT purchase_details FROM purchases |
Below is an context that describes a sql 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 (total INTEGER, gold VARCHAR, rank VARCHAR, silver VARCHAR)
### Question:
How much Total has a Rank smaller than 10, and a Silver larger than 3, and a Gold larger than 3?
### Answer:
SELECT SUM(total) FROM table_name_87 WHERE rank < 10 AND silver > 3 AND gold > 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_41 (home_captain VARCHAR, venue VARCHAR)
### Question:
Who is the home captain that played at Edgbaston?
### Answer:
SELECT home_captain FROM table_name_41 WHERE venue = "edgbaston" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25391981_20 (episode_number VARCHAR, episode VARCHAR)
### Question:
What number episode was Week 4, Part 2?
### Answer:
SELECT episode_number FROM table_25391981_20 WHERE episode = "Week 4, Part 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_29 (first_cap VARCHAR, goals VARCHAR, caps VARCHAR)
### Question:
When was the first cap associated with 39 caps and under 33 goals?
### Answer:
SELECT first_cap FROM table_name_29 WHERE goals < 33 AND caps = 39 |
Below is an context that describes a sql 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 (genes VARCHAR, species VARCHAR, base_pairs VARCHAR)
### Question:
How many genes are in species burkholderia pseudomallei with 4,126,292 base pairs?
### Answer:
SELECT genes FROM table_name_13 WHERE species = "burkholderia pseudomallei" AND base_pairs = "4,126,292" |
Below is an context that describes a sql 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, place VARCHAR, country VARCHAR)
### Question:
What's the score for the t10 player from zimbabwe?
### Answer:
SELECT score FROM table_name_19 WHERE place = "t10" AND country = "zimbabwe" |
Below is an context that describes a sql 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 (block_a VARCHAR, antonio_thomas VARCHAR)
### Question:
Tell me the block A for antonio thomas of kondo (13:24)
### Answer:
SELECT block_a FROM table_name_85 WHERE antonio_thomas = "kondo (13: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_94 (place VARCHAR, comp VARCHAR, date VARCHAR)
### Question:
What's the place of 1989 with a comp of ECH?
### Answer:
SELECT place FROM table_name_94 WHERE comp = "ech" AND date = "1989" |
Below is an context that describes a sql 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 (constructor VARCHAR, laps VARCHAR, grid VARCHAR)
### Question:
What constructor has less than 3 laps and grid 15?
### Answer:
SELECT constructor FROM table_name_22 WHERE laps < 3 AND grid = 15 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_89 (place VARCHAR, player VARCHAR)
### Question:
What Place has a Player of seve ballesteros?
### Answer:
SELECT place FROM table_name_89 WHERE player = "seve ballesteros" |
Below is an context that describes a sql 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 (team_captain VARCHAR, stadium VARCHAR)
### Question:
Who is the team captain of Regenboogstadion?
### Answer:
SELECT team_captain FROM table_name_42 WHERE stadium = "regenboogstadion" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25580292_13 (aggressive_rider VARCHAR, sprint_classification VARCHAR, mountains_classification VARCHAR)
### Question:
Who was the aggressive rider when the sprint classification was andré greipel and mountains classification was timothy roe?
### Answer:
SELECT aggressive_rider FROM table_25580292_13 WHERE sprint_classification = "André Greipel" AND mountains_classification = "Timothy Roe" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22879262_13 (team VARCHAR, date VARCHAR)
### Question:
Where does the team play May 3?
### Answer:
SELECT team FROM table_22879262_13 WHERE date = "May 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_96 (grid INTEGER, laps VARCHAR, points VARCHAR, driver VARCHAR)
### Question:
Tell me the least Grid with points more than 11 and drivers being sébastien bourdais with laps less than 67
### Answer:
SELECT MIN(grid) FROM table_name_96 WHERE points > 11 AND driver = "sébastien bourdais" AND laps < 67 |
Below is an context that describes a sql 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 (latitude VARCHAR, longitude VARCHAR)
### Question:
What is the latitude of the point with a longitude of 147.1w?
### Answer:
SELECT latitude FROM table_name_7 WHERE longitude = "147.1w" |
Below is an context that describes a sql 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 (date VARCHAR, loss VARCHAR)
### Question:
What date was the game with loss of Aker (3–8)?
### Answer:
SELECT date FROM table_name_4 WHERE loss = "aker (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_27 (date VARCHAR, week VARCHAR)
### Question:
What was the date of week 8?
### Answer:
SELECT date FROM table_name_27 WHERE week = 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_90 (gdp_per_capita__us$_ VARCHAR, gdp__billion_us$_ VARCHAR)
### Question:
What is the per-capita GDP for the country with an overall GDP of 156.640?
### Answer:
SELECT gdp_per_capita__us$_ FROM table_name_90 WHERE gdp__billion_us$_ = "156.640" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_40 (location VARCHAR, tournament VARCHAR)
### Question:
What is the Location for the buick-goodwrench open?
### Answer:
SELECT location FROM table_name_40 WHERE tournament = "buick-goodwrench open" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_198175_2 (residence_city VARCHAR, english_name VARCHAR)
### Question:
How many residence cities have an English name of Province of Viborg and Nyslott?
### Answer:
SELECT COUNT(residence_city) FROM table_198175_2 WHERE english_name = "Province of Viborg and Nyslott" |
Below is an context that describes a sql 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 (schwaben VARCHAR, oberbayern VARCHAR, mittelfranken VARCHAR)
### Question:
Which Schwaben has a Oberbayern of fc bayern munich ii and a Mittelfranken of 1. fc nuremberg ii?
### Answer:
SELECT schwaben FROM table_name_15 WHERE oberbayern = "fc bayern munich ii" AND mittelfranken = "1. fc nuremberg ii" |
Below is an context that describes a sql 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 (total VARCHAR, silver VARCHAR, bronze VARCHAR)
### Question:
What is the total number of Total when the Silver is less than 2, and a Bronze is less than 0?
### Answer:
SELECT COUNT(total) FROM table_name_70 WHERE silver < 2 AND bronze < 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_57 (pts VARCHAR, chassis VARCHAR)
### Question:
How many points were scored when the Chassis is BRM p25?
### Answer:
SELECT pts FROM table_name_57 WHERE chassis = "brm p25" |
Below is an context that describes a sql 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 (height__cm_ INTEGER, birthdate VARCHAR, weight__kg_ VARCHAR, position VARCHAR)
### Question:
What is the average Height when the weight is less than 91 and the position is d, and a Birthdate of july 4, 1975?
### Answer:
SELECT AVG(height__cm_) FROM table_name_66 WHERE weight__kg_ < 91 AND position = "d" AND birthdate = "july 4, 1975" |
Below is an context that describes a sql 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 (venue VARCHAR, away_team VARCHAR)
### Question:
What venue did the away team Collingwood play at?
### Answer:
SELECT venue FROM table_name_42 WHERE away_team = "collingwood" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_52 (draw INTEGER, points INTEGER)
### Question:
Which average draw has points greater than 12?
### Answer:
SELECT AVG(draw) FROM table_name_52 WHERE points > 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_20967430_2 (written_by VARCHAR, prod_code VARCHAR)
### Question:
Name the written by for production code 4g07
### Answer:
SELECT written_by FROM table_20967430_2 WHERE prod_code = "4G07" |
Below is an context that describes a sql 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 (silver INTEGER, rank VARCHAR, bronze VARCHAR)
### Question:
Which Silver has a Rank of 6, and a Bronze smaller than 3?
### Answer:
SELECT MIN(silver) FROM table_name_3 WHERE rank = 6 AND bronze < 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_26986076_5 (sat_29_aug VARCHAR, tues_24_aug VARCHAR)
### Question:
When 21' 10.25 106.930mph is Tuesday August 24th what is Saturday August 29th?
### Answer:
SELECT sat_29_aug FROM table_26986076_5 WHERE tues_24_aug = "21' 10.25 106.930mph" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_14 (attendance INTEGER, venue VARCHAR, opponent VARCHAR)
### Question:
What is the total of attendance at Venue h when Auxerre were playing?
### Answer:
SELECT SUM(attendance) FROM table_name_14 WHERE venue = "h" AND opponent = "auxerre" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12095519_1 (train_name VARCHAR, train_no VARCHAR)
### Question:
What's the name of train number 15647/48?
### Answer:
SELECT train_name FROM table_12095519_1 WHERE train_no = "15647/48" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_82 (round VARCHAR, event VARCHAR, record VARCHAR)
### Question:
How many rounds did the event rings: king of kings 2000 block a have with a record of 6-1?
### Answer:
SELECT round FROM table_name_82 WHERE event = "rings: king of kings 2000 block a" AND record = "6-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_10548224_1 (sport VARCHAR, final_score VARCHAR)
### Question:
What sport had a final score of 3-2?
### Answer:
SELECT sport FROM table_10548224_1 WHERE final_score = "3-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_30058355_7 (sat_27_aug VARCHAR, thurs_25_aug VARCHAR)
### Question:
What is every entry for Saturday August 27 when the entry for Thursday August 25 is 23' 56.90 94.528mph?
### Answer:
SELECT sat_27_aug FROM table_30058355_7 WHERE thurs_25_aug = "23' 56.90 94.528mph" |
Below is an context that describes a sql 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 (call_sign VARCHAR, frequency_mhz VARCHAR)
### Question:
What call sign has a frequency of 91.3 MHz?
### Answer:
SELECT call_sign FROM table_name_81 WHERE frequency_mhz = 91.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_63 (nationality VARCHAR, position VARCHAR, years_in_orlando VARCHAR)
### Question:
Which Nationality has a Position of center, and a Years in Orlando of 2010–2012?
### Answer:
SELECT nationality FROM table_name_63 WHERE position = "center" AND years_in_orlando = "2010–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_6 (gender VARCHAR, name VARCHAR)
### Question:
Which gender has a Name of rangitoto school?
### Answer:
SELECT gender FROM table_name_6 WHERE name = "rangitoto 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_27 (competition VARCHAR, date VARCHAR)
### Question:
What is the competition on 23 February 1929?
### Answer:
SELECT competition FROM table_name_27 WHERE date = "23 february 1929" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_94 (director VARCHAR, title VARCHAR)
### Question:
Who is the Director of Fish Tales?
### Answer:
SELECT director FROM table_name_94 WHERE title = "fish tales" |
Below is an context that describes a sql 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 (pl_gp VARCHAR, pick__number VARCHAR, reg_gp VARCHAR, rd__number VARCHAR)
### Question:
What is the sum number of Pl GP when the Reg GP was 0, the Rd number was bigger than 8, and the pick number was bigger than 146?
### Answer:
SELECT COUNT(pl_gp) FROM table_name_90 WHERE reg_gp = 0 AND rd__number > 8 AND pick__number > 146 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21321804_1 (pick__number INTEGER, player VARCHAR)
### Question:
What is the pick # for player wes lysack?
### Answer:
SELECT MAX(pick__number) FROM table_21321804_1 WHERE player = "Wes Lysack" |
Below is an context that describes a sql 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 (points_diff INTEGER, points VARCHAR, against VARCHAR, lost VARCHAR)
### Question:
I want the lowest points diff for against being less than 578 and lost being 15 and points more than 26
### Answer:
SELECT MIN(points_diff) FROM table_name_37 WHERE against < 578 AND lost = 15 AND points > 26 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_91 (label VARCHAR, format VARCHAR, region VARCHAR)
### Question:
What is the label for the CD format in North America?
### Answer:
SELECT label FROM table_name_91 WHERE format = "cd" AND region = "north america" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_18 (crowd VARCHAR, away_team VARCHAR)
### Question:
How many people were in attendance at St Kilda's away match?
### Answer:
SELECT crowd FROM table_name_18 WHERE away_team = "st kilda" |
Below is an context that describes a sql 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 (episode INTEGER, performer_1 VARCHAR, date VARCHAR)
### Question:
What is the average episode number on 19 March 1993 with Jim Sweeney as performer 1?
### Answer:
SELECT AVG(episode) FROM table_name_29 WHERE performer_1 = "jim sweeney" AND date = "19 march 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_1566848_8 (date VARCHAR, centerfold_model VARCHAR)
### Question:
When was the Kymberly Paige the Centerfold?
### Answer:
SELECT date FROM table_1566848_8 WHERE centerfold_model = "Kymberly Paige" |
Below is an context that describes a sql 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 (designer VARCHAR, restaurant_name VARCHAR)
### Question:
Who was the designer for The Grapefruit Moon?
### Answer:
SELECT designer FROM table_name_89 WHERE restaurant_name = "the grapefruit moon" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.