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_2226817_2 (no_in_series VARCHAR, production_code VARCHAR)
### Question:
How many number of series have a production code of 1.11?
### Answer:
SELECT no_in_series FROM table_2226817_2 WHERE production_code = "1.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 (game VARCHAR, home_team VARCHAR, date VARCHAR)
### Question:
What is the Game number on April 12 with St. Louis Home Team?
### Answer:
SELECT game FROM table_name_11 WHERE home_team = "st. louis" AND date = "april 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_26077092_7 (pick__number INTEGER, player VARCHAR)
### Question:
What was the pick number for Andrew Quarless?
### Answer:
SELECT MAX(pick__number) FROM table_26077092_7 WHERE player = "Andrew Quarless" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_245801_1 (flight_down VARCHAR, crew VARCHAR)
### Question:
Name the flight down for vladimir vasyutin , alexander volkov
### Answer:
SELECT flight_down FROM table_245801_1 WHERE crew = "Vladimir Vasyutin , Alexander Volkov" |
Below is an context that describes a sql 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 (year VARCHAR, region VARCHAR)
### Question:
What year did Japan form a label?
### Answer:
SELECT year FROM table_name_79 WHERE region = "japan" |
Below is an context that describes a sql 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 (date VARCHAR, set_3 VARCHAR)
### Question:
When was set 3 of 18-25?
### Answer:
SELECT date FROM table_name_2 WHERE set_3 = "18-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_16494599_4 (no INTEGER, years_for_grizzlies VARCHAR)
### Question:
What number does the player who was with the grizzles in 1999 wear?
### Answer:
SELECT MIN(no) FROM table_16494599_4 WHERE years_for_grizzlies = "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_26375386_22 (public VARCHAR, couple VARCHAR)
### Question:
Name the public for mikey and melanie
### Answer:
SELECT public FROM table_26375386_22 WHERE couple = "Mikey and Melanie" |
Below is an context that describes 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 (dept_code VARCHAR)
### Question:
Find the number of students for each department.
### Answer:
SELECT COUNT(*), dept_code FROM student GROUP BY dept_code |
Below is an context that describes a sql 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 (position VARCHAR, nationality VARCHAR)
### Question:
What is the position of the player from Sweden?
### Answer:
SELECT position FROM table_name_93 WHERE nationality = "sweden" |
Below is an context that describes a sql 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 (round INTEGER, position VARCHAR, pick__number VARCHAR)
### Question:
What is the mean round number for center position when the pick number is less than 23?
### Answer:
SELECT AVG(round) FROM table_name_39 WHERE position = "center" AND pick__number < 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_24 (total INTEGER, to_par VARCHAR)
### Question:
What is the Total of the Player with a To par of –13?
### Answer:
SELECT SUM(total) FROM table_name_24 WHERE to_par = "–13" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE song (artist_name VARCHAR, rating VARCHAR); CREATE TABLE artist (artist_name VARCHAR, country VARCHAR)
### Question:
What are the names and countries of origin for the artists who produced the top three highly rated songs.
### Answer:
SELECT T1.artist_name, T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name ORDER BY T2.rating DESC LIMIT 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_3 (constructor VARCHAR, driver VARCHAR, chassis VARCHAR)
### Question:
Tell me the constructor for alberto colombo and chassis of a1
### Answer:
SELECT constructor FROM table_name_3 WHERE driver = "alberto colombo" AND chassis = "a1" |
Below is an context that describes a sql 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 (player_name VARCHAR, year VARCHAR, college VARCHAR)
### Question:
What is the name of the player from after 1989 from Washington State?
### Answer:
SELECT player_name FROM table_name_48 WHERE year > 1989 AND college = "washington 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_275023_1 (formed_from VARCHAR, province VARCHAR)
### Question:
What province was New Plymouth formed from?
### Answer:
SELECT formed_from FROM table_275023_1 WHERE province = "New Plymouth" |
Below is an context that describes a sql 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 (score VARCHAR, to_par VARCHAR, player VARCHAR)
### Question:
Which Score has a To par of +1, and a Player of masashi ozaki?
### Answer:
SELECT score FROM table_name_94 WHERE to_par = "+1" AND player = "masashi ozaki" |
Below is an context that describes a sql 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 (field VARCHAR, date VARCHAR)
### Question:
On which field was the game played on July 12?
### Answer:
SELECT field FROM table_name_63 WHERE date = "july 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_97 (director VARCHAR, year VARCHAR, role VARCHAR)
### Question:
Who directed the eula goodnight movie after 1949?
### Answer:
SELECT director FROM table_name_97 WHERE year > 1949 AND role = "eula goodnight" |
Below is an context that describes a sql 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 (byte_string VARCHAR, max_memory__kwords_ VARCHAR, floating_point VARCHAR, memory_map VARCHAR, decimal VARCHAR)
### Question:
What is the value for the byte string when the memory map, decimal, and floating points are all standard and the max memory is smaller than 512?
### Answer:
SELECT byte_string FROM table_name_23 WHERE memory_map = "standard" AND decimal = "standard" AND floating_point = "standard" AND max_memory__kwords_ < 512 |
Below is an context that describes a sql 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 (ages VARCHAR, dance VARCHAR, pair VARCHAR)
### Question:
How old were Mitchell & Jessica when they danced the Cha-Cha-Cha?
### Answer:
SELECT ages FROM table_name_48 WHERE dance = "cha-cha-cha" AND pair = "mitchell & jessica" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11734041_1 (player VARCHAR, school_club_team_country VARCHAR)
### Question:
What was the player name who came from Australia?
### Answer:
SELECT player FROM table_11734041_1 WHERE school_club_team_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_10875694_11 (publisher VARCHAR, product_no VARCHAR)
### Question:
What publishers were involved with product number SCUS-97265?
### Answer:
SELECT publisher FROM table_10875694_11 WHERE product_no = "SCUS-97265" |
Below is an context that describes a sql 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 (torque VARCHAR, model VARCHAR)
### Question:
Which Torque has a Model of s63 amg ('01)?
### Answer:
SELECT torque FROM table_name_91 WHERE model = "s63 amg ('01)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_69 (points INTEGER, difference VARCHAR)
### Question:
What is the largest points number where the difference is 12?
### Answer:
SELECT MAX(points) FROM table_name_69 WHERE difference = "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_12 (date VARCHAR, venue VARCHAR)
### Question:
On what date was the venue of Glenferrie Oval?
### Answer:
SELECT date FROM table_name_12 WHERE venue = "glenferrie 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_12283621_6 (serbian_league_east VARCHAR, serbian_league_belgrade VARCHAR)
### Question:
What team was promoted in the Serbian League East in the same season when Kolubara was promoted in the Serbian League Belgrade?
### Answer:
SELECT serbian_league_east FROM table_12283621_6 WHERE serbian_league_belgrade = "Kolubara" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18974269_1 (player VARCHAR, original_season VARCHAR, gender VARCHAR)
### Question:
Who was the female contestant on the Original season of Fresh Meat?
### Answer:
SELECT player FROM table_18974269_1 WHERE original_season = "Fresh Meat" AND gender = "Female" |
Below is an context that describes a sql 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 (rounds VARCHAR, team VARCHAR, drivers VARCHAR)
### Question:
What rounds did RML Racing Silverline and James Nash compete?
### Answer:
SELECT rounds FROM table_name_28 WHERE team = "rml racing silverline" AND drivers = "james nash" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE people (Nationality VARCHAR)
### Question:
What is the most common nationality of people?
### Answer:
SELECT Nationality FROM people GROUP BY Nationality 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_17 (position VARCHAR, name VARCHAR)
### Question:
Which Position has a Name of john taft?
### Answer:
SELECT position FROM table_name_17 WHERE name = "john taft" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17839_1 (current_stock VARCHAR, avg_trips_per_mile__×1000_ VARCHAR)
### Question:
When 4744 is the avg. trips per mile (x1000) what is the current stock?
### Answer:
SELECT current_stock FROM table_17839_1 WHERE avg_trips_per_mile__×1000_ = 4744 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25691838_6 (the_wørd VARCHAR, episode__number VARCHAR)
### Question:
What was the number of "The Word" segments for episode number 727?
### Answer:
SELECT COUNT(the_wørd) FROM table_25691838_6 WHERE episode__number = 727 |
Below is an context that describes a sql 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 (record VARCHAR, date VARCHAR)
### Question:
What was the record on august 24?
### Answer:
SELECT record FROM table_name_73 WHERE date = "august 24" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_31 (wins INTEGER, teams VARCHAR, percent VARCHAR)
### Question:
What is the average wins when teams is lions and the percent is more than 0?
### Answer:
SELECT AVG(wins) FROM table_name_31 WHERE teams = "lions" AND percent > 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_1889619_5 (country_territory VARCHAR, story_no VARCHAR, missing_episodes_with_recovered_footage VARCHAR)
### Question:
When episode 4 is the missing episode with recovered footage and the 032 is the story number what is the country/territory?
### Answer:
SELECT country_territory FROM table_1889619_5 WHERE story_no = "032" AND missing_episodes_with_recovered_footage = "Episode 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_42 (to_par VARCHAR, country VARCHAR, money___$__ VARCHAR)
### Question:
How much To par has a Country of united states, and a Money ($) of 90?
### Answer:
SELECT COUNT(to_par) FROM table_name_42 WHERE country = "united states" AND money___$__ = 90 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25926120_7 (cash_prize VARCHAR, name_of_film VARCHAR)
### Question:
how many times is the name of film narmeen?
### Answer:
SELECT COUNT(cash_prize) FROM table_25926120_7 WHERE name_of_film = "Narmeen" |
Below is an context that describes a sql 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 (ccm_chart VARCHAR, total_wks VARCHAR)
### Question:
What CCM Chart had 18 total weeks?
### Answer:
SELECT ccm_chart FROM table_name_94 WHERE total_wks = 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_name_22 (rating VARCHAR, air_date VARCHAR, share VARCHAR)
### Question:
What is the total number of Rating(s), when Air Date is June 25, 2008, and when Share is greater than 3?
### Answer:
SELECT COUNT(rating) FROM table_name_22 WHERE air_date = "june 25, 2008" AND share > 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_5 (date VARCHAR, opponent VARCHAR)
### Question:
What is the Date of the game against Christo Van Rensburg?
### Answer:
SELECT date FROM table_name_5 WHERE opponent = "christo van rensburg" |
Below is an context that describes a sql 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 (venue VARCHAR, home_team VARCHAR)
### Question:
Where did Hawthorn play as the home team?
### Answer:
SELECT venue FROM table_name_41 WHERE home_team = "hawthorn" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_31 (ngc_number INTEGER, object_type VARCHAR, right_ascension___j2000__ VARCHAR)
### Question:
I want the sum of NGC number for spiral galaxy and right acension of 08h14m40.4s
### Answer:
SELECT SUM(ngc_number) FROM table_name_31 WHERE object_type = "spiral galaxy" AND right_ascension___j2000__ = "08h14m40.4s" |
Below is an context that describes a sql 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 (track INTEGER, production_credits VARCHAR)
### Question:
What is the first track where the production credit is margret arranged by e. mergency?
### Answer:
SELECT MIN(track) FROM table_name_98 WHERE production_credits = "margret arranged by e. mergency" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_31 (adelaide VARCHAR, perth VARCHAR, sydney VARCHAR, melbourne VARCHAR)
### Question:
Which Adelaide has Sydney yes, Melbourne yes, and Perth no?
### Answer:
SELECT adelaide FROM table_name_31 WHERE sydney = "yes" AND melbourne = "yes" AND perth = "no" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_11 (away_team VARCHAR, venue VARCHAR)
### Question:
What away team played at western oval?
### Answer:
SELECT away_team FROM table_name_11 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_25547943_1 (directed_by VARCHAR, written_by VARCHAR)
### Question:
Who directed the episode that was written by Bill Lawrence?
### Answer:
SELECT directed_by FROM table_25547943_1 WHERE written_by = "Bill Lawrence" |
Below is an context that describes a sql 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 (region INTEGER, name VARCHAR, code VARCHAR)
### Question:
What is total population of Saint-Agapit (code 33045)?
### Answer:
SELECT SUM(region) FROM table_name_99 WHERE name = "saint-agapit" AND code < 33045 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2266976_1 (miles__km_ VARCHAR, race_time VARCHAR)
### Question:
How long in miles (km) was the race that lasted 3:07:53?
### Answer:
SELECT miles__km_ FROM table_2266976_1 WHERE race_time = "3:07:53" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27504682_1 (original_air_date VARCHAR, written_by VARCHAR)
### Question:
Name the air date for alex taub
### Answer:
SELECT original_air_date FROM table_27504682_1 WHERE written_by = "Alex Taub" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_46 (republican_ticket VARCHAR, socialist_ticket VARCHAR)
### Question:
Who's the Republican ticket with a Socialist ticket of edna mitchell blue?
### Answer:
SELECT republican_ticket FROM table_name_46 WHERE socialist_ticket = "edna mitchell blue" |
Below is an context that describes a sql 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 (date VARCHAR, home_team VARCHAR)
### Question:
What date was the Home team fitzroy?
### Answer:
SELECT date FROM table_name_18 WHERE home_team = "fitzroy" |
Below is an context that describes a sql 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 (heat VARCHAR, rank VARCHAR, result VARCHAR)
### Question:
What is the Heat of the Player with a Rank of 18 or less and Result of 55.15?
### Answer:
SELECT heat FROM table_name_54 WHERE rank < 18 AND result = "55.15" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_13 (record VARCHAR, event VARCHAR)
### Question:
For the Cage Combat Fighting Championships: Mayhem, what was the record?
### Answer:
SELECT record FROM table_name_13 WHERE event = "cage combat fighting championships: mayhem" |
Below is an context that describes a sql 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 (record VARCHAR, home VARCHAR)
### Question:
What was the record when Minnesota was the home team?
### Answer:
SELECT record FROM table_name_64 WHERE home = "minnesota" |
Below is an context that describes a sql 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 (high_assists VARCHAR, game VARCHAR, date VARCHAR)
### Question:
What were the assists on April 8 in game less than 78?
### Answer:
SELECT high_assists FROM table_name_75 WHERE game < 78 AND date = "april 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_60 (position_in_table VARCHAR, outgoing_manager VARCHAR)
### Question:
What is the position that has the outgoing manager lászló Dajka?
### Answer:
SELECT position_in_table FROM table_name_60 WHERE outgoing_manager = "lászló dajka" |
Below is an context that describes a sql 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 (index VARCHAR, country VARCHAR, name VARCHAR)
### Question:
What is the Index number of Chen Bangjun Andie from Singapore?
### Answer:
SELECT index FROM table_name_23 WHERE country = "singapore" AND name = "chen bangjun andie" |
Below is an context that describes a sql 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 (away_team VARCHAR, ground VARCHAR, home_team VARCHAR)
### Question:
What was the away team score when Waverley Park was the ground and the home team was collingwood?
### Answer:
SELECT away_team AS score FROM table_name_80 WHERE ground = "waverley park" AND home_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_142573_1 (clock_rate__mhz_ VARCHAR, bandwidth__mb_s_ VARCHAR)
### Question:
Name the number of clock rate mhz when bandwidth mb/s is 2400
### Answer:
SELECT COUNT(clock_rate__mhz_) FROM table_142573_1 WHERE bandwidth__mb_s_ = 2400 |
Below is an context that describes a sql 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 (year INTEGER, rank INTEGER)
### Question:
What is the lowest Year, when Rank is greater than 85?
### Answer:
SELECT MIN(year) FROM table_name_28 WHERE rank > 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 (result VARCHAR, competition VARCHAR, date VARCHAR)
### Question:
Which Result has a Competition of world cup qualifying, and a Date of march 21, 1954?
### Answer:
SELECT result FROM table_name_85 WHERE competition = "world cup qualifying" AND date = "march 21, 1954" |
Below is an context that describes a sql 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 (maltese VARCHAR, malay VARCHAR)
### Question:
What is the Maltese word for the Malay word rabu?
### Answer:
SELECT maltese FROM table_name_6 WHERE malay = "rabu" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27369069_4 (soccer_stadium VARCHAR, varsity_name VARCHAR)
### Question:
What is the soccer stadium with the varsity name is citadins?
### Answer:
SELECT soccer_stadium FROM table_27369069_4 WHERE varsity_name = "Citadins" |
Below is an context that describes a sql 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 (helium VARCHAR, argon VARCHAR)
### Question:
which Helium has a Argon of −189.6?
### Answer:
SELECT helium FROM table_name_54 WHERE argon = "−189.6" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_58 (nba_years_ VARCHAR, a_ VARCHAR, nationality VARCHAR, previous_team VARCHAR)
### Question:
How many NBA years did the player from the United States who was previously on the los angeles lakers have?
### Answer:
SELECT nba_years_[a_] FROM table_name_58 WHERE nationality = "united states" AND previous_team = "los angeles lakers" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28241890_2 (next_in_line VARCHAR, heir VARCHAR)
### Question:
How many next in lines had heirs of Archduke Karl?
### Answer:
SELECT COUNT(next_in_line) FROM table_28241890_2 WHERE heir = "Archduke Karl" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12962773_1 (height VARCHAR, position VARCHAR, year_born VARCHAR)
### Question:
what's height with position being center and year born being bigger than 1980.0
### Answer:
SELECT height FROM table_12962773_1 WHERE position = "Center" AND year_born > 1980.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 STUDENT (Fname VARCHAR, LName VARCHAR, StuID VARCHAR, sex VARCHAR); CREATE TABLE VOTING_RECORD (President_VOTE VARCHAR)
### Question:
Find the first and last names of all the female (sex is F) students who have president votes.
### Answer:
SELECT DISTINCT T1.Fname, T1.LName FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = T2.President_VOTE WHERE T1.sex = "F" |
Below is an context that describes a sql 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 (manufacturer VARCHAR, grid VARCHAR)
### Question:
Who was the manufacturer for the race on grid 12?
### Answer:
SELECT manufacturer FROM table_name_49 WHERE grid = 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_47 (date VARCHAR, attendance VARCHAR)
### Question:
Which date did 64,443 people attend a game?
### Answer:
SELECT date FROM table_name_47 WHERE attendance = "64,443" |
Below is an context that describes a sql 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 (october VARCHAR, february VARCHAR, june VARCHAR, september VARCHAR, year VARCHAR)
### Question:
What is the total number in October with less than 2.48 in September, after 2002, more than 1.42 in June, and smaller than 7.44 in February?
### Answer:
SELECT COUNT(october) FROM table_name_41 WHERE september < 2.48 AND year > 2002 AND june > 1.42 AND february < 7.44 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16799784_13 (name VARCHAR, latitude VARCHAR)
### Question:
What feature is at latitude 23.9S?
### Answer:
SELECT name FROM table_16799784_13 WHERE latitude = "23.9S" |
Below is an context that describes a sql 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 (flight_day VARCHAR, artist VARCHAR)
### Question:
On what flight day was U2 played?
### Answer:
SELECT flight_day FROM table_name_2 WHERE artist = "u2" |
Below is an context that describes a sql 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 (overall INTEGER, school_club_team VARCHAR)
### Question:
What is arizona state overall lowest?
### Answer:
SELECT MIN(overall) FROM table_name_58 WHERE school_club_team = "arizona 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_name_61 (streak VARCHAR, date VARCHAR)
### Question:
What was the streak on April 2?
### Answer:
SELECT streak FROM table_name_61 WHERE date = "april 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_98 (year INTEGER, outcome VARCHAR)
### Question:
What is the average Year, when Outcome is "Winner"?
### Answer:
SELECT AVG(year) FROM table_name_98 WHERE 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_89 (website VARCHAR, language VARCHAR, frequency VARCHAR)
### Question:
Which english website has a daily frequency ?
### Answer:
SELECT website FROM table_name_89 WHERE language = "english" AND frequency = "daily" |
Below is an context that describes a sql 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 (week INTEGER, dance VARCHAR)
### Question:
In what Week was the Locking Dance?
### Answer:
SELECT MAX(week) FROM table_name_16 WHERE dance = "locking" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26375386_23 (rank INTEGER, vote_percentage VARCHAR)
### Question:
What was the maximum rank for the vote percentage of 5.6%
### Answer:
SELECT MIN(rank) FROM table_26375386_23 WHERE vote_percentage = "5.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_23 (chief_judge VARCHAR, active_service VARCHAR)
### Question:
Which Chief Judge has Active service of 1873–1875?
### Answer:
SELECT chief_judge FROM table_name_23 WHERE active_service = "1873–1875" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_211615_2 (details VARCHAR, station VARCHAR)
### Question:
Name the number of details for emlyn road
### Answer:
SELECT COUNT(details) FROM table_211615_2 WHERE station = "Emlyn Road" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_1 (cyl VARCHAR, engine VARCHAR)
### Question:
Engine 2.3 16v has how many cylinders?
### Answer:
SELECT cyl FROM table_name_1 WHERE engine = "2.3 16v" |
Below is an context that describes a sql 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 (wins INTEGER, matches VARCHAR, year VARCHAR)
### Question:
What is the greatest Wins with Matches smaller than 5, and a Year of 1994?
### Answer:
SELECT MAX(wins) FROM table_name_26 WHERE matches < 5 AND year = 1994 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE staff (staff_name VARCHAR, staff_gender VARCHAR, staff_id VARCHAR); CREATE TABLE staff_department_assignments (staff_id VARCHAR, date_assigned_from VARCHAR)
### Question:
Return the name and gender of the staff who was assigned in 2016.
### Answer:
SELECT T1.staff_name, T1.staff_gender FROM staff AS T1 JOIN staff_department_assignments AS T2 ON T1.staff_id = T2.staff_id WHERE T2.date_assigned_from LIKE "2016%" |
Below is an context that describes a sql 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 (year VARCHAR, team VARCHAR)
### Question:
How many years does Team wal-mart / tide participate?
### Answer:
SELECT COUNT(year) FROM table_name_94 WHERE team = "wal-mart / tide" |
Below is an context that describes a sql 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 (date VARCHAR, score VARCHAR, record VARCHAR)
### Question:
When has Score of 4–5, and a Record of 21–21–3?
### Answer:
SELECT date FROM table_name_94 WHERE score = "4–5" AND record = "21–21–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_78 (location VARCHAR, opponent_team VARCHAR)
### Question:
Where was the game when Police S.A. was the opponent?
### Answer:
SELECT location FROM table_name_78 WHERE opponent_team = "police s.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_1108394_24 (queens VARCHAR, richmond_ VARCHAR, staten_is VARCHAR)
### Question:
What is the queens where richmond staten is 42%?
### Answer:
SELECT queens FROM table_1108394_24 WHERE richmond_[staten_is] = "42_percentage" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_298883_5 (reverse VARCHAR, value VARCHAR)
### Question:
What is on the reverse side of the ₩100 coin?
### Answer:
SELECT reverse FROM table_298883_5 WHERE value = "₩100" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2847477_2 (english_name VARCHAR, pinyin VARCHAR)
### Question:
What is the English name of gùshǐ xiàn?
### Answer:
SELECT english_name FROM table_2847477_2 WHERE pinyin = "Gùshǐ Xiàn" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_10015132_11 (position VARCHAR, school_club_team VARCHAR)
### Question:
What position does the player who played for butler cc (ks) play?
### Answer:
SELECT position FROM table_10015132_11 WHERE school_club_team = "Butler CC (KS)" |
Below is an context that describes a sql 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 (record VARCHAR, home VARCHAR)
### Question:
Which record was for Warriors at home?
### Answer:
SELECT record FROM table_name_67 WHERE home = "warriors" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_20704243_5 (directed_by VARCHAR, season__number VARCHAR)
### Question:
Name who directed season 1
### Answer:
SELECT directed_by FROM table_20704243_5 WHERE season__number = 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_8 (gold VARCHAR, bronze VARCHAR, total VARCHAR)
### Question:
How many golds were there in a game that has 17 bronze and a total of 31?
### Answer:
SELECT gold FROM table_name_8 WHERE bronze = "17" AND total = "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_19418696_3 (interceptions INTEGER)
### Question:
What is the highest number of interceptions?
### Answer:
SELECT MAX(interceptions) FROM table_19418696_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_32 (round VARCHAR, opposition VARCHAR, attendance VARCHAR)
### Question:
What round was adelaide united the opposition with an attendance of 18,345?
### Answer:
SELECT round FROM table_name_32 WHERE opposition = "adelaide united" AND attendance = "18,345" |
Below is an context that describes a sql 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 (week VARCHAR, date VARCHAR)
### Question:
What was the week number when they played on Dec. 19?
### Answer:
SELECT COUNT(week) FROM table_name_79 WHERE date = "dec. 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_75 (constructor VARCHAR, date VARCHAR)
### Question:
Name the constructor for 10 august
### Answer:
SELECT constructor FROM table_name_75 WHERE date = "10 august" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23927423_4 (teams INTEGER, relegated_to_league VARCHAR)
### Question:
How many teams participated (maximum) when Cornish All Blacks Pertemps Bees were relegated to the league?
### Answer:
SELECT MAX(teams) FROM table_23927423_4 WHERE relegated_to_league = "Cornish All Blacks Pertemps Bees" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.