question stringlengths 12 244 | context stringlengths 27 489 | answer dict |
|---|---|---|
Who did the housemate that nominated Carol Roopali in week 1 nominate in week 8? | CREATE TABLE table_name_52 (week_8 VARCHAR, week_1 VARCHAR) | {
"SQL_Query": "SELECT week_8 FROM table_name_52 WHERE week_1 = \"carol roopali\""
} |
What is the IHSAA class of Centerville, which plays IHSAA class AA football? | CREATE TABLE table_name_92 (ihsaa_class VARCHAR, ihsaa_football_class VARCHAR, school VARCHAR) | {
"SQL_Query": "SELECT ihsaa_class FROM table_name_92 WHERE ihsaa_football_class = \"aa\" AND school = \"centerville\""
} |
Winchester Community school, which plays IHSAA class AA football, is located where? | CREATE TABLE table_name_99 (location VARCHAR, ihsaa_football_class VARCHAR, school VARCHAR) | {
"SQL_Query": "SELECT location FROM table_name_99 WHERE ihsaa_football_class = \"aa\" AND school = \"winchester community\""
} |
What is the IHSAA class of the school with less than 400 students and a mascot of the Tigers? | CREATE TABLE table_name_51 (ihsaa_class VARCHAR, size VARCHAR, mascot VARCHAR) | {
"SQL_Query": "SELECT ihsaa_class FROM table_name_51 WHERE size < 400 AND mascot = \"tigers\""
} |
What county has a school with less than 301 students and plays IHSAA class A football? | CREATE TABLE table_name_81 (county VARCHAR, ihsaa_football_class VARCHAR, size VARCHAR) | {
"SQL_Query": "SELECT county FROM table_name_81 WHERE ihsaa_football_class = \"a\" AND size < 301"
} |
What is the lowest game when the score is 102-104? | CREATE TABLE table_name_53 (game INTEGER, score VARCHAR) | {
"SQL_Query": "SELECT MIN(game) FROM table_name_53 WHERE score = \"102-104\""
} |
what is the score for game 4? | CREATE TABLE table_name_49 (score VARCHAR, game VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_49 WHERE game = 4"
} |
what is the series for game 4? | CREATE TABLE table_name_88 (series VARCHAR, game VARCHAR) | {
"SQL_Query": "SELECT series FROM table_name_88 WHERE game = 4"
} |
Which Pendle has a Burnley smaller than 0? | CREATE TABLE table_name_47 (pendle INTEGER, burnley INTEGER) | {
"SQL_Query": "SELECT SUM(pendle) FROM table_name_47 WHERE burnley < 0"
} |
How much Rossendale has a Fylde smaller than 0? | CREATE TABLE table_name_95 (rossendale VARCHAR, fylde INTEGER) | {
"SQL_Query": "SELECT COUNT(rossendale) FROM table_name_95 WHERE fylde < 0"
} |
How much Hyndburn has a Fylde larger than 3? | CREATE TABLE table_name_52 (hyndburn INTEGER, fylde INTEGER) | {
"SQL_Query": "SELECT SUM(hyndburn) FROM table_name_52 WHERE fylde > 3"
} |
How much Burnley has a Fylde smaller than 1, and a Rossendale larger than 0? | CREATE TABLE table_name_97 (burnley INTEGER, fylde VARCHAR, rossendale VARCHAR) | {
"SQL_Query": "SELECT SUM(burnley) FROM table_name_97 WHERE fylde < 1 AND rossendale > 0"
} |
What are the years that have un posto al sole as the soap opera, with riccardo polizzy carbonelli as the actor? | CREATE TABLE table_name_45 (years VARCHAR, soap_opera VARCHAR, actor VARCHAR) | {
"SQL_Query": "SELECT years FROM table_name_45 WHERE soap_opera = \"un posto al sole\" AND actor = \"riccardo polizzy carbonelli\""
} |
What years have a duration of 18 years, and patrizio rispo as the actor? | CREATE TABLE table_name_26 (years VARCHAR, duration VARCHAR, actor VARCHAR) | {
"SQL_Query": "SELECT years FROM table_name_26 WHERE duration = \"18 years\" AND actor = \"patrizio rispo\""
} |
What are the years that have a duration of 15 years and giulia poggi as the character? | CREATE TABLE table_name_33 (years VARCHAR, duration VARCHAR, character VARCHAR) | {
"SQL_Query": "SELECT years FROM table_name_33 WHERE duration = \"15 years\" AND character = \"giulia poggi\""
} |
What years have claudia ruffo as the actor? | CREATE TABLE table_name_18 (years VARCHAR, actor VARCHAR) | {
"SQL_Query": "SELECT years FROM table_name_18 WHERE actor = \"claudia ruffo\""
} |
What is the duration that has pietro genuardi as the actor? | CREATE TABLE table_name_42 (duration VARCHAR, actor VARCHAR) | {
"SQL_Query": "SELECT duration FROM table_name_42 WHERE actor = \"pietro genuardi\""
} |
What is the soap opera that has a duration of 13 years, with marina giulia cavalli as the actor? | CREATE TABLE table_name_84 (soap_opera VARCHAR, duration VARCHAR, actor VARCHAR) | {
"SQL_Query": "SELECT soap_opera FROM table_name_84 WHERE duration = \"13 years\" AND actor = \"marina giulia cavalli\""
} |
What is the lowest attendance for December 14, 1958 after week 12? | CREATE TABLE table_name_76 (attendance INTEGER, date VARCHAR, week VARCHAR) | {
"SQL_Query": "SELECT MIN(attendance) FROM table_name_76 WHERE date = \"december 14, 1958\" AND week > 12"
} |
What is the total for the week in the game against the Chicago Bears | CREATE TABLE table_name_38 (week VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT COUNT(week) FROM table_name_38 WHERE opponent = \"chicago bears\""
} |
What is the highest attendance for December 14, 1958 for after week 12 | CREATE TABLE table_name_40 (attendance INTEGER, date VARCHAR, week VARCHAR) | {
"SQL_Query": "SELECT MAX(attendance) FROM table_name_40 WHERE date = \"december 14, 1958\" AND week > 12"
} |
What is the Outcome of the Match played after 2003 with a Score of 6–0, 6–3? | CREATE TABLE table_name_88 (outcome VARCHAR, year VARCHAR, score VARCHAR) | {
"SQL_Query": "SELECT outcome FROM table_name_88 WHERE year > 2003 AND score = \"6–0, 6–3\""
} |
What is the Outcome of the match with a Score of 6–1, 6–1? | CREATE TABLE table_name_22 (outcome VARCHAR, score VARCHAR) | {
"SQL_Query": "SELECT outcome FROM table_name_22 WHERE score = \"6–1, 6–1\""
} |
Who has rank 5? | CREATE TABLE table_name_23 (name VARCHAR, rank VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_23 WHERE rank = 5"
} |
Which nationality has rank 4? | CREATE TABLE table_name_90 (nationality VARCHAR, rank VARCHAR) | {
"SQL_Query": "SELECT nationality FROM table_name_90 WHERE rank = 4"
} |
What title was used in the nomination of Matrimonio All'Italiana? | CREATE TABLE table_name_5 (film_title_used_in_nomination VARCHAR, original_title VARCHAR) | {
"SQL_Query": "SELECT film_title_used_in_nomination FROM table_name_5 WHERE original_title = \"matrimonio all'italiana\""
} |
What language was the film Pelle Erobreren, which received the best actor nomination, in? | CREATE TABLE table_name_11 (language VARCHAR, category VARCHAR, original_title VARCHAR) | {
"SQL_Query": "SELECT language FROM table_name_11 WHERE category = \"best actor\" AND original_title = \"pelle erobreren\""
} |
What title was used in the nomination of the Spanish language film Traffic? | CREATE TABLE table_name_43 (film_title_used_in_nomination VARCHAR, language VARCHAR, original_title VARCHAR) | {
"SQL_Query": "SELECT film_title_used_in_nomination FROM table_name_43 WHERE language = \"spanish\" AND original_title = \"traffic\""
} |
What title was used in the nomination of Una Giornata Particolare? | CREATE TABLE table_name_20 (film_title_used_in_nomination VARCHAR, original_title VARCHAR) | {
"SQL_Query": "SELECT film_title_used_in_nomination FROM table_name_20 WHERE original_title = \"una giornata particolare\""
} |
What date has a Position of back, later than 1964, and a Test debut of 1st rl test v new zealand? | CREATE TABLE table_name_98 (date VARCHAR, test_debut VARCHAR, position VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_98 WHERE position = \"back\" AND year > 1964 AND test_debut = \"1st rl test v new zealand\""
} |
What is the position earlier than 1907, with a cross-code debut of inaugural rl test v new zealand, and a test debut of inaugural ru test v new zealand? | CREATE TABLE table_name_92 (position VARCHAR, test_debut VARCHAR, year VARCHAR, cross_code_debut VARCHAR) | {
"SQL_Query": "SELECT position FROM table_name_92 WHERE year < 1907 AND cross_code_debut = \"inaugural rl test v new zealand\" AND test_debut = \"inaugural ru test v new zealand\""
} |
What is the cross-code debut later than 1958 for Dick Thornett? | CREATE TABLE table_name_87 (cross_code_debut VARCHAR, year VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT cross_code_debut FROM table_name_87 WHERE year > 1958 AND player = \"dick thornett\""
} |
What position has a Cross-code debut of 1st ru test v ireland? | CREATE TABLE table_name_79 (position VARCHAR, cross_code_debut VARCHAR) | {
"SQL_Query": "SELECT position FROM table_name_79 WHERE cross_code_debut = \"1st ru test v ireland\""
} |
What was the time for the match with away team Shatin? | CREATE TABLE table_name_4 (time VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT time FROM table_name_4 WHERE away_team = \"shatin\""
} |
What was the time for the match with away team Convoy Sun Hei Team A? | CREATE TABLE table_name_47 (time VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT time FROM table_name_47 WHERE away_team = \"convoy sun hei team a\""
} |
What was the away team for the match that had a time of 18:30? | CREATE TABLE table_name_45 (away_team VARCHAR, time VARCHAR) | {
"SQL_Query": "SELECT away_team FROM table_name_45 WHERE time = \"18:30\""
} |
What was the time for the match with away team Mutual Team B? | CREATE TABLE table_name_28 (time VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT time FROM table_name_28 WHERE away_team = \"mutual team b\""
} |
What was the time for the match that had a a home team of HKSSF? | CREATE TABLE table_name_17 (time VARCHAR, home_team VARCHAR) | {
"SQL_Query": "SELECT time FROM table_name_17 WHERE home_team = \"hkssf\""
} |
How many people attended on december 26, 1982? | CREATE TABLE table_name_78 (attendance VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT attendance FROM table_name_78 WHERE date = \"december 26, 1982\""
} |
How many Byes have Wins smaller than 11, and a Wimmera FL of minyip murtoa, and Losses smaller than 6? | CREATE TABLE table_name_12 (byes VARCHAR, losses VARCHAR, wins VARCHAR, wimmera_fl VARCHAR) | {
"SQL_Query": "SELECT COUNT(byes) FROM table_name_12 WHERE wins < 11 AND wimmera_fl = \"minyip murtoa\" AND losses < 6"
} |
Which Losses have an Against smaller than 1018, and Wins smaller than 14? | CREATE TABLE table_name_42 (losses INTEGER, against VARCHAR, wins VARCHAR) | {
"SQL_Query": "SELECT AVG(losses) FROM table_name_42 WHERE against < 1018 AND wins < 14"
} |
Which Byes have an Against larger than 1018, and a Wimmera FL of horsham diggers? | CREATE TABLE table_name_56 (byes INTEGER, against VARCHAR, wimmera_fl VARCHAR) | {
"SQL_Query": "SELECT MIN(byes) FROM table_name_56 WHERE against > 1018 AND wimmera_fl = \"horsham diggers\""
} |
Which Losses have a Wimmera FL of minyip murtoa? | CREATE TABLE table_name_35 (losses INTEGER, wimmera_fl VARCHAR) | {
"SQL_Query": "SELECT AVG(losses) FROM table_name_35 WHERE wimmera_fl = \"minyip murtoa\""
} |
Which Against has Losses smaller than 5, and a Wimmera FL of warrack eagles, and Draws smaller than 0? | CREATE TABLE table_name_68 (against INTEGER, draws VARCHAR, losses VARCHAR, wimmera_fl VARCHAR) | {
"SQL_Query": "SELECT AVG(against) FROM table_name_68 WHERE losses < 5 AND wimmera_fl = \"warrack eagles\" AND draws < 0"
} |
Which country has Spence in the name section? | CREATE TABLE table_name_6 (country VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT country FROM table_name_6 WHERE name = \"spence\""
} |
Which country has the status of transferred, moving to of released, and Solano as the listed name? | CREATE TABLE table_name_85 (country VARCHAR, name VARCHAR, status VARCHAR, moving_to VARCHAR) | {
"SQL_Query": "SELECT country FROM table_name_85 WHERE status = \"transferred\" AND moving_to = \"released\" AND name = \"solano\""
} |
What is the transfer fee for the country that has the name McCartney listed? | CREATE TABLE table_name_46 (transfer_fee VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT transfer_fee FROM table_name_46 WHERE name = \"mccartney\""
} |
What is the name listed for the country that has a status of loaned and a moving to listed as leyton orient? | CREATE TABLE table_name_57 (name VARCHAR, status VARCHAR, moving_to VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_57 WHERE status = \"loaned\" AND moving_to = \"leyton orient\""
} |
What is the transfer fee for the country of Nir? | CREATE TABLE table_name_53 (transfer_fee VARCHAR, country VARCHAR) | {
"SQL_Query": "SELECT transfer_fee FROM table_name_53 WHERE country = \"nir\""
} |
Who had the fastest lap when adam christodoulou was the winning driver and had the pole position? | CREATE TABLE table_name_50 (fastest_lap VARCHAR, winning_driver VARCHAR, pole_position VARCHAR) | {
"SQL_Query": "SELECT fastest_lap FROM table_name_50 WHERE winning_driver = \"adam christodoulou\" AND pole_position = \"adam christodoulou\""
} |
What date was the circuit, snetterton, when riki christodoulou had the fastest lap? | CREATE TABLE table_name_10 (date VARCHAR, circuit VARCHAR, fastest_lap VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_10 WHERE circuit = \"snetterton\" AND fastest_lap = \"riki christodoulou\""
} |
who had the pole position at rockingham circuit with adam christodoulou having the fastest lap? | CREATE TABLE table_name_10 (pole_position VARCHAR, fastest_lap VARCHAR, circuit VARCHAR) | {
"SQL_Query": "SELECT pole_position FROM table_name_10 WHERE fastest_lap = \"adam christodoulou\" AND circuit = \"rockingham\""
} |
What bonus points have 448 as the points against? | CREATE TABLE table_name_47 (bonus_points VARCHAR, points_against VARCHAR) | {
"SQL_Query": "SELECT bonus_points FROM table_name_47 WHERE points_against = \"448\""
} |
What points for have 30 as the game, and 73 as the total points? | CREATE TABLE table_name_92 (points_for VARCHAR, games VARCHAR, total_points VARCHAR) | {
"SQL_Query": "SELECT points_for FROM table_name_92 WHERE games = \"30\" AND total_points = \"73\""
} |
What drawn has 416 as the points for and 533 as the points against? | CREATE TABLE table_name_49 (drawn VARCHAR, points_for VARCHAR, points_against VARCHAR) | {
"SQL_Query": "SELECT drawn FROM table_name_49 WHERE points_for = \"416\" AND points_against = \"533\""
} |
What match points have 755 as the points against? | CREATE TABLE table_name_8 (match_points VARCHAR, points_against VARCHAR) | {
"SQL_Query": "SELECT match_points FROM table_name_8 WHERE points_against = \"755\""
} |
What games have colomiers as the club? | CREATE TABLE table_name_47 (games VARCHAR, club VARCHAR) | {
"SQL_Query": "SELECT games FROM table_name_47 WHERE club = \"colomiers\""
} |
Which lost has 84 as the match points? | CREATE TABLE table_name_52 (lost VARCHAR, match_points VARCHAR) | {
"SQL_Query": "SELECT lost FROM table_name_52 WHERE match_points = \"84\""
} |
How many constituents does udaipura have? | CREATE TABLE table_name_37 (constituency_number VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT constituency_number FROM table_name_37 WHERE name = \"udaipura\""
} |
What lane was Henrique Barbosa in? | CREATE TABLE table_name_14 (lane VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT COUNT(lane) FROM table_name_14 WHERE name = \"henrique barbosa\""
} |
What game was before 2010 and was a role-playing game? | CREATE TABLE table_name_82 (game VARCHAR, year VARCHAR, genre VARCHAR) | {
"SQL_Query": "SELECT game FROM table_name_82 WHERE year < 2010 AND genre = \"role-playing game\""
} |
What was the platform of Red Dead Redemption? | CREATE TABLE table_name_11 (platform_s_ VARCHAR, game VARCHAR) | {
"SQL_Query": "SELECT platform_s_ FROM table_name_11 WHERE game = \"red dead redemption\""
} |
Who was the developer of Wii? | CREATE TABLE table_name_50 (developer_s_ VARCHAR, platform_s_ VARCHAR) | {
"SQL_Query": "SELECT developer_s_ FROM table_name_50 WHERE platform_s_ = \"wii\""
} |
What year was The Walking Dead? | CREATE TABLE table_name_95 (year VARCHAR, game VARCHAR) | {
"SQL_Query": "SELECT COUNT(year) FROM table_name_95 WHERE game = \"the walking dead\""
} |
What was the platform when the developer was Telltale Games? | CREATE TABLE table_name_43 (platform_s_ VARCHAR, developer_s_ VARCHAR) | {
"SQL_Query": "SELECT platform_s_ FROM table_name_43 WHERE developer_s_ = \"telltale games\""
} |
What is the game of developer Rockstar Games? | CREATE TABLE table_name_71 (game VARCHAR, developer_s_ VARCHAR) | {
"SQL_Query": "SELECT game FROM table_name_71 WHERE developer_s_ = \"rockstar games\""
} |
How much Elevation (m) has a Prominence (m) larger than 2,876? | CREATE TABLE table_name_18 (elevation__m_ VARCHAR, prominence__m_ INTEGER) | {
"SQL_Query": "SELECT COUNT(elevation__m_) FROM table_name_18 WHERE prominence__m_ > 2 OFFSET 876"
} |
When was millwall the home team? | CREATE TABLE table_name_11 (date VARCHAR, home_team VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_11 WHERE home_team = \"millwall\""
} |
What was the score when Arsenal was the away team? | CREATE TABLE table_name_49 (score VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_49 WHERE away_team = \"arsenal\""
} |
Which away team had a Score of 2–0? | CREATE TABLE table_name_53 (away_team VARCHAR, score VARCHAR) | {
"SQL_Query": "SELECT away_team FROM table_name_53 WHERE score = \"2–0\""
} |
When was Arsenal was the away team? | CREATE TABLE table_name_17 (date VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_17 WHERE away_team = \"arsenal\""
} |
What's the date released when there was 9.7% of Green communist? | CREATE TABLE table_name_53 (date_released VARCHAR, green_communist VARCHAR) | {
"SQL_Query": "SELECT date_released FROM table_name_53 WHERE green_communist = \"9.7%\""
} |
What's the green communist when Euroteste/JN is the polling Institute? | CREATE TABLE table_name_41 (green_communist VARCHAR, polling_institute VARCHAR) | {
"SQL_Query": "SELECT green_communist FROM table_name_41 WHERE polling_institute = \"euroteste/jn\""
} |
What is the most silver medals when the total is more than 2 medals, and with a rank of total, and the number of gold medals is greater than 44? | CREATE TABLE table_name_78 (silver INTEGER, gold VARCHAR, rank VARCHAR) | {
"SQL_Query": "SELECT MAX(silver) FROM table_name_78 WHERE \"total\" > 2 AND rank = \"total\" AND gold > 44"
} |
What is the fewest gold medals when there is 0 bronze medals, and the rank is 19, and silver medals are less than 1? | CREATE TABLE table_name_16 (gold INTEGER, silver VARCHAR, bronze VARCHAR, rank VARCHAR) | {
"SQL_Query": "SELECT MIN(gold) FROM table_name_16 WHERE bronze = 0 AND rank = \"19\" AND silver < 1"
} |
What is the largest amount of bronze medals when the silver medals are less than 1, and Belgium (BEL) is the nation, and the gold medals are less than 0? | CREATE TABLE table_name_18 (bronze INTEGER, gold VARCHAR, silver VARCHAR, nation VARCHAR) | {
"SQL_Query": "SELECT MAX(bronze) FROM table_name_18 WHERE silver < 1 AND nation = \"belgium (bel)\" AND gold < 0"
} |
With silver medals less than 1, and total medals less than 2, what is the most bronze medals? | CREATE TABLE table_name_83 (bronze INTEGER, silver VARCHAR, total VARCHAR) | {
"SQL_Query": "SELECT MAX(bronze) FROM table_name_83 WHERE silver < 1 AND total < 2"
} |
Can you tell me the total number of Byes that has the Wins of 14, and the Losses larger than 2? | CREATE TABLE table_name_80 (byes VARCHAR, wins VARCHAR, losses VARCHAR) | {
"SQL_Query": "SELECT COUNT(byes) FROM table_name_80 WHERE wins = 14 AND losses > 2"
} |
Can you tell me the average Wins that has the Against of 1132, and the Losses smaller than 7? | CREATE TABLE table_name_11 (wins INTEGER, against VARCHAR, losses VARCHAR) | {
"SQL_Query": "SELECT AVG(wins) FROM table_name_11 WHERE against = 1132 AND losses < 7"
} |
What was the date for the game that had a Location/Attendance of the spectrum? | CREATE TABLE table_name_92 (date VARCHAR, location_attendance VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_92 WHERE location_attendance = \"the spectrum\""
} |
Who was the opponent when they played at the Skydome? | CREATE TABLE table_name_53 (opponent VARCHAR, location_attendance VARCHAR) | {
"SQL_Query": "SELECT opponent FROM table_name_53 WHERE location_attendance = \"skydome\""
} |
What was the record on January 17? | CREATE TABLE table_name_61 (record VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT record FROM table_name_61 WHERE date = \"january 17\""
} |
What was the location and attendance when the record was 19-17? | CREATE TABLE table_name_69 (location_attendance VARCHAR, record VARCHAR) | {
"SQL_Query": "SELECT location_attendance FROM table_name_69 WHERE record = \"19-17\""
} |
What city joined the Independents conference after 1963? | CREATE TABLE table_name_26 (city VARCHAR, year_joined VARCHAR, conference_joined VARCHAR) | {
"SQL_Query": "SELECT city FROM table_name_26 WHERE year_joined > 1963 AND conference_joined = \"independents\""
} |
What is the year that the Gary team with mascot of the Tornado joined? | CREATE TABLE table_name_94 (year_joined INTEGER, city VARCHAR, mascot VARCHAR) | {
"SQL_Query": "SELECT MIN(year_joined) FROM table_name_94 WHERE city = \"gary\" AND mascot = \"tornado\""
} |
What was the previous conference for the team with the Governors as their mascot that joined the Indiana Lake Shore conference? | CREATE TABLE table_name_88 (previous_conference VARCHAR, conference_joined VARCHAR, mascot VARCHAR) | {
"SQL_Query": "SELECT previous_conference FROM table_name_88 WHERE conference_joined = \"indiana lake shore\" AND mascot = \"governors\""
} |
What is the year that the Roughriders left the conference? | CREATE TABLE table_name_25 (year_left INTEGER, mascot VARCHAR) | {
"SQL_Query": "SELECT MAX(year_left) FROM table_name_25 WHERE mascot = \"roughriders\""
} |
What conference did the city of Valparaiso join? | CREATE TABLE table_name_5 (conference_joined VARCHAR, city VARCHAR) | {
"SQL_Query": "SELECT conference_joined FROM table_name_5 WHERE city = \"valparaiso\""
} |
What is the duration of the character Bartha Zsolt? | CREATE TABLE table_name_93 (duration VARCHAR, character VARCHAR) | {
"SQL_Query": "SELECT duration FROM table_name_93 WHERE character = \"bartha zsolt\""
} |
How many losses have jake sharp as the name, with a long less than 30? | CREATE TABLE table_name_81 (loss VARCHAR, name VARCHAR, long VARCHAR) | {
"SQL_Query": "SELECT COUNT(loss) FROM table_name_81 WHERE name = \"jake sharp\" AND long < 30"
} |
What is the average long that has 1581 as a gain, with a loss less than 308? | CREATE TABLE table_name_72 (long INTEGER, gain VARCHAR, loss VARCHAR) | {
"SQL_Query": "SELECT AVG(long) FROM table_name_72 WHERE gain = 1581 AND loss < 308"
} |
How many gains have a long greater than 8, with avg/g of 124.9? | CREATE TABLE table_name_27 (gain INTEGER, long VARCHAR, avg_g VARCHAR) | {
"SQL_Query": "SELECT SUM(gain) FROM table_name_27 WHERE long > 8 AND avg_g = 124.9"
} |
How many longs have a gain less than 379, and 0.8 as an avg/g? | CREATE TABLE table_name_11 (long INTEGER, gain VARCHAR, avg_g VARCHAR) | {
"SQL_Query": "SELECT SUM(long) FROM table_name_11 WHERE gain < 379 AND avg_g = 0.8"
} |
What is the lowest gain that has toben opurum as the name, with an avg/g less than 54.1? | CREATE TABLE table_name_35 (gain INTEGER, name VARCHAR, avg_g VARCHAR) | {
"SQL_Query": "SELECT MIN(gain) FROM table_name_35 WHERE name = \"toben opurum\" AND avg_g < 54.1"
} |
Which Driver has a Grid smaller than 17, and Points larger than 0, and a Lapse of 87, and a Time/Retired of 1:48:11.023? | CREATE TABLE table_name_72 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR, points VARCHAR) | {
"SQL_Query": "SELECT driver FROM table_name_72 WHERE grid < 17 AND points > 0 AND laps = 87 AND time_retired = \"1:48:11.023\""
} |
Which Points have a Grid larger than 7, and a Driver of alex tagliani, and a Lapse smaller than 85? | CREATE TABLE table_name_56 (points INTEGER, laps VARCHAR, grid VARCHAR, driver VARCHAR) | {
"SQL_Query": "SELECT MAX(points) FROM table_name_56 WHERE grid > 7 AND driver = \"alex tagliani\" AND laps < 85"
} |
What date has uefa euro 2008 qualification as the competition? | CREATE TABLE table_name_55 (date VARCHAR, competition VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_55 WHERE competition = \"uefa euro 2008 qualification\""
} |
What date has friendly as the competition, with pretoria, South Africa as the venue? | CREATE TABLE table_name_79 (date VARCHAR, competition VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_79 WHERE competition = \"friendly\" AND venue = \"pretoria, south africa\""
} |
What is the lowest final score of the American Cup competition before 2009? | CREATE TABLE table_name_15 (score_final INTEGER, competition_description VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT MIN(score_final) FROM table_name_15 WHERE competition_description = \"american cup\" AND year < 2009"
} |
What is the result for the game before week 7 against BYE? | CREATE TABLE table_name_95 (result VARCHAR, week VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT result FROM table_name_95 WHERE week < 7 AND opponent = \"bye\""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.