question stringlengths 12 244 | context stringlengths 27 489 | answer dict |
|---|---|---|
What was the topic of the show on March 15, 2008? | CREATE TABLE table_name_5 (topic_of_the_show VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT topic_of_the_show FROM table_name_5 WHERE date = \"march 15, 2008\""
} |
When against is more than 1244 with less than 8 losses, what is the average of wins? | CREATE TABLE table_name_82 (wins INTEGER, against VARCHAR, losses VARCHAR) | {
"SQL_Query": "SELECT AVG(wins) FROM table_name_82 WHERE against > 1244 AND losses < 8"
} |
What is the name of the mill located on Anawan Street with a reference number larger than 8? | CREATE TABLE table_name_76 (name VARCHAR, ref_number VARCHAR, location VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_76 WHERE ref_number > 8 AND location = \"anawan street\""
} |
What is the name of the mill constructed of red brick in 1910 with a reference number lower than 55? | CREATE TABLE table_name_7 (name VARCHAR, construction VARCHAR, ref_number VARCHAR, built VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_7 WHERE ref_number < 55 AND built = 1910 AND construction = \"red brick\""
} |
What is the location of the Durfee Mill No. 1, built before 1872 ? | CREATE TABLE table_name_7 (location VARCHAR, built VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT location FROM table_name_7 WHERE built < 1872 AND name = \"durfee mill no. 1\""
} |
What is the location of the mill with a reference number of 44? | CREATE TABLE table_name_99 (location VARCHAR, ref_number VARCHAR) | {
"SQL_Query": "SELECT location FROM table_name_99 WHERE ref_number = 44"
} |
Which Construction is named of fu-hsing? | CREATE TABLE table_name_89 (construction VARCHAR, name__wade_giles_ VARCHAR) | {
"SQL_Query": "SELECT construction FROM table_name_89 WHERE name__wade_giles_ = \"fu-hsing\""
} |
which Construction is named heng-hai? | CREATE TABLE table_name_69 (construction VARCHAR, name__wade_giles_ VARCHAR) | {
"SQL_Query": "SELECT construction FROM table_name_69 WHERE name__wade_giles_ = \"heng-hai\""
} |
Who has a Construction of 1873, foochow navy yard? | CREATE TABLE table_name_33 (characters VARCHAR, construction VARCHAR) | {
"SQL_Query": "SELECT characters FROM table_name_33 WHERE construction = \"1873, foochow navy yard\""
} |
Which Name (pinyin) is named fu-ching? | CREATE TABLE table_name_64 (name__pinyin_ VARCHAR, name__wade_giles_ VARCHAR) | {
"SQL_Query": "SELECT name__pinyin_ FROM table_name_64 WHERE name__wade_giles_ = \"fu-ching\""
} |
Who has a Construction of 1870, foochow navy yard, and a Name (Wade Giles) of fu-hsing? | CREATE TABLE table_name_1 (characters VARCHAR, construction VARCHAR, name__wade_giles_ VARCHAR) | {
"SQL_Query": "SELECT characters FROM table_name_1 WHERE construction = \"1870, foochow navy yard\" AND name__wade_giles_ = \"fu-hsing\""
} |
Which Label has a Release of liebesgrüsse aus ost-berlin? | CREATE TABLE table_name_16 (label VARCHAR, release VARCHAR) | {
"SQL_Query": "SELECT label FROM table_name_16 WHERE release = \"liebesgrüsse aus ost-berlin\""
} |
What is the rank of the person with more than 5 games played? | CREATE TABLE table_name_20 (rank INTEGER, games_played INTEGER) | {
"SQL_Query": "SELECT SUM(rank) FROM table_name_20 WHERE games_played > 5"
} |
How many golds have a bronze greater than 1, a silver greater than 1, with total as the rank? | CREATE TABLE table_name_61 (gold VARCHAR, rank VARCHAR, bronze VARCHAR, silver VARCHAR) | {
"SQL_Query": "SELECT COUNT(gold) FROM table_name_61 WHERE bronze > 1 AND silver > 1 AND rank = \"total\""
} |
How many golds have a bronze greater than 1, total as the nation, and a silver less than 18? | CREATE TABLE table_name_27 (gold VARCHAR, silver VARCHAR, bronze VARCHAR, nation VARCHAR) | {
"SQL_Query": "SELECT COUNT(gold) FROM table_name_27 WHERE bronze > 1 AND nation = \"total\" AND silver < 18"
} |
How many bronzes have west germany as the nation? | CREATE TABLE table_name_51 (bronze INTEGER, nation VARCHAR) | {
"SQL_Query": "SELECT SUM(bronze) FROM table_name_51 WHERE nation = \"west germany\""
} |
How many golds have denmark as the nation, with a total less than 1? | CREATE TABLE table_name_86 (gold VARCHAR, nation VARCHAR, total VARCHAR) | {
"SQL_Query": "SELECT COUNT(gold) FROM table_name_86 WHERE nation = \"denmark\" AND total < 1"
} |
How many totals have 1 for the gold, 12 for the rank, and a sliver greater than 0? | CREATE TABLE table_name_60 (total VARCHAR, silver VARCHAR, gold VARCHAR, rank VARCHAR) | {
"SQL_Query": "SELECT COUNT(total) FROM table_name_60 WHERE gold = 1 AND rank = \"12\" AND silver > 0"
} |
What is the lowest silver that has 1 for the bronze, 1 as the total, 17 as the rank, with a gold less than 0? | CREATE TABLE table_name_15 (silver INTEGER, gold VARCHAR, rank VARCHAR, bronze VARCHAR, total VARCHAR) | {
"SQL_Query": "SELECT MIN(silver) FROM table_name_15 WHERE bronze = 1 AND total = 1 AND rank = \"17\" AND gold < 0"
} |
What is the First Publisher prior to 1999? | CREATE TABLE table_name_31 (first_publisher VARCHAR, year INTEGER) | {
"SQL_Query": "SELECT first_publisher FROM table_name_31 WHERE year < 1999"
} |
What is the ISBN in 1999? | CREATE TABLE table_name_48 (isbn VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT isbn FROM table_name_48 WHERE year = 1999"
} |
What is the ISBN of Japanese Title of 霧の訪問者 (kiri no hōmonsha)? | CREATE TABLE table_name_54 (isbn VARCHAR, japanese_title VARCHAR) | {
"SQL_Query": "SELECT isbn FROM table_name_54 WHERE japanese_title = \"霧の訪問者 (kiri no hōmonsha)\""
} |
What is the First Publisher in 2007? | CREATE TABLE table_name_8 (first_publisher VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT first_publisher FROM table_name_8 WHERE year = 2007"
} |
What is the Year of Kodansha Novels' Tokyo Nightmare? | CREATE TABLE table_name_80 (year VARCHAR, first_publisher VARCHAR, english_title VARCHAR) | {
"SQL_Query": "SELECT year FROM table_name_80 WHERE first_publisher = \"kodansha novels\" AND english_title = \"tokyo nightmare\""
} |
What Year has an ISBN OF ISBN 4-06-182042-7? | CREATE TABLE table_name_37 (year INTEGER, isbn VARCHAR) | {
"SQL_Query": "SELECT AVG(year) FROM table_name_37 WHERE isbn = \"isbn 4-06-182042-7\""
} |
What is the bronze number for the nation with less than 0 gold? | CREATE TABLE table_name_53 (bronze INTEGER, gold INTEGER) | {
"SQL_Query": "SELECT MIN(bronze) FROM table_name_53 WHERE gold < 0"
} |
What is the January climate figure for Eastman? | CREATE TABLE table_name_26 (january VARCHAR, region VARCHAR) | {
"SQL_Query": "SELECT january FROM table_name_26 WHERE region = \"eastman\""
} |
In what city is the July temperature 23/9°c (73/48°f)? | CREATE TABLE table_name_49 (city VARCHAR, july VARCHAR) | {
"SQL_Query": "SELECT city FROM table_name_49 WHERE july = \"23/9°c (73/48°f)\""
} |
What is the July temperature where the annual precipitation is 514mm (20.2in)? | CREATE TABLE table_name_23 (july VARCHAR, annual_precipitation VARCHAR) | {
"SQL_Query": "SELECT july FROM table_name_23 WHERE annual_precipitation = \"514mm (20.2in)\""
} |
What is the July temperature where plant hardiness zone is 2B and January figure is −12/−23°c (10-9°f)? | CREATE TABLE table_name_32 (july VARCHAR, plant_hardiness_zone VARCHAR, january VARCHAR) | {
"SQL_Query": "SELECT july FROM table_name_32 WHERE plant_hardiness_zone = \"2b\" AND january = \"−12/−23°c (10-9°f)\""
} |
What is the plant hardiness zone in the Northern region where the annual precipitation is 443mm (17.4in)? | CREATE TABLE table_name_36 (plant_hardiness_zone VARCHAR, region VARCHAR, annual_precipitation VARCHAR) | {
"SQL_Query": "SELECT plant_hardiness_zone FROM table_name_36 WHERE region = \"northern\" AND annual_precipitation = \"443mm (17.4in)\""
} |
In what city is the plant hardiness zone 2B and January temp is −12/−23°c (10/-9°f)? | CREATE TABLE table_name_52 (city VARCHAR, plant_hardiness_zone VARCHAR, january VARCHAR) | {
"SQL_Query": "SELECT city FROM table_name_52 WHERE plant_hardiness_zone = \"2b\" AND january = \"−12/−23°c (10/-9°f)\""
} |
What is the Total Apps listing for Paul Wilson? | CREATE TABLE table_name_78 (total_apps VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT total_apps FROM table_name_78 WHERE name = \"paul wilson\""
} |
Who was the winner at Milan Circuit Race? | CREATE TABLE table_name_84 (winner VARCHAR, course VARCHAR) | {
"SQL_Query": "SELECT winner FROM table_name_84 WHERE course = \"milan circuit race\""
} |
Who was the winner at Rest Day course? | CREATE TABLE table_name_67 (winner VARCHAR, course VARCHAR) | {
"SQL_Query": "SELECT winner FROM table_name_67 WHERE course = \"rest day\""
} |
What's the type on Sestri Levante to Riomaggiore? | CREATE TABLE table_name_39 (type VARCHAR, course VARCHAR) | {
"SQL_Query": "SELECT type FROM table_name_39 WHERE course = \"sestri levante to riomaggiore\""
} |
Which player competed in 12 events? | CREATE TABLE table_name_49 (player VARCHAR, events VARCHAR) | {
"SQL_Query": "SELECT player FROM table_name_49 WHERE events = 12"
} |
what is the highest finishes when the points is less than 337, the stage wins is 2 and the wins is more than 0? | CREATE TABLE table_name_48 (finishes INTEGER, wins VARCHAR, points VARCHAR, stage_wins VARCHAR) | {
"SQL_Query": "SELECT MAX(finishes) FROM table_name_48 WHERE points < 337 AND stage_wins = 2 AND wins > 0"
} |
what is the average starts when the chassis is focus rs wrc 08 and finishes is more than 27? | CREATE TABLE table_name_94 (starts INTEGER, chassis VARCHAR, finishes VARCHAR) | {
"SQL_Query": "SELECT AVG(starts) FROM table_name_94 WHERE chassis = \"focus rs wrc 08\" AND finishes > 27"
} |
what is the finishes when points is more than 337 and starts is more than 26? | CREATE TABLE table_name_90 (finishes INTEGER, points VARCHAR, starts VARCHAR) | {
"SQL_Query": "SELECT SUM(finishes) FROM table_name_90 WHERE points > 337 AND starts > 26"
} |
what is the average starts when the podiums is more than 0, stage wins is more than 39 and points is more than 456? | CREATE TABLE table_name_35 (starts INTEGER, points VARCHAR, podiums VARCHAR, stage_wins VARCHAR) | {
"SQL_Query": "SELECT AVG(starts) FROM table_name_35 WHERE podiums > 0 AND stage_wins > 39 AND points > 456"
} |
Which School has a Mascot of squires? | CREATE TABLE table_name_35 (school VARCHAR, mascot VARCHAR) | {
"SQL_Query": "SELECT school FROM table_name_35 WHERE mascot = \"squires\""
} |
Which School has a #/ County of 85 wabash, and an IHSAA Football Class of A, and a Mascot of norsemen? | CREATE TABLE table_name_43 (school VARCHAR, mascot VARCHAR, _number___county VARCHAR, ihsaa_football_class VARCHAR) | {
"SQL_Query": "SELECT school FROM table_name_43 WHERE _number___county = \"85 wabash\" AND ihsaa_football_class = \"a\" AND mascot = \"norsemen\""
} |
Which IHSAA Football Class has a School of whitko? | CREATE TABLE table_name_99 (ihsaa_football_class VARCHAR, school VARCHAR) | {
"SQL_Query": "SELECT ihsaa_football_class FROM table_name_99 WHERE school = \"whitko\""
} |
Which IHSAA Football Class has a Location of wabash, and a School of wabash? | CREATE TABLE table_name_50 (ihsaa_football_class VARCHAR, location VARCHAR, school VARCHAR) | {
"SQL_Query": "SELECT ihsaa_football_class FROM table_name_50 WHERE location = \"wabash\" AND school = \"wabash\""
} |
With a Total of more than 149, what is Davis Love III's To par? | CREATE TABLE table_name_88 (to_par INTEGER, player VARCHAR, total VARCHAR) | {
"SQL_Query": "SELECT AVG(to_par) FROM table_name_88 WHERE player = \"davis love iii\" AND total > 149"
} |
What is the Total of the Player with a To par of 6 and Year won after 1993? | CREATE TABLE table_name_87 (total INTEGER, year_won VARCHAR, to_par VARCHAR) | {
"SQL_Query": "SELECT MIN(total) FROM table_name_87 WHERE year_won > 1993 AND to_par = 6"
} |
What is the Year won of Davis Love III with a Total of less than 149? | CREATE TABLE table_name_93 (year_won VARCHAR, player VARCHAR, total VARCHAR) | {
"SQL_Query": "SELECT COUNT(year_won) FROM table_name_93 WHERE player = \"davis love iii\" AND total < 149"
} |
What is the genre of the Mass Effect game? | CREATE TABLE table_name_14 (genre VARCHAR, game VARCHAR) | {
"SQL_Query": "SELECT genre FROM table_name_14 WHERE game = \"mass effect\""
} |
What is the genre of the game from 2006? | CREATE TABLE table_name_72 (genre VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT genre FROM table_name_72 WHERE year = \"2006\""
} |
What is the genre of the game developed by Nintendo EAD? | CREATE TABLE table_name_85 (genre VARCHAR, developer_s_ VARCHAR) | {
"SQL_Query": "SELECT genre FROM table_name_85 WHERE developer_s_ = \"nintendo ead\""
} |
What is the platform of the game built in 2006? | CREATE TABLE table_name_53 (platform_s_ VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT platform_s_ FROM table_name_53 WHERE year = \"2006\""
} |
What game was developed by Ubisoft Montreal? | CREATE TABLE table_name_53 (game VARCHAR, developer_s_ VARCHAR) | {
"SQL_Query": "SELECT game FROM table_name_53 WHERE developer_s_ = \"ubisoft montreal\""
} |
What is the genre for Portal 2? | CREATE TABLE table_name_32 (genre VARCHAR, game VARCHAR) | {
"SQL_Query": "SELECT genre FROM table_name_32 WHERE game = \"portal 2\""
} |
Which platforms can you play Portal 2 on? | CREATE TABLE table_name_88 (platform_s_ VARCHAR, game VARCHAR) | {
"SQL_Query": "SELECT platform_s_ FROM table_name_88 WHERE game = \"portal 2\""
} |
What event had the 1500m freestyle? | CREATE TABLE table_name_4 (meet VARCHAR, event VARCHAR) | {
"SQL_Query": "SELECT meet FROM table_name_4 WHERE event = \"1500m freestyle\""
} |
Who is from italy has 0 giro wins, 0 young rider and less than 3 maglia rosa? | CREATE TABLE table_name_92 (name VARCHAR, maglia_rosa VARCHAR, young_rider VARCHAR, country VARCHAR, giro_wins VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_92 WHERE country = \"italy\" AND giro_wins = 0 AND young_rider = 0 AND maglia_rosa < 3"
} |
How many bronze medals for the United Kingdom when the silver was less than 0? | CREATE TABLE table_name_18 (bronze INTEGER, nation VARCHAR, silver VARCHAR) | {
"SQL_Query": "SELECT AVG(bronze) FROM table_name_18 WHERE nation = \"united kingdom\" AND silver < 0"
} |
How many bronze medals for West Germany having a total more than 2? | CREATE TABLE table_name_65 (bronze VARCHAR, total VARCHAR, nation VARCHAR) | {
"SQL_Query": "SELECT COUNT(bronze) FROM table_name_65 WHERE total > 2 AND nation = \"west germany\""
} |
What is the amount of silver for rank 11 having less than 0 gold? | CREATE TABLE table_name_21 (silver INTEGER, rank VARCHAR, gold VARCHAR) | {
"SQL_Query": "SELECT MIN(silver) FROM table_name_21 WHERE rank = \"11\" AND gold < 0"
} |
What rank is Bulgaria with less than 3 silver and more than 1 bronze? | CREATE TABLE table_name_44 (rank VARCHAR, nation VARCHAR, silver VARCHAR, bronze VARCHAR) | {
"SQL_Query": "SELECT rank FROM table_name_44 WHERE silver < 3 AND bronze > 1 AND nation = \"bulgaria\""
} |
What is the mountains classification when stage is 17? | CREATE TABLE table_name_60 (mountains_classification VARCHAR, stage VARCHAR) | {
"SQL_Query": "SELECT mountains_classification FROM table_name_60 WHERE stage = \"17\""
} |
Who was the winner when points classification is Robbie Mcewen, and a Mountains classification is José Rujano? | CREATE TABLE table_name_45 (winner VARCHAR, points_classification VARCHAR, mountains_classification VARCHAR) | {
"SQL_Query": "SELECT winner FROM table_name_45 WHERE points_classification = \"robbie mcewen\" AND mountains_classification = \"josé rujano\""
} |
What is the Trofeo Fast Team when stage is 19? | CREATE TABLE table_name_34 (trofeo_fast_team VARCHAR, stage VARCHAR) | {
"SQL_Query": "SELECT trofeo_fast_team FROM table_name_34 WHERE stage = \"19\""
} |
What is the points classification when the Intergiro classification is Sven Krauß, and the mountains classification is koldo gil, Trofeo Super Team is Liquigas-Bianchi, and stage is 9? | CREATE TABLE table_name_19 (points_classification VARCHAR, stage VARCHAR, trofeo_super_team VARCHAR, intergiro_classification VARCHAR, mountains_classification VARCHAR) | {
"SQL_Query": "SELECT points_classification FROM table_name_19 WHERE intergiro_classification = \"sven krauß\" AND mountains_classification = \"koldo gil\" AND trofeo_super_team = \"liquigas-bianchi\" AND stage = \"9\""
} |
What is the Intergiro classification when the points classification is Paolo Bettini, Trofeo Super Team is Davitamon-Lotto, and the Mountains classification is José Rujano? | CREATE TABLE table_name_16 (intergiro_classification VARCHAR, mountains_classification VARCHAR, points_classification VARCHAR, trofeo_super_team VARCHAR) | {
"SQL_Query": "SELECT intergiro_classification FROM table_name_16 WHERE points_classification = \"paolo bettini\" AND trofeo_super_team = \"davitamon-lotto\" AND mountains_classification = \"josé rujano\""
} |
What is the Stage when the points classification is Danilo Di Luca, Mountains classification is José Rujano, and general classification is Danilo Di Luca? | CREATE TABLE table_name_67 (stage VARCHAR, general_classification VARCHAR, points_classification VARCHAR, mountains_classification VARCHAR) | {
"SQL_Query": "SELECT stage FROM table_name_67 WHERE points_classification = \"danilo di luca\" AND mountains_classification = \"josé rujano\" AND general_classification = \"danilo di luca\""
} |
What is the average GEO ID with a latitude less than 46.57958, a latitude of -102.109898 and more than 35.99 square miles of land? | CREATE TABLE table_name_4 (geo_id INTEGER, land___sqmi__ VARCHAR, latitude VARCHAR, longitude VARCHAR) | {
"SQL_Query": "SELECT AVG(geo_id) FROM table_name_4 WHERE latitude < 46.57958 AND longitude = -102.109898 AND land___sqmi__ > 35.99"
} |
What GEO ID has a longitude of -102.693028? | CREATE TABLE table_name_83 (geo_id VARCHAR, longitude VARCHAR) | {
"SQL_Query": "SELECT geo_id FROM table_name_83 WHERE longitude = -102.693028"
} |
What is the highest latitude when there are more than 0.518 square miles of water, a longitude less than -99.830606, and a population of 18? | CREATE TABLE table_name_69 (latitude INTEGER, pop__2010_ VARCHAR, water__sqmi_ VARCHAR, longitude VARCHAR) | {
"SQL_Query": "SELECT MAX(latitude) FROM table_name_69 WHERE water__sqmi_ > 0.518 AND longitude < -99.830606 AND pop__2010_ = 18"
} |
What is the average lane for Australia? | CREATE TABLE table_name_30 (lane INTEGER, nationality VARCHAR) | {
"SQL_Query": "SELECT AVG(lane) FROM table_name_30 WHERE nationality = \"australia\""
} |
What is the highest rank for Josefin Lillhage? | CREATE TABLE table_name_54 (rank INTEGER, name VARCHAR) | {
"SQL_Query": "SELECT MAX(rank) FROM table_name_54 WHERE name = \"josefin lillhage\""
} |
What was the attendance for the final quarter (1)? | CREATE TABLE table_name_97 (attendance VARCHAR, final VARCHAR) | {
"SQL_Query": "SELECT attendance FROM table_name_97 WHERE final = \"quarter (1)\""
} |
What stadium had the score 1 - 1 dodd 38'? | CREATE TABLE table_name_21 (stadium VARCHAR, score VARCHAR) | {
"SQL_Query": "SELECT stadium FROM table_name_21 WHERE score = \"1 - 1 dodd 38'\""
} |
What method was used in the Pride 17 event? | CREATE TABLE table_name_78 (method VARCHAR, event VARCHAR) | {
"SQL_Query": "SELECT method FROM table_name_78 WHERE event = \"pride 17\""
} |
What is the Rank of the building that has a Highest floor larger than 50? | CREATE TABLE table_name_57 (rank VARCHAR, highest_floor INTEGER) | {
"SQL_Query": "SELECT rank FROM table_name_57 WHERE highest_floor > 50"
} |
what is the most free when the total is 81.167 and the rank is higher than 23? | CREATE TABLE table_name_87 (free INTEGER, total VARCHAR, rank VARCHAR) | {
"SQL_Query": "SELECT MAX(free) FROM table_name_87 WHERE total = 81.167 AND rank > 23"
} |
How many tracks have an unformatted capacity per side of 2000kb? | CREATE TABLE table_name_7 (tracks VARCHAR, unformatted_capacity_per_side VARCHAR) | {
"SQL_Query": "SELECT COUNT(tracks) FROM table_name_7 WHERE unformatted_capacity_per_side = \"2000kb\""
} |
What is the unformatted capacity per side if the size is 8in? | CREATE TABLE table_name_42 (unformatted_capacity_per_side VARCHAR, size VARCHAR) | {
"SQL_Query": "SELECT unformatted_capacity_per_side FROM table_name_42 WHERE size = \"8in\""
} |
How many tracks have a single density? | CREATE TABLE table_name_93 (tracks VARCHAR, density VARCHAR) | {
"SQL_Query": "SELECT COUNT(tracks) FROM table_name_93 WHERE density = \"single\""
} |
What's listed for Elevatated that has Cardinalatial title of Priest of SS. XII Apostoli? | CREATE TABLE table_name_77 (elevated VARCHAR, cardinalatial_title VARCHAR) | {
"SQL_Query": "SELECT elevated FROM table_name_77 WHERE cardinalatial_title = \"priest of ss. xii apostoli\""
} |
What Elector has the Place of birth of San Severino? | CREATE TABLE table_name_33 (elector VARCHAR, place_of_birth VARCHAR) | {
"SQL_Query": "SELECT elector FROM table_name_33 WHERE place_of_birth = \"san severino\""
} |
What's the Cardinalatial Title has the Elevated of December 18, 1182, the Place of birth of Lucca, and the Electo rof Pandolfo? | CREATE TABLE table_name_40 (cardinalatial_title VARCHAR, elector VARCHAR, elevated VARCHAR, place_of_birth VARCHAR) | {
"SQL_Query": "SELECT cardinalatial_title FROM table_name_40 WHERE elevated = \"december 18, 1182\" AND place_of_birth = \"lucca\" AND elector = \"pandolfo\""
} |
What's listed for the Elevated with a Cardinalatial title of Priest of S. Eusebio and Archbishop of Benevento? | CREATE TABLE table_name_25 (elevated VARCHAR, cardinalatial_title VARCHAR) | {
"SQL_Query": "SELECT elevated FROM table_name_25 WHERE cardinalatial_title = \"priest of s. eusebio and archbishop of benevento\""
} |
What Elector has the Place of Birth listed as Bavaria? | CREATE TABLE table_name_4 (elector VARCHAR, place_of_birth VARCHAR) | {
"SQL_Query": "SELECT elector FROM table_name_4 WHERE place_of_birth = \"bavaria\""
} |
What are the total apps that have 41 as the League apps, with total goals greater than 1? | CREATE TABLE table_name_16 (total_apps VARCHAR, league_apps VARCHAR, total_goals VARCHAR) | {
"SQL_Query": "SELECT total_apps FROM table_name_16 WHERE league_apps = \"41\" AND total_goals > 1"
} |
What are the average league goals that have 2 (1) as the total apps? | CREATE TABLE table_name_18 (league_goals INTEGER, total_apps VARCHAR) | {
"SQL_Query": "SELECT AVG(league_goals) FROM table_name_18 WHERE total_apps = \"2 (1)\""
} |
What is the highest league goals that have barry endean as the name, wirh FA cup apps greater than 0? | CREATE TABLE table_name_46 (league_goals INTEGER, name VARCHAR, fa_cup_apps VARCHAR) | {
"SQL_Query": "SELECT MAX(league_goals) FROM table_name_46 WHERE name = \"barry endean\" AND fa_cup_apps > 0"
} |
Which school left in 1968 and has the team name of Panthers? | CREATE TABLE table_name_81 (school VARCHAR, team_name VARCHAR, year_left VARCHAR) | {
"SQL_Query": "SELECT school FROM table_name_81 WHERE team_name = \"panthers\" AND year_left = \"1968\""
} |
What year did a team from North Dearborn leave? | CREATE TABLE table_name_89 (year_left VARCHAR, school VARCHAR) | {
"SQL_Query": "SELECT year_left FROM table_name_89 WHERE school = \"north dearborn\""
} |
Which city has a school of North Vernon and a county of 40 Jennings? | CREATE TABLE table_name_48 (city VARCHAR, county VARCHAR, school VARCHAR) | {
"SQL_Query": "SELECT city FROM table_name_48 WHERE county = \"40 jennings\" AND school = \"north vernon\""
} |
What year did a school from Jennings County join? | CREATE TABLE table_name_5 (year_joined VARCHAR, school VARCHAR) | {
"SQL_Query": "SELECT year_joined FROM table_name_5 WHERE school = \"jennings county\""
} |
Which school are the Red Devils from? | CREATE TABLE table_name_24 (school VARCHAR, team_name VARCHAR) | {
"SQL_Query": "SELECT school FROM table_name_24 WHERE team_name = \"red devils\""
} |
Which school comes from Brookville? | CREATE TABLE table_name_57 (school VARCHAR, city VARCHAR) | {
"SQL_Query": "SELECT school FROM table_name_57 WHERE city = \"brookville\""
} |
What's the lowest rank of Lane 3? | CREATE TABLE table_name_70 (rank INTEGER, lane VARCHAR) | {
"SQL_Query": "SELECT MIN(rank) FROM table_name_70 WHERE lane = 3"
} |
What's the highest lane of rank 4 with a time less than 24.72? | CREATE TABLE table_name_62 (lane INTEGER, time VARCHAR, rank VARCHAR) | {
"SQL_Query": "SELECT MAX(lane) FROM table_name_62 WHERE time < 24.72 AND rank = 4"
} |
What's the time of Britta Steffen in a lane less than 4? | CREATE TABLE table_name_50 (time INTEGER, lane VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT SUM(time) FROM table_name_50 WHERE lane < 4 AND name = \"britta steffen\""
} |
What's the lowest rank of the United States with a time less than 24.63? | CREATE TABLE table_name_74 (rank INTEGER, nationality VARCHAR, time VARCHAR) | {
"SQL_Query": "SELECT MIN(rank) FROM table_name_74 WHERE nationality = \"united states\" AND time < 24.63"
} |
What's the duration of the Archers with Norman Painting as an actor? | CREATE TABLE table_name_98 (duration VARCHAR, soap_opera VARCHAR, actor VARCHAR) | {
"SQL_Query": "SELECT duration FROM table_name_98 WHERE soap_opera = \"the archers\" AND actor = \"norman painting\""
} |
What's the duration of the Archers with Pauline Seville acting? | CREATE TABLE table_name_45 (duration VARCHAR, soap_opera VARCHAR, actor VARCHAR) | {
"SQL_Query": "SELECT duration FROM table_name_45 WHERE soap_opera = \"the archers\" AND actor = \"pauline seville\""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.