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_18 (opponent VARCHAR, partnering VARCHAR, surface VARCHAR, outcome VARCHAR)
### Question:
Who was the Opponent partnering with Jordan Kerr, on a hard surface that was the winner?
### Answer:
SELECT opponent FROM table_name_18 WHERE surface = "hard" AND outcome = "winner" AND partnering = "jordan kerr" |
Below is an context that describes a sql 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 (date VARCHAR, home_team VARCHAR)
### Question:
When the home team was hawthorn, what was the date?
### Answer:
SELECT date FROM table_name_44 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_23397386_2 (rank__timeslot_ VARCHAR, airdate VARCHAR)
### Question:
How many rankings (timeslot) were there for the episode that aired on May 2, 2010?
### Answer:
SELECT COUNT(rank__timeslot_) FROM table_23397386_2 WHERE airdate = "May 2, 2010" |
Below is an context that describes a sql 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 (episodes VARCHAR, tv_station VARCHAR, average_ratings VARCHAR)
### Question:
What is the episode on NHK with average ratings of 9.2%?
### Answer:
SELECT COUNT(episodes) FROM table_name_39 WHERE tv_station = "nhk" AND average_ratings = "9.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_20403667_2 (district INTEGER, animal__in_lakh__ VARCHAR)
### Question:
What is the smallest district that had 33.25 in animals
### Answer:
SELECT MIN(district) FROM table_20403667_2 WHERE animal__in_lakh__ = "33.25" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_66 (away_team VARCHAR)
### Question:
What was North Melbourne's score as an away team?
### Answer:
SELECT away_team AS score FROM table_name_66 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 inventory (store_id VARCHAR)
### Question:
How many items in inventory does store 1 have?
### Answer:
SELECT COUNT(*) FROM inventory WHERE store_id = 1 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22180353_1 (conformity_to_original_design VARCHAR, registration VARCHAR)
### Question:
What is every conformity to original design if registration is HB-DAI?
### Answer:
SELECT conformity_to_original_design FROM table_22180353_1 WHERE registration = "HB-DAI" |
Below is an context that describes a sql 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 (runs INTEGER, name VARCHAR, inns VARCHAR)
### Question:
Name of clem hill, and Inns larger than 126 has the lowest runs?
### Answer:
SELECT MIN(runs) FROM table_name_83 WHERE name = "clem hill" AND inns > 126 |
Below is an context that describes a sql 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 (d_49_√ VARCHAR, d_46_√ VARCHAR)
### Question:
Name the D 49 √ for when D 46 √ of i 1 @
### Answer:
SELECT d_49_√ FROM table_name_24 WHERE d_46_√ = "i 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_46 (score VARCHAR, record VARCHAR)
### Question:
What was the score of the game when their record was 62-67
### Answer:
SELECT score FROM table_name_46 WHERE record = "62-67" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_79 (season VARCHAR, rating VARCHAR)
### Question:
Which season was one of the players rated +33?
### Answer:
SELECT season FROM table_name_79 WHERE rating = "+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_25604014_8 (no_in_season VARCHAR, no_in_series VARCHAR)
### Question:
How many episodes in the season are episode 142 in the series?
### Answer:
SELECT COUNT(no_in_season) FROM table_25604014_8 WHERE no_in_series = 142 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_90 (television_service VARCHAR, content VARCHAR)
### Question:
What is Television Service, when Content is Presentazione?
### Answer:
SELECT television_service FROM table_name_90 WHERE content = "presentazione" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_28677723_9 (style VARCHAR, total VARCHAR)
### Question:
How many styles had a total score of exactly 33?
### Answer:
SELECT COUNT(style) FROM table_28677723_9 WHERE total = 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_54 (bronze VARCHAR, silver VARCHAR, total VARCHAR)
### Question:
Tell me the number of bronze for silver of 0 and total less than 1
### Answer:
SELECT COUNT(bronze) FROM table_name_54 WHERE silver = 0 AND total < 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_20745759_1 (record VARCHAR, date VARCHAR)
### Question:
Name the record for january 18, 1997
### Answer:
SELECT record FROM table_20745759_1 WHERE date = "January 18, 1997" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_45 (location VARCHAR, rank VARCHAR, date VARCHAR)
### Question:
Which location had a race that took place on 22 July 2011 and has a rank greater than 8?
### Answer:
SELECT location FROM table_name_45 WHERE rank > 8 AND date = "22 july 2011" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_55 (tournament VARCHAR, score VARCHAR)
### Question:
What is the Tournament with a Score that is 2–6, 6–4, 3–6?
### Answer:
SELECT tournament FROM table_name_55 WHERE score = "2–6, 6–4, 3–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_2683116_1 (E VARCHAR, vap VARCHAR, turnout VARCHAR)
### Question:
What is the e/vap value for a turnout of exactly 85.7%?
### Answer:
SELECT E / vap FROM table_2683116_1 WHERE turnout = "85.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_24 (season VARCHAR, home VARCHAR)
### Question:
Which Season has a Home of 0–1?
### Answer:
SELECT season FROM table_name_24 WHERE home = "0–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_27986200_3 (aggregate_score VARCHAR, proceed_to_quarter_final VARCHAR)
### Question:
What was the aggregate score for Montauban?
### Answer:
SELECT aggregate_score FROM table_27986200_3 WHERE proceed_to_quarter_final = "Montauban" |
Below is an context that describes a sql 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 (tournament VARCHAR)
### Question:
Name the tournament of beijing
### Answer:
SELECT 2011 FROM table_name_71 WHERE tournament = "beijing" |
Below is an context that describes a sql 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 (years VARCHAR, school VARCHAR)
### Question:
What school year is vaucluse public school?
### Answer:
SELECT years FROM table_name_10 WHERE school = "vaucluse public 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 Restaurant_Type (ResTypeDescription VARCHAR, ResTypeName VARCHAR)
### Question:
What is the description of the restaurant type Sandwich?
### Answer:
SELECT ResTypeDescription FROM Restaurant_Type WHERE ResTypeName = "Sandwich" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1515346_2 (country VARCHAR, honoree_s_ VARCHAR)
### Question:
How many countries does honoree Roberto de Vicenzo represent?
### Answer:
SELECT COUNT(country) FROM table_1515346_2 WHERE honoree_s_ = "Roberto De Vicenzo" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1585609_2 (region VARCHAR, prefecture VARCHAR)
### Question:
Name the region for iwate
### Answer:
SELECT region FROM table_1585609_2 WHERE prefecture = "Iwate" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12591022_2 (teaching_language VARCHAR, focus VARCHAR)
### Question:
what is teaching language where the focus is auditing?
### Answer:
SELECT teaching_language FROM table_12591022_2 WHERE focus = "Auditing" |
Below is an context that describes a sql 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 (bronze INTEGER, total VARCHAR, silver VARCHAR, rank VARCHAR)
### Question:
What is the average Bronze, when Silver is 0, when Rank is 19, and when Total is greater than 2?
### Answer:
SELECT AVG(bronze) FROM table_name_29 WHERE silver = 0 AND rank = "19" AND total > 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_17 (date VARCHAR, away_team VARCHAR)
### Question:
What was the date of the game for the Wrexham away team?
### Answer:
SELECT date FROM table_name_17 WHERE away_team = "wrexham" |
Below is an context that describes a sql 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 (type VARCHAR, date VARCHAR, president VARCHAR, year VARCHAR, location VARCHAR)
### Question:
What is the Type with a Year larger than 2010, and a Location with justus lipsius building, brussels, and a President of herman van rompuy (2nd term), and a Date with 28–29 june?
### Answer:
SELECT type FROM table_name_96 WHERE year > 2010 AND location = "justus lipsius building, brussels" AND president = "herman van rompuy (2nd term)" AND date = "28–29 june" |
Below is an context that describes a sql 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 (date VARCHAR, venue VARCHAR)
### Question:
On what date was the match played in Victoria Park?
### Answer:
SELECT date FROM table_name_78 WHERE venue = "victoria park" |
Below is an context that describes a sql 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 (year_to_open VARCHAR, name VARCHAR)
### Question:
What was the Year to Open for the Dandeung Bridge?
### Answer:
SELECT COUNT(year_to_open) FROM table_name_51 WHERE name = "dandeung 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_name_72 (year VARCHAR, status VARCHAR)
### Question:
In what year is the status of won?
### Answer:
SELECT year FROM table_name_72 WHERE status = "won" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23465864_6 (wed_26_aug VARCHAR, rider VARCHAR)
### Question:
What was the event on Wed 26 Aug where rider is Andrew Farrell 400cc Kawasaki?
### Answer:
SELECT wed_26_aug FROM table_23465864_6 WHERE rider = "Andrew Farrell 400cc Kawasaki" |
Below is an context that describes a sql 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 (d_46 VARCHAR, d_44 VARCHAR)
### Question:
Name the D46 when it has D 44 of ← majority
### Answer:
SELECT d_46 FROM table_name_50 WHERE d_44 = "← majority" |
Below is an context that describes a sql 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_goals VARCHAR, player VARCHAR, qualifying_goals VARCHAR)
### Question:
What is the total number of Total Goals scored by Stan Mortensen where the Qualifying Goals is greater than 3?
### Answer:
SELECT COUNT(total_goals) FROM table_name_1 WHERE player = "stan mortensen" AND qualifying_goals > 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_55 (player VARCHAR, pick VARCHAR, position VARCHAR)
### Question:
Who is the player with a pick less than 234 and a quarterback position?
### Answer:
SELECT player FROM table_name_55 WHERE pick < 234 AND position = "quarterback" |
Below is an context that describes a sql 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 (date VARCHAR, home VARCHAR)
### Question:
Home of buffalo happened on what date?
### Answer:
SELECT date FROM table_name_39 WHERE home = "buffalo" |
Below is an context that describes a sql 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 (events INTEGER, top_25 INTEGER)
### Question:
What is the event average for a top-25 smaller than 0?
### Answer:
SELECT AVG(events) FROM table_name_84 WHERE top_25 < 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_11800185_1 (no_of_sikhs VARCHAR, country VARCHAR)
### Question:
What is the number of sikhs in Japan?
### Answer:
SELECT no_of_sikhs FROM table_11800185_1 WHERE country = "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_24 (wickets INTEGER, average VARCHAR, overs VARCHAR, player VARCHAR)
### Question:
What is the average wickets that have overs greater than 44, danish kaneria as the player, with an average greater than 13.8?
### Answer:
SELECT AVG(wickets) FROM table_name_24 WHERE overs > 44 AND player = "danish kaneria" AND average > 13.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_70 (ngc_number INTEGER, constellation VARCHAR, declination___j2000__ VARCHAR)
### Question:
what is the ngc number when the constellation is leo and the declination (j2000) is °42′13″?
### Answer:
SELECT AVG(ngc_number) FROM table_name_70 WHERE constellation = "leo" AND declination___j2000__ = "°42′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 table_name_2 (state VARCHAR, title VARCHAR, name VARCHAR)
### Question:
In what state did Jing have the title of Marquis?
### Answer:
SELECT state FROM table_name_2 WHERE title = "marquis" AND name = "jing" |
Below is an context that describes a sql 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 (participants INTEGER, rank VARCHAR, silver VARCHAR)
### Question:
What is listed as the highest Participants that also have a Rank of 5, and Silver that's smaller than 0?
### Answer:
SELECT MAX(participants) FROM table_name_13 WHERE rank = 5 AND silver < 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_254234_1 (area³ INTEGER, density² VARCHAR)
### Question:
What is the area of the province with a density of 533.59?
### Answer:
SELECT MAX(area³) FROM table_254234_1 WHERE density² = "533.59" |
Below is an context that describes a sql 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 (position INTEGER, against VARCHAR, lost VARCHAR)
### Question:
What is the highest Position when the against is less than 41, and lost is more than 7?
### Answer:
SELECT MAX(position) FROM table_name_23 WHERE against < 41 AND lost > 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_28846752_8 (matches INTEGER)
### Question:
What is the highest number listed for matches?
### Answer:
SELECT MAX(matches) FROM table_28846752_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 (tournament VARCHAR)
### Question:
What tournament in 2006 had a score of 0-0?
### Answer:
SELECT tournament FROM table_name_5 WHERE 2006 = "0-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_56 (elected VARCHAR, district VARCHAR)
### Question:
What was the year elected in District 15?
### Answer:
SELECT elected FROM table_name_56 WHERE district = 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_44 (club_province VARCHAR, caps VARCHAR, player VARCHAR)
### Question:
Which club/province has more than 9 caps and Ben Franks as a player?
### Answer:
SELECT club_province FROM table_name_44 WHERE caps > 9 AND player = "ben franks" |
Below is an context that describes a sql 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 (icao VARCHAR, city VARCHAR)
### Question:
What is the ICAO for the airport in Ningbo?
### Answer:
SELECT icao FROM table_name_54 WHERE city = "ningbo" |
Below is an context that describes a sql 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 (type VARCHAR, satellite VARCHAR)
### Question:
What is the type of the gps iif-10 satellite?
### Answer:
SELECT type FROM table_name_38 WHERE satellite = "gps iif-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_19744915_16 (result VARCHAR, judges VARCHAR)
### Question:
What is the result of judge 6?
### Answer:
SELECT result FROM table_19744915_16 WHERE judges = 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_29 (sport VARCHAR, nation_represented VARCHAR)
### Question:
Which sport did the United States win?
### Answer:
SELECT sport FROM table_name_29 WHERE nation_represented = "united states" |
Below is an context that describes a sql 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 (score_in_the_final VARCHAR, surface VARCHAR, date VARCHAR)
### Question:
What score in the final has hard as the surface, and june 13, 2011 as the date?
### Answer:
SELECT score_in_the_final FROM table_name_57 WHERE surface = "hard" AND date = "june 13, 2011" |
Below is an context that describes a sql 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 (location VARCHAR, method VARCHAR, time VARCHAR)
### Question:
what is the location when the method is tko (punches) and the time is 2:48?
### Answer:
SELECT location FROM table_name_65 WHERE method = "tko (punches)" AND time = "2:48" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_13 (outcome VARCHAR, partner VARCHAR)
### Question:
What was the outcome when the partner was Iryna Bremond?
### Answer:
SELECT outcome FROM table_name_13 WHERE partner = "iryna bremond" |
Below is an context that describes a sql 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 (Id VARCHAR)
### Question:
Which 2009 has a 2008 of wta premier mandatory tournaments?
### Answer:
SELECT 2009 FROM table_name_64 WHERE 2008 = "wta premier mandatory 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_27 (team_2 VARCHAR)
### Question:
WHAT IS THE SECOND LEG WITH HARO AS TEAM TWO?
### Answer:
SELECT 2 AS nd_leg FROM table_name_27 WHERE team_2 = "haro" |
Below is an context that describes a sql 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 (lane INTEGER, rank VARCHAR)
### Question:
What is the lane total when rank is 2?
### Answer:
SELECT SUM(lane) FROM table_name_89 WHERE rank = 2 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15869204_8 (high_points VARCHAR, game VARCHAR)
### Question:
Who was the high point scorer in game number 68?
### Answer:
SELECT high_points FROM table_15869204_8 WHERE game = 68 |
Below is an context that describes a sql 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 (country VARCHAR, engine_make_capacity VARCHAR)
### Question:
In what country was the car with the čz 171cc engine?
### Answer:
SELECT country FROM table_name_34 WHERE engine_make_capacity = "čz 171cc" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25085059_1 (player VARCHAR, pick__number VARCHAR)
### Question:
What player was the number 1 draft pick?
### Answer:
SELECT player FROM table_25085059_1 WHERE pick__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_2846320_4 (au_won INTEGER, games_played VARCHAR)
### Question:
what was the lowest number that auburn triumphed where the activities took part was 92
### Answer:
SELECT MIN(au_won) FROM table_2846320_4 WHERE games_played = 92 |
Below is an context that describes a sql 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 (player VARCHAR, total VARCHAR, country VARCHAR)
### Question:
What is Player, when Total is greater than 288, and when Country is "South Africa"?
### Answer:
SELECT player FROM table_name_54 WHERE total > 288 AND country = "south africa" |
Below is an context that describes a sql 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 (result VARCHAR, opponent_number VARCHAR)
### Question:
What result did Indiana have when they were an opponent?
### Answer:
SELECT result FROM table_name_78 WHERE opponent_number = "indiana" |
Below is an context that describes a sql 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 (city VARCHAR, group VARCHAR)
### Question:
WHat kind of 2009 season has a City of panama city, and a Group of group b?
### Answer:
SELECT 2009 AS _season FROM table_name_21 WHERE city = "panama city" AND group = "group b" |
Below is an context that describes a sql 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 (partner VARCHAR, score VARCHAR)
### Question:
Who was Silva's Partner in the match with a Score of 6–3, 7–6 (7–3)?
### Answer:
SELECT partner FROM table_name_64 WHERE score = "6–3, 7–6 (7–3)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_84 (constructor VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
### Question:
When grid is less than 7, laps are greater than 17, and time/retired is + 1:35.6, who is the constructor?
### Answer:
SELECT constructor FROM table_name_84 WHERE laps > 17 AND grid < 7 AND time_retired = "+ 1:35.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_50 (attendance VARCHAR, visitor VARCHAR)
### Question:
Name the total number in attendance for when the bulls visited
### Answer:
SELECT COUNT(attendance) FROM table_name_50 WHERE visitor = "bulls" |
Below is an context that describes a sql 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 (attendance VARCHAR, week VARCHAR)
### Question:
For week 15, what was the total number of attendance recorded?
### Answer:
SELECT COUNT(attendance) FROM table_name_66 WHERE week = 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_3 (finished VARCHAR, trainer VARCHAR, horse VARCHAR)
### Question:
What is the Finished place for da'tara trained by Nick zito?
### Answer:
SELECT finished FROM table_name_3 WHERE trainer = "nick zito" AND horse = "da'tara" |
Below is an context that describes a sql 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 (points VARCHAR, score VARCHAR)
### Question:
Score of 2 - 2 had what points?
### Answer:
SELECT points FROM table_name_47 WHERE score = "2 - 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_9 (time VARCHAR, notes VARCHAR, country VARCHAR)
### Question:
What is the time for Estonia with sc/d notes?
### Answer:
SELECT time FROM table_name_9 WHERE notes = "sc/d" AND country = "estonia" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_30120633_1 (area__acres__ INTEGER, townland VARCHAR)
### Question:
How few acres is the area of Clashroe?
### Answer:
SELECT MIN(area__acres__) FROM table_30120633_1 WHERE townland = "Clashroe" |
Below is an context that describes a sql 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 (round INTEGER, name VARCHAR)
### Question:
What round was Bob Randall selected in?
### Answer:
SELECT MAX(round) FROM table_name_16 WHERE name = "bob randall" |
Below is an context that describes 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 (Official_native_language VARCHAR)
### Question:
Show all official native languages that contain the word "English".
### Answer:
SELECT Official_native_language FROM country WHERE Official_native_language LIKE "%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_15 (year INTEGER, notes VARCHAR)
### Question:
What is the highest Year, when Notes is "Celebrity Guest Alongside YG Family"?
### Answer:
SELECT MAX(year) FROM table_name_15 WHERE notes = "celebrity guest alongside yg family" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25042332_26 (region VARCHAR, solar_panel VARCHAR)
### Question:
What region has 0.3% solar panel?
### Answer:
SELECT region FROM table_25042332_26 WHERE solar_panel = "0.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_26 (total INTEGER, new_south_wales VARCHAR, victoria VARCHAR)
### Question:
Which is the lowest crop total with New South Wales at 42 kilotonnes and Victorian at less than 68 kilotonnes?
### Answer:
SELECT MIN(total) FROM table_name_26 WHERE new_south_wales = 42 AND victoria < 68 |
Below is an context that describes a sql 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 (home_team VARCHAR, away_team VARCHAR)
### Question:
Who was Richmond's home team opponent?
### Answer:
SELECT home_team FROM table_name_72 WHERE away_team = "richmond" |
Below is an context that describes a sql 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 (memory__gb_ VARCHAR, number_of_cpus VARCHAR)
### Question:
Which Memory (GB) has a Number of CPUs of 1–6?
### Answer:
SELECT memory__gb_ FROM table_name_57 WHERE number_of_cpus = "1–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_13 (game INTEGER, score VARCHAR)
### Question:
What Game had a Score of 129–105?
### Answer:
SELECT MIN(game) FROM table_name_13 WHERE score = "129–105" |
Below is an context that describes a sql 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 (score VARCHAR, surface VARCHAR, partnering VARCHAR)
### Question:
Surface of clay, and a Partnering of júlio silva had what score?
### Answer:
SELECT score FROM table_name_69 WHERE surface = "clay" AND partnering = "júlio silva" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_82 (Id VARCHAR)
### Question:
What's the 1861 had 1991 in 1881 and a year of year?
### Answer:
SELECT 1861 FROM table_name_82 WHERE "year" = "year" AND 1881 = "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 mission (Ship_ID VARCHAR, Launched_Year INTEGER); CREATE TABLE ship (Name VARCHAR, Ship_ID VARCHAR)
### Question:
Show names of ships involved in a mission launched after 1928.
### Answer:
SELECT T2.Name FROM mission AS T1 JOIN ship AS T2 ON T1.Ship_ID = T2.Ship_ID WHERE T1.Launched_Year > 1928 |
Below is an context that describes a sql 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 (pick VARCHAR, college_high_school_club VARCHAR, round VARCHAR, draft VARCHAR)
### Question:
What is the total pick number of the player from a round greater than 1, a draft before 2002, and with the college/high school/club of western kentucky?
### Answer:
SELECT COUNT(pick) FROM table_name_51 WHERE round > 1 AND draft < 2002 AND college_high_school_club = "western kentucky" |
Below is an context that describes a sql 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, opponents VARCHAR, h___a VARCHAR)
### Question:
What date was the opponent Nottingham Forest, and the H/A was A?
### Answer:
SELECT date FROM table_name_7 WHERE opponents = "nottingham forest" AND h___a = "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_2554479_2 (series VARCHAR, season VARCHAR)
### Question:
Name the series result for season being 1998
### Answer:
SELECT series AS result FROM table_2554479_2 WHERE season = "1998" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_18277458_2 (ticket_sold___available VARCHAR, venue VARCHAR)
### Question:
How many tickets are sold for the Carver-Hawkeye Arena?
### Answer:
SELECT ticket_sold___available FROM table_18277458_2 WHERE venue = "Carver-Hawkeye 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_13110459_2 (rating VARCHAR, viewers__m_ VARCHAR)
### Question:
what are all the rating with viewers (m) being 2.61
### Answer:
SELECT rating FROM table_13110459_2 WHERE viewers__m_ = "2.61" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_27539535_7 (record VARCHAR, february VARCHAR)
### Question:
What was the team's rcord on february 1?
### Answer:
SELECT record FROM table_27539535_7 WHERE february = 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_28 (screen_size VARCHAR, pixels VARCHAR, dimensions_w×h×d__mm_ VARCHAR, model VARCHAR)
### Question:
What is the screen size and pixel amount of model p5000 when the dimensions are 98×64.5×41?
### Answer:
SELECT screen_size, pixels FROM table_name_28 WHERE dimensions_w×h×d__mm_ = "98×64.5×41" AND model = "p5000" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_149426_4 (available_subnets INTEGER, network_mask VARCHAR)
### Question:
When the network mask is 255.255.255.128 what is the lowest available subnet?
### Answer:
SELECT MIN(available_subnets) FROM table_149426_4 WHERE network_mask = "255.255.255.128" |
Below is an context that describes a sql 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 (year INTEGER, location VARCHAR)
### Question:
What is the oldest year that the location was at Guangzhou?
### Answer:
SELECT MIN(year) FROM table_name_1 WHERE location = "guangzhou" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_15187735_14 (segment_c VARCHAR, netflix VARCHAR)
### Question:
What is segment C in s07e05
### Answer:
SELECT segment_c FROM table_15187735_14 WHERE netflix = "S07E05" |
Below is an context that describes a sql 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 (gpu_frequency VARCHAR, part_number_s_ VARCHAR)
### Question:
what is the gpu frequency when the part number is cw8064701470702?
### Answer:
SELECT gpu_frequency FROM table_name_50 WHERE part_number_s_ = "cw8064701470702" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_82 (date VARCHAR, effect VARCHAR, place VARCHAR)
### Question:
What is Date, when Effect is "Shot Down", and when Place is "South of Stanley Airport"?
### Answer:
SELECT date FROM table_name_82 WHERE effect = "shot down" AND place = "south of stanley airport" |
Below is an context that describes a sql 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 (opponent VARCHAR, date VARCHAR)
### Question:
Who did the Eagle's play on November 5, 1961?
### Answer:
SELECT opponent FROM table_name_77 WHERE date = "november 5, 1961" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.