question stringlengths 12 244 | context stringlengths 27 489 | answer dict |
|---|---|---|
Which European has a Play-Off of relegated? | CREATE TABLE table_name_59 (european VARCHAR, play_off VARCHAR) | {
"SQL_Query": "SELECT european FROM table_name_59 WHERE play_off = \"relegated\""
} |
What is the lowest number of caps of the fullback player born on 13 April 1983? | CREATE TABLE table_name_56 (caps INTEGER, position VARCHAR, date_of_birth__age_ VARCHAR) | {
"SQL_Query": "SELECT MIN(caps) FROM table_name_56 WHERE position = \"fullback\" AND date_of_birth__age_ = \"13 april 1983\""
} |
What is the club/province of the player born on 12 May 1984? | CREATE TABLE table_name_77 (club_province VARCHAR, date_of_birth__age_ VARCHAR) | {
"SQL_Query": "SELECT club_province FROM table_name_77 WHERE date_of_birth__age_ = \"12 may 1984\""
} |
What is the club/province of player Alberto Sgarbi, who played wing, with less than 2 caps? | CREATE TABLE table_name_18 (club_province VARCHAR, player VARCHAR, caps VARCHAR, position VARCHAR) | {
"SQL_Query": "SELECT club_province FROM table_name_18 WHERE caps < 2 AND position = \"wing\" AND player = \"alberto sgarbi\""
} |
What games have the event of Men's Slalom? | CREATE TABLE table_name_91 (games VARCHAR, event VARCHAR) | {
"SQL_Query": "SELECT games FROM table_name_91 WHERE event = \"men's slalom\""
} |
What were the events in the 1976 Innsbruck Games? | CREATE TABLE table_name_60 (event VARCHAR, games VARCHAR) | {
"SQL_Query": "SELECT event FROM table_name_60 WHERE games = \"1976 innsbruck\""
} |
What is the medal for the Men's Giant Slalom event? | CREATE TABLE table_name_1 (medal VARCHAR, event VARCHAR) | {
"SQL_Query": "SELECT medal FROM table_name_1 WHERE event = \"men's giant slalom\""
} |
In the tournament that has 15 events, and less than 6 top-25's, how many top-5's did he have? | CREATE TABLE table_name_76 (top_5 INTEGER, events VARCHAR, top_25 VARCHAR) | {
"SQL_Query": "SELECT SUM(top_5) FROM table_name_76 WHERE events = 15 AND top_25 < 6"
} |
In the tournament that had 3 Top-10's, and less than 15 events, how many Top-5's did the player have? | CREATE TABLE table_name_59 (top_5 INTEGER, top_10 VARCHAR, events VARCHAR) | {
"SQL_Query": "SELECT SUM(top_5) FROM table_name_59 WHERE top_10 = 3 AND events < 15"
} |
How many wins were in the Masters Tournament with less than 15 events? | CREATE TABLE table_name_20 (wins INTEGER, tournament VARCHAR, events VARCHAR) | {
"SQL_Query": "SELECT MAX(wins) FROM table_name_20 WHERE tournament = \"masters tournament\" AND events < 15"
} |
In the tournament with more than 6 top-25's and less than 13 cuts made, how many wins were there? | CREATE TABLE table_name_28 (wins VARCHAR, top_25 VARCHAR, cuts_made VARCHAR) | {
"SQL_Query": "SELECT COUNT(wins) FROM table_name_28 WHERE top_25 > 6 AND cuts_made < 13"
} |
Which father had william iv as a husband? | CREATE TABLE table_name_98 (father VARCHAR, husband VARCHAR) | {
"SQL_Query": "SELECT father FROM table_name_98 WHERE husband = \"william iv\""
} |
What is the death date of elisabeth of lorraine? | CREATE TABLE table_name_82 (death VARCHAR, image VARCHAR) | {
"SQL_Query": "SELECT death FROM table_name_82 WHERE image = \"elisabeth of lorraine\""
} |
Which duchess was born on 9 october 1574? | CREATE TABLE table_name_34 (ceased_to_be_duchess VARCHAR, birth VARCHAR) | {
"SQL_Query": "SELECT ceased_to_be_duchess FROM table_name_34 WHERE birth = \"9 october 1574\""
} |
Which image is of the woman married to william iv? | CREATE TABLE table_name_86 (image VARCHAR, husband VARCHAR) | {
"SQL_Query": "SELECT image FROM table_name_86 WHERE husband = \"william iv\""
} |
Who is the husband of the image of renata of lorraine? | CREATE TABLE table_name_87 (husband VARCHAR, image VARCHAR) | {
"SQL_Query": "SELECT husband FROM table_name_87 WHERE image = \"renata of lorraine\""
} |
Who was the husband of marie of baden-sponheim? | CREATE TABLE table_name_74 (husband VARCHAR, image VARCHAR) | {
"SQL_Query": "SELECT husband FROM table_name_74 WHERE image = \"marie of baden-sponheim\""
} |
Who was the visiting team at the Chicago home game? | CREATE TABLE table_name_30 (visitor VARCHAR, home VARCHAR) | {
"SQL_Query": "SELECT visitor FROM table_name_30 WHERE home = \"chicago\""
} |
What was the date of the home game for Colorado? | CREATE TABLE table_name_67 (date VARCHAR, home VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_67 WHERE home = \"colorado\""
} |
What was the date of the game when St. Louis was the home team? | CREATE TABLE table_name_55 (date VARCHAR, home VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_55 WHERE home = \"st. louis\""
} |
Who was the visiting team when the record was 51–12–4? | CREATE TABLE table_name_26 (visitor VARCHAR, record VARCHAR) | {
"SQL_Query": "SELECT visitor FROM table_name_26 WHERE record = \"51–12–4\""
} |
What was the date of the home game for Hartford? | CREATE TABLE table_name_87 (date VARCHAR, home VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_87 WHERE home = \"hartford\""
} |
What is the average attendance for seasons before 1999 with pos of 8? | CREATE TABLE table_name_93 (attendance_g INTEGER, pos VARCHAR, season VARCHAR) | {
"SQL_Query": "SELECT AVG(attendance_g) FROM table_name_93 WHERE pos = 8 AND season < 1999"
} |
What is the socket for the processor with part number ADH2350IAA5DO? | CREATE TABLE table_name_27 (socket VARCHAR, part_number_s_ VARCHAR) | {
"SQL_Query": "SELECT socket FROM table_name_27 WHERE part_number_s_ = \"adh2350iaa5do\""
} |
What is the multi 1 for the Athlon x2 BE-2400? | CREATE TABLE table_name_46 (multi_1 VARCHAR, model_number VARCHAR) | {
"SQL_Query": "SELECT multi_1 FROM table_name_46 WHERE model_number = \"athlon x2 be-2400\""
} |
What is the stepping for the processor released June 5, 2007? | CREATE TABLE table_name_25 (stepping VARCHAR, release_date VARCHAR) | {
"SQL_Query": "SELECT stepping FROM table_name_25 WHERE release_date = \"june 5, 2007\""
} |
What is the v-core for a stepping of G1 and frequency of 1900MHz? | CREATE TABLE table_name_29 (v_core VARCHAR, stepping VARCHAR, frequency VARCHAR) | {
"SQL_Query": "SELECT v_core FROM table_name_29 WHERE stepping = \"g1\" AND frequency = \"1900mhz\""
} |
What was the name in English that had a Stat of 7th cut? | CREATE TABLE table_name_43 (english_name VARCHAR, stat VARCHAR) | {
"SQL_Query": "SELECT english_name FROM table_name_43 WHERE stat = \"7th cut\""
} |
Who was the winner in the event with a runner-up of Alberto Mancini? | CREATE TABLE table_name_1 (winner VARCHAR, runner_up VARCHAR) | {
"SQL_Query": "SELECT winner FROM table_name_1 WHERE runner_up = \"alberto mancini\""
} |
What was the series score when st. louis was away on april 18? | CREATE TABLE table_name_96 (series VARCHAR, visitor VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT series FROM table_name_96 WHERE visitor = \"st. louis\" AND date = \"april 18\""
} |
Who recorded the decision when philadelphia was away? | CREATE TABLE table_name_41 (decision VARCHAR, visitor VARCHAR) | {
"SQL_Query": "SELECT decision FROM table_name_41 WHERE visitor = \"philadelphia\""
} |
What was the home team's record on September 30? | CREATE TABLE table_name_44 (record VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT record FROM table_name_44 WHERE date = \"september 30\""
} |
What was the home team's record when they played the Twins on September 25? | CREATE TABLE table_name_57 (record VARCHAR, opponent VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT record FROM table_name_57 WHERE opponent = \"twins\" AND date = \"september 25\""
} |
What was the home team's record when they played the Devil Rays on September 6? | CREATE TABLE table_name_50 (record VARCHAR, opponent VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT record FROM table_name_50 WHERE opponent = \"devil rays\" AND date = \"september 6\""
} |
What team did the home team play on September 4? | CREATE TABLE table_name_2 (opponent VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT opponent FROM table_name_2 WHERE date = \"september 4\""
} |
What was Freddie Starr, who entered on Day 1, known for? | CREATE TABLE table_name_34 (known_for VARCHAR, entered VARCHAR, celebrity VARCHAR) | {
"SQL_Query": "SELECT known_for FROM table_name_34 WHERE entered = \"day 1\" AND celebrity = \"freddie starr\""
} |
Who exited on Day 12? | CREATE TABLE table_name_64 (celebrity VARCHAR, exited VARCHAR) | {
"SQL_Query": "SELECT celebrity FROM table_name_64 WHERE exited = \"day 12\""
} |
What day did the person who finished in 12th place leave on? | CREATE TABLE table_name_53 (exited VARCHAR, finished VARCHAR) | {
"SQL_Query": "SELECT exited FROM table_name_53 WHERE finished = \"12th\""
} |
What place did the person who left on day 3 finish in? | CREATE TABLE table_name_54 (finished VARCHAR, exited VARCHAR) | {
"SQL_Query": "SELECT finished FROM table_name_54 WHERE exited = \"day 3\""
} |
On which day did the person who is known for the only way is essex star enter? | CREATE TABLE table_name_42 (entered VARCHAR, known_for VARCHAR) | {
"SQL_Query": "SELECT entered FROM table_name_42 WHERE known_for = \"the only way is essex star\""
} |
What was Freddie Starr, who entered on Day 1, known for? | CREATE TABLE table_name_67 (known_for VARCHAR, entered VARCHAR, celebrity VARCHAR) | {
"SQL_Query": "SELECT known_for FROM table_name_67 WHERE entered = \"day 1\" AND celebrity = \"freddie starr\""
} |
Name the date for week more than 1 and game site of bye | CREATE TABLE table_name_99 (date VARCHAR, game_site VARCHAR, week VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_99 WHERE game_site = \"bye\" AND week > 1"
} |
Name the opponent for date of bye and week of 1 | CREATE TABLE table_name_39 (opponent VARCHAR, date VARCHAR, week VARCHAR) | {
"SQL_Query": "SELECT opponent FROM table_name_39 WHERE date = \"bye\" AND week = 1"
} |
Name the opponent for week of 2 | CREATE TABLE table_name_6 (opponent VARCHAR, week VARCHAR) | {
"SQL_Query": "SELECT opponent FROM table_name_6 WHERE week = 2"
} |
What is the team classification with a winner of Beat Zberg, and a points classification of José María Jiménez. | CREATE TABLE table_name_13 (team_classification VARCHAR, points_classification VARCHAR, winner VARCHAR) | {
"SQL_Query": "SELECT team_classification FROM table_name_13 WHERE points_classification = \"josé maría jiménez\" AND winner = \"beat zberg\""
} |
When was the person who died on 16 July 1946 born? | CREATE TABLE table_name_3 (birth VARCHAR, death VARCHAR) | {
"SQL_Query": "SELECT birth FROM table_name_3 WHERE death = \"16 july 1946\""
} |
Who is the spouse of the person born on 29 September 1766? | CREATE TABLE table_name_82 (spouse VARCHAR, birth VARCHAR) | {
"SQL_Query": "SELECT spouse FROM table_name_82 WHERE birth = \"29 september 1766\""
} |
Who is born on 29 September 1766? | CREATE TABLE table_name_20 (name VARCHAR, birth VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_20 WHERE birth = \"29 september 1766\""
} |
Who was born on 10 May 1788 that ceased to be queen? | CREATE TABLE table_name_3 (ceased_to_be_queen VARCHAR, birth VARCHAR) | {
"SQL_Query": "SELECT ceased_to_be_queen FROM table_name_3 WHERE birth = \"10 may 1788\""
} |
How is the marriage of who became queen on 30 October 1816 husband's accession? | CREATE TABLE table_name_84 (marriage VARCHAR, became_queen VARCHAR) | {
"SQL_Query": "SELECT marriage FROM table_name_84 WHERE became_queen = \"30 october 1816 husband's accession\""
} |
When was the person who became queen on 15 April 1820 born? | CREATE TABLE table_name_79 (birth VARCHAR, became_queen VARCHAR) | {
"SQL_Query": "SELECT birth FROM table_name_79 WHERE became_queen = \"15 april 1820\""
} |
What is their record on April 2? | CREATE TABLE table_name_59 (record VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT record FROM table_name_59 WHERE date = \"april 2\""
} |
Which team has the record of 11-6? | CREATE TABLE table_name_8 (loss VARCHAR, record VARCHAR) | {
"SQL_Query": "SELECT loss FROM table_name_8 WHERE record = \"11-6\""
} |
What was his record when he went over 1 round? | CREATE TABLE table_name_81 (record VARCHAR, round INTEGER) | {
"SQL_Query": "SELECT record FROM table_name_81 WHERE round > 1"
} |
What event did he have a 2-0 record? | CREATE TABLE table_name_51 (event VARCHAR, record VARCHAR) | {
"SQL_Query": "SELECT event FROM table_name_51 WHERE record = \"2-0\""
} |
What was his result against dan bobish? | CREATE TABLE table_name_80 (res VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT res FROM table_name_80 WHERE opponent = \"dan bobish\""
} |
Which Voltage Center (V) has an S-Spec Number of sk096? | CREATE TABLE table_name_76 (voltage_center__v_ VARCHAR, s_spec_number VARCHAR) | {
"SQL_Query": "SELECT voltage_center__v_ FROM table_name_76 WHERE s_spec_number = \"sk096\""
} |
Which Voltage Center (V) has an Input Clock (MHz) of 25 x 3, and a Part Number of a80486dx4-75? | CREATE TABLE table_name_71 (voltage_center__v_ VARCHAR, input_clock__mhz_ VARCHAR, part_number VARCHAR) | {
"SQL_Query": "SELECT voltage_center__v_ FROM table_name_71 WHERE input_clock__mhz_ = \"25 x 3\" AND part_number = \"a80486dx4-75\""
} |
What is the low gold total for under 2 total and over 0 silvers? | CREATE TABLE table_name_57 (gold INTEGER, total VARCHAR, silver VARCHAR) | {
"SQL_Query": "SELECT MIN(gold) FROM table_name_57 WHERE total < 2 AND silver > 0"
} |
How many silvers for the nation with under 6 total and under 0 bronze? | CREATE TABLE table_name_62 (silver VARCHAR, total VARCHAR, bronze VARCHAR) | {
"SQL_Query": "SELECT COUNT(silver) FROM table_name_62 WHERE total < 6 AND bronze < 0"
} |
The person that was notable for professional wrestling had a Born-Died of what year? | CREATE TABLE table_name_1 (born___died VARCHAR, notable_for VARCHAR) | {
"SQL_Query": "SELECT born___died FROM table_name_1 WHERE notable_for = \"professional wrestling\""
} |
The person that was born in Sydney died in what year? | CREATE TABLE table_name_47 (born___died VARCHAR, connection_with_australia VARCHAR) | {
"SQL_Query": "SELECT born___died FROM table_name_47 WHERE connection_with_australia = \"born in sydney\""
} |
The person notable for tennis died in what year? | CREATE TABLE table_name_1 (born___died VARCHAR, notable_for VARCHAR) | {
"SQL_Query": "SELECT born___died FROM table_name_1 WHERE notable_for = \"tennis\""
} |
What was the record when the team played at Oakland Seals? | CREATE TABLE table_name_36 (record VARCHAR, home VARCHAR) | {
"SQL_Query": "SELECT record FROM table_name_36 WHERE home = \"oakland seals\""
} |
What was the purse when the trainer was Aidan O'Brien? | CREATE TABLE table_name_21 (purse VARCHAR, trainer VARCHAR) | {
"SQL_Query": "SELECT purse FROM table_name_21 WHERE trainer = \"aidan o'brien\""
} |
What is the time for when cornelio velasquez was the jockey? | CREATE TABLE table_name_12 (time VARCHAR, jockey VARCHAR) | {
"SQL_Query": "SELECT time FROM table_name_12 WHERE jockey = \"cornelio velasquez\""
} |
Who was the jockey when the owner was Richard Pegum? | CREATE TABLE table_name_75 (jockey VARCHAR, owner VARCHAR) | {
"SQL_Query": "SELECT jockey FROM table_name_75 WHERE owner = \"richard pegum\""
} |
What is the purse when Aidan O'brien was the trainer? | CREATE TABLE table_name_95 (purse VARCHAR, trainer VARCHAR) | {
"SQL_Query": "SELECT purse FROM table_name_95 WHERE trainer = \"aidan o'brien\""
} |
What is the purse for the year earlier than 2013 and muhannak was the winner? | CREATE TABLE table_name_82 (purse VARCHAR, year VARCHAR, winner VARCHAR) | {
"SQL_Query": "SELECT purse FROM table_name_82 WHERE year < 2013 AND winner = \"muhannak\""
} |
Who was the trainer in 2013? | CREATE TABLE table_name_71 (trainer VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT trainer FROM table_name_71 WHERE year = 2013"
} |
Which throw number had a DOB of 19/10/81? | CREATE TABLE table_name_2 (throws VARCHAR, dob VARCHAR) | {
"SQL_Query": "SELECT throws FROM table_name_2 WHERE dob = \"19/10/81\""
} |
Which first's surname is Cook? | CREATE TABLE table_name_76 (first VARCHAR, surname VARCHAR) | {
"SQL_Query": "SELECT first FROM table_name_76 WHERE surname = \"cook\""
} |
Which position has L bats and Anderson as a surname? | CREATE TABLE table_name_14 (position VARCHAR, bats VARCHAR, surname VARCHAR) | {
"SQL_Query": "SELECT position FROM table_name_14 WHERE bats = \"l\" AND surname = \"anderson\""
} |
What is the team 2 with a team 1 us gorée? | CREATE TABLE table_name_88 (team_2 VARCHAR, team_1 VARCHAR) | {
"SQL_Query": "SELECT team_2 FROM table_name_88 WHERE team_1 = \"us gorée\""
} |
What is the 2nd leg of team 1 Zamalek SC? | CREATE TABLE table_name_31 (team_1 VARCHAR) | {
"SQL_Query": "SELECT 2 AS nd_leg FROM table_name_31 WHERE team_1 = \"zamalek sc\""
} |
What is the 1st leg of the team with a 2-1 agg.? | CREATE TABLE table_name_13 (agg VARCHAR) | {
"SQL_Query": "SELECT 1 AS st_leg FROM table_name_13 WHERE agg = \"2-1\""
} |
What is the 2nd leg of team 2 Far rabat? | CREATE TABLE table_name_92 (team_2 VARCHAR) | {
"SQL_Query": "SELECT 2 AS nd_leg FROM table_name_92 WHERE team_2 = \"far rabat\""
} |
How many Watts has a Class of a, and a Frequency of 91.5 fm, and a City of license of elkhart, kansas? | CREATE TABLE table_name_37 (watts INTEGER, city_of_license VARCHAR, class VARCHAR, frequency VARCHAR) | {
"SQL_Query": "SELECT MIN(watts) FROM table_name_37 WHERE class = \"a\" AND frequency = \"91.5 fm\" AND city_of_license = \"elkhart, kansas\""
} |
Which Class has a City of license of garden city, kansas? | CREATE TABLE table_name_50 (class VARCHAR, city_of_license VARCHAR) | {
"SQL_Query": "SELECT class FROM table_name_50 WHERE city_of_license = \"garden city, kansas\""
} |
Which Frequency has a Call sign of kcse? | CREATE TABLE table_name_93 (frequency VARCHAR, call_sign VARCHAR) | {
"SQL_Query": "SELECT frequency FROM table_name_93 WHERE call_sign = \"kcse\""
} |
What year has 59th as a finish position? | CREATE TABLE table_name_58 (year VARCHAR, finish_position VARCHAR) | {
"SQL_Query": "SELECT year FROM table_name_58 WHERE finish_position = \"59th\""
} |
Which 2nd day has a year prior to 2009? | CREATE TABLE table_name_4 (year INTEGER) | {
"SQL_Query": "SELECT 2 AS nd_day FROM table_name_4 WHERE year < 2009"
} |
What event did Pakistan get the bronze medal at the 1988 Seoul Games? | CREATE TABLE table_name_82 (event VARCHAR, medal VARCHAR, games VARCHAR) | {
"SQL_Query": "SELECT event FROM table_name_82 WHERE medal = \"bronze\" AND games = \"1988 seoul\""
} |
What sport in the 1960 Rome Games did Pakistan play in the Men's Freestyle Welterweight? | CREATE TABLE table_name_56 (sport VARCHAR, games VARCHAR, event VARCHAR) | {
"SQL_Query": "SELECT sport FROM table_name_56 WHERE games = \"1960 rome\" AND event = \"men's freestyle welterweight\""
} |
When did Pakistan win a Silver Medal in a Men's Competition? | CREATE TABLE table_name_56 (games VARCHAR, event VARCHAR, medal VARCHAR) | {
"SQL_Query": "SELECT games FROM table_name_56 WHERE event = \"men's competition\" AND medal = \"silver\""
} |
When did Pakistan win a Gold Medal in Field Hockey? | CREATE TABLE table_name_19 (games VARCHAR, sport VARCHAR, medal VARCHAR) | {
"SQL_Query": "SELECT games FROM table_name_19 WHERE sport = \"field hockey\" AND medal = \"gold\""
} |
What team played in the 1964 Tokyo Games? | CREATE TABLE table_name_56 (name VARCHAR, games VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_56 WHERE games = \"1964 tokyo\""
} |
What sport did the National Team play in the 1968 mexico City Games? | CREATE TABLE table_name_58 (sport VARCHAR, name VARCHAR, games VARCHAR) | {
"SQL_Query": "SELECT sport FROM table_name_58 WHERE name = \"national team\" AND games = \"1968 mexico city\""
} |
What is the total number of rounds that Center position Denis Arkhipov have? | CREATE TABLE table_name_33 (round VARCHAR, position VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT COUNT(round) FROM table_name_33 WHERE position = \"center\" AND player = \"denis arkhipov\""
} |
Who is the player from Round 3 from Russia? | CREATE TABLE table_name_17 (player VARCHAR, round VARCHAR, nationality VARCHAR) | {
"SQL_Query": "SELECT player FROM table_name_17 WHERE round = 3 AND nationality = \"russia\""
} |
What is the sum of the round with the defenceman? | CREATE TABLE table_name_41 (round INTEGER, position VARCHAR) | {
"SQL_Query": "SELECT SUM(round) FROM table_name_41 WHERE position = \"defenceman\""
} |
What is the college club that plays before round 3? | CREATE TABLE table_name_85 (college_junior_club_team VARCHAR, round INTEGER) | {
"SQL_Query": "SELECT college_junior_club_team FROM table_name_85 WHERE round < 3"
} |
What was the population of the area that was formerly under the authority of the Audenshaw Urban District? | CREATE TABLE table_name_65 (population VARCHAR, former_local_authority VARCHAR) | {
"SQL_Query": "SELECT population FROM table_name_65 WHERE former_local_authority = \"audenshaw urban district\""
} |
What is the overall pick number that Derrick Harvey was when he was picked in a round after round 1? | CREATE TABLE table_name_26 (overall INTEGER, name VARCHAR, round VARCHAR) | {
"SQL_Query": "SELECT MIN(overall) FROM table_name_26 WHERE name = \"derrick harvey\" AND round > 1"
} |
What college was the defensive end pick that was picked in round 2? | CREATE TABLE table_name_72 (college VARCHAR, position VARCHAR, round VARCHAR) | {
"SQL_Query": "SELECT college FROM table_name_72 WHERE position = \"defensive end\" AND round = 2"
} |
What is the average round that the player from USF was picked in when his draft pick number was less than 24? | CREATE TABLE table_name_48 (round INTEGER, college VARCHAR, pick__number VARCHAR) | {
"SQL_Query": "SELECT AVG(round) FROM table_name_48 WHERE college = \"usf\" AND pick__number < 24"
} |
What is the sum of the pick numbers where the player was picked in round 5 and overall pick number was greater than 159? | CREATE TABLE table_name_77 (pick__number INTEGER, round VARCHAR, overall VARCHAR) | {
"SQL_Query": "SELECT SUM(pick__number) FROM table_name_77 WHERE round = 5 AND overall > 159"
} |
What is the average overall pick number for the USF player who was picked after round 5? | CREATE TABLE table_name_23 (overall INTEGER, college VARCHAR, round VARCHAR) | {
"SQL_Query": "SELECT AVG(overall) FROM table_name_23 WHERE college = \"usf\" AND round > 5"
} |
Which Population is the lowest one that has a Median family income of $74,905, and a Number of households smaller than 145,790? | CREATE TABLE table_name_37 (population INTEGER, median_family_income VARCHAR, number_of_households VARCHAR) | {
"SQL_Query": "SELECT MIN(population) FROM table_name_37 WHERE median_family_income = \"$74,905\" AND number_of_households < 145 OFFSET 790"
} |
What is the total number of Rapes that have Embezzlements a figure of 820 and total number of convictions less than 94,574? | CREATE TABLE table_name_27 (rape__art_190_stgb_ VARCHAR, embezzlement__art_138_stgb_ VARCHAR, total_convictions VARCHAR) | {
"SQL_Query": "SELECT COUNT(rape__art_190_stgb_) FROM table_name_27 WHERE embezzlement__art_138_stgb_ = 820 AND total_convictions < 94 OFFSET 574"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.