output stringlengths 18 557 | instruction stringlengths 22 540 |
|---|---|
SELECT city FROM table_name_15 WHERE sep = "83 °f / 28.3 °c" | CREATE TABLE table_name_15 (city VARCHAR, sep VARCHAR), Name the city with september of 83 °f / 28.3 °c |
SELECT jun FROM table_name_28 WHERE jul = "84 °f / 28.9 °c" | CREATE TABLE table_name_28 (jun VARCHAR, jul VARCHAR), Name the june when it has july of 84 °f / 28.9 °c |
SELECT time FROM table_name_84 WHERE date = "may 9" | CREATE TABLE table_name_84 (time VARCHAR, date VARCHAR), What Time has Date of May 9? |
SELECT MIN(roll) FROM table_name_37 WHERE name = "katikati college" | CREATE TABLE table_name_37 (roll INTEGER, name VARCHAR), What is the lowest roll number of Katikati college? |
SELECT MAX(roll) FROM table_name_85 WHERE decile > 2 AND area = "te puna" | CREATE TABLE table_name_85 (roll INTEGER, decile VARCHAR, area VARCHAR), What is the highest roll number of the school in Te puna with a decile larger than 2? |
SELECT roll FROM table_name_62 WHERE decile = 4 AND name = "te puke intermediate" | CREATE TABLE table_name_62 (roll VARCHAR, decile VARCHAR, name VARCHAR), What is the roll number of Te Puke Intermediate, which has a decile of 4? |
SELECT MAX(roll) FROM table_name_79 WHERE authority = "state" AND decile < 8 | CREATE TABLE table_name_79 (roll INTEGER, authority VARCHAR, decile VARCHAR), What is the highest roll number of the school with a state authority and a decile smaller than 8? |
SELECT SUM(lost) FROM table_name_10 WHERE points > 21 AND draw = 2 | CREATE TABLE table_name_10 (lost INTEGER, points VARCHAR, draw VARCHAR), What is the total value for Lost, when the value for Points is greater than 21, and when the value for Draw is 2? |
SELECT MAX(goals_scored) FROM table_name_33 WHERE team = "san salvador f.c." AND points < 10 | CREATE TABLE table_name_33 (goals_scored INTEGER, team VARCHAR, points VARCHAR), What is the total number of Goals Scored, when the Team is San Salvador F.C., and when the Points are less than 10? |
SELECT SUM(goals_conceded) FROM table_name_86 WHERE points < 26 AND played < 18 | CREATE TABLE table_name_86 (goals_conceded INTEGER, points VARCHAR, played VARCHAR), What are the total amount of Goals Conceded when the Points are less than 26, and when the value for Played is less than 18? |
SELECT AVG(lost) FROM table_name_95 WHERE goals_scored > 20 AND played < 18 | CREATE TABLE table_name_95 (lost INTEGER, goals_scored VARCHAR, played VARCHAR), What is the average value for Lost, when the value for Goals Scored is greater than 20, and when the value for Played is less than 18? |
SELECT score FROM table_name_20 WHERE place = "t8" AND player = "byron nelson" | CREATE TABLE table_name_20 (score VARCHAR, place VARCHAR, player VARCHAR), What is score of the game played in place t8 with Byron Nelson playing? |
SELECT SUM(money___) AS $__ FROM table_name_55 WHERE country = "united states" AND player = "sam snead" | CREATE TABLE table_name_55 (money___ INTEGER, country VARCHAR, player VARCHAR), What is the sum of Money of the game that was played in the United States with Sam Snead as a player? |
SELECT MAX(money___) AS $__ FROM table_name_57 WHERE score = 69 - 74 - 70 - 73 = 286 | CREATE TABLE table_name_57 (money___ INTEGER, score VARCHAR), What is the Money ($) of the game with a score of 69-74-70-73=286? |
SELECT mountains_classification FROM table_name_82 WHERE young_rider_classification = "francesco casagrande" AND intergiro_classification = "not awarded" AND stage = "2" | CREATE TABLE table_name_82 (mountains_classification VARCHAR, stage VARCHAR, young_rider_classification VARCHAR, intergiro_classification VARCHAR), Name the mountains classification which has a young rider classification of francesco casagrande and integiro classification of not awarded with stage of 2 |
SELECT winner FROM table_name_89 WHERE points_classification = "adriano baffi" AND intergiro_classification = "ján svorada" AND stage = "13" | CREATE TABLE table_name_89 (winner VARCHAR, stage VARCHAR, points_classification VARCHAR, intergiro_classification VARCHAR), Name the winner for adriano baffi and integiro classification of ján svorada for stage of 13 |
SELECT trofeo_fast_team FROM table_name_55 WHERE young_rider_classification = "francesco casagrande" AND stage = "10" | CREATE TABLE table_name_55 (trofeo_fast_team VARCHAR, young_rider_classification VARCHAR, stage VARCHAR), Name trofeo fast team with young rider classification of francesco casagrande and stage of 10 |
SELECT SUM(total) FROM table_name_69 WHERE routine_score = 26.6 | CREATE TABLE table_name_69 (total INTEGER, routine_score VARCHAR), What is the sum of the total for a routine score of 26.6? |
SELECT january FROM table_name_53 WHERE april = "courtney rachel culkin" | CREATE TABLE table_name_53 (january VARCHAR, april VARCHAR), Name the january when april is courtney rachel culkin |
SELECT october FROM table_name_17 WHERE november = "buffy tyler" | CREATE TABLE table_name_17 (october VARCHAR, november VARCHAR), Name the october when november is buffy tyler |
SELECT october FROM table_name_47 WHERE september = "dalene kurtis" | CREATE TABLE table_name_47 (october VARCHAR, september VARCHAR), Name the october when the september is dalene kurtis |
SELECT april FROM table_name_41 WHERE june = "candice cassidy" | CREATE TABLE table_name_41 (april VARCHAR, june VARCHAR), Name the april for candice cassidy |
SELECT october FROM table_name_71 WHERE july = "kimberley stanfield" | CREATE TABLE table_name_71 (october VARCHAR, july VARCHAR), Name the october for july of kimberley stanfield |
SELECT representative FROM table_name_25 WHERE state = "kentucky" AND years = "1855–1859" | CREATE TABLE table_name_25 (representative VARCHAR, state VARCHAR, years VARCHAR), Which Representative was from Kentucky during the years of 1855–1859? |
SELECT lifespan FROM table_name_31 WHERE party = "republican" AND years = "1953–1970" | CREATE TABLE table_name_31 (lifespan VARCHAR, party VARCHAR, years VARCHAR), What was the lifespan of the Representative from the Republican Party during the years of 1953–1970? |
SELECT years FROM table_name_20 WHERE state = "iowa" AND lifespan = "1880–1942" | CREATE TABLE table_name_20 (years VARCHAR, state VARCHAR, lifespan VARCHAR), What years did the Representative from Iowa with a lifespan of 1880–1942 serve? |
SELECT representative FROM table_name_71 WHERE lifespan = "1795–1866" | CREATE TABLE table_name_71 (representative VARCHAR, lifespan VARCHAR), Which Representative had a Lifespan of 1795–1866? |
SELECT MIN(week) FROM table_name_47 WHERE attendance = "bye" | CREATE TABLE table_name_47 (week INTEGER, attendance VARCHAR), When did the Chiefs have their first bye? |
SELECT position FROM table_name_76 WHERE round = 2 | CREATE TABLE table_name_76 (position VARCHAR, round VARCHAR), What is the position played for the player drafted in round 2? |
SELECT name FROM table_name_54 WHERE position = "3b" | CREATE TABLE table_name_54 (name VARCHAR, position VARCHAR), what is the name of the player that played position 3b? |
SELECT school FROM table_name_90 WHERE name = "ivey armstrong" | CREATE TABLE table_name_90 (school VARCHAR, name VARCHAR), what is the school for Ivey armstrong? |
SELECT position FROM table_name_37 WHERE school = "university of alabama" | CREATE TABLE table_name_37 (position VARCHAR, school VARCHAR), what is the position for the player from university of alabama? |
SELECT SUM(days_with_frost) FROM table_name_22 WHERE city_town = "lugo" | CREATE TABLE table_name_22 (days_with_frost INTEGER, city_town VARCHAR), How many days with frost were there in the City/Town of Lugo have? |
SELECT MIN(sunlight_hours) FROM table_name_98 WHERE city_town = "ourense" AND days_with_frost > 30 | CREATE TABLE table_name_98 (sunlight_hours INTEGER, city_town VARCHAR, days_with_frost VARCHAR), What is the lowest number of sunlight hours, and number of days with frost, more than 30, for the city of Ourense? |
SELECT MAX(sunlight_hours) FROM table_name_23 WHERE city_town = "pontevedra" | CREATE TABLE table_name_23 (sunlight_hours INTEGER, city_town VARCHAR), What is the largest amount of sunlight hours for the City of Pontevedra? |
SELECT AVG(lane) FROM table_name_8 WHERE nationality = "united states" AND rank = 3 | CREATE TABLE table_name_8 (lane INTEGER, nationality VARCHAR, rank VARCHAR), for the rank of 3 for the united states, what is the average lane? |
SELECT AVG(lane) FROM table_name_30 WHERE nationality = "netherlands" AND rank > 1 | CREATE TABLE table_name_30 (lane INTEGER, nationality VARCHAR, rank VARCHAR), for the rank more than 1 and nationality of netherlands, what is the lane? |
SELECT nationality FROM table_name_27 WHERE lane < 3 AND time = 49.04 | CREATE TABLE table_name_27 (nationality VARCHAR, lane VARCHAR, time VARCHAR), for the time of 49.04 and lane less than 3, what is the nationality? |
SELECT name FROM table_name_99 WHERE lane < 3 AND rank = 8 | CREATE TABLE table_name_99 (name VARCHAR, lane VARCHAR, rank VARCHAR), for the rank of 8 and lane less than 3 what is the name? |
SELECT played FROM table_name_1 WHERE lost = "2" | CREATE TABLE table_name_1 (played VARCHAR, lost VARCHAR), What play has a loss of 2? |
SELECT try_bonus FROM table_name_27 WHERE club = "caerphilly rfc" | CREATE TABLE table_name_27 (try_bonus VARCHAR, club VARCHAR), What try bonus has a club of caerphilly rfc? |
SELECT club FROM table_name_38 WHERE played = "22" AND losing_bonus = "7" | CREATE TABLE table_name_38 (club VARCHAR, played VARCHAR, losing_bonus VARCHAR), What club has a play of 22, and losing bonus of 7? |
SELECT points_against FROM table_name_93 WHERE tries_against = "77" AND lost = "16" | CREATE TABLE table_name_93 (points_against VARCHAR, tries_against VARCHAR, lost VARCHAR), What point against has tries against of 77, and a lost of 16? |
SELECT sport FROM table_name_64 WHERE league = "nll" | CREATE TABLE table_name_64 (sport VARCHAR, league VARCHAR), The nll participate in what sport? |
SELECT began_play FROM table_name_50 WHERE club = "western new york flash" | CREATE TABLE table_name_50 (began_play VARCHAR, club VARCHAR), When did the Club of western new york flash begin to play? |
SELECT club FROM table_name_61 WHERE sport = "soccer" AND league = "nwsl" | CREATE TABLE table_name_61 (club VARCHAR, sport VARCHAR, league VARCHAR), Which club plays soccer in the nwsl? |
SELECT began_play FROM table_name_48 WHERE club = "rochester rhinos" | CREATE TABLE table_name_48 (began_play VARCHAR, club VARCHAR), When did the Rochester Rhinos begin to play? |
SELECT SUM(total) FROM table_name_51 WHERE tour = 7 AND giro < 3 | CREATE TABLE table_name_51 (total INTEGER, tour VARCHAR, giro VARCHAR), The sun of total that has a tour of 7 and a Giro smaller than 3 is 12. |
SELECT gender FROM table_name_68 WHERE name = "lynmore primary school" | CREATE TABLE table_name_68 (gender VARCHAR, name VARCHAR), What genders did Lynmore Primary School take? |
SELECT area FROM table_name_45 WHERE gender = "coed" AND decile = "9" AND name = "kaharoa school" | CREATE TABLE table_name_45 (area VARCHAR, name VARCHAR, gender VARCHAR, decile VARCHAR), Which area served coed genders at Kaharoa school and had a Decile of 9? |
SELECT gender FROM table_name_15 WHERE authority = "integrated" AND roll = 142 | CREATE TABLE table_name_15 (gender VARCHAR, authority VARCHAR, roll VARCHAR), What was the gender for the integrated authority with a roll of 142? |
SELECT authority FROM table_name_46 WHERE area = "eastbourne" AND gender = "coed" | CREATE TABLE table_name_46 (authority VARCHAR, area VARCHAR, gender VARCHAR), Who is the authority for the coed Eastbourne school? |
SELECT COUNT(laps) FROM table_name_99 WHERE rank = "3" | CREATE TABLE table_name_99 (laps VARCHAR, rank VARCHAR), What is the sum of all laps with rank 3? |
SELECT SUM(laps) FROM table_name_32 WHERE start = "10" AND finish = "20" | CREATE TABLE table_name_32 (laps INTEGER, start VARCHAR, finish VARCHAR), What is the sum of all laps starting at 10 and finishing at 20? |
SELECT rank FROM table_name_90 WHERE start = "10" AND laps < 192 | CREATE TABLE table_name_90 (rank VARCHAR, start VARCHAR, laps VARCHAR), What's the rank when the start is 10 and the laps are fewer than 192? |
SELECT rank FROM table_name_99 WHERE laps < 137 AND qual = "116.470" | CREATE TABLE table_name_99 (rank VARCHAR, laps VARCHAR, qual VARCHAR), What's the rank when the laps are fewer than 137 and the qual is 116.470? |
SELECT director_s_ FROM table_name_61 WHERE writer_s_ = "al mackay" | CREATE TABLE table_name_61 (director_s_ VARCHAR, writer_s_ VARCHAR), What director worked with Al Mackay as writer? |
SELECT producer_s_ FROM table_name_94 WHERE writer_s_ = "robert sproul-cran" | CREATE TABLE table_name_94 (producer_s_ VARCHAR, writer_s_ VARCHAR), Which producer worked with Robert Sproul-cran as writer? |
SELECT film FROM table_name_8 WHERE writer_s_ = "al mackay" | CREATE TABLE table_name_8 (film VARCHAR, writer_s_ VARCHAR), Which film did Al Mackay write? |
SELECT director_s_ FROM table_name_22 WHERE film = "the chapel" | CREATE TABLE table_name_22 (director_s_ VARCHAR, film VARCHAR), Who directed the film 'The Chapel'? |
SELECT award FROM table_name_40 WHERE producer_s_ = "andrew ryder" | CREATE TABLE table_name_40 (award VARCHAR, producer_s_ VARCHAR), What award did Andrew Ryder win as producer? |
SELECT SUM(rank) FROM table_name_72 WHERE nationality = "canada" AND lane > 3 | CREATE TABLE table_name_72 (rank INTEGER, nationality VARCHAR, lane VARCHAR), What is the total national rank of Canada with lanes larger than 3? |
SELECT COUNT(wins) FROM table_name_32 WHERE points = "39+1" AND draws < 7 | CREATE TABLE table_name_32 (wins VARCHAR, points VARCHAR, draws VARCHAR), For the team with 39+1 points and fewer than 7 draws, how many wins were scored? |
SELECT MAX(draws) FROM table_name_94 WHERE goal_difference > 3 AND losses < 8 | CREATE TABLE table_name_94 (draws INTEGER, goal_difference VARCHAR, losses VARCHAR), For a goal difference greater than 3 and fewer than 8 losses, what is the most draws scored? |
SELECT club FROM table_name_47 WHERE goals_against < 29 AND goal_difference < 26 | CREATE TABLE table_name_47 (club VARCHAR, goals_against VARCHAR, goal_difference VARCHAR), Which club had fewer than 29 goals against and a difference smaller than 26? |
SELECT score FROM table_name_70 WHERE attendance = "23,493" | CREATE TABLE table_name_70 (score VARCHAR, attendance VARCHAR), What was the score when the Rangers' attendance was 23,493? |
SELECT opponent FROM table_name_60 WHERE date = "april 14, 2007" | CREATE TABLE table_name_60 (opponent VARCHAR, date VARCHAR), Who was the opponent on the game on April 14, 2007? |
SELECT attendance FROM table_name_15 WHERE date = "april 8, 2007" | CREATE TABLE table_name_15 (attendance VARCHAR, date VARCHAR), How many people were in attendance on the game on April 8, 2007? |
SELECT date FROM table_name_18 WHERE attendance = "16,404" | CREATE TABLE table_name_18 (date VARCHAR, attendance VARCHAR), What was the date of the game with 16,404 people? |
SELECT category FROM table_name_61 WHERE winner_nominee_s_ = "dev patel" | CREATE TABLE table_name_61 (category VARCHAR, winner_nominee_s_ VARCHAR), Which category was Dev Patel nominated for? |
SELECT film FROM table_name_19 WHERE winner_nominee_s_ = "eddie murphy" AND result = "nominated" | CREATE TABLE table_name_19 (film VARCHAR, winner_nominee_s_ VARCHAR, result VARCHAR), Which film was Eddie Murphy nominated for? |
SELECT finish FROM table_name_71 WHERE start = "22" | CREATE TABLE table_name_71 (finish VARCHAR, start VARCHAR), When the start is 22, what is the finish? |
SELECT year FROM table_name_39 WHERE laps = 54 | CREATE TABLE table_name_39 (year VARCHAR, laps VARCHAR), What year resulted in 54 laps? |
SELECT date FROM table_name_89 WHERE score = "2–4" | CREATE TABLE table_name_89 (date VARCHAR, score VARCHAR), On what date was the score 2–4? |
SELECT home FROM table_name_93 WHERE score = "4–3" | CREATE TABLE table_name_93 (home VARCHAR, score VARCHAR), Who was the home team when the score was 4–3? |
SELECT date FROM table_name_53 WHERE record = "2–1" | CREATE TABLE table_name_53 (date VARCHAR, record VARCHAR), On what date was the record 2–1? |
SELECT winning_driver FROM table_name_96 WHERE winning_team = "opel team holzer 1" AND round < 9 AND fastest_lap = "bernd schneider" | CREATE TABLE table_name_96 (winning_driver VARCHAR, fastest_lap VARCHAR, winning_team VARCHAR, round VARCHAR), Who was the winning driver with the winning team Opel Team Holzer 1, and a round under 9 with the fastest lap being Bernd Schneider? |
SELECT COUNT(round) FROM table_name_18 WHERE winning_manufacturer = "mercedes-benz" AND circuit = "hockenheimring" | CREATE TABLE table_name_18 (round VARCHAR, winning_manufacturer VARCHAR, circuit VARCHAR), What was the final number for the winning manufacturer with Mercedes-benz, and a circuit of hockenheimring? |
SELECT date FROM table_name_34 WHERE circuit = "hockenheimring" AND winning_manufacturer = "mercedes-benz" | CREATE TABLE table_name_34 (date VARCHAR, circuit VARCHAR, winning_manufacturer VARCHAR), What was the date of Circuit Hockenheimring and the winning manufacturer being Mercedes-Benz? |
SELECT winning_driver FROM table_name_15 WHERE circuit = "lausitzring" | CREATE TABLE table_name_15 (winning_driver VARCHAR, circuit VARCHAR), Who was the winning driver of the Circuit of Lausitzring? |
SELECT city_of_license FROM table_name_47 WHERE brand = "txdot har" | CREATE TABLE table_name_47 (city_of_license VARCHAR, brand VARCHAR), What is the city of txdot har? |
SELECT website FROM table_name_22 WHERE brand = "radio mexicana" | CREATE TABLE table_name_22 (website VARCHAR, brand VARCHAR), What was radio mexicana's website? |
SELECT player FROM table_name_11 WHERE rank > 9 | CREATE TABLE table_name_11 (player VARCHAR, rank INTEGER), Which player ranks higher than 9? |
SELECT gross_revenue__2011_ FROM table_name_78 WHERE gross_revenue__1982_ = "$156,315" | CREATE TABLE table_name_78 (gross_revenue__2011_ VARCHAR, gross_revenue__1982_ VARCHAR), What was the 2011 gross revenue for the venue that had a gross revenue of $156,315 in 1982? |
SELECT gross_revenue__2011_ FROM table_name_6 WHERE gross_revenue__1982_ = "$156,315" | CREATE TABLE table_name_6 (gross_revenue__2011_ VARCHAR, gross_revenue__1982_ VARCHAR), What was the 2011 gross revenue for the venue that had a gross revenue of $156,315 in 1982? |
SELECT tickets_sold___available FROM table_name_51 WHERE gross_revenue__2011_ = "$333,100" | CREATE TABLE table_name_51 (tickets_sold___available VARCHAR, gross_revenue__2011_ VARCHAR), How many tickets were sold / available for the venue that had a gross revenue of $333,100 in 2011? |
SELECT venue FROM table_name_54 WHERE city = "brussels, belgium" | CREATE TABLE table_name_54 (venue VARCHAR, city VARCHAR), What is the venue in the city of Brussels, Belgium? |
SELECT venue FROM table_name_84 WHERE gross_revenue__2011_ = "$1,325,153" | CREATE TABLE table_name_84 (venue VARCHAR, gross_revenue__2011_ VARCHAR), What venue had gross revenues of $1,325,153 in 2011? |
SELECT SUM(total_region) FROM table_name_90 WHERE mt_morgan > 5 OFFSET 060 | CREATE TABLE table_name_90 (total_region INTEGER, mt_morgan INTEGER), What is the sum of people in the total region when more than 5,060 were in Mt. Morgan? |
SELECT SUM(swimsuit) FROM table_name_48 WHERE preliminaries < 8.27 | CREATE TABLE table_name_48 (swimsuit INTEGER, preliminaries INTEGER), What is the total swimsuit with Preliminaries smaller than 8.27? |
SELECT AVG(interview) FROM table_name_65 WHERE preliminaries > 8.27 AND evening_gown = 8.85 AND average < 8.842 | CREATE TABLE table_name_65 (interview INTEGER, average VARCHAR, preliminaries VARCHAR, evening_gown VARCHAR), What's the average interview with Preliminaries larger than 8.27, an Evening Gown of 8.85, and an Average smaller than 8.842? |
SELECT COUNT(swimsuit) FROM table_name_32 WHERE evening_gown > 9 AND interview > 8.405 | CREATE TABLE table_name_32 (swimsuit VARCHAR, evening_gown VARCHAR, interview VARCHAR), How many swimsuits have an Evening Gown larger than 9, and an Interview larger than 8.405? |
SELECT 2000 AS _population FROM table_name_71 WHERE state_s_ = "ok" AND percent_change__1990_2000_ = "a078 +17.22%" | CREATE TABLE table_name_71 (state_s_ VARCHAR, percent_change__1990_2000_ VARCHAR), What is the 2000 population in OK with a 1990-2000 percent change of A078 +17.22%? |
SELECT SUM(matches) FROM table_name_74 WHERE goalkeeper = "wilfredo caballero" AND average < 1.11 | CREATE TABLE table_name_74 (matches INTEGER, goalkeeper VARCHAR, average VARCHAR), How many matches did goalkeeper Wilfredo Caballero have an average less than 1.11? |
SELECT COUNT(average) FROM table_name_85 WHERE goals < 41 AND goalkeeper = "claudio bravo" | CREATE TABLE table_name_85 (average VARCHAR, goals VARCHAR, goalkeeper VARCHAR), What is the average goals less than 41 that goalkeeper Claudio Bravo had? |
SELECT MAX(average) FROM table_name_3 WHERE goals < 45 AND team = "real sociedad" | CREATE TABLE table_name_3 (average INTEGER, goals VARCHAR, team VARCHAR), What is the highest average of goals less than 45 for team Real Sociedad? |
SELECT ceased_to_be_countess FROM table_name_19 WHERE birth = "3 may 1446" | CREATE TABLE table_name_19 (ceased_to_be_countess VARCHAR, birth VARCHAR), When did the person born on 3 May 1446 cease to be countess? |
SELECT father FROM table_name_97 WHERE birth = "1363" | CREATE TABLE table_name_97 (father VARCHAR, birth VARCHAR), Who was the father of the person born in 1363? |
SELECT marriage FROM table_name_90 WHERE death = "17 december 1471" | CREATE TABLE table_name_90 (marriage VARCHAR, death VARCHAR), When was the marriage of the person who died on 17 December 1471? |
SELECT surface FROM table_name_38 WHERE against = "poland" | CREATE TABLE table_name_38 (surface VARCHAR, against VARCHAR), On what surface did Poland play as the against team? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.