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_59 (date VARCHAR, away_team VARCHAR)
### Question:
On what date is Footscray the away team?
### Answer:
SELECT date FROM table_name_59 WHERE away_team = "footscray" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12983929_1 (shut_down VARCHAR, commercial_operation VARCHAR)
### Question:
What's the shut down state of the unit that's been in commercial operation since 01.02.1984?
### Answer:
SELECT shut_down FROM table_12983929_1 WHERE commercial_operation = "01.02.1984" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_92 (game INTEGER, record VARCHAR)
### Question:
What is the highest Game, when Record is "21-30-11"?
### Answer:
SELECT MAX(game) FROM table_name_92 WHERE record = "21-30-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_67 (place VARCHAR, to_par VARCHAR, player VARCHAR)
### Question:
What place did jacky cupit take when his To par was under 13?
### Answer:
SELECT place FROM table_name_67 WHERE to_par < 13 AND player = "jacky cupit" |
Below is an context that describes a sql 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 (to_par VARCHAR, finish VARCHAR, player VARCHAR)
### Question:
WHAT IS THE TO PAR WITH A FINISH OF T11, FOR DAVID GRAHAM?
### Answer:
SELECT to_par FROM table_name_23 WHERE finish = "t11" AND player = "david graham" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Person (name VARCHAR, job VARCHAR)
### Question:
list the name, job title of all people ordered by their names.
### Answer:
SELECT name, job FROM Person ORDER BY name |
Below is an context that describes a sql 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 (week_1 VARCHAR, week_3 VARCHAR)
### Question:
Name the week 3 of 36
### Answer:
SELECT week_1 FROM table_name_67 WHERE week_3 = "36" |
Below is an context that describes a sql 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 (environment VARCHAR, year_built VARCHAR)
### Question:
What type of environment is the venue that was built in 2003?
### Answer:
SELECT environment FROM table_name_11 WHERE year_built = "2003" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_28 (extra VARCHAR, result VARCHAR, tournament VARCHAR)
### Question:
What is the extra when the result is 4th at the NCAA Championships?
### Answer:
SELECT extra FROM table_name_28 WHERE result = "4th" AND tournament = "ncaa championships" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23537091_1 (early_chalcolithic VARCHAR, ubaid_period_in_mesopotamia VARCHAR)
### Question:
When the second intermediate period of egypt is the ubaid period in mesopotamia how many early calcolithics are there?
### Answer:
SELECT COUNT(early_chalcolithic) FROM table_23537091_1 WHERE ubaid_period_in_mesopotamia = "Second Intermediate Period of Egypt" |
Below is an context that describes a sql 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 (_percentage_2001 VARCHAR, seats_2001 VARCHAR)
### Question:
What is the sum of % for 2001 if 2001 seats equals 7?
### Answer:
SELECT COUNT(_percentage_2001) FROM table_name_32 WHERE seats_2001 = 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_15 (home_team VARCHAR)
### Question:
What was Footscray's score as the home team?
### Answer:
SELECT home_team AS score FROM table_name_15 WHERE home_team = "footscray" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_52 (game INTEGER, date VARCHAR)
### Question:
What is the sum of Game on february 28?
### Answer:
SELECT SUM(game) FROM table_name_52 WHERE date = "february 28" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_55 (away_team VARCHAR, tie_no VARCHAR, home_team VARCHAR)
### Question:
Which Away Team has a Tie no of replay and a Home Team of Chesterfield?
### Answer:
SELECT away_team FROM table_name_55 WHERE tie_no = "replay" AND home_team = "chesterfield" |
Below is an context that describes a sql 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 (stories VARCHAR, completed VARCHAR, rank VARCHAR)
### Question:
How many stories were done in 2008 with a 16 rank?
### Answer:
SELECT COUNT(stories) FROM table_name_85 WHERE completed = 2008 AND rank = "16" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE entrepreneur (People_ID VARCHAR, Investor VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)
### Question:
What are the names of entrepreneurs whose investor is not "Rachel Elnaugh"?
### Answer:
SELECT T2.Name FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Investor <> "Rachel Elnaugh" |
Below is an context that describes a sql 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 (points INTEGER, played INTEGER)
### Question:
What was the average points for someone who has played more than 10?
### Answer:
SELECT AVG(points) FROM table_name_67 WHERE played > 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_30121082_1 (poor_law_union VARCHAR, area__acres__ VARCHAR)
### Question:
What are the Poor Law Unions when the area (in acres) is 142?
### Answer:
SELECT poor_law_union FROM table_30121082_1 WHERE area__acres__ = 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_17 (opponent VARCHAR, loss VARCHAR)
### Question:
Which Opponent has a Loss of báez (5-5)?
### Answer:
SELECT opponent FROM table_name_17 WHERE loss = "báez (5-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_10 (location VARCHAR, record VARCHAR)
### Question:
Where was the game played when their record was 9-1-0?
### Answer:
SELECT location FROM table_name_10 WHERE record = "9-1-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_67 (laps INTEGER, rider VARCHAR)
### Question:
What are the highest laps for Marco Melandri?
### Answer:
SELECT MAX(laps) FROM table_name_67 WHERE rider = "marco melandri" |
Below is an context that describes a sql 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 (tries VARCHAR, pens VARCHAR, conv VARCHAR, start VARCHAR)
### Question:
What is the total of tries for a player with conv smaller than 45, 19 starts and pens fewer than 22?
### Answer:
SELECT COUNT(tries) FROM table_name_83 WHERE conv < 45 AND start = 19 AND pens < 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_52 (visitor VARCHAR, date VARCHAR)
### Question:
On April 18, which team was the visitor?
### Answer:
SELECT visitor FROM table_name_52 WHERE date = "april 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_30 (to_par VARCHAR, player VARCHAR)
### Question:
Name the to par for colin montgomerie
### Answer:
SELECT to_par FROM table_name_30 WHERE player = "colin montgomerie" |
Below is an context that describes a sql 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 (grid VARCHAR, team VARCHAR, driver VARCHAR)
### Question:
What is the grid of driver tomas scheckter from vision racing team?
### Answer:
SELECT grid FROM table_name_22 WHERE team = "vision racing" AND driver = "tomas scheckter" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1140088_6 (winning_driver VARCHAR, circuit VARCHAR)
### Question:
Who won the Brands Hatch circuit?
### Answer:
SELECT winning_driver FROM table_1140088_6 WHERE circuit = "Brands Hatch" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2528382_1 (song VARCHAR, additional_info VARCHAR)
### Question:
Which song has Drunkard Groom listed as additional information?
### Answer:
SELECT song FROM table_2528382_1 WHERE additional_info = "Drunkard Groom" |
Below is an context that describes a sql 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 (pct VARCHAR, losses VARCHAR, finals VARCHAR)
### Question:
How many percentages have losses fewer than 1 with finals appearances of 4?
### Answer:
SELECT COUNT(pct) FROM table_name_13 WHERE losses < 1 AND finals = 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_63 (visitor VARCHAR, home VARCHAR, score VARCHAR)
### Question:
What was the Visitor when the home was toronto maple leafs and the score was 4–1?
### Answer:
SELECT visitor FROM table_name_63 WHERE home = "toronto maple leafs" AND score = "4–1" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE student (stuid VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubid VARCHAR)
### Question:
Find the number of clubs where "Tracy Kim" is a member.
### Answer:
SELECT COUNT(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.fname = "Tracy" AND t3.lname = "Kim" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22779004_1 (conference VARCHAR, regular_season_winner VARCHAR)
### Question:
Who won the tournament when Idaho State won the regular season?
### Answer:
SELECT conference AS Tournament FROM table_22779004_1 WHERE regular_season_winner = "Idaho 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_96 (winning_driver VARCHAR, winning_constructor VARCHAR)
### Question:
Which driver won when o.m. was the winning constructor ?
### Answer:
SELECT winning_driver FROM table_name_96 WHERE winning_constructor = "o.m." |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_61 (constructor VARCHAR, driver VARCHAR)
### Question:
What company constructed the vehicle when the driver shows as not held?
### Answer:
SELECT constructor FROM table_name_61 WHERE driver = "not held" |
Below is an context that describes a sql 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 (pole_position VARCHAR, circuit VARCHAR)
### Question:
Who has the pole position for the nürburgring circuit?
### Answer:
SELECT pole_position FROM table_name_13 WHERE circuit = "nürburgring" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE orchestra (Record_Company VARCHAR)
### Question:
List the record company shared by the most number of orchestras.
### Answer:
SELECT Record_Company FROM orchestra GROUP BY Record_Company 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_1140116_5 (race_name VARCHAR, circuit VARCHAR)
### Question:
What is the name of the race in the Modena circuit?
### Answer:
SELECT race_name FROM table_1140116_5 WHERE circuit = "Modena" |
Below is an context that describes a sql 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 (artist VARCHAR, week VARCHAR)
### Question:
Which Artist has a Week of Top 12?
### Answer:
SELECT artist FROM table_name_54 WHERE week = "top 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_54 (home_team VARCHAR, venue VARCHAR)
### Question:
What is the home team's score at mcg?
### Answer:
SELECT home_team AS score FROM table_name_54 WHERE venue = "mcg" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_17505751_5 (league INTEGER, total VARCHAR, copa_del_rey VARCHAR)
### Question:
when the total is 8 and copa del rey is 0 what is the minimum league
### Answer:
SELECT MIN(league) FROM table_17505751_5 WHERE total = 8 AND copa_del_rey = 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_60 (type VARCHAR, ends VARCHAR)
### Question:
What's the type that ends in 2009?
### Answer:
SELECT type FROM table_name_60 WHERE ends = "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_name_51 (points INTEGER, car__number VARCHAR, make VARCHAR, driver VARCHAR)
### Question:
Which is the lowest points value that had a Chevrolet car, whose driver was Sterling Marlin, and whose car number was less than 14?
### Answer:
SELECT MIN(points) FROM table_name_51 WHERE make = "chevrolet" AND driver = "sterling marlin" AND car__number < 14 |
Below is an context that describes a sql 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 (player VARCHAR, nationality VARCHAR)
### Question:
What player is from Russia?
### Answer:
SELECT player FROM table_name_8 WHERE nationality = "russia" |
Below is an context that describes a sql 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 (score VARCHAR, home VARCHAR, record VARCHAR)
### Question:
Name the score for detroit home and record of 33-18-9
### Answer:
SELECT score FROM table_name_85 WHERE home = "detroit" AND record = "33-18-9" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_82 (venue VARCHAR, margin_of_victory VARCHAR)
### Question:
At what venue is the margin of victory 7 strokes?
### Answer:
SELECT venue FROM table_name_82 WHERE margin_of_victory = "7 strokes" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25563779_4 (second VARCHAR, national_trophy_rookie VARCHAR)
### Question:
If the national trophy/rookie is Gerrard Barrabeig, what is the name of the second?
### Answer:
SELECT second FROM table_25563779_4 WHERE national_trophy_rookie = "Gerrard Barrabeig" |
Below is an context that describes a sql 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 (rider VARCHAR, grid VARCHAR)
### Question:
Which Rider is grid 7?
### Answer:
SELECT rider FROM table_name_12 WHERE grid = 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_49 (result VARCHAR, date VARCHAR)
### Question:
What was the result on october 8, 1961?
### Answer:
SELECT result FROM table_name_49 WHERE date = "october 8, 1961" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_59 (rank INTEGER, time VARCHAR)
### Question:
What is the best rank with a time of 1:05.14.10?
### Answer:
SELECT MAX(rank) FROM table_name_59 WHERE time = "1:05.14.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_14 (winner VARCHAR, race VARCHAR)
### Question:
Who won the Food World 250?
### Answer:
SELECT winner FROM table_name_14 WHERE race = "food world 250" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_12261926_2 (intergiro_classification VARCHAR, winner VARCHAR)
### Question:
What is the intergiro classification of alexander gontchenkov?
### Answer:
SELECT intergiro_classification FROM table_12261926_2 WHERE winner = "Alexander Gontchenkov" |
Below is an context that describes a sql 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 (total VARCHAR, gold VARCHAR)
### Question:
What is the total medal count for the nation that has 5 gold?
### Answer:
SELECT total FROM table_name_91 WHERE gold = "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_86 (played INTEGER, lost VARCHAR, points VARCHAR)
### Question:
What is the sum of matches played for teams with more than 10 losses and under 5 points?
### Answer:
SELECT SUM(played) FROM table_name_86 WHERE lost > 10 AND points < 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_17288845_8 (date VARCHAR, score VARCHAR)
### Question:
Name the date for score l 89–91 (ot)
### Answer:
SELECT date FROM table_17288845_8 WHERE score = "L 89–91 (OT)" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_16 (opponents VARCHAR, raiders_points VARCHAR, attendance VARCHAR)
### Question:
What is the total number of Opponents, when Raiders Points is "42", when Attendance is less than 52,505?
### Answer:
SELECT COUNT(opponents) FROM table_name_16 WHERE raiders_points = 42 AND attendance < 52 OFFSET 505 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_25271777_1 (violent VARCHAR, index VARCHAR)
### Question:
How many violent crimes occurred the year that the index was 191037?
### Answer:
SELECT violent FROM table_25271777_1 WHERE index = 191037 |
Below is an context that describes a sql 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 (winning_driver VARCHAR, winning_constructor VARCHAR)
### Question:
What kind of Winning driver has a Winning constructor of mercer?
### Answer:
SELECT winning_driver FROM table_name_18 WHERE winning_constructor = "mercer" |
Below is an context that describes a sql 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 (draws INTEGER, wins VARCHAR, byes VARCHAR)
### Question:
What is the lowest number of draws of the team with 9 wins and less than 0 byes?
### Answer:
SELECT MIN(draws) FROM table_name_41 WHERE wins = 9 AND byes < 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_30 (tie_no VARCHAR, away_team VARCHAR)
### Question:
What is the Tie no when the away team was Burnley?
### Answer:
SELECT tie_no FROM table_name_30 WHERE away_team = "burnley" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_22071705_6 (country VARCHAR)
### Question:
Name the total number 1980 mil for soviet union
### Answer:
SELECT COUNT(1980 AS __mil_) FROM table_22071705_6 WHERE country = "Soviet Union" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_2267345_2 (winner VARCHAR, team_classification VARCHAR, combativity_award VARCHAR)
### Question:
What is the total number of winners when the team classification leader was Kelme-Costa Blanca and the combativity award was won by Jacky Durand?
### Answer:
SELECT COUNT(winner) FROM table_2267345_2 WHERE team_classification = "Kelme-Costa Blanca" AND combativity_award = "Jacky Durand" |
Below is an context that describes a sql 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 (to_par VARCHAR, country VARCHAR, player VARCHAR)
### Question:
What was the To par for United States golfer fred couples?
### Answer:
SELECT to_par FROM table_name_17 WHERE country = "united states" AND player = "fred couples" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE program (name VARCHAR, launch VARCHAR)
### Question:
list all the names of programs, ordering by launch time.
### Answer:
SELECT name FROM program ORDER BY launch |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_11677691_1 (hometown VARCHAR, college VARCHAR, position VARCHAR)
### Question:
How many offensive line players played for a college in Alabama?
### Answer:
SELECT COUNT(hometown) FROM table_11677691_1 WHERE college = "Alabama" AND position = "Offensive line" |
Below is an context that describes a sql 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 (built VARCHAR, name VARCHAR, floors VARCHAR, rank VARCHAR)
### Question:
What is the total number of Built, when Floors is less than 22, when Rank is less than 8, and when Name is White, Mediacityuk?
### Answer:
SELECT COUNT(built) FROM table_name_55 WHERE floors < 22 AND rank < 8 AND name = "white, mediacityuk" |
Below is an context that describes a sql 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 (partner VARCHAR, date VARCHAR)
### Question:
Name the partner for 14 october 2007
### Answer:
SELECT partner FROM table_name_75 WHERE date = "14 october 2007" |
Below is an context that describes a sql 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 (laps INTEGER, driver VARCHAR)
### Question:
What's the average laps driven by david coulthard?
### Answer:
SELECT AVG(laps) FROM table_name_75 WHERE driver = "david coulthard" |
Below is an context that describes a sql 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 (nickname VARCHAR, division VARCHAR)
### Question:
What is the nickname of the team in division 2?
### Answer:
SELECT nickname FROM table_name_34 WHERE division = "division 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_6 (attendance INTEGER, result VARCHAR)
### Question:
How many attendances have w 48-10 as the result?
### Answer:
SELECT SUM(attendance) FROM table_name_6 WHERE result = "w 48-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_26996293_2 (player VARCHAR, cfl_team VARCHAR)
### Question:
where cfl team is winnipeg (3) via hamilton what are all the player
### Answer:
SELECT player FROM table_26996293_2 WHERE cfl_team = "Winnipeg (3) via Hamilton" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_30087032_5 (game VARCHAR, high_rebounds VARCHAR)
### Question:
In how many different games did Oliver Miller (7) did the high rebounds?
### Answer:
SELECT COUNT(game) FROM table_30087032_5 WHERE high_rebounds = "Oliver Miller (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_99 (bullet_weight VARCHAR, source VARCHAR)
### Question:
What is Bullet weight, when Source is hornady?
### Answer:
SELECT bullet_weight FROM table_name_99 WHERE source = "hornady" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_25 (year VARCHAR, category VARCHAR, nominated_work VARCHAR)
### Question:
What year was Evita nominated for outstanding featured actor in a musical?
### Answer:
SELECT COUNT(year) FROM table_name_25 WHERE category = "outstanding featured actor in a musical" AND nominated_work = "evita" |
Below is an context that describes a sql 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 (money___ INTEGER, score VARCHAR)
### Question:
Which Money has a Score of 70-68-73-68=279?
### Answer:
SELECT MIN(money___) AS $__ FROM table_name_25 WHERE score = 70 - 68 - 73 - 68 = 279 |
Below is an context that describes a sql 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 (competition VARCHAR, result VARCHAR)
### Question:
what is the competition when the result is 2-1?
### Answer:
SELECT competition FROM table_name_58 WHERE result = "2-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_17111812_1 (seventh VARCHAR, sixth VARCHAR)
### Question:
When Interpol is in 6th, who is in 7th?
### Answer:
SELECT COUNT(seventh) FROM table_17111812_1 WHERE sixth = "Interpol" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_20 (partner VARCHAR, opponent VARCHAR)
### Question:
Name the partner with opponent of michaëlla krajicek eleni daniilidou
### Answer:
SELECT partner FROM table_name_20 WHERE opponent = "michaëlla krajicek eleni daniilidou" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_23385853_20 (pos INTEGER, finishes VARCHAR)
### Question:
If finishes is 10, what is the POS minimum?
### Answer:
SELECT MIN(pos) FROM table_23385853_20 WHERE finishes = 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_52 (margin_of_victory VARCHAR, runner_s__up VARCHAR)
### Question:
What is the margin of victory for Nick Price as a runner-up?
### Answer:
SELECT margin_of_victory FROM table_name_52 WHERE runner_s__up = "nick price" |
Below is an context that describes a sql 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 (name VARCHAR, lane VARCHAR)
### Question:
What is the name of the swimmer in lane 6?
### Answer:
SELECT name FROM table_name_87 WHERE lane = 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_69 (away_team VARCHAR, crowd INTEGER)
### Question:
Who was the away team when the crowd was larger than 41,451?
### Answer:
SELECT away_team FROM table_name_69 WHERE crowd > 41 OFFSET 451 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_75 (points VARCHAR, grid VARCHAR)
### Question:
How many points when the Grid was 1?
### Answer:
SELECT points FROM table_name_75 WHERE grid = "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_1756264_2 (holding_companies INTEGER)
### Question:
What is the largest number of holding companies?
### Answer:
SELECT MAX(holding_companies) FROM table_1756264_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_79 (grid VARCHAR, driver VARCHAR)
### Question:
What's the total grid of Bruce Mclaren?
### Answer:
SELECT COUNT(grid) FROM table_name_79 WHERE driver = "bruce mclaren" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_36 (party VARCHAR, candidate VARCHAR)
### Question:
Which party's candidate is Grech Louis Grech?
### Answer:
SELECT party FROM table_name_36 WHERE candidate = "grech louis grech" |
Below is an context that describes a sql 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 (position VARCHAR, player VARCHAR)
### Question:
What was the position of Jon Perlman?
### Answer:
SELECT position FROM table_name_94 WHERE player = "jon perlman" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE Projects (project_details VARCHAR, project_id VARCHAR); CREATE TABLE Tasks (project_id VARCHAR)
### Question:
How many tasks does each project have? List the task count and the project detail.
### Answer:
SELECT COUNT(*), T1.project_details FROM Projects AS T1 JOIN Tasks AS T2 ON T1.project_id = T2.project_id GROUP BY T1.project_id |
Below is an context that describes a sql 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 (year INTEGER, chassis VARCHAR, points VARCHAR)
### Question:
What is the average Year with a Veritas rs chassis and more than 0 points?
### Answer:
SELECT AVG(year) FROM table_name_73 WHERE chassis = "veritas rs" AND points > 0 |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_47 (result VARCHAR, date VARCHAR, competition VARCHAR, score VARCHAR)
### Question:
What is the Result of the Friendly Competition on October 27, 2005 with a Score of 5-0?
### Answer:
SELECT result FROM table_name_47 WHERE competition = "friendly" AND score = "5-0" AND date = "october 27, 2005" |
Below is an context that describes a sql 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 (height VARCHAR, player VARCHAR)
### Question:
How tall is Daniel Orton?
### Answer:
SELECT height FROM table_name_93 WHERE player = "daniel orton" |
Below is an context that describes a sql 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 (shigella VARCHAR, yersinia VARCHAR)
### Question:
Tell me the shigella and yscn
### Answer:
SELECT shigella FROM table_name_15 WHERE yersinia = "yscn" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_1682865_1 (numeral VARCHAR, english_name VARCHAR)
### Question:
What is the numeral where the English name is Florin?
### Answer:
SELECT numeral FROM table_1682865_1 WHERE english_name = "Florin" |
Below is an context that describes a sql 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 (career_with_the_franchise VARCHAR, previous_team VARCHAR, pos VARCHAR, years_of_nba_experience_ VARCHAR, a_ VARCHAR)
### Question:
What is the career with the franchise of the f/c player with fewer than 9 years of NBA experience who previously played for the Phoenix Suns?
### Answer:
SELECT career_with_the_franchise FROM table_name_47 WHERE years_of_nba_experience_[a_] < 9 AND pos = "f/c" AND previous_team = "phoenix suns" |
Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request. # noqa: E501
### Context:
CREATE TABLE table_name_88 (county VARCHAR, precincts VARCHAR)
### Question:
Which County has a Precincts of 33/33?
### Answer:
SELECT county FROM table_name_88 WHERE precincts = "33/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_86 (upper_stage VARCHAR, launches_to_date VARCHAR, version VARCHAR)
### Question:
What Upper stage has Launches to date of 0, and Version of 532?
### Answer:
SELECT upper_stage FROM table_name_86 WHERE launches_to_date = 0 AND version = "532" |
Below is an context that describes a sql 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 (laps INTEGER, time VARCHAR, grid VARCHAR)
### Question:
What is the fewest amount of laps when the grid was larger than 1 and 42:31.153?
### Answer:
SELECT MIN(laps) FROM table_name_45 WHERE time = "42:31.153" AND grid > 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_83 (year VARCHAR, category VARCHAR)
### Question:
How many years was Reasons to be Pretty nominated for best play?
### Answer:
SELECT COUNT(year) FROM table_name_83 WHERE category = "best play" |
Below is an context that describes a sql 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 (score VARCHAR, opponent VARCHAR, record VARCHAR)
### Question:
Which score has an Opponent of @ athletics, and a Record of 76-57?
### Answer:
SELECT score FROM table_name_19 WHERE opponent = "@ athletics" AND record = "76-57" |
Below is an context that describes a sql 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 (record VARCHAR, method VARCHAR, location VARCHAR)
### Question:
What is the record when the method is decision and the location is Martigues, France?
### Answer:
SELECT record FROM table_name_86 WHERE method = "decision" AND location = "martigues, france" |
Below is an context that describes a sql 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 (result VARCHAR, title VARCHAR, genre VARCHAR, label VARCHAR)
### Question:
Which result's genre was jazz when its label was columbia and its title was requiem?
### Answer:
SELECT result FROM table_name_35 WHERE genre = "jazz" AND label = "columbia" AND title = "requiem" |
Below is an context that describes a sql 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 (category VARCHAR, film VARCHAR)
### Question:
(A) Torzija was nominated in which category?
### Answer:
SELECT category FROM table_name_60 WHERE film = "(a) torzija" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.