question stringlengths 12 244 | context stringlengths 27 489 | answer dict |
|---|---|---|
How many total murders happened after 2011? | CREATE TABLE table_name_44 (murder INTEGER, year INTEGER) | {
"SQL_Query": "SELECT SUM(murder) FROM table_name_44 WHERE year > 2011"
} |
Which average Robbery has the following criteria: Non-Violent crime less than 1147, rape less then 11, aggrevated assault greater than 167 and a crime index with a total of 1313? | CREATE TABLE table_name_40 (robbery INTEGER, crime_index_total VARCHAR, aggravated_assault VARCHAR, non_violent_crime VARCHAR, rape VARCHAR) | {
"SQL_Query": "SELECT AVG(robbery) FROM table_name_40 WHERE non_violent_crime < 1147 AND rape < 11 AND aggravated_assault > 167 AND crime_index_total = 1313"
} |
Which aggravated assault has the highest amount and the following criteria: crime rate per 1000 greater than 89.1,rape value of 23, and a crime index greater than 1590? | CREATE TABLE table_name_90 (aggravated_assault INTEGER, crime_index_total VARCHAR, crime_rate_per_1000 VARCHAR, rape VARCHAR) | {
"SQL_Query": "SELECT MAX(aggravated_assault) FROM table_name_90 WHERE crime_rate_per_1000 > 89.1 AND rape = 23 AND crime_index_total > 1590"
} |
When did sony music direct a label? | CREATE TABLE table_name_60 (date VARCHAR, label VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_60 WHERE label = \"sony music direct\""
} |
What record had an alca-271 cd? | CREATE TABLE table_name_88 (region VARCHAR, format VARCHAR, catalog VARCHAR) | {
"SQL_Query": "SELECT region FROM table_name_88 WHERE format = \"cd\" AND catalog = \"alca-271\""
} |
What formated cataloged alca-9196? | CREATE TABLE table_name_10 (format VARCHAR, catalog VARCHAR) | {
"SQL_Query": "SELECT format FROM table_name_10 WHERE catalog = \"alca-9196\""
} |
Which Podium has 1 Race and a Final Place of 5th? | CREATE TABLE table_name_11 (podiums VARCHAR, races VARCHAR, final_placing VARCHAR) | {
"SQL_Query": "SELECT podiums FROM table_name_11 WHERE races = \"1\" AND final_placing = \"5th\""
} |
Which Season has a Final Place of 8th and 8 Podiums? | CREATE TABLE table_name_79 (season VARCHAR, final_placing VARCHAR, podiums VARCHAR) | {
"SQL_Query": "SELECT season FROM table_name_79 WHERE final_placing = \"8th\" AND podiums = \"8\""
} |
Which Season has 0 Podiums, 1 Race, and 0 Points? | CREATE TABLE table_name_77 (season VARCHAR, points VARCHAR, podiums VARCHAR, races VARCHAR) | {
"SQL_Query": "SELECT season FROM table_name_77 WHERE podiums = \"0\" AND races = \"1\" AND points = \"0\""
} |
Which Season has 95 Points? | CREATE TABLE table_name_48 (season VARCHAR, points VARCHAR) | {
"SQL_Query": "SELECT season FROM table_name_48 WHERE points = \"95\""
} |
Which Race has the Toyota Racing Series New Zealand and 0 wins? | CREATE TABLE table_name_99 (races VARCHAR, series VARCHAR, wins VARCHAR) | {
"SQL_Query": "SELECT races FROM table_name_99 WHERE series = \"toyota racing series new zealand\" AND wins = \"0\""
} |
Which Season has a 19th Final Place? | CREATE TABLE table_name_77 (season VARCHAR, final_placing VARCHAR) | {
"SQL_Query": "SELECT season FROM table_name_77 WHERE final_placing = \"19th\""
} |
What is the largest frequency owned by multicultural broadcasting with a Format of vietnamese? | CREATE TABLE table_name_40 (frequency INTEGER, status VARCHAR, format VARCHAR) | {
"SQL_Query": "SELECT MAX(frequency) FROM table_name_40 WHERE status = \"owned by multicultural broadcasting\" AND format = \"vietnamese\""
} |
Which format has a Station of klok? | CREATE TABLE table_name_28 (format VARCHAR, station VARCHAR) | {
"SQL_Query": "SELECT format FROM table_name_28 WHERE station = \"klok\""
} |
Which format has a Frequency larger than 1050, and a Station of kvto? | CREATE TABLE table_name_70 (format VARCHAR, frequency VARCHAR, station VARCHAR) | {
"SQL_Query": "SELECT format FROM table_name_70 WHERE frequency > 1050 AND station = \"kvto\""
} |
What is the total frequency have a Status of owned by cumulus media, and a Format of news? | CREATE TABLE table_name_66 (frequency INTEGER, status VARCHAR, format VARCHAR) | {
"SQL_Query": "SELECT SUM(frequency) FROM table_name_66 WHERE status = \"owned by cumulus media\" AND format = \"news\""
} |
Which format has a Station of kcbs? | CREATE TABLE table_name_80 (format VARCHAR, station VARCHAR) | {
"SQL_Query": "SELECT format FROM table_name_80 WHERE station = \"kcbs\""
} |
Who has the lowest FA cup and has a total over 46? | CREATE TABLE table_name_69 (fa_cup INTEGER, total INTEGER) | {
"SQL_Query": "SELECT MIN(fa_cup) FROM table_name_69 WHERE total > 46"
} |
What is the sum of the League Cup smaller than 0? | CREATE TABLE table_name_39 (total INTEGER, league_cup INTEGER) | {
"SQL_Query": "SELECT SUM(total) FROM table_name_39 WHERE league_cup < 0"
} |
What is the average of all Heats of competitors with a Time of 59.11 and a lane higher than 3? | CREATE TABLE table_name_43 (heat INTEGER, time VARCHAR, lane VARCHAR) | {
"SQL_Query": "SELECT AVG(heat) FROM table_name_43 WHERE time = \"59.11\" AND lane > 3"
} |
What is the highest Lane used by a racer from Malta? | CREATE TABLE table_name_67 (lane INTEGER, nationality VARCHAR) | {
"SQL_Query": "SELECT MAX(lane) FROM table_name_67 WHERE nationality = \"malta\""
} |
What is the Name of the racer with a heat higher than 2 and a lane less than 5, with a time of 1:01.53? | CREATE TABLE table_name_96 (name VARCHAR, time VARCHAR, heat VARCHAR, lane VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_96 WHERE heat > 2 AND lane < 5 AND time = \"1:01.53\""
} |
How many wins did he have when he made over 2 cuts and had under 2 top 10s? | CREATE TABLE table_name_37 (wins INTEGER, cuts_made VARCHAR, top_10 VARCHAR) | {
"SQL_Query": "SELECT AVG(wins) FROM table_name_37 WHERE cuts_made > 2 AND top_10 < 2"
} |
Who was the opponent of the game that 31,293 people attended that had a final score of 9 - 6. | CREATE TABLE table_name_4 (opponent VARCHAR, score VARCHAR, attendance VARCHAR) | {
"SQL_Query": "SELECT opponent FROM table_name_4 WHERE score = \"9 - 6\" AND attendance > 31 OFFSET 293"
} |
How many people attended the game against athletics with the record of 9-12? | CREATE TABLE table_name_40 (attendance VARCHAR, opponent VARCHAR, record VARCHAR) | {
"SQL_Query": "SELECT COUNT(attendance) FROM table_name_40 WHERE opponent = \"athletics\" AND record = \"9-12\""
} |
How many people went to the game with the record of 8-10? | CREATE TABLE table_name_44 (attendance INTEGER, record VARCHAR) | {
"SQL_Query": "SELECT SUM(attendance) FROM table_name_44 WHERE record = \"8-10\""
} |
which entrant after 1987 had 12 points and a benetton b188 chassis? | CREATE TABLE table_name_22 (entrant VARCHAR, points VARCHAR, year VARCHAR, chassis VARCHAR) | {
"SQL_Query": "SELECT entrant FROM table_name_22 WHERE year > 1987 AND chassis = \"benetton b188\" AND points = 12"
} |
what's the earliest year that there was a cosworth v8 engine and 12 points? | CREATE TABLE table_name_39 (year INTEGER, engine VARCHAR, points VARCHAR) | {
"SQL_Query": "SELECT MIN(year) FROM table_name_39 WHERE engine = \"cosworth v8\" AND points = 12"
} |
which chassis were in use prior to 1988? | CREATE TABLE table_name_31 (chassis VARCHAR, year INTEGER) | {
"SQL_Query": "SELECT chassis FROM table_name_31 WHERE year < 1988"
} |
Who was from Great Britain in lane 5? | CREATE TABLE table_name_28 (name VARCHAR, nationality VARCHAR, lane VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_28 WHERE nationality = \"great britain\" AND lane = 5"
} |
How many people were in attendance at week 16? | CREATE TABLE table_name_19 (attendance INTEGER, week VARCHAR) | {
"SQL_Query": "SELECT AVG(attendance) FROM table_name_19 WHERE week = 16"
} |
What entrant had a chassis of Maserati 250f in 1954? | CREATE TABLE table_name_94 (entrant VARCHAR, chassis VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT entrant FROM table_name_94 WHERE chassis = \"maserati 250f\" AND year = 1954"
} |
What is the highest number of points before 1954? | CREATE TABLE table_name_5 (points INTEGER, year INTEGER) | {
"SQL_Query": "SELECT MAX(points) FROM table_name_5 WHERE year < 1954"
} |
What is the lowest decile that Ohau School has? | CREATE TABLE table_name_10 (decile INTEGER, name VARCHAR) | {
"SQL_Query": "SELECT MIN(decile) FROM table_name_10 WHERE name = \"ohau school\""
} |
What gender is allowed to attend the school that has a decile of 6 and a roll that is less than 179? | CREATE TABLE table_name_69 (gender VARCHAR, decile VARCHAR, roll VARCHAR) | {
"SQL_Query": "SELECT gender FROM table_name_69 WHERE decile = 6 AND roll < 179"
} |
What gender is allowed at the school which has a roll of 338? | CREATE TABLE table_name_9 (gender VARCHAR, roll VARCHAR) | {
"SQL_Query": "SELECT gender FROM table_name_9 WHERE roll = 338"
} |
What authority controls the school in Levin that has a decile of 6, and a roll of 226? | CREATE TABLE table_name_54 (authority VARCHAR, roll VARCHAR, decile VARCHAR, area VARCHAR) | {
"SQL_Query": "SELECT authority FROM table_name_54 WHERE decile = 6 AND area = \"levin\" AND roll = 226"
} |
What Function (figure) has Serial number AF 934103? | CREATE TABLE table_name_95 (function__figure_ VARCHAR, serial_number VARCHAR) | {
"SQL_Query": "SELECT function__figure_ FROM table_name_95 WHERE serial_number = \"af 934103\""
} |
What is Moondancer's Primary Military Speciality? | CREATE TABLE table_name_39 (primary_military_speciality VARCHAR, code_name VARCHAR) | {
"SQL_Query": "SELECT primary_military_speciality FROM table_name_39 WHERE code_name = \"moondancer\""
} |
With a Primary military speciality of astral assault tactics, what is the Secondary military speciality? | CREATE TABLE table_name_58 (secondary_military_speciality VARCHAR, primary_military_speciality VARCHAR) | {
"SQL_Query": "SELECT secondary_military_speciality FROM table_name_58 WHERE primary_military_speciality = \"astral assault tactics\""
} |
What is the Serial number for the Space Security Trooper Function (figure)? | CREATE TABLE table_name_11 (serial_number VARCHAR, function__figure_ VARCHAR) | {
"SQL_Query": "SELECT serial_number FROM table_name_11 WHERE function__figure_ = \"space security trooper\""
} |
What is the Code Name for the Space Pilot Function (figure)? | CREATE TABLE table_name_88 (code_name VARCHAR, function__figure_ VARCHAR) | {
"SQL_Query": "SELECT code_name FROM table_name_88 WHERE function__figure_ = \"space pilot\""
} |
What Birthplace's Real Name is Charles 'Chuck' Connors? | CREATE TABLE table_name_86 (birthplace VARCHAR, real_name VARCHAR) | {
"SQL_Query": "SELECT birthplace FROM table_name_86 WHERE real_name = \"charles 'chuck' connors\""
} |
Who is the home team of the game on December 21? | CREATE TABLE table_name_53 (home VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT home FROM table_name_53 WHERE date = \"december 21\""
} |
Who is the visitor of the game on March 7? | CREATE TABLE table_name_48 (visitor VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT visitor FROM table_name_48 WHERE date = \"march 7\""
} |
Which is the highest year that has 3 points? | CREATE TABLE table_name_28 (year INTEGER, points VARCHAR) | {
"SQL_Query": "SELECT MAX(year) FROM table_name_28 WHERE points = 3"
} |
Which engine has more than 0 points and a year before 1984? | CREATE TABLE table_name_53 (engine_s_ VARCHAR, points VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT engine_s_ FROM table_name_53 WHERE points > 0 AND year < 1984"
} |
Name the game site for october 18, 1992 | CREATE TABLE table_name_1 (game_site VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT game_site FROM table_name_1 WHERE date = \"october 18, 1992\""
} |
Name the game site for october 4, 1992 | CREATE TABLE table_name_40 (game_site VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT game_site FROM table_name_40 WHERE date = \"october 4, 1992\""
} |
Name the date when bye was opponent | CREATE TABLE table_name_15 (date VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_15 WHERE opponent = \"bye\""
} |
Name the attendance for july 16 | CREATE TABLE table_name_24 (attendance VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT attendance FROM table_name_24 WHERE date = \"july 16\""
} |
Name the loss for 48-37 | CREATE TABLE table_name_54 (loss VARCHAR, record VARCHAR) | {
"SQL_Query": "SELECT loss FROM table_name_54 WHERE record = \"48-37\""
} |
Name the record for 9-4 score | CREATE TABLE table_name_61 (record VARCHAR, score VARCHAR) | {
"SQL_Query": "SELECT record FROM table_name_61 WHERE score = \"9-4\""
} |
Name the least attendance for 52-37 record | CREATE TABLE table_name_53 (attendance INTEGER, record VARCHAR) | {
"SQL_Query": "SELECT MIN(attendance) FROM table_name_53 WHERE record = \"52-37\""
} |
What Away team has the Golden point(s) scorer Trent Hodkinson and the Home of Manly-Warringah Sea Eagles? | CREATE TABLE table_name_71 (away VARCHAR, golden_point_s__scorer VARCHAR, home VARCHAR) | {
"SQL_Query": "SELECT away FROM table_name_71 WHERE golden_point_s__scorer = \"trent hodkinson\" AND home = \"manly-warringah sea eagles\""
} |
What is the Score of Golden Point(s) scorer Adam Reynolds? | CREATE TABLE table_name_29 (score VARCHAR, golden_point_s__scorer VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_29 WHERE golden_point_s__scorer = \"adam reynolds\""
} |
What Golden point(s) has the Venue Allianz Stadium? | CREATE TABLE table_name_31 (golden_point_s__scorer VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT golden_point_s__scorer FROM table_name_31 WHERE venue = \"allianz stadium\""
} |
What Golden point(s) scorer has the Away Sydney Roosters and Home Cronulla Sharks? | CREATE TABLE table_name_53 (golden_point_s__scorer VARCHAR, away VARCHAR, home VARCHAR) | {
"SQL_Query": "SELECT golden_point_s__scorer FROM table_name_53 WHERE away = \"sydney roosters\" AND home = \"cronulla sharks\""
} |
What Golden point(s) scorer has the Away Brisbane Broncos and Home South Sydney Rabbitohs? | CREATE TABLE table_name_14 (golden_point_s__scorer VARCHAR, away VARCHAR, home VARCHAR) | {
"SQL_Query": "SELECT golden_point_s__scorer FROM table_name_14 WHERE away = \"brisbane broncos\" AND home = \"south sydney rabbitohs\""
} |
What are the revenues for ōoka tadayoshi (2nd) (大岡忠愛)? | CREATE TABLE table_name_15 (revenues VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT revenues FROM table_name_15 WHERE name = \"ōoka tadayoshi (2nd) (大岡忠愛)\""
} |
What's the lineage of ōoka tadatomo (大岡忠與)? | CREATE TABLE table_name_15 (lineage VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT lineage FROM table_name_15 WHERE name = \"ōoka tadatomo (大岡忠與)\""
} |
What's the tenure of 3rd son of tadatsune? | CREATE TABLE table_name_14 (tenure VARCHAR, lineage VARCHAR) | {
"SQL_Query": "SELECT tenure FROM table_name_14 WHERE lineage = \"3rd son of tadatsune\""
} |
What's the court ranking of 5th son of tadayori and has revenues of 10,000 koku? | CREATE TABLE table_name_32 (court_rank VARCHAR, revenues VARCHAR, lineage VARCHAR) | {
"SQL_Query": "SELECT court_rank FROM table_name_32 WHERE revenues = \"10,000 koku\" AND lineage = \"5th son of tadayori\""
} |
What's the courtesy title of 4th son of hatamoto ōoka tadataka? | CREATE TABLE table_name_36 (courtesy_title VARCHAR, lineage VARCHAR) | {
"SQL_Query": "SELECT courtesy_title FROM table_name_36 WHERE lineage = \"4th son of hatamoto ōoka tadataka\""
} |
What was the rank of the event won by Pieter de Korver? | CREATE TABLE table_name_87 (rank VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT rank FROM table_name_87 WHERE name = \"pieter de korver\""
} |
Which event had a prize of $2,434,061? | CREATE TABLE table_name_61 (name VARCHAR, prize VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_61 WHERE prize = \"$2,434,061\""
} |
What was the prize won by Sebastian Ruthenberg? | CREATE TABLE table_name_88 (prize VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT prize FROM table_name_88 WHERE name = \"sebastian ruthenberg\""
} |
Who won the event with a top prize of $2,434,061? | CREATE TABLE table_name_28 (name VARCHAR, prize VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_28 WHERE prize = \"$2,434,061\""
} |
The rider mike di meglio had a total of how many grids? | CREATE TABLE table_name_71 (grid VARCHAR, rider VARCHAR) | {
"SQL_Query": "SELECT COUNT(grid) FROM table_name_71 WHERE rider = \"mike di meglio\""
} |
What is the N117/2400 IEC3 associated with an N100IEC3 of 25? | CREATE TABLE table_name_10 (n117_2400_iec3 VARCHAR, n100_iec3 VARCHAR) | {
"SQL_Query": "SELECT n117_2400_iec3 FROM table_name_10 WHERE n100_iec3 = \"25\""
} |
What is the Name of the Special Stage with a 2.40km length and S. Loeb as Winner? | CREATE TABLE table_name_45 (name VARCHAR, length VARCHAR, winner VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_45 WHERE length = \"2.40km\" AND winner = \"s. loeb\""
} |
In the 21.40km Santa Rosa 1 Stage, what was the Time? | CREATE TABLE table_name_38 (time VARCHAR, length VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT time FROM table_name_38 WHERE length = \"21.40km\" AND name = \"santa rosa 1\""
} |
What was the Winner of the SS5 Stage? | CREATE TABLE table_name_54 (winner VARCHAR, stage VARCHAR) | {
"SQL_Query": "SELECT winner FROM table_name_54 WHERE stage = \"ss5\""
} |
What was the Time in the Mina Clavero 2 Stage? | CREATE TABLE table_name_74 (time VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT time FROM table_name_74 WHERE name = \"mina clavero 2\""
} |
What was Stage SS2's Winner? | CREATE TABLE table_name_86 (winner VARCHAR, stage VARCHAR) | {
"SQL_Query": "SELECT winner FROM table_name_86 WHERE stage = \"ss2\""
} |
What is the lowest amount of bronze medals won by Music City Mystique where they won more than 3 gold medals and less than 15 total medals? | CREATE TABLE table_name_27 (bronze_medals INTEGER, total_medals VARCHAR, gold_medals VARCHAR, ensemble VARCHAR) | {
"SQL_Query": "SELECT MIN(bronze_medals) FROM table_name_27 WHERE gold_medals > 3 AND ensemble = \"music city mystique\" AND total_medals < 15"
} |
When the Mandarins won more than 1 bronze medals, how many gold medals did they win? | CREATE TABLE table_name_3 (gold_medals VARCHAR, ensemble VARCHAR, bronze_medals VARCHAR) | {
"SQL_Query": "SELECT COUNT(gold_medals) FROM table_name_3 WHERE ensemble = \"mandarins\" AND bronze_medals > 1"
} |
What is the largest roll with Years 1–8, a Name of dorie school, and a Decile larger than 9? | CREATE TABLE table_name_49 (roll INTEGER, decile VARCHAR, years VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT MAX(roll) FROM table_name_49 WHERE years = \"1–8\" AND name = \"dorie school\" AND decile > 9"
} |
How many deciles have Years of 1–8, and a Roll of 49? | CREATE TABLE table_name_95 (decile VARCHAR, years VARCHAR, roll VARCHAR) | {
"SQL_Query": "SELECT COUNT(decile) FROM table_name_95 WHERE years = \"1–8\" AND roll = 49"
} |
Which name has Years of 1–8, a Decile of 9, and a Roll smaller than 141? | CREATE TABLE table_name_20 (name VARCHAR, roll VARCHAR, years VARCHAR, decile VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_20 WHERE years = \"1–8\" AND decile = 9 AND roll < 141"
} |
What is the largest Decile with Years of 1–8, anAuthority of state, and a Roll of 141? | CREATE TABLE table_name_46 (decile INTEGER, roll VARCHAR, years VARCHAR, authority VARCHAR) | {
"SQL_Query": "SELECT MAX(decile) FROM table_name_46 WHERE years = \"1–8\" AND authority = \"state\" AND roll = 141"
} |
How many deciles have an Authority of state and a Name of chertsey school? | CREATE TABLE table_name_21 (decile VARCHAR, authority VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT COUNT(decile) FROM table_name_21 WHERE authority = \"state\" AND name = \"chertsey school\""
} |
Bldr of mcw&f, and a Year smaller than 1927, and a LT Nos of 9820-9821 has what type? | CREATE TABLE table_name_19 (type VARCHAR, lt_nos VARCHAR, bldr VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT type FROM table_name_19 WHERE bldr = \"mcw&f\" AND year < 1927 AND lt_nos = \"9820-9821\""
} |
What were the total number of sales for the song 21 Seconds? | CREATE TABLE table_name_21 (sales VARCHAR, song_title VARCHAR) | {
"SQL_Query": "SELECT COUNT(sales) FROM table_name_21 WHERE song_title = \"21 seconds\""
} |
Which Reigns has 92 days held? | CREATE TABLE table_name_53 (reigns VARCHAR, days_held VARCHAR) | {
"SQL_Query": "SELECT reigns FROM table_name_53 WHERE days_held = 92"
} |
What successful defenses has 126 days held and a Reigns of 3? | CREATE TABLE table_name_89 (successful_defenses VARCHAR, days_held VARCHAR, reigns VARCHAR) | {
"SQL_Query": "SELECT successful_defenses FROM table_name_89 WHERE days_held = 126 AND reigns = \"3\""
} |
Which event has Philadelphia, PA as the location and 41 days held? | CREATE TABLE table_name_39 (event VARCHAR, location VARCHAR, days_held VARCHAR) | {
"SQL_Query": "SELECT event FROM table_name_39 WHERE location = \"philadelphia, pa\" AND days_held = 41"
} |
Who was number 3 that had a number 2 of Delfina and a Final of Pedro? | CREATE TABLE table_name_98 (no3 VARCHAR, no2 VARCHAR, final VARCHAR) | {
"SQL_Query": "SELECT no3 FROM table_name_98 WHERE no2 = \"delfina\" AND final = \"pedro\""
} |
Who was number 9 that had a number 7 of Joana and a Final of Pedro? | CREATE TABLE table_name_96 (no9 VARCHAR, no7 VARCHAR, final VARCHAR) | {
"SQL_Query": "SELECT no9 FROM table_name_96 WHERE no7 = \"joana\" AND final = \"pedro\""
} |
Which days were presented by Andreas Mikroutsikos and were launched on March 10, 2003? | CREATE TABLE table_name_48 (days VARCHAR, the_presenter VARCHAR, launch_date VARCHAR) | {
"SQL_Query": "SELECT days FROM table_name_48 WHERE the_presenter = \"andreas mikroutsikos\" AND launch_date = \"march 10, 2003\""
} |
Who won when the presenter was Tatiana Stefanidou? | CREATE TABLE table_name_92 (the_winner VARCHAR, the_presenter VARCHAR) | {
"SQL_Query": "SELECT the_winner FROM table_name_92 WHERE the_presenter = \"tatiana stefanidou\""
} |
What was the prize when the show was aired on Ant1, was presented by Andreas Mikroutsikos, and was launched on March 10, 2003? | CREATE TABLE table_name_19 (the_prize VARCHAR, launch_date VARCHAR, tv_channel VARCHAR, the_presenter VARCHAR) | {
"SQL_Query": "SELECT the_prize FROM table_name_19 WHERE tv_channel = \"ant1\" AND the_presenter = \"andreas mikroutsikos\" AND launch_date = \"march 10, 2003\""
} |
Name the sum of gold when Bronze is less than 0 | CREATE TABLE table_name_19 (gold INTEGER, bronze INTEGER) | {
"SQL_Query": "SELECT SUM(gold) FROM table_name_19 WHERE bronze < 0"
} |
Name the nation when bronze is less than 4 and the total is more than 4 | CREATE TABLE table_name_46 (nation VARCHAR, total VARCHAR, bronze VARCHAR) | {
"SQL_Query": "SELECT nation FROM table_name_46 WHERE total > 4 AND bronze < 4"
} |
What positions are in the Chicago bulls? | CREATE TABLE table_name_27 (position VARCHAR, team VARCHAR) | {
"SQL_Query": "SELECT position FROM table_name_27 WHERE team = \"chicago bulls\""
} |
What season did a United States center play in? | CREATE TABLE table_name_46 (season VARCHAR, nationality VARCHAR, position VARCHAR) | {
"SQL_Query": "SELECT season FROM table_name_46 WHERE nationality = \"united states\" AND position = \"center\""
} |
Which film was released in 1983? | CREATE TABLE table_name_30 (film VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT film FROM table_name_30 WHERE year = 1983"
} |
What was the US Peak position of the film that peaked at #21 in the UK? | CREATE TABLE table_name_83 (us_peak_position VARCHAR, uk_peak_position VARCHAR) | {
"SQL_Query": "SELECT us_peak_position FROM table_name_83 WHERE uk_peak_position = \"21\""
} |
Who was the score composer of the film released in 1967? | CREATE TABLE table_name_5 (score_composer VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT score_composer FROM table_name_5 WHERE year = 1967"
} |
How many years had a film that peaked at #10 in the UK? | CREATE TABLE table_name_1 (year VARCHAR, uk_peak_position VARCHAR) | {
"SQL_Query": "SELECT COUNT(year) FROM table_name_1 WHERE uk_peak_position = \"10\""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.