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_56 (position VARCHAR, home_town VARCHAR)
### Question:
What is the position of the player from New York City, NY?
### Answer:
SELECT position FROM table_name_56 WHERE home_town = "new york city, ny" |
Below is an context that describes a sql 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 (students INTEGER, pupil_teacher_ratio VARCHAR)
### Question:
What is the average number of students for schools with a pupil to teacher ratio of 25.1?
### Answer:
SELECT AVG(students) FROM table_name_25 WHERE pupil_teacher_ratio = 25.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_47 (length___ft__ VARCHAR, length___m__ VARCHAR)
### Question:
What is the length in feet when the length in meters is 64.2?
### Answer:
SELECT length___ft__ FROM table_name_47 WHERE length___m__ = "64.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_80 (int_percentage VARCHAR, rlng VARCHAR)
### Question:
What % has 4 RLng?
### Answer:
SELECT int_percentage FROM table_name_80 WHERE rlng = "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_71 (date VARCHAR, competition VARCHAR, venue VARCHAR)
### Question:
Name the date that has a friendly competition at rheinpark stadion, vaduz
### Answer:
SELECT date FROM table_name_71 WHERE competition = "friendly" AND venue = "rheinpark stadion, vaduz" |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
What 2006 has grand slam tournaments of 2005?
### Answer:
SELECT 2006 FROM table_name_27 WHERE 2005 = "grand slam tournaments" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_29 (venue VARCHAR, tournament VARCHAR)
### Question:
Where was the Olympic Games held?
### Answer:
SELECT venue FROM table_name_29 WHERE tournament = "olympic games" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_35 (year INTEGER, team VARCHAR)
### Question:
What's melbourne's average year?
### Answer:
SELECT AVG(year) FROM table_name_35 WHERE team = "melbourne" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_25 (opponent VARCHAR, round VARCHAR, time VARCHAR)
### Question:
Who did wilson reis fight against that lasted less than 3 rounds with a time of 1:02?
### Answer:
SELECT opponent FROM table_name_25 WHERE round < 3 AND time = "1:02" |
Below is an context that describes a sql 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 (baltimore_group VARCHAR, family VARCHAR)
### Question:
Which Baltimore group is of the retroviridae family?
### Answer:
SELECT baltimore_group FROM table_name_62 WHERE family = "retroviridae" |
Below is an context that describes a sql 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 (goal_difference INTEGER, points VARCHAR, wins VARCHAR)
### Question:
What is the highest goal difference that the club with 33-5 points and less than 12 wins?
### Answer:
SELECT MAX(goal_difference) FROM table_name_52 WHERE points = "33-5" AND wins < 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_13 (league_cup_apps VARCHAR, total_apps VARCHAR, position VARCHAR, league_goals VARCHAR)
### Question:
What is the league cup apps when the league goals are greater than 3, there are 30 (2) total apps, and has a position of mf?
### Answer:
SELECT league_cup_apps FROM table_name_13 WHERE position = "mf" AND league_goals > 3 AND total_apps = "30 (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_41 (fa_cup_goals VARCHAR, name VARCHAR, league_cup_goals VARCHAR)
### Question:
How many FA cup goals have Jimmy Nicholson as the name, and league cup goals greater than 0?
### Answer:
SELECT COUNT(fa_cup_goals) FROM table_name_41 WHERE name = "jimmy nicholson" AND league_cup_goals > 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_24 (frequency VARCHAR, coverage VARCHAR)
### Question:
What is the frequency of the station with a coverage of oaxaca guerrero puebla?
### Answer:
SELECT frequency FROM table_name_24 WHERE coverage = "oaxaca guerrero puebla" |
Below is an context that describes a sql 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 (no_8 VARCHAR, no_4 VARCHAR)
### Question:
What is the No. 8 of the person with a No. 4 of Noah?
### Answer:
SELECT no_8 FROM table_name_32 WHERE no_4 = "noah" |
Below is an context that describes a sql 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 (high_assists VARCHAR, score VARCHAR)
### Question:
What were the high assists when the score was l 86–94 (ot)?
### Answer:
SELECT high_assists FROM table_name_62 WHERE score = "l 86–94 (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_6 (total INTEGER, silver VARCHAR, gold VARCHAR)
### Question:
For nations with more than 6 silvers and more than 10 golds, what is the lowest total?
### Answer:
SELECT MIN(total) FROM table_name_6 WHERE silver > 6 AND gold > 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_1 (characters VARCHAR, construction VARCHAR, name__wade_giles_ VARCHAR)
### Question:
Who has a Construction of 1870, foochow navy yard, and a Name (Wade Giles) of fu-hsing?
### Answer:
SELECT characters FROM table_name_1 WHERE construction = "1870, foochow navy yard" AND name__wade_giles_ = "fu-hsing" |
Below is an context that describes a sql 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 (wins INTEGER, points VARCHAR, year VARCHAR, class VARCHAR, team VARCHAR)
### Question:
What is the average wins in 250cc class for Bultaco with 8 points later than 1966?
### Answer:
SELECT AVG(wins) FROM table_name_84 WHERE class = "250cc" AND team = "bultaco" AND year > 1966 AND points = 8 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_1 (total VARCHAR, bronze VARCHAR, host_city VARCHAR, gold VARCHAR)
### Question:
What's the Total for a Mexico City game with a Gold of less than 4 and a Bronze of less than 2?
### Answer:
SELECT COUNT(total) FROM table_name_1 WHERE host_city = "mexico city" AND gold < 4 AND bronze < 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_21 (score VARCHAR, country VARCHAR, money___$__ VARCHAR)
### Question:
What is the score of the United States, which has more than $24,542?
### Answer:
SELECT score FROM table_name_21 WHERE country = "united states" AND money___$__ > 24 OFFSET 542 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1858574_2 (yacht VARCHAR, sail_number VARCHAR)
### Question:
When 6606 is the sail number what is the type of yacht?
### Answer:
SELECT yacht AS Type FROM table_1858574_2 WHERE sail_number = "6606" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1706942_1 (q1_time VARCHAR, q1_order VARCHAR)
### Question:
What is the Q1 time for the driver with Q1 order of 6?
### Answer:
SELECT q1_time FROM table_1706942_1 WHERE q1_order = 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_17 (score VARCHAR, opponent VARCHAR, game VARCHAR)
### Question:
What was the score of Game 2 in the series against the Florida Panthers?
### Answer:
SELECT score FROM table_name_17 WHERE opponent = "florida panthers" AND game = 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_1233808_2 (opponent VARCHAR, record VARCHAR)
### Question:
Who was the opponent during the biggest defeat?
### Answer:
SELECT opponent FROM table_1233808_2 WHERE record = "Biggest defeat" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE member (address VARCHAR, age INTEGER)
### Question:
Which address has both members younger than 30 and members older than 40?
### Answer:
SELECT address FROM member WHERE age < 30 INTERSECT SELECT address FROM member WHERE age > 40 |
Below is an context that describes a sql 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 (television_service VARCHAR, package_option VARCHAR, language VARCHAR)
### Question:
What is the television service that has package with sky tv, and it in Italian English?
### Answer:
SELECT television_service FROM table_name_30 WHERE package_option = "sky tv" AND language = "italian english" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_26 (first_issued INTEGER, color VARCHAR)
### Question:
When was Color of green last issued?
### Answer:
SELECT MAX(first_issued) FROM table_name_26 WHERE color = "green" |
Below is an context that describes a sql 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 (opened INTEGER, venue VARCHAR, established VARCHAR)
### Question:
When is the earliest year opened for huff hall that was established after 1974?
### Answer:
SELECT MIN(opened) FROM table_name_20 WHERE venue = "huff hall" AND established > 1974 |
Below is an context that describes a sql 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 (college VARCHAR, pick__number VARCHAR, player VARCHAR)
### Question:
Which College has Player Mark Brown and a Pick # greater than 195?
### Answer:
SELECT college FROM table_name_63 WHERE pick__number > 195 AND player = "mark 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_98 (committee VARCHAR, first_elected VARCHAR)
### Question:
What Committee has the First Elected of 1993?
### Answer:
SELECT committee FROM table_name_98 WHERE first_elected = 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_name_14 (elevator VARCHAR, cardinalatial_title VARCHAR)
### Question:
Who is the elevator with the cardinalatial title of Deacon of SS. Sergio e Bacco?
### Answer:
SELECT elevator FROM table_name_14 WHERE cardinalatial_title = "deacon of ss. sergio e bacco" |
Below is an context that describes a sql 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 (average VARCHAR, tally VARCHAR, matches VARCHAR)
### Question:
What is the average when the tally is 3–11, with more than 4 matches??
### Answer:
SELECT COUNT(average) FROM table_name_27 WHERE tally = "3–11" AND matches > 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_22 (opponent VARCHAR, date VARCHAR)
### Question:
Who is the Opponent on December 7, 2003?
### Answer:
SELECT opponent FROM table_name_22 WHERE date = "december 7, 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_68 (memory_map VARCHAR, model VARCHAR, byte_string VARCHAR, max_memory__kwords_ VARCHAR)
### Question:
On a Sigma 9 with a standard byte string and more than 128 max memory, what is the value of the memory map?
### Answer:
SELECT memory_map FROM table_name_68 WHERE byte_string = "standard" AND max_memory__kwords_ > 128 AND model = "sigma 9" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_14637853_3 (title VARCHAR, original_air_date VARCHAR)
### Question:
what's the title with original air date being september23,1995
### Answer:
SELECT title FROM table_14637853_3 WHERE original_air_date = "September23,1995" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_77 (result VARCHAR, road_team VARCHAR, game VARCHAR)
### Question:
Which Result has a Road Team of san francisco, and a Game of game 2?
### Answer:
SELECT result FROM table_name_77 WHERE road_team = "san francisco" AND game = "game 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_62 (date VARCHAR, away_team VARCHAR)
### Question:
What is Date, when Away Team is "Brentford"?
### Answer:
SELECT date FROM table_name_62 WHERE away_team = "brentford" |
Below is an context that describes a sql 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 (laps VARCHAR, time_retired VARCHAR)
### Question:
How many laps were ridden in the race that had a Time/Retired of +37.351?
### Answer:
SELECT COUNT(laps) FROM table_name_24 WHERE time_retired = "+37.351" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2076608_3 (type VARCHAR, school VARCHAR)
### Question:
What type of school is Cordoba University?
### Answer:
SELECT type FROM table_2076608_3 WHERE school = "Cordoba University" |
Below is an context that describes a sql 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 (total INTEGER, player VARCHAR)
### Question:
What is the total of Mark O'meara?
### Answer:
SELECT MIN(total) FROM table_name_88 WHERE 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_14638077_2 (race_name VARCHAR, date VARCHAR)
### Question:
what's the race name with date being september 7
### Answer:
SELECT race_name FROM table_14638077_2 WHERE date = "September 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_93 (home_team VARCHAR, venue VARCHAR)
### Question:
What home team played at the western oval?
### Answer:
SELECT home_team FROM table_name_93 WHERE venue = "western oval" |
Below is an context that describes a sql 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 (date VARCHAR, year VARCHAR, result VARCHAR, score VARCHAR)
### Question:
What day was the result a win, the score 2-1, and the year before 2012?
### Answer:
SELECT date FROM table_name_7 WHERE result = "win" AND score = "2-1" AND year < 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_2709_4 (format VARCHAR, owner VARCHAR)
### Question:
What is the format for the station owned by Dakota Broadcasting?
### Answer:
SELECT format FROM table_2709_4 WHERE owner = "Dakota Broadcasting" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE customer_addresses (address_id VARCHAR, customer_id VARCHAR); CREATE TABLE addresses (address_details VARCHAR, address_id VARCHAR)
### Question:
Return the address of customer 10.
### Answer:
SELECT T1.address_details FROM addresses AS T1 JOIN customer_addresses AS T2 ON T1.address_id = T2.address_id WHERE T2.customer_id = 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_10420426_1 (wins VARCHAR, series VARCHAR, team VARCHAR)
### Question:
What is the number of wins for gp2 series for racing engineering?
### Answer:
SELECT COUNT(wins) FROM table_10420426_1 WHERE series = "GP2 series" AND team = "Racing Engineering" |
Below is an context that describes a sql 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 (score VARCHAR, record VARCHAR)
### Question:
What is Score, when Record is "4-1"?
### Answer:
SELECT score FROM table_name_79 WHERE record = "4-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_91 (match VARCHAR, opponent VARCHAR)
### Question:
What was the match that happened in Bishop's Stortford?
### Answer:
SELECT match FROM table_name_91 WHERE opponent = "bishop's stortford" |
Below is an context that describes a sql 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 (weight VARCHAR, name_v_t_e VARCHAR)
### Question:
What is the weight for the v t e of živko gocić category:articles with hcards?
### Answer:
SELECT weight FROM table_name_91 WHERE name_v_t_e = "živko gocić category:articles with hcards" |
Below is an context that describes a sql 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 (d_48_√ VARCHAR, d_50_o VARCHAR)
### Question:
What is the D48 when the D 50 O is d 31?
### Answer:
SELECT d_48_√ FROM table_name_67 WHERE d_50_o = "d 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_63 (built VARCHAR, county VARCHAR)
### Question:
What year was the bridge in Kent built?
### Answer:
SELECT built FROM table_name_63 WHERE county = "kent" |
Below is an context that describes a sql 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 (year INTEGER, points VARCHAR, entrant VARCHAR, chassis VARCHAR)
### Question:
Name the most year for team motul brm and chassis of brm p201 and points less than 0
### Answer:
SELECT MAX(year) FROM table_name_96 WHERE entrant = "team motul brm" AND chassis = "brm p201" AND points < 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_16390001_2 (average VARCHAR, interview VARCHAR)
### Question:
What are the average scores of contestants whose interview score is 8.011?
### Answer:
SELECT average FROM table_16390001_2 WHERE interview = "8.011" |
Below is an context that describes a sql 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 (event VARCHAR, opponent VARCHAR)
### Question:
which Event that has an Opponent of kendall grove?
### Answer:
SELECT event FROM table_name_2 WHERE opponent = "kendall grove" |
Below is an context that describes a sql 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 (wins INTEGER, starts VARCHAR, podiums VARCHAR, points VARCHAR)
### Question:
what is the average wins when the podiums is more than 1, points is 80 and starts is less than 28?
### Answer:
SELECT AVG(wins) FROM table_name_49 WHERE podiums > 1 AND points = 80 AND starts < 28 |
Below is an context that describes a sql 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 (goals_against INTEGER, drawn INTEGER)
### Question:
How many goals against when the draws are fewer than 3?
### Answer:
SELECT MAX(goals_against) FROM table_name_20 WHERE 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_262560_2 (location VARCHAR, enrollment VARCHAR)
### Question:
What location has a school with enrollment of 850?
### Answer:
SELECT location FROM table_262560_2 WHERE enrollment = 850 |
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR)
### Question:
What is the home team score when north Melbourne was the away team?
### Answer:
SELECT home_team AS score FROM table_name_49 WHERE away_team = "north 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 Student (StuID VARCHAR, age INTEGER)
### Question:
Show all student ids who are older than 20.
### Answer:
SELECT StuID FROM Student WHERE age > 20 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_40 (venue VARCHAR, runs VARCHAR)
### Question:
What is the venue where 153 runs were scored?
### Answer:
SELECT venue FROM table_name_40 WHERE runs = "153" |
Below is an context that describes a sql 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 (date VARCHAR, centerfold_model VARCHAR)
### Question:
When has a Centerfold model of krista kelly?
### Answer:
SELECT date FROM table_name_20 WHERE centerfold_model = "krista kelly" |
Below is an context that describes a sql 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 (decile INTEGER, name VARCHAR)
### Question:
What is the average decile of Westport South School?
### Answer:
SELECT AVG(decile) FROM table_name_5 WHERE name = "westport south 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_49 (torque VARCHAR, name VARCHAR, power VARCHAR)
### Question:
What is the torque of the 1.6 petrol with daewoo power?
### Answer:
SELECT torque FROM table_name_49 WHERE name = "1.6 petrol" AND power = "daewoo" |
Below is an context that describes a sql 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 (swimsuit INTEGER, state VARCHAR, average VARCHAR)
### Question:
What is the lowest swimsuit score a contestant from Rhode Island with an average larger than 9.235 has?
### Answer:
SELECT MIN(swimsuit) FROM table_name_66 WHERE state = "rhode island" AND average > 9.235 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE representative (Party VARCHAR, Representative_ID VARCHAR); CREATE TABLE election (Representative_ID VARCHAR)
### Question:
What is the party of the representative that has the smallest number of votes.
### Answer:
SELECT T2.Party FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID ORDER BY votes 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_76 (school_club_team VARCHAR, player VARCHAR)
### Question:
What school does Wayne Cooper play for?
### Answer:
SELECT school_club_team FROM table_name_76 WHERE player = "wayne cooper" |
Below is an context that describes a sql 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 (name VARCHAR, total_point VARCHAR, bonus VARCHAR, only_point VARCHAR)
### Question:
What is Name, when Bonus is greater than 1, when Only Point is greater than 7, and when Total Point is less than 21?
### Answer:
SELECT name FROM table_name_10 WHERE bonus > 1 AND only_point > 7 AND total_point < 21 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_51 (tournament VARCHAR, opponent VARCHAR)
### Question:
what tournament had sam querrey as the opponent?
### Answer:
SELECT tournament FROM table_name_51 WHERE opponent = "sam querrey" |
Below is an context that describes a sql 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 (name VARCHAR, entered_service VARCHAR, location VARCHAR, type VARCHAR)
### Question:
What is the name of the location and ship type in the Gulf of Mexico that entered service in 1999?
### Answer:
SELECT name FROM table_name_43 WHERE location = "gulf of mexico" AND type = "ship" AND entered_service = "1999" |
Below is an context that describes a sql 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 (player VARCHAR, country VARCHAR)
### Question:
Which player is from Australia?
### Answer:
SELECT player FROM table_name_88 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_33 (total INTEGER, bronze VARCHAR, gold VARCHAR)
### Question:
What is the average total for teams with over 3 bronzes and over 8 golds?
### Answer:
SELECT AVG(total) FROM table_name_33 WHERE bronze > 3 AND gold > 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_23145653_1 (games_w_l VARCHAR, player VARCHAR)
### Question:
Name the games w-1 for cliff richey
### Answer:
SELECT games_w_l FROM table_23145653_1 WHERE player = "Cliff Richey" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_86 (opponent VARCHAR, record VARCHAR)
### Question:
Which opponent has a record of 17-11?
### Answer:
SELECT opponent FROM table_name_86 WHERE record = "17-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_21991074_1 (pts_agst VARCHAR, points VARCHAR)
### Question:
For the team with 7 points, how many points were scored against this season?
### Answer:
SELECT COUNT(pts_agst) FROM table_21991074_1 WHERE 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_1341663_26 (district VARCHAR, candidates VARCHAR)
### Question:
Which district has candidates is dick gephardt (d) 81.9% lee buchschacher (r) 18.1%?
### Answer:
SELECT district FROM table_1341663_26 WHERE candidates = "Dick Gephardt (D) 81.9% Lee Buchschacher (R) 18.1%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_13 (fuml INTEGER, att VARCHAR, long VARCHAR)
### Question:
I want to know the average Fuml for Att of 5 and long more than 7
### Answer:
SELECT AVG(fuml) FROM table_name_13 WHERE att = 5 AND long > 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_27312918_5 (team VARCHAR, game VARCHAR)
### Question:
What was the team the Suns played against in game number 4?
### Answer:
SELECT team FROM table_27312918_5 WHERE game = 4 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_92 (silver INTEGER, gold VARCHAR, total VARCHAR, bronze VARCHAR)
### Question:
Name the sum of silver when total is mor ethan 1, bronze is 1 and gold is les than 0
### Answer:
SELECT SUM(silver) FROM table_name_92 WHERE total > 1 AND bronze = 1 AND gold < 0 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_88 (country VARCHAR, name VARCHAR)
### Question:
From which country was Sodje loaned?
### Answer:
SELECT country FROM table_name_88 WHERE name = "sodje" |
Below is an context that describes a sql 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 (_kah__atau_tidak_ VARCHAR, language_dialect VARCHAR)
### Question:
what is -kah (atau tidak when basikal is basikal and language dialect is malay language (informal)?
### Answer:
SELECT _kah__atau_tidak_ FROM table_name_98 WHERE "basikal" = "basikal" AND language_dialect = "malay language (informal)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27713583_6 (game VARCHAR, team VARCHAR)
### Question:
What game number is the Washington team.
### Answer:
SELECT COUNT(game) FROM table_27713583_6 WHERE team = "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_57 (silver INTEGER, bronze VARCHAR, gold VARCHAR)
### Question:
What is the average for silver when bronze is less than 1, and gold is more than 0?
### Answer:
SELECT AVG(silver) FROM table_name_57 WHERE bronze < 1 AND gold > 0 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_63 (season INTEGER, super_g VARCHAR)
### Question:
What is the highest Season, when Super G is 19?
### Answer:
SELECT MAX(season) FROM table_name_63 WHERE super_g = 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_38 (score VARCHAR, tie_no VARCHAR)
### Question:
what is score of a team with tie of 4?
### Answer:
SELECT score FROM table_name_38 WHERE tie_no = "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_45 (venue VARCHAR, position_in_2004 VARCHAR)
### Question:
Which venue was number 9 for 2004?
### Answer:
SELECT venue FROM table_name_45 WHERE position_in_2004 = "9" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_6 (rank VARCHAR, total VARCHAR, nation VARCHAR, bronze VARCHAR, silver VARCHAR)
### Question:
Which Rank has a Bronze larger than 1, and a Silver larger than 0, and a Nation of norway (host nation), and a Total larger than 16?
### Answer:
SELECT COUNT(rank) FROM table_name_6 WHERE bronze > 1 AND silver > 0 AND nation = "norway (host nation)" AND total > 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_7 (bronze INTEGER, rank VARCHAR, gold VARCHAR)
### Question:
Which Bronze has a Rank of 4, and a Gold smaller than 0?
### Answer:
SELECT MAX(bronze) FROM table_name_7 WHERE rank = 4 AND gold < 0 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_50 (location VARCHAR, season VARCHAR)
### Question:
What is the Location of the Bowl in 2006?
### Answer:
SELECT location FROM table_name_50 WHERE season = 2006 |
Below is an context that describes a sql 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 (winning_score VARCHAR, runner_s__up VARCHAR)
### Question:
What is the winning scor of the tournament with Robin Walton as the runner-up?
### Answer:
SELECT winning_score FROM table_name_88 WHERE runner_s__up = "robin walton" |
Below is an context that describes a sql 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 (opponent VARCHAR, time VARCHAR)
### Question:
Which Opponent has a Time of 4:51?
### Answer:
SELECT opponent FROM table_name_84 WHERE time = "4:51" |
Below is an context that describes a sql 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 (cultural_and_educational_panel INTEGER, nominated_by_the_taoiseach VARCHAR, total VARCHAR)
### Question:
What is the smallest cultural and educational panel with a nominated by the Taoiseach less than 5 and the total greater than 19?
### Answer:
SELECT MIN(cultural_and_educational_panel) FROM table_name_74 WHERE nominated_by_the_taoiseach < 5 AND total > 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_29960651_5 (episode VARCHAR, no_for_season VARCHAR)
### Question:
Which episode is number 3 in the season?
### Answer:
SELECT episode FROM table_29960651_5 WHERE no_for_season = 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_70 (to_par VARCHAR, score VARCHAR)
### Question:
What was the to par that goes with the score 68-74-69=211?
### Answer:
SELECT to_par FROM table_name_70 WHERE score = 68 - 74 - 69 = 211 |
Below is an context that describes a sql 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 (att_cmp_int VARCHAR, effic VARCHAR, gp_gs VARCHAR)
### Question:
What is the att-cmp-int with an effic smaller than 117.88 and a gp-gs of 10-0?
### Answer:
SELECT att_cmp_int FROM table_name_73 WHERE effic < 117.88 AND gp_gs = "10-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_12584173_1 (population__region_total_ VARCHAR, population__allora_ VARCHAR)
### Question:
How many population total figures are there for the year when Allora's population was 2132?
### Answer:
SELECT COUNT(population__region_total_) FROM table_12584173_1 WHERE population__allora_ = 2132 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_86 (competition VARCHAR, season VARCHAR, opponent VARCHAR)
### Question:
What is the Competition for Season 2002–03, and the Opponent was zenit st. petersburg?
### Answer:
SELECT competition FROM table_name_86 WHERE season = "2002–03" AND opponent = "zenit st. petersburg" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19632728_1 (season__number INTEGER)
### Question:
What was the highest season number?
### Answer:
SELECT MAX(season__number) FROM table_19632728_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_67 (win__number VARCHAR, season VARCHAR)
### Question:
How many wins were there in 2004-05?
### Answer:
SELECT win__number FROM table_name_67 WHERE season = "2004-05" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_92 (entrant VARCHAR, year VARCHAR, chassis VARCHAR)
### Question:
Name the entrant for year more than 1991 and chassis of lotus 109
### Answer:
SELECT entrant FROM table_name_92 WHERE year > 1991 AND chassis = "lotus 109" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.