sql stringlengths 9 2.37k | table stringclasses 9
values | query stringlengths 51 503 |
|---|---|---|
SELECT handicap FROM table_2896329_1 WHERE prize_money = "120s" | CREATE TABLE INST, Here is a database schema( table schema); | What was the handicap when the prize money was 120s?It is not neccessary to use all the tables. |
SELECT COUNT Score FROM table WHERE Place = t1 AND Player = scott simpson | CREATE TABLE INST, Here is a database schema( table schema); | Which Score has a Place of t1, and a Player of scott simpson?.It is not neccessary to use all the tables. |
SELECT Grand Rapids (GRR) FROM table WHERE Saginaw (MBS) = $470.47 | CREATE TABLE INST, Here is a database schema( table schema); | When Saginaw's fare is $470.47, what was the fare to Grand Rapids?.It is not neccessary to use all the tables. |
SELECT venue FROM table_name_55 WHERE away_team = "collingwood" | CREATE TABLE INST, Here is a database schema( table schema); | Where does Collingwood play their games?It is not neccessary to use all the tables. |
SELECT date FROM table_17322817_6 WHERE score = "L 92–103 (OT)" | CREATE TABLE INST, Here is a database schema( table schema); | Name the date for l 92 103 (ot)It is not neccessary to use all the tables. |
SELECT Date FROM table WHERE Match > 8 AND Ground = a AND Opponent = guiseley | CREATE TABLE INST, Here is a database schema( table schema); | On what date was the match higher than 8 on ground A against Guiseley?.It is not neccessary to use all the tables. |
SELECT date FROM table_name_19 WHERE away_team = "essendon" | CREATE TABLE INST, Here is a database schema( table schema); | On what date does Essendon play as the away team?It is not neccessary to use all the tables. |
SELECT College FROM table WHERE Position = offensive tackle | CREATE TABLE INST, Here is a database schema( table schema); | Which College has a Position of Offensive Tackle?.It is not neccessary to use all the tables. |
SELECT Starting Point FROM table WHERE Operates = north/south AND Name = palafox street | CREATE TABLE INST, Here is a database schema( table schema); | What is the starting point of the north/south operating Palafox Street route?.It is not neccessary to use all the tables. |
SELECT no3 FROM table_name_62 WHERE no1 = "claudio sylvie" | CREATE TABLE INST, Here is a database schema( table schema); | Who is no.3 when Claudio Sylvie is no.1?It is not neccessary to use all the tables. |
SELECT written_by FROM table_27397948_2 WHERE no_in_season = 7 | CREATE TABLE INST, Here is a database schema( table schema); | Who was the writer for season episode 7?It is not neccessary to use all the tables. |
SELECT MAX Bronze FROM table WHERE Rank < 1 | CREATE TABLE INST, Here is a database schema( table schema); | What's the highest bronze with a less than 1 Rank?.It is not neccessary to use all the tables. |
SELECT label FROM table_name_34 WHERE region = "uk" AND date = "1996" | CREATE TABLE INST, Here is a database schema( table schema); | What is the label for the UK in 1996?It is not neccessary to use all the tables. |
SELECT AVG(number_of_electorates__2009_) FROM table_name_58 WHERE district = "indore" | CREATE TABLE INST, Here is a database schema( table schema); | What is the average number of electorates (2009) when the district is indore?It is not neccessary to use all the tables. |
SELECT oklahoma FROM table_name_41 WHERE nebraska = "bush" AND year = "2004" | CREATE TABLE INST, Here is a database schema( table schema); | What is the oklahoma has Bush from Nebraska in year 2004?It is not neccessary to use all the tables. |
SELECT team FROM table_25369796_1 WHERE points = "56" | CREATE TABLE INST, Here is a database schema( table schema); | What was the team that scored 56 points?QhIt is not neccessary to use all the tables. |
SELECT Result FROM table WHERE Date = 10/06/1934 | CREATE TABLE INST, Here is a database schema( table schema); | What was the result on 10/06/1934?.It is not neccessary to use all the tables. |
SELECT Team 2 FROM table WHERE 1st leg = 2-0 | CREATE TABLE INST, Here is a database schema( table schema); | Which of the two teams has 1st leg of 2-0?.It is not neccessary to use all the tables. |
SELECT "Fat (g)" FROM table_3169 WHERE "Protein (g)" = '4' AND "Calories (1 tbsp .)" = '80' | CREATE TABLE INST, Here is a database schema( table schema); | Name the fat for protein being 4 and calories 80It is not neccessary to use all the tables. |
SELECT date FROM table_20996923_20 WHERE bowl_game = "Champs Sports Bowl" | CREATE TABLE INST, Here is a database schema( table schema); | What was the date for the Champs Sports Bowl?It is not neccessary to use all the tables. |
SELECT singer_s_ FROM table_23667534_1 WHERE song_s__title = "He's Bigfoot" | CREATE TABLE INST, Here is a database schema( table schema); | Who sand He's Bigfoot?It is not neccessary to use all the tables. |
SELECT MIN Episode FROM table WHERE Title = "Episode 2" | CREATE TABLE INST, Here is a database schema( table schema); | How many episodes have the title "episode 2"?.It is not neccessary to use all the tables. |
SELECT outcome FROM table_25505246_8 WHERE partner = "Caroline Wozniacki" | CREATE TABLE INST, Here is a database schema( table schema); | How did the match end when she played with caroline wozniacki?It is not neccessary to use all the tables. |
SELECT time FROM table_name_31 WHERE rank > 3 AND name = "andrey kapralov" | CREATE TABLE INST, Here is a database schema( table schema); | Which time has a Rank larger than 3 and a Name of andrey kapralov?It is not neccessary to use all the tables. |
SELECT Location FROM table WHERE Record = 9-1 | CREATE TABLE INST, Here is a database schema( table schema); | Where were games played when the record was 9-1?.It is not neccessary to use all the tables. |
SELECT date FROM table_name_31 WHERE opponent = "norway" AND results¹ = "1:1" | CREATE TABLE INST, Here is a database schema( table schema); | What was the date of the game against Norway with a 1:1 result?It is not neccessary to use all the tables. |
SELECT COUNT District FROM table WHERE Incumbent = Donald D. Clancy | CREATE TABLE INST, Here is a database schema( table schema); | How many districts does Donald D. Clancy represent?.It is not neccessary to use all the tables. |
SELECT venue FROM table_name_39 WHERE opposing_teams = "wales" | CREATE TABLE INST, Here is a database schema( table schema); | Where did Wales play?It is not neccessary to use all the tables. |
SELECT 2010/ 11 FROM table WHERE 2011/ 12 = former non-ranking tournaments | CREATE TABLE INST, Here is a database schema( table schema); | Which 2010/ 11 has a 2011/ 12 of former non-ranking tournaments?.It is not neccessary to use all the tables. |
SELECT date FROM table_name_96 WHERE away_team = "geelong" | CREATE TABLE INST, Here is a database schema( table schema); | What day was geelong the away side?It is not neccessary to use all the tables. |
SELECT Mascot FROM table WHERE Size < 154 AND County = 49 marion | CREATE TABLE INST, Here is a database schema( table schema); | What is the mascot for the team smaller than 154 from 49 Marion?.It is not neccessary to use all the tables. |
SELECT distance FROM table_22265261_1 WHERE position = "11th" | CREATE TABLE INST, Here is a database schema( table schema); | What was the distance for the 11th position?It is not neccessary to use all the tables. |
SELECT Venue FROM table WHERE Home team score = 9.9 (63) | CREATE TABLE INST, Here is a database schema( table schema); | On the game where the home team scored 9.9 (63), where was the venue..It is not neccessary to use all the tables. |
SELECT MIN(february) FROM table_name_54 WHERE record = "21-30-11" AND game > 62 | CREATE TABLE INST, Here is a database schema( table schema); | What is the lowest February when Record is "21-30-11" and when Game is greater than 62?It is not neccessary to use all the tables. |
SELECT launched FROM table_24496403_1 WHERE disposition = "Stokers' training ship" | CREATE TABLE INST, Here is a database schema( table schema); | When was the stokers' training ship launched?It is not neccessary to use all the tables. |
SELECT SUM(points_2) FROM table_name_35 WHERE drawn = 15 AND position > 20 AND goals_for < 45 | CREATE TABLE INST, Here is a database schema( table schema); | Which Points 2 has Drawn of 15 a Position larger than 20 and a Goals For smaller than 45?It is not neccessary to use all the tables. |
SELECT ABS("peak chart positions\nswe" - "peak chart positions\nswi") FROM table_204_574 WHERE "title" = '"molitva"' | CREATE TABLE INST, Here is a database schema( table schema); | how many positions above did moltiva place in swe vs swi ?It is not neccessary to use all the tables. |
SELECT COUNT(points) FROM table_name_89 WHERE year = 1952 | CREATE TABLE INST, Here is a database schema( table schema); | Name the total number of points for 1952It is not neccessary to use all the tables. |
SELECT original_airdate FROM table_2501754_3 WHERE prod_code = "ICEB786E" | CREATE TABLE INST, Here is a database schema( table schema); | List the 1st air date for the episode with a iceb786e production code.It is not neccessary to use all the tables. |
SELECT COUNT(attendance) FROM table_12125069_2 WHERE date = "May 20" | CREATE TABLE INST, Here is a database schema( table schema); | How many games were on May 20?It is not neccessary to use all the tables. |
SELECT MIN(unlock_order) FROM table_24463470_1 WHERE circuit = "Athens" | CREATE TABLE INST, Here is a database schema( table schema); | What is the lowest unlock order for the athens circuit?It is not neccessary to use all the tables. |
SELECT Location/Attendance FROM table WHERE Opponent = seattle supersonics | CREATE TABLE INST, Here is a database schema( table schema); | What was the location when the opponent was Seattle Supersonics?.It is not neccessary to use all the tables. |
SELECT Winnings FROM table WHERE Wins = 2 | CREATE TABLE INST, Here is a database schema( table schema); | What's the amount of winnings (in $) in the year with 2 wins?.It is not neccessary to use all the tables. |
SELECT Year Built FROM table WHERE Length = 91' | CREATE TABLE INST, Here is a database schema( table schema); | Where the length is 91', what is the year built?.It is not neccessary to use all the tables. |
SELECT money_requested__£_ FROM table_name_10 WHERE company_or_product_name = "basstoneslap" | CREATE TABLE INST, Here is a database schema( table schema); | How much Money is requested by BassToneSlap?It is not neccessary to use all the tables. |
SELECT Recorded FROM table WHERE Track > 20 AND Release Date = 6/6/77 AND Time = 2:50 | CREATE TABLE INST, Here is a database schema( table schema); | Tell me the recorded for time of 2:50 and released date of 6/6/77 with track more than 20.It is not neccessary to use all the tables. |
SELECT MIN Games FROM table WHERE Name = jeremiah massey AND Points < 340 | CREATE TABLE INST, Here is a database schema( table schema); | What is the lowest Games, when Name is Jeremiah Massey, and when Points is less than 340?.It is not neccessary to use all the tables. |
SELECT MIN(area__km_2__) FROM table_17416221_1 WHERE largest_city = "Bloemfontein" | CREATE TABLE INST, Here is a database schema( table schema); | what is minimum area where the largest city is bloemfontein?It is not neccessary to use all the tables. |
SELECT seat_no_4 FROM table_2231241_1 WHERE election = "January 25, 1967" | CREATE TABLE INST, Here is a database schema( table schema); | Who was the winner of seat no 4 for the election on January 25 1967It is not neccessary to use all the tables. |
SELECT COUNT(draw) FROM table_name_47 WHERE played > 18 | CREATE TABLE INST, Here is a database schema( table schema); | Name the total number of draw for played more than 18It is not neccessary to use all the tables. |
SELECT Country FROM table WHERE Place = t3 AND Score = 70-65=135 | CREATE TABLE INST, Here is a database schema( table schema); | What country placed t3 with a score of 70-65=135?.It is not neccessary to use all the tables. |
SELECT Loss FROM table WHERE Record = 45-59 | CREATE TABLE INST, Here is a database schema( table schema); | Name the loss with record of 45-59.It is not neccessary to use all the tables. |
SELECT producer FROM table_name_74 WHERE role = "rizzette" | CREATE TABLE INST, Here is a database schema( table schema); | Which Producer has a Role of rizzette?It is not neccessary to use all the tables. |
SELECT surface FROM table_name_54 WHERE place = "lappeenranta" | CREATE TABLE INST, Here is a database schema( table schema); | Which Surface has a Place of lappeenranta?It is not neccessary to use all the tables. |
SELECT Away FROM table WHERE Record = 7-4 AND Win % = 0.637 AND Season = 2010 | CREATE TABLE INST, Here is a database schema( table schema); | What is the away score with a record of 7-4, win% of 0.637, and 2010 season?.It is not neccessary to use all the tables. |
SELECT Report FROM table WHERE Circuit = Silverstone | CREATE TABLE INST, Here is a database schema( table schema); | What's the report for the Silverstone circuit?.It is not neccessary to use all the tables. |
SELECT name FROM table_name_62 WHERE snatch > 140 AND bodyweight < 84.55 AND clean_ & _jerk = "192.5" | CREATE TABLE INST, Here is a database schema( table schema); | What's the name of the athlete with a Snatch larger than 140 Bodyweight smaller than 84.55 and Clean and Jerk of 192.5?It is not neccessary to use all the tables. |
SELECT Song FROM table WHERE Year < 1979 AND US Hot 100 = 8 | CREATE TABLE INST, Here is a database schema( table schema); | Which Song has a Year smaller than 1979, and a US Hot 100 of 8?.It is not neccessary to use all the tables. |
SELECT date_of_successors_formal_installation FROM table_2417330_3 WHERE successor = "Orville H. Browning (R)" | CREATE TABLE INST, Here is a database schema( table schema); | When did Orville H. Browning (r) succeed?It is not neccessary to use all the tables. |
SELECT MAX Pick # FROM table WHERE Name = lawrence sidbury AND Round < 4 | CREATE TABLE INST, Here is a database schema( table schema); | Which Pick # is the highest one that has a Name of lawrence sidbury, and a Round smaller than 4?.It is not neccessary to use all the tables. |
SELECT COUNT Grid FROM table WHERE Rider = mike di meglio | CREATE TABLE INST, Here is a database schema( table schema); | The rider mike di meglio had a total of how many grids?.It is not neccessary to use all the tables. |
SELECT start FROM table_name_8 WHERE stage = 11 | CREATE TABLE INST, Here is a database schema( table schema); | What is the start of stage 11?It is not neccessary to use all the tables. |
SELECT Label FROM table WHERE Year = 1990 | CREATE TABLE INST, Here is a database schema( table schema); | Which label's year was 1990?.It is not neccessary to use all the tables. |
SELECT q.Id AS "post_link", q.CreationDate, q.AnswerCount, q.Score FROM Posts AS q INNER JOIN PostTags AS pt ON q.Id = pt.PostId INNER JOIN Tags AS t ON t.Id = pt.TagId WHERE t.TagName = '##tagName:string##' ORDER BY AnswerCount DESC LIMIT 100 | CREATE TABLE INST, Here is a database schema( table schema); | Questions filtered by tag, sorted by # of answers.It is not neccessary to use all the tables. |
SELECT Result FROM table WHERE Record = 5-1 | CREATE TABLE INST, Here is a database schema( table schema); | What was the result of the game when the record was 5-1?.It is not neccessary to use all the tables. |
SELECT COUNT December FROM table WHERE Record = 9-19-6 | CREATE TABLE INST, Here is a database schema( table schema); | How many games were played against a team with a 9-19-6 record against the Islanders?.It is not neccessary to use all the tables. |
SELECT home_team FROM table_name_38 WHERE result = "86-87 (2-4)" | CREATE TABLE INST, Here is a database schema( table schema); | Result of 86-87 (2-4) involves what home team?It is not neccessary to use all the tables. |
SELECT tie_no FROM table_name_79 WHERE away_team = "ashford town (middx)" | CREATE TABLE INST, Here is a database schema( table schema); | What was the tie number of the away game for Ashford Town (Middx)?It is not neccessary to use all the tables. |
SELECT MAX(_number_runner_up) FROM table_1463332_2 WHERE years__won_in_bold_ = "1984, 2010" | CREATE TABLE INST, Here is a database schema( table schema); | What is the number of runner-up results for the years (won in bold) 1984 2010?It is not neccessary to use all the tables. |
SELECT COUNT(points) FROM table_name_57 WHERE draw > 1 | CREATE TABLE INST, Here is a database schema( table schema); | What is the number of points when the draws are more than 1?It is not neccessary to use all the tables. |
SELECT Format FROM table WHERE Artist = triumfall | CREATE TABLE INST, Here is a database schema( table schema); | What was the format of the release by Triumfall?.It is not neccessary to use all the tables. |
SELECT College FROM table WHERE CFL Team = Toronto Argonauts | CREATE TABLE INST, Here is a database schema( table schema); | What college did the Toronto Argonauts draft pick come from?.It is not neccessary to use all the tables. |
SELECT COUNT Game FROM table WHERE November = 10 | CREATE TABLE INST, Here is a database schema( table schema); | How many games have a November of 10?.It is not neccessary to use all the tables. |
SELECT Place FROM table WHERE Score > 66 AND Player = ben hogan | CREATE TABLE INST, Here is a database schema( table schema); | Ben Hogan with a score larger than 66 had a place listed of what?.It is not neccessary to use all the tables. |
SELECT average_attendance FROM stadium WHERE capacity_percentage > 100 | CREATE TABLE INST, Here is a database schema( table schema); | What is the average attendance of stadiums with capacity percentage higher than 100%?It is not neccessary to use all the tables. |
SELECT COUNT High assists FROM table WHERE Date = December 13 | CREATE TABLE INST, Here is a database schema( table schema); | How many high assist are on the date December 13?.It is not neccessary to use all the tables. |
SELECT MIN Laps FROM table WHERE Team = panoz motor sports AND Year < 2002 | CREATE TABLE INST, Here is a database schema( table schema); | What are panoz motor sports' lowest number of laps before 2002?.It is not neccessary to use all the tables. |
SELECT T1.fault_description, T2.fault_status FROM Fault_Log AS T1 JOIN Fault_Log_Parts AS T2 ON T1.fault_log_entry_id = T2.fault_log_entry_id | CREATE TABLE INST, Here is a database schema( table schema); | What are all the fault descriptions and the fault status of all the faults recoreded in the logs?It is not neccessary to use all the tables. |
SELECT AVG(area__km_2__) FROM table_name_80 WHERE code = 98030 AND population > 312 | CREATE TABLE INST, Here is a database schema( table schema); | What is the average area for code 98030 with population over 312?It is not neccessary to use all the tables. |
SELECT MIN Total FROM table WHERE Nation = slovenia AND Gold < 0 | CREATE TABLE INST, Here is a database schema( table schema); | What is the lowest total from slovenia with a Gold smaller than 0?.It is not neccessary to use all the tables. |
SELECT COUNT Original air date FROM table WHERE Prod. code = 212 | CREATE TABLE INST, Here is a database schema( table schema); | How many original air dates were there for the episode with production code 212?.It is not neccessary to use all the tables. |
SELECT MIN(avg) FROM table_name_16 WHERE yards = 6 AND rec > 1 | CREATE TABLE INST, Here is a database schema( table schema); | Tell me the lowest avg for 6 yards and rec more than 1It is not neccessary to use all the tables. |
SELECT Total FROM table WHERE Song = Radio Luxembourg | CREATE TABLE INST, Here is a database schema( table schema); | What was the total for radio luxembourg?.It is not neccessary to use all the tables. |
SELECT chassis FROM table_name_94 WHERE drivers = "rich vogler" | CREATE TABLE INST, Here is a database schema( table schema); | What Chassis did Rich Vogler use?It is not neccessary to use all the tables. |
SELECT Construction completed FROM table WHERE Listed = 09/08/1983 AND Name = cecil lindsey | CREATE TABLE INST, Here is a database schema( table schema); | What is the Construction that has a Listed 09/08/1983, and a Name of cecil lindsey?.It is not neccessary to use all the tables. |
SELECT B Mountain Channel FROM table WHERE Station Call Letters = k41go | CREATE TABLE INST, Here is a database schema( table schema); | What B Mountain Channel has station call letters of k41go?.It is not neccessary to use all the tables. |
SELECT SUM Silver FROM table WHERE Gold > 21 AND Bronze = 76 AND Total < 291 | CREATE TABLE INST, Here is a database schema( table schema); | What team had less than 291 total points whole having 76 bronze and over 21 gold?.It is not neccessary to use all the tables. |
SELECT cust_name, credit_score FROM customer AS T1 JOIN loan AS T2 ON T1.cust_ID = T2.cust_ID | CREATE TABLE INST, Here is a database schema( table schema); | Find the name and credit score of the customers who have some loans.It is not neccessary to use all the tables. |
SELECT Player FROM table WHERE To par = –2 | CREATE TABLE INST, Here is a database schema( table schema); | What Player has a To par of –2?.It is not neccessary to use all the tables. |
SELECT system FROM table_2296507_1 WHERE constellation = "Aries" | CREATE TABLE INST, Here is a database schema( table schema); | Name the system for ariesIt is not neccessary to use all the tables. |
SELECT Height FROM table WHERE Year = junior AND Name = meghan austin | CREATE TABLE INST, Here is a database schema( table schema); | What is the Height of Junior Meghan Austin?.It is not neccessary to use all the tables. |
SELECT account_id, COUNT(*) FROM Financial_transactions GROUP BY account_id | CREATE TABLE INST, Here is a database schema( table schema); | Show the account id and the number of transactions for each accountIt is not neccessary to use all the tables. |
SELECT MAX Crowd FROM table WHERE Away team score = 18.13 (121) | CREATE TABLE INST, Here is a database schema( table schema); | When the away team scored 18.13 (121), what was the largest crowd size?.It is not neccessary to use all the tables. |
SELECT SUM(november) FROM table_name_89 WHERE game < 16 AND points > 22 | CREATE TABLE INST, Here is a database schema( table schema); | Which November has a Game smaller than 16 and Points larger than 22?It is not neccessary to use all the tables. |
SELECT Format FROM table WHERE Catalog = sbp 234999 | CREATE TABLE INST, Here is a database schema( table schema); | What is the Format of the Label with Catalog SBP 234999?.It is not neccessary to use all the tables. |
SELECT "Position" FROM table_2495 WHERE "Points" = '16' | CREATE TABLE INST, Here is a database schema( table schema); | If there is 16 points, what was the position?It is not neccessary to use all the tables. |
SELECT MIN(age) FROM table_26263322_1 WHERE result = "Fired in week 8" | CREATE TABLE INST, Here is a database schema( table schema); | What is the age when the result is fired in week 8It is not neccessary to use all the tables. |
SELECT round_of_16 FROM table_18602462_22 WHERE athlete = "Jiske Griffioen Esther Vergeer" | CREATE TABLE INST, Here is a database schema( table schema); | What is the round of 16 result for Jiske Griffioen Esther Vergeer?It is not neccessary to use all the tables. |
SELECT Report FROM table WHERE Date = 6 may | CREATE TABLE INST, Here is a database schema( table schema); | Name the report for 6 may.It is not neccessary to use all the tables. |
SELECT set_3 FROM table_name_7 WHERE score = "3–1" AND set_2 = "13–15" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Set 3 with a Score of 3 1, and has a Set 2 of 13 15?It is not neccessary to use all the tables. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.