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_16 (gold INTEGER, rank VARCHAR, total VARCHAR)
### Question:
Tell me the lowest gold for rank of 6 and total less than 2
### Answer:
SELECT MIN(gold) FROM table_name_16 WHERE rank = "6" 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_14 (record VARCHAR, location VARCHAR, visitor VARCHAR)
### Question:
What record has montreal, qc as the location, with boston bruins as the visitor?
### Answer:
SELECT record FROM table_name_14 WHERE location = "montreal, qc" AND visitor = "boston bruins" |
Below is an context that describes a sql 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 (location VARCHAR, event VARCHAR)
### Question:
What is the location of the 200m backstroke?
### Answer:
SELECT location FROM table_name_75 WHERE event = "200m backstroke" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1754531_4 (international_freight VARCHAR, domestic_mail VARCHAR)
### Question:
Name the number of international frieghts for domestic mail of 260
### Answer:
SELECT COUNT(international_freight) FROM table_1754531_4 WHERE domestic_mail = 260 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_4 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)
### Question:
What are the average Laps for the time/retired of +16.874 secs, and a grid less than 5?
### Answer:
SELECT AVG(laps) FROM table_name_4 WHERE time_retired = "+16.874 secs" AND grid < 5 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_91 (earnings___ INTEGER, events VARCHAR, rank VARCHAR)
### Question:
Events of 22, and a Rank smaller than 4 involved which of the lowest earnings ($)?
### Answer:
SELECT MIN(earnings___) AS $__ FROM table_name_91 WHERE events = 22 AND rank < 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_37 (record VARCHAR, opponent VARCHAR, loss VARCHAR)
### Question:
What was the record at the game against the Indians with a loss of Camacho (1-4)?
### Answer:
SELECT record FROM table_name_37 WHERE opponent = "indians" AND loss = "camacho (1-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_15 (time VARCHAR, show_name VARCHAR)
### Question:
What Time has a Show Name of mornings with neil mitchell?
### Answer:
SELECT time FROM table_name_15 WHERE show_name = "mornings with neil mitchell" |
Below is an context that describes a sql 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 (points INTEGER, record VARCHAR, attendance VARCHAR)
### Question:
Which Points have a Record of 21β36β9, and an Attendance larger than 14,768?
### Answer:
SELECT SUM(points) FROM table_name_9 WHERE record = "21β36β9" AND attendance > 14 OFFSET 768 |
Below is an context that describes a sql 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 (league_cup INTEGER, fa_cup INTEGER)
### Question:
What is the lowest number of league cups associated with 0 FA cups?
### Answer:
SELECT MIN(league_cup) FROM table_name_65 WHERE fa_cup < 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_2305948_1 (country VARCHAR, name VARCHAR)
### Question:
What countries does the Rock come from?
### Answer:
SELECT COUNT(country) FROM table_2305948_1 WHERE name = "The Rock" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE trust (target_u_id VARCHAR); CREATE TABLE useracct (name VARCHAR, u_id VARCHAR)
### Question:
Find the name of the target user with the lowest trust score.
### Answer:
SELECT T1.name FROM useracct AS T1 JOIN trust AS T2 ON T1.u_id = T2.target_u_id ORDER BY trust 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_28190363_1 (presenter_s_ VARCHAR, name VARCHAR)
### Question:
How many sets of presenters are there for the version of the show named Celebrity Masterchef?
### Answer:
SELECT COUNT(presenter_s_) FROM table_28190363_1 WHERE name = "Celebrity MasterChef" |
Below is an context that describes a sql 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 (match INTEGER, draw VARCHAR, team VARCHAR, lost VARCHAR, points VARCHAR)
### Question:
Which average match has a lost greater than 0, points greater than 6, legia warszawa as the team, and a draw less than 0?
### Answer:
SELECT AVG(match) FROM table_name_55 WHERE lost > 0 AND points > 6 AND team = "legia warszawa" AND draw < 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_89 (category VARCHAR, award VARCHAR, year VARCHAR)
### Question:
Which Category has an Award of monte carlo tv festival awards, and a Year larger than 2010?
### Answer:
SELECT category FROM table_name_89 WHERE award = "monte carlo tv festival awards" AND year > 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_86 (gold VARCHAR, total VARCHAR, bronze VARCHAR)
### Question:
What is the number for gold where there were total 1, and bronze 1?
### Answer:
SELECT COUNT(gold) FROM table_name_86 WHERE total = 1 AND bronze = 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_14603057_2 (class_aAAA VARCHAR, school_year VARCHAR)
### Question:
Who was the Class AAAA champion in 2006-07?
### Answer:
SELECT class_aAAA FROM table_14603057_2 WHERE school_year = "2006-07" |
Below is an context that describes a sql 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 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)
### Question:
What to par has The United States as the country, t8 as the place, and tommy valentine as the player?
### Answer:
SELECT to_par FROM table_name_77 WHERE country = "united states" AND place = "t8" AND player = "tommy valentine" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24399615_10 (episode_no VARCHAR, bbc_three_weekly_ranking VARCHAR, cable_rank VARCHAR)
### Question:
Which episode had bbc ranking and canle ranking of n/a?
### Answer:
SELECT COUNT(episode_no) FROM table_24399615_10 WHERE bbc_three_weekly_ranking = "N/A" AND cable_rank = "N/A" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_56 (spectators INTEGER, date VARCHAR, time_cet_ VARCHAR)
### Question:
Tell me the average spectators for 2006-06-21 and time more than 21
### Answer:
SELECT AVG(spectators) FROM table_name_56 WHERE date = "2006-06-21" AND time_cet_ > 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_5 (method VARCHAR, time VARCHAR)
### Question:
what is the method when the time is 0:51?
### Answer:
SELECT method FROM table_name_5 WHERE time = "0: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_13805773_2 (position INTEGER, artist VARCHAR)
### Question:
What is highest place reached by artist Ray Adams?
### Answer:
SELECT MAX(position) FROM table_13805773_2 WHERE artist = "Ray Adams" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_16337329_5 (injunctive VARCHAR, past_habitual VARCHAR)
### Question:
Name the injunctive for ΰ€ΰ€°ΰ₯ΰ€―ΰ₯ garyo 'he did'
### Answer:
SELECT injunctive FROM table_16337329_5 WHERE past_habitual = "ΰ€ΰ€°ΰ₯ΰ€―ΰ₯ garyo 'he did'" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22771048_2 (transit_connections VARCHAR, station VARCHAR)
### Question:
What are the transit connections from Pioneer Square U?
### Answer:
SELECT transit_connections FROM table_22771048_2 WHERE station = "Pioneer Square U" |
Below is an context that describes a sql 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 (author VARCHAR, company VARCHAR)
### Question:
Which Author's Company is Ruth Kanner Theatre Group?
### Answer:
SELECT author FROM table_name_93 WHERE company = "ruth kanner theatre group" |
Below is an context that describes a sql 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 (lyrics__l____music__m_ VARCHAR, artist VARCHAR)
### Question:
Who provided lyrics or music to the artist Cube?
### Answer:
SELECT lyrics__l____music__m_ FROM table_name_46 WHERE artist = "cube" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1341738_6 (candidates VARCHAR, incumbent VARCHAR)
### Question:
Who were the candidates in the election that featured incumbent don edwards?
### Answer:
SELECT candidates FROM table_1341738_6 WHERE incumbent = "Don Edwards" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17004367_3 (nightly_rank VARCHAR, episode_number_production_number VARCHAR)
### Question:
what is the nightly rank where the episode number production number is 06 1-06?
### Answer:
SELECT COUNT(nightly_rank) FROM table_17004367_3 WHERE episode_number_production_number = "06 1-06" |
Below is an context that describes a sql 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 (crowd VARCHAR, date VARCHAR, away_team VARCHAR)
### Question:
What was the attendence of the game on 26 April 1948 and an away team of Hawthorn?
### Answer:
SELECT crowd FROM table_name_12 WHERE date = "26 april 1948" AND away_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_197638_6 (player VARCHAR, us_open VARCHAR)
### Question:
Who won the US Open in 1937?
### Answer:
SELECT player FROM table_197638_6 WHERE us_open = 1937 |
Below is an context that describes a sql 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 (points VARCHAR, points_for VARCHAR)
### Question:
What points has points for as points for?
### Answer:
SELECT points FROM table_name_25 WHERE points_for = "points for" |
Below is an context that describes a sql 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 (venue VARCHAR, away_team VARCHAR)
### Question:
What venue featured collingwood as the away side?
### Answer:
SELECT venue FROM table_name_11 WHERE away_team = "collingwood" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_68 (year_s__won VARCHAR, finish VARCHAR)
### Question:
What years did the player with a t71 finish win?
### Answer:
SELECT year_s__won FROM table_name_68 WHERE finish = "t71" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_19487922_1 (seasons VARCHAR, country VARCHAR)
### Question:
How many seasons for Monaco?
### Answer:
SELECT seasons FROM table_19487922_1 WHERE country = "Monaco" |
Below is an context that describes a sql 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 (season VARCHAR, opponent VARCHAR)
### Question:
In what season is Victoria the Opponent?
### Answer:
SELECT season FROM table_name_97 WHERE opponent = "victoria" |
Below is an context that describes a sql 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 (yards INTEGER, tckl VARCHAR, sack VARCHAR)
### Question:
What is the highest YARDS with a TCKL more than 51 and less than 2 SACK?
### Answer:
SELECT MAX(yards) FROM table_name_61 WHERE tckl > 51 AND sack < 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_19 (bronze INTEGER, rank VARCHAR, total VARCHAR)
### Question:
What is the sum of Bronze when the rank is 7, and the total is more than 22?
### Answer:
SELECT SUM(bronze) FROM table_name_19 WHERE rank = 7 AND total > 22 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_40 (after_1_year VARCHAR, after_3_years VARCHAR)
### Question:
Which After 1 year has an After 3 years of 80%?
### Answer:
SELECT after_1_year FROM table_name_40 WHERE after_3_years = "80%" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_48 (goals INTEGER, apps VARCHAR, team VARCHAR, division VARCHAR)
### Question:
What is the sum of goals for Torpedo Moscow in division 1 with an apps value less than 29?
### Answer:
SELECT SUM(goals) FROM table_name_48 WHERE team = "torpedo moscow" AND division = 1 AND apps < 29 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_6 (name VARCHAR, street_address VARCHAR)
### Question:
What name has 100 w. pender st. as the address?
### Answer:
SELECT name FROM table_name_6 WHERE street_address = "100 w. pender st." |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24735155_1 (points VARCHAR, seasons VARCHAR)
### Question:
How many points for the driver who raced in seasons 2006 β 2007 , 2009?
### Answer:
SELECT points FROM table_24735155_1 WHERE seasons = "2006 β 2007 , 2009" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24233848_2 (eliminated VARCHAR, finish VARCHAR)
### Question:
Name the eliminated 7th voted out day 21
### Answer:
SELECT eliminated FROM table_24233848_2 WHERE finish = "7th voted Out Day 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_74 (year INTEGER, engine VARCHAR)
### Question:
What year was the cosworth ca2006 2.4 v8 4 series used?
### Answer:
SELECT AVG(year) FROM table_name_74 WHERE engine = "cosworth ca2006 2.4 v8 4 series" |
Below is an context that describes a sql 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 (score VARCHAR, save VARCHAR)
### Question:
Name the score for save of lancaster (3)
### Answer:
SELECT score FROM table_name_7 WHERE save = "lancaster (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_42 (attendance VARCHAR, date VARCHAR)
### Question:
What is the Attendance on 11/10/1928?
### Answer:
SELECT attendance FROM table_name_42 WHERE date = "11/10/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_85 (goals_for INTEGER, wins VARCHAR, goals_against VARCHAR)
### Question:
What is the smallest number of "goals for" out of the clubs where there were 18 wins and fewer than 38 "goals against"?
### Answer:
SELECT MIN(goals_for) FROM table_name_85 WHERE wins = 18 AND goals_against < 38 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_26558_1 (record_low VARCHAR, precip VARCHAR)
### Question:
What was the record lowest temperature with a precipitation of 1.71 in.?
### Answer:
SELECT record_low FROM table_26558_1 WHERE precip = "1.71 in." |
Below is an context that describes a sql 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 (events VARCHAR, top_25 INTEGER)
### Question:
How many events resulted in a top-25 less than 2?
### Answer:
SELECT COUNT(events) FROM table_name_13 WHERE top_25 < 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_73 (country VARCHAR, money___$__ VARCHAR, score VARCHAR)
### Question:
What is the country of the player with playoff money and a score of 66-67-70-67=270?
### Answer:
SELECT country FROM table_name_73 WHERE money___$__ = "playoff" AND score = 66 - 67 - 70 - 67 = 270 |
Below is an context that describes a sql 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 (xdsl VARCHAR, other VARCHAR, year VARCHAR)
### Question:
What is the xDSL in 2010 when the other was 0.6%?
### Answer:
SELECT xdsl FROM table_name_55 WHERE other = "0.6%" AND year = "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_87 (destination VARCHAR, train_name VARCHAR)
### Question:
What is the destination of the Garib nwaz exp train?
### Answer:
SELECT destination FROM table_name_87 WHERE train_name = "garib nwaz exp" |
Below is an context that describes a sql 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 (laps VARCHAR, time_retired VARCHAR)
### Question:
How many laps have a +0.4865 time/retired?
### Answer:
SELECT laps FROM table_name_34 WHERE time_retired = "+0.4865" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22771048_2 (transit_connections VARCHAR, city_neighborhood VARCHAR)
### Question:
What's the transit connection in Columbia City, Seattle?
### Answer:
SELECT transit_connections FROM table_22771048_2 WHERE city_neighborhood = "Columbia City, Seattle" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_95 (tournament VARCHAR, opponents_in_the_final VARCHAR)
### Question:
What tournament had an opponent of Els Callens Nancy Feber?
### Answer:
SELECT tournament FROM table_name_95 WHERE opponents_in_the_final = "els callens nancy feber" |
Below is an context that describes a sql 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 (seats INTEGER, general_election VARCHAR, share_of_votes VARCHAR, share_of_seats VARCHAR)
### Question:
Which Seats have a Share of votes of 18%, and a Share of seats of 3%, and a General election larger than 1992?
### Answer:
SELECT MAX(seats) FROM table_name_62 WHERE share_of_votes = "18%" AND share_of_seats = "3%" AND general_election > 1992 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17417383_6 (athlete VARCHAR, round_of_32 VARCHAR)
### Question:
Name the athelte for enkhzorig ( mgl ) l 1β10
### Answer:
SELECT athlete FROM table_17417383_6 WHERE round_of_32 = "Enkhzorig ( MGL ) L 1β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_23 (top_25 INTEGER, events INTEGER)
### Question:
What is the total Top-25 when the events were less than 0?
### Answer:
SELECT SUM(top_25) FROM table_name_23 WHERE events < 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_16175064_3 (director_s_ VARCHAR, writer_s_ VARCHAR)
### Question:
Who is the director when Chris Hawkshaw is the writer?
### Answer:
SELECT director_s_ FROM table_16175064_3 WHERE writer_s_ = "Chris Hawkshaw" |
Below is an context that describes a sql 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 (laps VARCHAR, manufacturer VARCHAR, grid VARCHAR)
### Question:
What were the laps of aprilia with a grid of 10?
### Answer:
SELECT laps FROM table_name_72 WHERE manufacturer = "aprilia" AND grid = 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_12 (class VARCHAR, rank VARCHAR)
### Question:
Tell me the class with rank of 89th
### Answer:
SELECT class FROM table_name_12 WHERE rank = "89th" |
Below is an context that describes a sql 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 (money___$__ VARCHAR, place VARCHAR, country VARCHAR)
### Question:
For a country of Spain, place of t6, what is the Money ($)?
### Answer:
SELECT money___$__ FROM table_name_44 WHERE place = "t6" AND country = "spain" |
Below is an context that describes a sql 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 (home_team VARCHAR, venue VARCHAR)
### Question:
What is the Home team score At Windy Hill?
### Answer:
SELECT home_team AS score FROM table_name_48 WHERE venue = "windy hill" |
Below is an context that describes a sql 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 (leading_scorer VARCHAR, date VARCHAR)
### Question:
Who was the leading scorer on the game played on February 25?
### Answer:
SELECT leading_scorer FROM table_name_28 WHERE date = "february 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_38 (enrollment INTEGER, mascot VARCHAR, year_joined VARCHAR)
### Question:
What is the average enrollment that has hot dogs as the mascot, with a year joined later than 1926?
### Answer:
SELECT AVG(enrollment) FROM table_name_38 WHERE mascot = "hot dogs" AND year_joined > 1926 |
Below is an context that describes a sql 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 (opponent VARCHAR, date VARCHAR)
### Question:
On June 29, who was the opponent?
### Answer:
SELECT opponent FROM table_name_96 WHERE date = "june 29" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12419515_4 (directed_by VARCHAR, written_by VARCHAR)
### Question:
Who directed the title that was written by Adam Milch?
### Answer:
SELECT directed_by FROM table_12419515_4 WHERE written_by = "Adam Milch" |
Below is an context that describes a sql 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 (producer VARCHAR, director VARCHAR)
### Question:
What is Director Erik Matti's Producer?
### Answer:
SELECT producer FROM table_name_57 WHERE director = "erik matti" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_83 (name VARCHAR, total_goals VARCHAR, fa_cup_goals VARCHAR, league_cup_goals VARCHAR)
### Question:
Who had fa cup goals of 0, league cup goals less than 2, and total goals of 2?
### Answer:
SELECT name FROM table_name_83 WHERE fa_cup_goals = 0 AND league_cup_goals < 2 AND total_goals = 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_68 (transfer_fee VARCHAR, transfer_window VARCHAR, moving_to VARCHAR)
### Question:
What transfer fee has both winter as the transfer window, and Madureira as the moving to?
### Answer:
SELECT transfer_fee FROM table_name_68 WHERE transfer_window = "winter" AND moving_to = "madureira" |
Below is an context that describes a sql 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 (attendance INTEGER, date VARCHAR)
### Question:
Mean attendance for December 22, 1980?
### Answer:
SELECT AVG(attendance) FROM table_name_91 WHERE date = "december 22, 1980" |
Below is an context that describes a sql 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 (place VARCHAR, country VARCHAR, money___$__ VARCHAR, score VARCHAR)
### Question:
Where did the player place who is from the United States, who made more than $216, and whose score was 74-70-71-69=284?
### Answer:
SELECT place FROM table_name_71 WHERE country = "united states" AND money___$__ > 216 AND score = 74 - 70 - 71 - 69 = 284 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_24850487_5 (blocks VARCHAR, rebounds VARCHAR)
### Question:
How many blocks did the player who had 59 rebounds have?
### Answer:
SELECT blocks FROM table_24850487_5 WHERE rebounds = 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_56 (rank VARCHAR, revenue_in_usd VARCHAR)
### Question:
What is the rank of the company who has a revenue of $428.2 billion?
### Answer:
SELECT COUNT(rank) FROM table_name_56 WHERE revenue_in_usd = "$428.2 billion" |
Below is an context that describes a sql 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 (pennant VARCHAR, builder VARCHAR)
### Question:
What is the pennant with Denny, Dumbarton as the builder?
### Answer:
SELECT pennant FROM table_name_8 WHERE builder = "denny, dumbarton" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23286112_12 (date VARCHAR, series VARCHAR)
### Question:
What date was the series 0-2?
### Answer:
SELECT date FROM table_23286112_12 WHERE series = "0-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_28498999_4 (winnings__$_ VARCHAR, score VARCHAR)
### Question:
What were the winnings for the score of 66-64-67-71=268?
### Answer:
SELECT winnings__$_ FROM table_28498999_4 WHERE score = 66 - 64 - 67 - 71 = 268 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_35 (season VARCHAR, losses VARCHAR)
### Question:
Which season had 34 losses?
### Answer:
SELECT season FROM table_name_35 WHERE losses = "34" |
Below is an context that describes a sql 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 (round VARCHAR, opponent VARCHAR)
### Question:
What round was the opponent Sergiy Stakhovsky?
### Answer:
SELECT round FROM table_name_28 WHERE opponent = "sergiy stakhovsky" |
Below is an context that describes a sql 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 (away_team VARCHAR)
### Question:
What is melbourne's away score?
### Answer:
SELECT away_team AS score FROM table_name_29 WHERE away_team = "melbourne" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_8 (result VARCHAR, location VARCHAR, year VARCHAR)
### Question:
Tell me the result for warsaw 1929
### Answer:
SELECT result FROM table_name_8 WHERE location = "warsaw" AND year = 1929 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_221653_1 (platelet_count VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR)
### Question:
How many time does the platelet count occur when prothrombin time and bleeding time are prolonged?
### Answer:
SELECT COUNT(platelet_count) FROM table_221653_1 WHERE prothrombin_time = "Prolonged" AND bleeding_time = "Prolonged" |
Below is an context that describes a sql 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 (round VARCHAR, nfl_club VARCHAR)
### Question:
What is the round of the new york jets NFL club?
### Answer:
SELECT round FROM table_name_63 WHERE nfl_club = "new york jets" |
Below is an context that describes a sql 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 (high_assists VARCHAR, high_points VARCHAR, high_rebounds VARCHAR)
### Question:
What is High Assists, when High Points is "Kobe Bryant (27)", and when High Rebounds is "Pau Gasol (11)"?
### Answer:
SELECT high_assists FROM table_name_13 WHERE high_points = "kobe bryant (27)" AND high_rebounds = "pau gasol (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_17282875_3 (team__number2 VARCHAR, team__number1 VARCHAR)
### Question:
Who played San Lorenzo?
### Answer:
SELECT team__number2 FROM table_17282875_3 WHERE team__number1 = "San Lorenzo" |
Below is an context that describes a sql 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 (average_cards_a_game INTEGER, season VARCHAR, games VARCHAR)
### Question:
Which Average Cards a game has a Season of 1997/1998, and a Games larger than 38?
### Answer:
SELECT MAX(average_cards_a_game) FROM table_name_78 WHERE season = "1997/1998" AND games > 38 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_77 (country VARCHAR, player VARCHAR)
### Question:
What country was Jay Haas representing?
### Answer:
SELECT country FROM table_name_77 WHERE player = "jay haas" |
Below is an context that describes a sql 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 (version VARCHAR, developer VARCHAR, title VARCHAR)
### Question:
What Version has a Developer of dino games, and a Title of metronome?
### Answer:
SELECT version FROM table_name_34 WHERE developer = "dino games" AND title = "metronome" |
Below is an context that describes a sql 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 (away_team VARCHAR, home_team VARCHAR)
### Question:
What is the away team score when Home team is fitzroy?
### Answer:
SELECT away_team AS score FROM table_name_6 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_23 (bronze INTEGER, team VARCHAR, gold VARCHAR)
### Question:
what is the average bronze when the team is northwest territories and gold is more than 34?
### Answer:
SELECT AVG(bronze) FROM table_name_23 WHERE team = "northwest territories" AND gold > 34 |
Below is an context that describes a sql 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 (lifespan VARCHAR, party VARCHAR, state VARCHAR, representative VARCHAR)
### Question:
What is the lifespan of Joseph Vance, a democratic-republican from Ohio?
### Answer:
SELECT lifespan FROM table_name_96 WHERE state = "ohio" AND representative = "joseph vance" AND party = "democratic-republican" |
Below is an context that describes a sql 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 (college VARCHAR, pick INTEGER)
### Question:
Which colleges have a pick above 7?
### Answer:
SELECT college FROM table_name_27 WHERE pick > 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_22871239_8 (high_assists VARCHAR, location_attendance VARCHAR)
### Question:
Name the high assists for american airlines center 19,585
### Answer:
SELECT high_assists FROM table_22871239_8 WHERE location_attendance = "American Airlines Center 19,585" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11253290_2 (viewers__millions_ VARCHAR, rank__week_ VARCHAR)
### Question:
How many viewers (millions) were there for rank (week) 20?
### Answer:
SELECT COUNT(viewers__millions_) FROM table_11253290_2 WHERE rank__week_ = "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_15 (total VARCHAR, bronze INTEGER)
### Question:
What is the total associated with Bronzes over 35?
### Answer:
SELECT total FROM table_name_15 WHERE bronze > 35 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Apartment_Bookings (apt_id VARCHAR, booking_status_code VARCHAR); CREATE TABLE Apartments (apt_id VARCHAR)
### Question:
Show the average room count of the apartments that have booking status code "Provisional".
### Answer:
SELECT AVG(room_count) FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T1.booking_status_code = "Provisional" |
Below is an context that describes a sql 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 (fall_08 INTEGER, fall_07 INTEGER)
### Question:
What is the largest value for Fall 08 when Fall 07 is less than 242?
### Answer:
SELECT MAX(fall_08) FROM table_name_28 WHERE fall_07 < 242 |
Below is an context that describes a sql 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 (current_club VARCHAR, player VARCHAR, year_born VARCHAR, height VARCHAR, position VARCHAR)
### Question:
What team does tariq kirksay, a guard who is taller than 1.8M and born before 1982, represent?
### Answer:
SELECT current_club FROM table_name_13 WHERE height > 1.8 AND position = "guard" AND year_born < 1982 AND player = "tariq kirksay" |
Below is an context that describes a sql 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 (rank INTEGER, name VARCHAR)
### Question:
What was Maxim Podoprigora's lowest rank?
### Answer:
SELECT MIN(rank) FROM table_name_91 WHERE name = "maxim podoprigora" |
Below is an context that describes a sql 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 (attendance INTEGER, loss VARCHAR)
### Question:
What is the largest Attendance with a Loss of darling (0β1)?
### Answer:
SELECT MAX(attendance) FROM table_name_35 WHERE loss = "darling (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_name_38 (area__km_2__ INTEGER, name VARCHAR, population__2011_ VARCHAR)
### Question:
For Stellenbosch, which has a population larger than 155,733, what is the average area?
### Answer:
SELECT AVG(area__km_2__) FROM table_name_38 WHERE name = "stellenbosch" AND population__2011_ > 155 OFFSET 733 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.