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_83 (annual_generation__average_gwh_ VARCHAR, name VARCHAR)
### Question:
What is the Annual Generation at Kawerau (Bope)?
### Answer:
SELECT annual_generation__average_gwh_ FROM table_name_83 WHERE name = "kawerau (bope)"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23281862_5 (location_attendance VARCHAR, team VARCHAR)
### Question:
Name the location attendance for memphis
### Answer:
SELECT location_attendance FROM table_23281862_5 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_name_5 (years VARCHAR, ties INTEGER)
### Question:
What years did the person coach who had more than 31 ties?
### Answer:
SELECT years FROM table_name_5 WHERE ties > 31
|
Below is an context that describes a sql 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 (place VARCHAR, to_par VARCHAR, player VARCHAR)
### Question:
WHich Place has a To par of –2, and a Player of bernhard langer?
### Answer:
SELECT place FROM table_name_53 WHERE to_par = "–2" AND player = "bernhard langer"
|
Below is an context that describes a sql 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 (competition VARCHAR, location VARCHAR)
### Question:
What competition is located in bamako?
### Answer:
SELECT competition FROM table_name_68 WHERE location = "bamako"
|
Below is an context that describes a sql 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 (finalists VARCHAR, season VARCHAR)
### Question:
Who were the finalists in the 1972–73 season?
### Answer:
SELECT finalists FROM table_name_53 WHERE season = "1972–73"
|
Below is an context that describes a sql 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 (won_by_2_or_more_goals_difference VARCHAR, played VARCHAR, team VARCHAR, difference VARCHAR, points VARCHAR)
### Question:
How many values for a win by 2 or more goals correspond to a difference of 2, more than 9 points, and the America-RJ team when more than 7 are played?
### Answer:
SELECT COUNT(won_by_2_or_more_goals_difference) FROM table_name_3 WHERE difference = "2" AND points > 9 AND team = "america-rj" AND played > 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_40 (surface VARCHAR, score VARCHAR)
### Question:
What was the Surface in the match with a Score of 7–5, 6–7, 4–6?
### Answer:
SELECT surface FROM table_name_40 WHERE score = "7–5, 6–7, 4–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_17369472_2 (won VARCHAR, points VARCHAR)
### Question:
How many were won when there were 49 points?
### Answer:
SELECT won FROM table_17369472_2 WHERE 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_14 (nationality VARCHAR, player VARCHAR)
### Question:
What Nationality is Jeff Hornacek?
### Answer:
SELECT nationality FROM table_name_14 WHERE player = "jeff hornacek"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_98 (events INTEGER, cuts_made VARCHAR, top_10 VARCHAR, wins VARCHAR)
### Question:
What is the average number of events having 1 top-10, fewer than 4 cuts made, and 0 wins?
### Answer:
SELECT AVG(events) FROM table_name_98 WHERE top_10 = 1 AND wins > 0 AND cuts_made < 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_28677723_10 (music VARCHAR, tor_fløysvik VARCHAR)
### Question:
How many music entries are there when tor floysvik is 3?
### Answer:
SELECT COUNT(music) FROM table_28677723_10 WHERE tor_fløysvik = 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_18893428_1 (report VARCHAR, driver VARCHAR)
### Question:
How many times did Charles Jarrott report?
### Answer:
SELECT COUNT(report) FROM table_18893428_1 WHERE driver = "Charles Jarrott"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1909647_2 (year VARCHAR, team_s_ VARCHAR)
### Question:
In what year did the #14 FitzBradshaw Racing compete?
### Answer:
SELECT year FROM table_1909647_2 WHERE team_s_ = "#14 FitzBradshaw 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_11 (tournament VARCHAR)
### Question:
Which Tournament has A in 1987?
### Answer:
SELECT tournament FROM table_name_11 WHERE 1987 = "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_79 (opponent VARCHAR, date VARCHAR)
### Question:
Which opponent did they play against on April 16?
### Answer:
SELECT opponent FROM table_name_79 WHERE date = "april 16"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_99 (laps VARCHAR, rank VARCHAR)
### Question:
What is the sum of all laps with rank 3?
### Answer:
SELECT COUNT(laps) FROM table_name_99 WHERE rank = "3"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_30 (nfl_team VARCHAR, player VARCHAR)
### Question:
Which NFL team picked Patrick Collins?
### Answer:
SELECT nfl_team FROM table_name_30 WHERE player = "patrick collins"
|
Below is an context that describes a sql 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 (outcome VARCHAR, surface VARCHAR, score VARCHAR)
### Question:
What outcome occurs on a hard surface with a score of 4–6, 6–7(3)?
### Answer:
SELECT outcome FROM table_name_3 WHERE surface = "hard" AND score = "4–6, 6–7(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_2 (took_office INTEGER, district VARCHAR)
### Question:
What is the earliest date of taking office for district 22?
### Answer:
SELECT MIN(took_office) FROM table_name_2 WHERE district = 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_81 (venue VARCHAR, home_team VARCHAR)
### Question:
What was the venue when the home team was footscray?
### Answer:
SELECT venue FROM table_name_81 WHERE home_team = "footscray"
|
Below is an context that describes a sql 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 (player VARCHAR, to_par VARCHAR, score VARCHAR)
### Question:
What is Player, when To Par is +1, and when Score is 72-70-72=214?
### Answer:
SELECT player FROM table_name_70 WHERE to_par = "+1" AND score = 72 - 70 - 72 = 214
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Electoral_Register (electoral_register_id VARCHAR, cmi_cross_ref_id VARCHAR); CREATE TABLE CMI_Cross_References (cmi_cross_ref_id VARCHAR, source_system_code VARCHAR)
### Question:
What are the register ids of electoral registries that have the cross reference source system code 'Electoral' or 'Tax'?
### Answer:
SELECT T1.electoral_register_id FROM Electoral_Register AS T1 JOIN CMI_Cross_References AS T2 ON T1.cmi_cross_ref_id = T2.cmi_cross_ref_id WHERE T2.source_system_code = 'Electoral' OR T2.source_system_code = 'Tax'
|
Below is an context that describes a sql 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 (power__kw_ VARCHAR, coverage VARCHAR)
### Question:
What is the power in kW corresponding to the station that covers General Santos?
### Answer:
SELECT power__kw_ FROM table_name_63 WHERE coverage = "general santos"
|
Below is an context that describes a sql 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 (eliminated_by VARCHAR, wrestler VARCHAR)
### Question:
Who Eliminated Kurt Angle?
### Answer:
SELECT eliminated_by FROM table_name_49 WHERE wrestler = "kurt angle"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE airports (name VARCHAR, city VARCHAR, country VARCHAR, elevation VARCHAR)
### Question:
Find the name, city, and country of the airport that has the highest latitude.
### Answer:
SELECT name, city, country FROM airports ORDER BY elevation 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_85 (capacity INTEGER, city VARCHAR)
### Question:
What is the average capacity that has foligno as the city?
### Answer:
SELECT AVG(capacity) FROM table_name_85 WHERE city = "foligno"
|
Below is an context that describes a sql 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 (service VARCHAR, network VARCHAR, language VARCHAR, genre VARCHAR)
### Question:
Which service has a hindi language, general genre and zee tv network?
### Answer:
SELECT service FROM table_name_95 WHERE language = "hindi" AND genre = "general" AND network = "zee tv"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_82 (attendance VARCHAR, time VARCHAR)
### Question:
What is the number of people in attendance when the time is 3:00?
### Answer:
SELECT attendance FROM table_name_82 WHERE time = "3:00"
|
Below is an context that describes a sql 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 (last_issue VARCHAR, title VARCHAR)
### Question:
What is the last issue entry for Aron's Absurd Armada?
### Answer:
SELECT last_issue FROM table_name_49 WHERE title = "aron's absurd armada"
|
Below is an context that describes a sql 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 (player VARCHAR, score VARCHAR)
### Question:
What player has a score of 79?
### Answer:
SELECT player FROM table_name_53 WHERE score = "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_85 (party VARCHAR, minister VARCHAR)
### Question:
Which party was Andrea Ronchi from?
### Answer:
SELECT party FROM table_name_85 WHERE minister = "andrea ronchi"
|
Below is an context that describes a sql 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 (date VARCHAR, record VARCHAR)
### Question:
On what date was the record 2–1?
### Answer:
SELECT date FROM table_name_53 WHERE record = "2–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_36 (stage VARCHAR, points_classification VARCHAR, general_classification VARCHAR)
### Question:
What is teh stage with Daniele Bennati as the points classification and Giovanni VIsconti as the general classification?
### Answer:
SELECT stage FROM table_name_36 WHERE points_classification = "daniele bennati" AND general_classification = "giovanni visconti"
|
Below is an context that describes a sql 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 (stage VARCHAR, distance__km_ VARCHAR, year VARCHAR)
### Question:
who was the Stage winner when the stage was smaller than 16, earlier than 1986, and a distance (km) was 19.6?
### Answer:
SELECT stage AS winner FROM table_name_44 WHERE stage < 16 AND year < 1986 AND distance__km_ = "19.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_64 (draw VARCHAR, performer VARCHAR, points VARCHAR)
### Question:
What is the total number of draws for songs performed by Miranda with fewer than 48 points?
### Answer:
SELECT COUNT(draw) FROM table_name_64 WHERE performer = "miranda" AND points < 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_42 (to_par VARCHAR, country VARCHAR, player VARCHAR)
### Question:
which To par has a Country of united states, and a Player of dave stockton?
### Answer:
SELECT to_par FROM table_name_42 WHERE country = "united states" AND player = "dave stockton"
|
Below is an context that describes a sql 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 (losses VARCHAR, position VARCHAR, points VARCHAR, goals_for VARCHAR, wins VARCHAR)
### Question:
What is the total number of losses with less than 73 goals for, less than 11 wins, more than 24 points, and a position greater than 15?
### Answer:
SELECT COUNT(losses) FROM table_name_54 WHERE goals_for < 73 AND wins < 11 AND points > 24 AND position > 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_15887683_10 (hdtv VARCHAR, television_service VARCHAR, package_option VARCHAR, dar VARCHAR)
### Question:
Name the hdtv for sky famiglia and dar 16:9 for mydeejay
### Answer:
SELECT hdtv FROM table_15887683_10 WHERE package_option = "Sky Famiglia" AND dar = "16:9" AND television_service = "myDeejay"
|
Below is an context that describes a sql 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 (term_in_office VARCHAR, member VARCHAR)
### Question:
What term did hon ralph hunt serve in office?
### Answer:
SELECT term_in_office FROM table_name_9 WHERE member = "hon ralph hunt"
|
Below is an context that describes a sql 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 (gold VARCHAR, bronze VARCHAR, total VARCHAR, sport VARCHAR)
### Question:
How many gold values have totals over 30, bronzes over 35, and are in Swimming?
### Answer:
SELECT COUNT(gold) FROM table_name_75 WHERE total > 30 AND sport = "swimming" AND bronze > 35
|
Below is an context that describes a sql 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 (set_2 VARCHAR, date VARCHAR, set_3 VARCHAR)
### Question:
Which Set 2 has a Date of 25 may, and a Set 3 of 21–25?
### Answer:
SELECT set_2 FROM table_name_45 WHERE date = "25 may" AND set_3 = "21–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_39 (competition VARCHAR, venue VARCHAR, attendance VARCHAR)
### Question:
What was the home Competition with Attendance of 1,268?
### Answer:
SELECT competition FROM table_name_39 WHERE venue = "home" AND attendance = "1,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_98 (venue VARCHAR, crowd INTEGER)
### Question:
What venue featured a crowd of over 30,000?
### Answer:
SELECT venue FROM table_name_98 WHERE crowd > 30 OFFSET 000
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11677100_11 (position VARCHAR, school VARCHAR)
### Question:
WHAT POSITION DOES HE PLAY FOR AT WEST BROOK SENIOR HIGH SCHOOL?
### Answer:
SELECT position FROM table_11677100_11 WHERE school = "West Brook Senior High school"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_98 (overall VARCHAR, player VARCHAR, round VARCHAR)
### Question:
What is the total overall when Kenny Lewis is the player in a round after 5?
### Answer:
SELECT COUNT(overall) FROM table_name_98 WHERE player = "kenny lewis" AND round > 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_1974782_1 (institution VARCHAR, location VARCHAR)
### Question:
What school is located in Worcester, Massachusetts?
### Answer:
SELECT institution FROM table_1974782_1 WHERE location = "Worcester, Massachusetts"
|
Below is an context that describes a sql 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 (section VARCHAR, season VARCHAR, level VARCHAR, position VARCHAR)
### Question:
Which section has a level of Tier 3, is in the 6th position, and is in the 1937-38 season?
### Answer:
SELECT section FROM table_name_74 WHERE level = "tier 3" AND position = "6th" AND season = "1937-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_13003460_1 (the_icelandic_of_the_glossary VARCHAR, word_number VARCHAR)
### Question:
Name the incelandic of the glossary for 218
### Answer:
SELECT the_icelandic_of_the_glossary FROM table_13003460_1 WHERE word_number = "218"
|
Below is an context that describes a sql 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 (points VARCHAR, match INTEGER)
### Question:
What is the total number of Points from a Match that is larger than 18?
### Answer:
SELECT COUNT(points) FROM table_name_38 WHERE match > 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_1341453_45 (district VARCHAR, incumbent VARCHAR)
### Question:
What district is nick lampson from?
### Answer:
SELECT district FROM table_1341453_45 WHERE incumbent = "Nick Lampson"
|
Below is an context that describes a sql 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 (record VARCHAR, result VARCHAR)
### Question:
What is the Record of the game with a Result of l 14–16?
### Answer:
SELECT record FROM table_name_82 WHERE result = "l 14–16"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_57 (class VARCHAR, erp_w VARCHAR, call_sign VARCHAR)
### Question:
What is the class of the translator with 10 ERP W and a call sign of w273bl?
### Answer:
SELECT class FROM table_name_57 WHERE erp_w = 10 AND call_sign = "w273bl"
|
Below is an context that describes a sql 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 (height_m___feet VARCHAR, name VARCHAR)
### Question:
What is the height for shanghai x-1 financial building?
### Answer:
SELECT height_m___feet FROM table_name_97 WHERE name = "shanghai x-1 financial building"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_73 (enrollment INTEGER, ihsaa_class VARCHAR, mascot VARCHAR)
### Question:
How many people enrolled a the school with an IHSAA Class of a, and the trojans as their mascot?
### Answer:
SELECT MIN(enrollment) FROM table_name_73 WHERE ihsaa_class = "a" AND mascot = "trojans"
|
Below is an context that describes a sql 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 (venue VARCHAR, away_team VARCHAR)
### Question:
What venue did the away team footscray play at?
### Answer:
SELECT venue FROM table_name_63 WHERE away_team = "footscray"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1130632_1 (title VARCHAR, us_viewers__million_ VARCHAR)
### Question:
Which titles have 18.73 u.s. viewers.
### Answer:
SELECT title FROM table_1130632_1 WHERE us_viewers__million_ = "18.73"
|
Below is an context that describes a 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_7 (date VARCHAR, score VARCHAR)
### Question:
Name the number of date for w 107–97 (ot)
### Answer:
SELECT COUNT(date) FROM table_23274514_7 WHERE score = "W 107–97 (OT)"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_84 (date VARCHAR, score VARCHAR)
### Question:
On what date was the score 121-113?
### Answer:
SELECT date FROM table_name_84 WHERE score = "121-113"
|
Below is an context that describes a sql 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 (score VARCHAR, player VARCHAR)
### Question:
What was Jim Colbert's score?
### Answer:
SELECT score FROM table_name_72 WHERE player = "jim colbert"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24195232_1 (location VARCHAR, team_name VARCHAR)
### Question:
What is the location for the team name of eagles?
### Answer:
SELECT location FROM table_24195232_1 WHERE team_name = "Eagles"
|
Below is an context that describes a sql 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 (name VARCHAR, position VARCHAR, weight VARCHAR)
### Question:
What is the name of the player who is a wr and has a weight of 197?
### Answer:
SELECT name FROM table_name_83 WHERE position = "wr" AND weight = 197
|
Below is an context that describes a sql 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 (game INTEGER, team VARCHAR, high_assists VARCHAR)
### Question:
What is the highest Game, when Team is "Celtics", and when High Assists is "Hedo Türkoğlu (4)"?
### Answer:
SELECT MAX(game) FROM table_name_34 WHERE team = "celtics" AND high_assists = "hedo türkoğlu (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_27 (length VARCHAR, class VARCHAR, date VARCHAR)
### Question:
Name the length for class of gts-2 and date of october 8
### Answer:
SELECT length FROM table_name_27 WHERE class = "gts-2" AND date = "october 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 Documents (Id VARCHAR); CREATE TABLE Ref_Document_Status (Id VARCHAR)
### Question:
What is the document status description of the document with id 1?
### Answer:
SELECT Ref_Document_Status.document_status_description FROM Ref_Document_Status JOIN Documents ON Documents.document_status_code = Ref_Document_Status.document_status_code WHERE Documents.document_id = 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_6 (week INTEGER, transition VARCHAR)
### Question:
What was the first week that had a transition with Pat Mccready?
### Answer:
SELECT MIN(week) FROM table_name_6 WHERE transition = "pat mccready"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19169116_8 (score VARCHAR, opponent VARCHAR)
### Question:
Name the score for opponent of cleveland
### Answer:
SELECT score FROM table_19169116_8 WHERE opponent = "Cleveland"
|
Below is an context that describes a sql 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, country VARCHAR, player VARCHAR)
### Question:
What to par is located in the united states and has the player by the name of hale irwin?
### Answer:
SELECT to_par FROM table_name_87 WHERE country = "united states" AND player = "hale irwin"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29826467_2 (lmp2_winning_team VARCHAR, flm_winning_team VARCHAR)
### Question:
if the flm winning team is no. 99 jmb racing what is the name of the lmp2 winning team
### Answer:
SELECT lmp2_winning_team FROM table_29826467_2 WHERE flm_winning_team = "No. 99 JMB 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_84 (cardinal_direction VARCHAR, english VARCHAR)
### Question:
What is the cardinal direction of Monday in English?
### Answer:
SELECT cardinal_direction FROM table_name_84 WHERE english = "monday"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_39 (competition VARCHAR, man_of_the_match VARCHAR)
### Question:
Rick Plant was the man of the match in what competition?
### Answer:
SELECT competition FROM table_name_39 WHERE man_of_the_match = "rick plant"
|
Below is an context that describes a sql 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 (english_title VARCHAR, director VARCHAR)
### Question:
What is the English title of the film Directed by Jayme Monjardim?
### Answer:
SELECT english_title FROM table_name_21 WHERE director = "jayme monjardim"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2818164_4 (original_air_date VARCHAR, production_code VARCHAR)
### Question:
What was the air date of the episode with the production code of 322?
### Answer:
SELECT original_air_date FROM table_2818164_4 WHERE production_code = 322
|
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR)
### Question:
Name the score for 26 may 1997
### Answer:
SELECT score FROM table_name_4 WHERE date = "26 may 1997"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14154271_2 (rnd VARCHAR, lmp2_winning_team VARCHAR)
### Question:
Jos verstappen jeroen bleekemolen is on Imp2 winning team where all are rnd.
### Answer:
SELECT rnd FROM table_14154271_2 WHERE lmp2_winning_team = "Jos Verstappen Jeroen Bleekemolen"
|
Below is an context that describes a sql 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 (director VARCHAR, serial_title VARCHAR)
### Question:
I want the director for heroes of the wild
### Answer:
SELECT director FROM table_name_29 WHERE serial_title = "heroes of the wild"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_61 (host_team VARCHAR, visiting_team VARCHAR)
### Question:
Who is the Host team that has a chicago bears as a visiting team?
### Answer:
SELECT host_team FROM table_name_61 WHERE visiting_team = "chicago bears"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_30083499_1 (nationality VARCHAR, tournament VARCHAR)
### Question:
How many nationalities are there for the 2011 apertura?
### Answer:
SELECT COUNT(nationality) FROM table_30083499_1 WHERE tournament = "2011 Apertura"
|
Below is an context that describes a sql 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 (producer_s_ VARCHAR, writer_s_ VARCHAR)
### Question:
Which producer worked with Robert Sproul-cran as writer?
### Answer:
SELECT producer_s_ FROM table_name_94 WHERE writer_s_ = "robert sproul-cran"
|
Below is an context that describes a sql 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 (pinyin VARCHAR, chinese_title VARCHAR)
### Question:
What is the pinyin for the Chinese title 直感一笔?
### Answer:
SELECT pinyin FROM table_name_78 WHERE chinese_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_61 (process VARCHAR, date VARCHAR, clock VARCHAR)
### Question:
Which process has a date later than 2000 and a Clock of 1.4-1.6ghz?
### Answer:
SELECT process FROM table_name_61 WHERE date > 2000 AND clock = "1.4-1.6ghz"
|
Below is an context that describes a sql 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 (bulgarian_name VARCHAR, english_name VARCHAR)
### Question:
What's the bulgarian word for January?
### Answer:
SELECT bulgarian_name FROM table_name_95 WHERE english_name = "january"
|
Below is an context that describes a sql 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 (score VARCHAR, runner_up VARCHAR)
### Question:
What is the score of the game with Falkirk as the runner-up?
### Answer:
SELECT score FROM table_name_48 WHERE runner_up = "falkirk"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20124413_1 (original_airdate VARCHAR, prod_code VARCHAR)
### Question:
When 1.17 is the production code how many air dates are there?
### Answer:
SELECT COUNT(original_airdate) FROM table_20124413_1 WHERE prod_code = "1.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_22754491_1 (margin VARCHAR, constituency VARCHAR)
### Question:
What is the margin when periyakulam is the constituency?
### Answer:
SELECT margin FROM table_22754491_1 WHERE constituency = "Periyakulam"
|
Below is an context that describes a sql 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 (record VARCHAR, year VARCHAR)
### Question:
What is the record of the champion in 2008?
### Answer:
SELECT record FROM table_name_85 WHERE year = 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 (language VARCHAR, original_title VARCHAR)
### Question:
What language is the film La Diagonale du Fou in?
### Answer:
SELECT language FROM table_name_24 WHERE original_title = "la diagonale du fou"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10577579_3 (men’s_nickname VARCHAR, women’s_nickname VARCHAR)
### Question:
What is the men's nickname at the school that has the lady wildcats women's nickname?
### Answer:
SELECT men’s_nickname FROM table_10577579_3 WHERE women’s_nickname = "Lady Wildcats"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE EVENTS (event_details VARCHAR, Service_ID VARCHAR); CREATE TABLE Services (Service_ID VARCHAR, Service_Type_Code VARCHAR)
### Question:
what are the event details of the services that have the type code 'Marriage'?
### Answer:
SELECT T1.event_details FROM EVENTS AS T1 JOIN Services AS T2 ON T1.Service_ID = T2.Service_ID WHERE T2.Service_Type_Code = 'Marriage'
|
Below is an context that describes a sql 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 (year INTEGER, entrant VARCHAR)
### Question:
What year shows the Entrant of bmw motorsport?
### Answer:
SELECT SUM(year) FROM table_name_15 WHERE entrant = "bmw motorsport"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25252080_3 (november_3 VARCHAR, january_15_16 VARCHAR)
### Question:
What number is shown for november 3 where january 15-16 is 151?
### Answer:
SELECT november_3 FROM table_25252080_3 WHERE january_15_16 = "151"
|
Below is an context that describes a sql 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 (director VARCHAR, studio VARCHAR, title VARCHAR)
### Question:
Who directed Predator that was filmed with Fox Studio?
### Answer:
SELECT director FROM table_name_29 WHERE studio = "fox" AND title = "predator"
|
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29871617_1 (chromosomal_location VARCHAR, name VARCHAR)
### Question:
What is the chromosomal location of il-1β?
### Answer:
SELECT chromosomal_location FROM table_29871617_1 WHERE name = "IL-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_27 (sort_restore VARCHAR, births VARCHAR)
### Question:
What is the number of sort values associated with 389 births?
### Answer:
SELECT COUNT(sort_restore) FROM table_name_27 WHERE births = "389"
|
Below is an context that describes a sql 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 (score VARCHAR, date VARCHAR)
### Question:
WHAT IS THE SCORE WITH A DATE OF NOVEMBER 18?
### Answer:
SELECT score FROM table_name_80 WHERE date = "november 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_140297_1 (population_2011_census VARCHAR, local_government_area VARCHAR)
### Question:
How many people live in the area of Sorell according to the Census of 2011?
### Answer:
SELECT population_2011_census FROM table_140297_1 WHERE local_government_area = "Sorell"
|
Below is an context that describes a sql 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 (engine VARCHAR, points VARCHAR)
### Question:
Which Engine has Points of 3?
### Answer:
SELECT engine FROM table_name_30 WHERE points = 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_2 (diagram INTEGER, builder VARCHAR)
### Question:
What is the total diagram for builder york?
### Answer:
SELECT SUM(diagram) FROM table_name_2 WHERE builder = "york"
|
Below is an context that describes a sql 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 (team VARCHAR, position VARCHAR, against VARCHAR, lost VARCHAR)
### Question:
What team has an against more than 8, lost of 7, and the position is 5?
### Answer:
SELECT team FROM table_name_13 WHERE against > 8 AND lost = 7 AND position = 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_25 (Id VARCHAR)
### Question:
What is the 2007 value for the 2006 wta premier tournaments?
### Answer:
SELECT 2007 FROM table_name_25 WHERE 2006 = "wta premier tournaments"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.