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_23915973_1 (frequency VARCHAR, callsign VARCHAR)
### Question:
What is the frequency when callsign is dxru-fm?
### Answer:
SELECT frequency FROM table_23915973_1 WHERE callsign = "DXRU-FM" |
Below is an context that describes a sql 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 (wins INTEGER, losses VARCHAR)
### Question:
What is the lowest amount of wins of someone who has 2 losses?
### Answer:
SELECT MIN(wins) FROM table_name_96 WHERE losses = 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_39 (ihsaa_football_class VARCHAR, county VARCHAR)
### Question:
What IHSAA Football Class has 20 elkhart as the county?
### Answer:
SELECT ihsaa_football_class FROM table_name_39 WHERE county = "20 elkhart" |
Below is an context that describes a sql 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 (MAX VARCHAR, surface VARCHAR, winner VARCHAR)
### Question:
Which Event has a Surface of semifinal, and a Winner of hard (i)?
### Answer:
SELECT NOT MAX AS event FROM table_name_23 WHERE surface = "semifinal" AND winner = "hard (i)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_28 (ave__no INTEGER, name VARCHAR)
### Question:
Which AVE-No has a Name of livigno alps?
### Answer:
SELECT MIN(ave__no) FROM table_name_28 WHERE name = "livigno alps" |
Below is an context that describes a sql 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 (player VARCHAR, round VARCHAR, pick VARCHAR)
### Question:
Who was pick 16 and before round 10?
### Answer:
SELECT player FROM table_name_30 WHERE round < 10 AND pick = 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_2886617_9 (college_junior_club_team VARCHAR, nhl_team VARCHAR)
### Question:
What college club team did the Dallas Stars choose their draft pick from?
### Answer:
SELECT college_junior_club_team FROM table_2886617_9 WHERE nhl_team = "Dallas Stars" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1986692_1 (division VARCHAR, year VARCHAR)
### Question:
When 2008 is the year how many divisions are there?
### Answer:
SELECT COUNT(division) FROM table_1986692_1 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_34 (site VARCHAR, result VARCHAR)
### Question:
What is the site of the game with a Result of l7-33?
### Answer:
SELECT site FROM table_name_34 WHERE result = "l7-33" |
Below is an context that describes a sql 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, goal VARCHAR)
### Question:
Which venue has a Goal of 3?
### Answer:
SELECT venue FROM table_name_81 WHERE goal = 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 (time VARCHAR, notes VARCHAR, country VARCHAR)
### Question:
What's Italy's time when the notes were SA/B?
### Answer:
SELECT time FROM table_name_96 WHERE notes = "sa/b" AND country = "italy" |
Below is an context that describes a sql 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 (pos VARCHAR, born VARCHAR, height VARCHAR)
### Question:
What is the position of the player born in 1984 with a height of 1.80m?
### Answer:
SELECT pos FROM table_name_20 WHERE born = "1984" AND height = "1.80" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26427332_17 (federal_state VARCHAR, city VARCHAR)
### Question:
for how many federal states is the city of lahnstein listed in the ranking?
### Answer:
SELECT COUNT(federal_state) FROM table_26427332_17 WHERE city = "Lahnstein" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_10 (opponent VARCHAR, game VARCHAR)
### Question:
Which Opponent has a Game of 33?
### Answer:
SELECT opponent FROM table_name_10 WHERE game = 33 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25331766_3 (attendance INTEGER)
### Question:
What is the lowest attendance?
### Answer:
SELECT MIN(attendance) FROM table_25331766_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_19 (winner VARCHAR, year VARCHAR)
### Question:
Who won in 2003?
### Answer:
SELECT winner FROM table_name_19 WHERE year = 2003 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_33 (winning_driver VARCHAR, winning_constructor VARCHAR, name VARCHAR)
### Question:
Which Winning driver has a Winning constructor of mercedes, and a Name of elgin trophy?
### Answer:
SELECT winning_driver FROM table_name_33 WHERE winning_constructor = "mercedes" AND name = "elgin trophy" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE performance (Date VARCHAR, Performance_ID VARCHAR, Attendance VARCHAR); CREATE TABLE member (Name VARCHAR, Member_ID VARCHAR); CREATE TABLE member_attendance (Member_ID VARCHAR, Performance_ID VARCHAR)
### Question:
Show the names of members and the dates of performances they attended in descending order of attendance of the performances.
### Answer:
SELECT T2.Name, T3.Date FROM member_attendance AS T1 JOIN member AS T2 ON T1.Member_ID = T2.Member_ID JOIN performance AS T3 ON T1.Performance_ID = T3.Performance_ID ORDER BY T3.Attendance DESC |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Student_Course_Enrolment (student_id VARCHAR); CREATE TABLE Students (login_name VARCHAR, student_id VARCHAR)
### Question:
Find the student ID and login name of the student with the most course enrollments
### Answer:
SELECT T1.student_id, T2.login_name FROM Student_Course_Enrolment AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id 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_72 (province VARCHAR, established VARCHAR)
### Question:
what province was established in 1870
### Answer:
SELECT province FROM table_name_72 WHERE established = 1870 |
Below is an context that describes a sql 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 (school VARCHAR, indoor_track VARCHAR, soccer VARCHAR, tennis VARCHAR)
### Question:
Which school has yes for soccer, tennis and indoor track.
### Answer:
SELECT school FROM table_name_73 WHERE soccer = "yes" AND tennis = "yes" AND indoor_track = "yes" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2215159_2 (outcome VARCHAR, year VARCHAR, surface VARCHAR, partner VARCHAR)
### Question:
How many outcomes were there for matches played with Chuck McKinley on grass in 1962?
### Answer:
SELECT COUNT(outcome) FROM table_2215159_2 WHERE surface = "Grass" AND partner = "Chuck McKinley" AND year = 1962 |
Below is an context that describes a sql 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 (drawn VARCHAR, played VARCHAR)
### Question:
What is Drawn, when Played is "Correct as of 2006-06-10"?
### Answer:
SELECT drawn FROM table_name_59 WHERE played = "correct as of 2006-06-10" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_83 (crowd INTEGER, away_team VARCHAR)
### Question:
What was the smallest crowd for a Melbourne away game?
### Answer:
SELECT MIN(crowd) FROM table_name_83 WHERE away_team = "melbourne" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27117365_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR)
### Question:
What original air date has 5.85 u.s. viewers (million)?
### Answer:
SELECT original_air_date FROM table_27117365_1 WHERE us_viewers__million_ = "5.85" |
Below is an context that describes a sql 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 (attendance INTEGER, result VARCHAR, week VARCHAR)
### Question:
How many people attended the game with a result of w 16-13 and a week earlier than 12?
### Answer:
SELECT MAX(attendance) FROM table_name_85 WHERE result = "w 16-13" AND week < 12 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_15 (player VARCHAR, goals VARCHAR)
### Question:
What player scored 143 goals?
### Answer:
SELECT player FROM table_name_15 WHERE goals = "143" |
Below is an context that describes a sql 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 (date VARCHAR, away VARCHAR)
### Question:
What is Date, when Away is High Park Demons?
### Answer:
SELECT date FROM table_name_6 WHERE away = "high park demons" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_29486189_4 (party VARCHAR, residence VARCHAR)
### Question:
which party is the newark representative from
### Answer:
SELECT party FROM table_29486189_4 WHERE residence = "Newark" |
Below is an context that describes a sql 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 (type VARCHAR, averaging_time VARCHAR, standard VARCHAR)
### Question:
what is the type when the averaging time is 1-hour and the standard is 0.12 ppm (235 μg/m³)?
### Answer:
SELECT type FROM table_name_62 WHERE averaging_time = "1-hour" AND standard = "0.12 ppm (235 μg/m³)" |
Below is an context that describes a sql 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 (fall_08 INTEGER, fall_05 VARCHAR, fall_09 VARCHAR, fall_06 VARCHAR)
### Question:
What's the largest Fall 08 number when fall 09 is less than 82, fall 06 is 5, and fall 05 is less than 3?
### Answer:
SELECT MAX(fall_08) FROM table_name_96 WHERE fall_09 < 82 AND fall_06 = 5 AND fall_05 < 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 (opponents VARCHAR, h___a VARCHAR, date VARCHAR)
### Question:
Who was the opponent on 11 August 1991 when the H/A was H?
### Answer:
SELECT opponents FROM table_name_96 WHERE h___a = "h" AND date = "11 august 1991" |
Below is an context that describes a sql 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 (height_of_bridge_structure VARCHAR, opened VARCHAR, name VARCHAR)
### Question:
How tall is the Anqing Bridge which opened prior to 2011?
### Answer:
SELECT height_of_bridge_structure FROM table_name_8 WHERE opened < 2011 AND name = "anqing bridge" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_225880_1 (year INTEGER, runner_s__up VARCHAR)
### Question:
Name the least year for walter hagen
### Answer:
SELECT MIN(year) FROM table_225880_1 WHERE runner_s__up = "Walter Hagen" |
Below is an context that describes a sql 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 (rank INTEGER, time VARCHAR, lane VARCHAR)
### Question:
What's the total rank of the lane smaller than 8 with a time of 59.80?
### Answer:
SELECT SUM(rank) FROM table_name_15 WHERE time = "59.80" AND lane < 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 (player VARCHAR, goals VARCHAR, tries VARCHAR)
### Question:
Which player has more than 0 goals and less than 12 tries?
### Answer:
SELECT player FROM table_name_5 WHERE goals > 0 AND tries < 12 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_71 (digital_analog_signal VARCHAR, available_interface VARCHAR, retail_name VARCHAR)
### Question:
What is the Digital/analog signal with an Available interface with pci express, with Retail name with all-in-wonder x600 pro?
### Answer:
SELECT digital_analog_signal FROM table_name_71 WHERE available_interface = "pci express" AND retail_name = "all-in-wonder x600 pro" |
Below is an context that describes a sql 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 (house_of_rep_seats INTEGER, abbr VARCHAR)
### Question:
What is the average number of House of Representatives seats had an abbreviation of d66?
### Answer:
SELECT AVG(house_of_rep_seats) FROM table_name_52 WHERE abbr = "d66" |
Below is an context that describes a sql 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 (pair VARCHAR, dance VARCHAR, date VARCHAR)
### Question:
Who danced the Cha-Cha-Cha on November 18, 2008?
### Answer:
SELECT pair FROM table_name_2 WHERE dance = "cha-cha-cha" AND date = "november 18, 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_65 (losses INTEGER, wins VARCHAR, against VARCHAR)
### Question:
What is the most number of losses for teams with 5 wins and an against value under 1607?
### Answer:
SELECT MAX(losses) FROM table_name_65 WHERE wins = 5 AND against < 1607 |
Below is an context that describes a sql 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 (goals_for VARCHAR, losses INTEGER)
### Question:
What is the total number of Goals For, when Losses is greater than 16?
### Answer:
SELECT COUNT(goals_for) FROM table_name_99 WHERE losses > 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_76 (date VARCHAR, runner_s__up VARCHAR)
### Question:
What date did Ian poulter become runner up?
### Answer:
SELECT date FROM table_name_76 WHERE runner_s__up = "ian poulter" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13762472_4 (record VARCHAR, date VARCHAR)
### Question:
what's the record with date being december 29
### Answer:
SELECT record FROM table_13762472_4 WHERE date = "December 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_name_65 (ground VARCHAR, match VARCHAR)
### Question:
Where was match 8 played?
### Answer:
SELECT ground FROM table_name_65 WHERE match = 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 country (Name VARCHAR, SurfaceArea VARCHAR, IndepYear VARCHAR, Population VARCHAR)
### Question:
What are the name, independence year, and surface area of the country with the smallest population?
### Answer:
SELECT Name, SurfaceArea, IndepYear FROM country ORDER BY Population 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_34 (club VARCHAR, venue VARCHAR)
### Question:
Venue of Pepsi arena involved what club?
### Answer:
SELECT club FROM table_name_34 WHERE venue = "pepsi arena" |
Below is an context that describes a sql 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 (carrier VARCHAR, package_version VARCHAR)
### Question:
WHAT IS THE CARRIER WITH 5.0.0.742 VERSION?
### Answer:
SELECT carrier FROM table_name_37 WHERE package_version = "5.0.0.742" |
Below is an context that describes a sql 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 (drawn INTEGER, games VARCHAR, lost VARCHAR, points VARCHAR)
### Question:
Which Drawn has a Lost larger than 0, and Points smaller than 11, and Games smaller than 7?
### Answer:
SELECT AVG(drawn) FROM table_name_98 WHERE lost > 0 AND points < 11 AND games < 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_41 (qual VARCHAR, rank VARCHAR)
### Question:
What's the Qual listed with a Rank of 27?
### Answer:
SELECT qual FROM table_name_41 WHERE rank = "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_name_34 (date VARCHAR, opponent VARCHAR, kickoff_ VARCHAR, a_ VARCHAR)
### Question:
Which date has a Kickoff [a] of 4:00, and an Opponent of detroit lions?
### Answer:
SELECT date FROM table_name_34 WHERE kickoff_[a_] = "4:00" AND opponent = "detroit lions" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2581397_4 (race VARCHAR, weight__kg_ VARCHAR, winner_2nd VARCHAR)
### Question:
In what race was the weight in kg 55 and the winner/2nd 1st - Jim and Tonic?
### Answer:
SELECT race FROM table_2581397_4 WHERE weight__kg_ = "55" AND winner_2nd = "1st - Jim And Tonic" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2062148_3 (race VARCHAR, distance VARCHAR)
### Question:
What race has a distance of 1200 m?
### Answer:
SELECT race FROM table_2062148_3 WHERE distance = "1200 m" |
Below is an context that describes a sql 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 (location VARCHAR, floors VARCHAR)
### Question:
Which Location has a Floors of 03.0 n/a?
### Answer:
SELECT location FROM table_name_18 WHERE floors = "03.0 n/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_14 (rowers VARCHAR, time VARCHAR)
### Question:
Who are the Rowers with a Time of 5:56.38?
### Answer:
SELECT rowers FROM table_name_14 WHERE time = "5:56.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_17 (year INTEGER, length VARCHAR)
### Question:
Which Year is the lowest one that has a Length of 3:50?
### Answer:
SELECT MIN(year) FROM table_name_17 WHERE length = "3:50" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_28 (result VARCHAR, venue VARCHAR, race VARCHAR)
### Question:
What was the result of the Todman stakes race at rosehill?
### Answer:
SELECT result FROM table_name_28 WHERE venue = "rosehill" AND race = "todman stakes" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_16 (score VARCHAR, tie_no VARCHAR)
### Question:
What was the score in Tie number 16?
### Answer:
SELECT score FROM table_name_16 WHERE tie_no = "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_11449590_2 (tv VARCHAR, date VARCHAR)
### Question:
Which tv had the date december 7, 1986?
### Answer:
SELECT tv FROM table_11449590_2 WHERE date = "December 7, 1986" |
Below is an context that describes a sql 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 (gold INTEGER, bronze VARCHAR, rank VARCHAR)
### Question:
What is the average gold with a bronze smaller than 5 with a rank of 8?
### Answer:
SELECT AVG(gold) FROM table_name_17 WHERE bronze < 5 AND rank = "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_97 (round INTEGER, position VARCHAR)
### Question:
Which cornerback has the highest round?
### Answer:
SELECT MAX(round) FROM table_name_97 WHERE position = "cornerback" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_256286_45 (no_votes VARCHAR, description VARCHAR)
### Question:
How many figures are there for No votes for the Forest Rehabilitation Debt Limit Amendment?
### Answer:
SELECT COUNT(no_votes) FROM table_256286_45 WHERE description = "Forest Rehabilitation Debt Limit Amendment" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_13050003_2 (rebounds VARCHAR, year VARCHAR)
### Question:
How many rebounds were there in 2008?
### Answer:
SELECT COUNT(rebounds) FROM table_13050003_2 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 flight (velocity INTEGER, pilot VARCHAR)
### Question:
What is the velocity of the pilot named 'Thompson'?
### Answer:
SELECT AVG(velocity) FROM flight WHERE pilot = 'Thompson' |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_4 (copa_conmebol_1999 VARCHAR, copa_libertadores_1999 VARCHAR, team VARCHAR)
### Question:
What is the Copa Conmebol 1999 result of team cruzeiro, which did not qualify for the Copa Libertadores 1999?
### Answer:
SELECT copa_conmebol_1999 FROM table_name_4 WHERE copa_libertadores_1999 = "did not qualify" AND team = "cruzeiro" |
Below is an context that describes a sql 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 (first_game INTEGER, played VARCHAR, lost VARCHAR)
### Question:
When was the earliest first game with 11 played and 12 games lost?
### Answer:
SELECT MIN(first_game) FROM table_name_60 WHERE played > 11 AND lost = 12 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_58 (number_stayed_in_southeast VARCHAR, total_number_emigrated_or_forcibly_removed VARCHAR)
### Question:
How many of those who stayed in the southeast had 19,600 emigrated or forcibly removed?
### Answer:
SELECT number_stayed_in_southeast FROM table_name_58 WHERE total_number_emigrated_or_forcibly_removed = "19,600" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27755784_11 (date VARCHAR, high_points VARCHAR)
### Question:
Name the number of date for stephen curry , dorell wright (27)
### Answer:
SELECT COUNT(date) FROM table_27755784_11 WHERE high_points = "Stephen Curry , Dorell Wright (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_name_75 (draw VARCHAR, artist VARCHAR, place VARCHAR)
### Question:
What is the draw number of the Artist Dav Mcnamara and a place bigger than 4?
### Answer:
SELECT COUNT(draw) FROM table_name_75 WHERE artist = "dav mcnamara" AND place > 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_74 (date VARCHAR, loss VARCHAR)
### Question:
What was the date of the game that had a loss of Rojas (9–8)?
### Answer:
SELECT date FROM table_name_74 WHERE loss = "rojas (9–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_66 (interview INTEGER, country VARCHAR, swimsuit VARCHAR)
### Question:
What is the lowest interview score for Missouri, where the swimsuit score was highter than 9.433?
### Answer:
SELECT MIN(interview) FROM table_name_66 WHERE country = "missouri" AND swimsuit > 9.433 |
Below is an context that describes a sql 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 (country VARCHAR, to_par VARCHAR, player VARCHAR)
### Question:
What country has to par E with Mark O'Meara?
### Answer:
SELECT country FROM table_name_44 WHERE to_par = "e" AND player = "mark o'meara" |
Below is an context that describes a sql 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 (game VARCHAR, team VARCHAR)
### Question:
What game number is the Kansas City Kings team?
### Answer:
SELECT game FROM table_name_62 WHERE team = "kansas city kings" |
Below is an context that describes a sql 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 (attendance INTEGER, round VARCHAR, home VARCHAR, date VARCHAR)
### Question:
What is the lowest attendance on Monday, November 10 when linköpings hc was the home team and there were more than 18 rounds?
### Answer:
SELECT MIN(attendance) FROM table_name_30 WHERE home = "linköpings hc" AND date = "monday, november 10" AND round > 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_29770377_1 (train_number VARCHAR, train_name VARCHAR, destination VARCHAR)
### Question:
What is the train number for the train name island express with a destination of kanniyakumari?
### Answer:
SELECT train_number FROM table_29770377_1 WHERE train_name = "Island Express" AND destination = "Kanniyakumari" |
Below is an context that describes a sql 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 (catalog VARCHAR, country VARCHAR)
### Question:
What catalog has Australia as the country?
### Answer:
SELECT catalog FROM table_name_58 WHERE country = "australia" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_10 (player VARCHAR, club_team VARCHAR)
### Question:
What Player Club Team is Indiana Ice (ushl)?
### Answer:
SELECT player FROM table_name_10 WHERE club_team = "indiana ice (ushl)" |
Below is an context that describes a sql 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 (opponent VARCHAR, box_scores VARCHAR)
### Question:
Which of the opponents has bye as their box score?
### Answer:
SELECT opponent FROM table_name_32 WHERE box_scores = "bye" |
Below is an context that describes a sql 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 (nba_draft VARCHAR, college VARCHAR)
### Question:
What is the NBA draft for ohio state?
### Answer:
SELECT nba_draft FROM table_name_58 WHERE college = "ohio state" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28768469_7 (record VARCHAR, high_assists VARCHAR)
### Question:
What is the record listed when the high assists is earl watson (6)?
### Answer:
SELECT record FROM table_28768469_7 WHERE high_assists = "Earl Watson (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_25 (year INTEGER, earnings__$_ VARCHAR)
### Question:
What year has earnings of $557,158?
### Answer:
SELECT MAX(year) FROM table_name_25 WHERE earnings__$_ = "557,158" |
Below is an context that describes a sql 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 (points INTEGER, position VARCHAR, drawn VARCHAR)
### Question:
What is the highest Points in Position 2 with more than 3 Drawn games?
### Answer:
SELECT MAX(points) FROM table_name_75 WHERE position = 2 AND drawn > 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_25 (home_team VARCHAR, away_team VARCHAR)
### Question:
Which Home team has an Away team of collingwood?
### Answer:
SELECT home_team FROM table_name_25 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_50 (opponent VARCHAR, year VARCHAR, outcome VARCHAR)
### Question:
who is the opponent when the year is after 1996 and the outcome is winner?
### Answer:
SELECT opponent FROM table_name_50 WHERE year > 1996 AND outcome = "winner" |
Below is an context that describes a sql 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 (change_06_07 VARCHAR)
### Question:
What is the greatest 2007 when the change 06-07 was 14.7%?
### Answer:
SELECT MAX(2007) FROM table_name_61 WHERE change_06_07 = "14.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_23308178_9 (attendance VARCHAR, record VARCHAR)
### Question:
How many times was there a record of 49-15-11?
### Answer:
SELECT COUNT(attendance) FROM table_23308178_9 WHERE record = "49-15-11" |
Below is an context that describes a sql 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 (date VARCHAR, opponents VARCHAR, score VARCHAR)
### Question:
When were scottish football league xi the opponents with a score of 1-5?
### Answer:
SELECT date FROM table_name_11 WHERE opponents = "scottish football league xi" AND score = "1-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_1837570_1 (language VARCHAR, coverage_area VARCHAR)
### Question:
Which languages are offered in the coverage area of klang petaling jaya shah alam?
### Answer:
SELECT language FROM table_1837570_1 WHERE coverage_area = "Klang Petaling Jaya Shah Alam" |
Below is an context that describes a sql 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 (acquired INTEGER, design VARCHAR, name VARCHAR)
### Question:
What is the average year for Wallenstein with 1a1 design?
### Answer:
SELECT AVG(acquired) FROM table_name_49 WHERE design = "1a1" AND name = "wallenstein" |
Below is an context that describes a sql 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 (name VARCHAR, prize VARCHAR)
### Question:
What is Name, when Prize is "$279.330"?
### Answer:
SELECT name FROM table_name_64 WHERE prize = "$279.330" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_30120619_1 (barony VARCHAR, area__acres__ VARCHAR)
### Question:
What is the barony of the townland whose area is 150 acres?
### Answer:
SELECT barony FROM table_30120619_1 WHERE area__acres__ = 150 |
Below is an context that describes a sql 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 (drawn INTEGER, lost VARCHAR, points VARCHAR)
### Question:
Which Drawn has a Lost larger than 8, and Points smaller than 7?
### Answer:
SELECT SUM(drawn) FROM table_name_80 WHERE lost > 8 AND points < 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_83 (school_club_team VARCHAR, player VARCHAR)
### Question:
What School/Club Team is Player Howard Wood from?
### Answer:
SELECT school_club_team FROM table_name_83 WHERE player = "howard wood" |
Below is an context that describes a 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_54 (dominant_religion__2002_ VARCHAR, population__2011_ VARCHAR)
### Question:
What is the dominant religion in 2002 for the population of 2337 in 2011?
### Answer:
SELECT dominant_religion__2002_ FROM table_2562572_54 WHERE population__2011_ = 2337 |
Below is an context that describes a sql 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 (institutional_authority VARCHAR, rocket_launch VARCHAR)
### Question:
Which Institutional authority has a Rocket launch of rehnuma-10?
### Answer:
SELECT institutional_authority FROM table_name_67 WHERE rocket_launch = "rehnuma-10" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_21584646_10 (quarterfinalists VARCHAR, runner_up VARCHAR)
### Question:
Who are the quarterfinalists for runner-up jimmy connors?
### Answer:
SELECT quarterfinalists FROM table_21584646_10 WHERE runner_up = "Jimmy Connors" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16677887_2 (opponent VARCHAR, bills_first_downs VARCHAR)
### Question:
What team were the bills playing where their first down was 23?
### Answer:
SELECT opponent FROM table_16677887_2 WHERE bills_first_downs = 23 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_47 (score VARCHAR, location VARCHAR)
### Question:
What is the score at the Addis Ababa location?
### Answer:
SELECT score FROM table_name_47 WHERE location = "addis ababa" |
Below is an context that describes a sql 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 (shoulder VARCHAR, length VARCHAR)
### Question:
What is the shoulder measurement of the gun with a length of 57.85 (2.278)?
### Answer:
SELECT shoulder FROM table_name_36 WHERE length = "57.85 (2.278)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2618061_1 (title VARCHAR, directed_by VARCHAR)
### Question:
What is the title of the episode written by daniel sackheim?
### Answer:
SELECT title FROM table_2618061_1 WHERE directed_by = "Daniel Sackheim" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22319599_1 (location VARCHAR, varsity_teams VARCHAR)
### Question:
If the varsity team is 6, what is the location?
### Answer:
SELECT location FROM table_22319599_1 WHERE varsity_teams = 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.