sql
stringlengths 9
2.37k
| table
stringclasses 9
values | query
stringlengths 51
503
|
---|---|---|
SELECT MAX(appearances) FROM table_29160596_1 WHERE top_mc = "Meek Mill"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many appearances by Meek Mill?It is not neccessary to use all the tables.
|
SELECT time_retired FROM table_name_78 WHERE grid > 1 AND driver = "damon hill"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Time/Retired had a grid number bigger than 1 and whose driver was Damon Hill?It is not neccessary to use all the tables.
|
SELECT "Enrollment" FROM table_8216 WHERE "University" = 'university of akron'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the university of akron's enrollment?It is not neccessary to use all the tables.
|
SELECT Withdrawal rate (2010-11) FROM table WHERE Headquarters = Truro
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is their withdrawal rate for the school district with headquarters located in Truro?.It is not neccessary to use all the tables.
|
SELECT Score FROM table WHERE Date = 30 january 2013
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the score for 30 january 2013.It is not neccessary to use all the tables.
|
SELECT COUNT(villains) FROM table_23170118_2 WHERE episode_number = "3 (13)"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many villains were in episode 3 (13)?It is not neccessary to use all the tables.
|
SELECT home FROM table_name_94 WHERE visitor = "california"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the home who had California visiting?It is not neccessary to use all the tables.
|
SELECT report FROM table_name_12 WHERE score = "3–1" AND set_1 = "19–25"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Report with a Score of 3–1 and Set 1 is 19–25?It is not neccessary to use all the tables.
|
SELECT 2009 FROM table WHERE 2006 = q1 AND Tournament = french open
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the 2009 value with a q1 in 2006 in the French Open?.It is not neccessary to use all the tables.
|
SELECT COUNT(episode) FROM table_2105721_1 WHERE run_time = "24:11"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the total episode for runtime of 24:11It is not neccessary to use all the tables.
|
SELECT COUNT("Result") FROM table_18639 WHERE "Incumbent" = 'Dave E. Satterfield, Jr.'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
In how many districts is the incumbent Dave E. Satterfield, Jr.It is not neccessary to use all the tables.
|
SELECT cyrillic_name_other_names FROM table_2562572_37 WHERE population__2011_ = 518
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the cyrillic name for 518It is not neccessary to use all the tables.
|
SELECT 1st (m) FROM table WHERE Points = 272.7
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the 1st(m) score for the Person who had a total points of 272.7.It is not neccessary to use all the tables.
|
SELECT year FROM table_name_38 WHERE tries < 24 AND points = 0
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What year has tries less than 24 and 0 points?It is not neccessary to use all the tables.
|
SELECT last_meeting FROM table_2846320_4 WHERE name_of_rivalry = "Iron Bowl"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
when was the ending time where the enemy met in the iron bowlIt is not neccessary to use all the tables.
|
SELECT Air Date FROM table WHERE Episode = "Blowback"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the air date of the episode "blowback"?.It is not neccessary to use all the tables.
|
SELECT n117_2400_iec3 FROM table_name_10 WHERE n100_iec3 = "25"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the N117/2400 IEC3 associated with an N100IEC3 of 25?It is not neccessary to use all the tables.
|
SELECT character_name FROM table_name_82 WHERE voice_actor__japanese_ = "naoko watanabe"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what character did naoko watanabe playIt is not neccessary to use all the tables.
|
SELECT player FROM table_name_20 WHERE score = 70 - 72 = 142
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who is the Player with a Score of 70-72=142? Question 3It is not neccessary to use all the tables.
|
SELECT name, open_date, organized_by FROM Church
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Show the name open date and organizer for all churches.It is not neccessary to use all the tables.
|
SELECT COUNT(interview) FROM table_name_36 WHERE state = "indiana" AND average < 8.3
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the total interview score a contestant from Indiana with an average smaller than 8.3 has?It is not neccessary to use all the tables.
|
SELECT "nationality" FROM table_204_902 ORDER BY "rank" LIMIT 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what country was the top performer from ?It is not neccessary to use all the tables.
|
SELECT MAX Wins FROM table WHERE School = Texas
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the largest amount of wins Texas has? .It is not neccessary to use all the tables.
|
SELECT Position FROM table WHERE Player = Kerry Wood
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What position does Kerry Wood play in?.It is not neccessary to use all the tables.
|
SELECT T1.name, T1.num_employees FROM department AS T1 JOIN management AS T2 ON T1.department_id = T2.department_id WHERE T2.temporary_acting = 'Yes'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Show the name and number of employees for the departments managed by heads whose temporary acting value is 'Yes'?It is not neccessary to use all the tables.
|
SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id WHERE amount > 3000
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Find the the name of the customers who have a loan with amount more than 3000.It is not neccessary to use all the tables.
|
SELECT Kerry% FROM table WHERE Others# = 66
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What Kerry's percentage where 66 people voted for another candidate?.It is not neccessary to use all the tables.
|
SELECT SUM(december) FROM table_name_63 WHERE record = "7-2-2" AND game < 11
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What day in December was the game before game 11 with a record of 7-2-2?It is not neccessary to use all the tables.
|
SELECT march_27_29 FROM table_25235489_2 WHERE november_3 = "153"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When November is 153 what is the March number?It is not neccessary to use all the tables.
|
SELECT Competition FROM table WHERE Score = 3-0 AND Result = 4-1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What competition had a score of 3-0, and a result of 4-1?.It is not neccessary to use all the tables.
|
SELECT operator_name FROM table_26745820_1 WHERE distance = "3105km"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the operator name when the distance is 3105km?It is not neccessary to use all the tables.
|
SELECT young_classification FROM table_name_89 WHERE aggressive_rider = "tim johnson"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which young classification has an aggressive rider of Tim Johnson?It is not neccessary to use all the tables.
|
SELECT High points FROM table WHERE Date = February 6
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who had the high points on February 6?.It is not neccessary to use all the tables.
|
SELECT Pinyin FROM table WHERE Translation = Explaining Music
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the pinyin for explaining music?.It is not neccessary to use all the tables.
|
SELECT "Counting Method" FROM table_66775 WHERE "Basis" = 'network-centric'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the counting method for a network-centric basis?It is not neccessary to use all the tables.
|
SELECT MAX Attendance FROM table WHERE Week = 8
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the attendance in week 8?.It is not neccessary to use all the tables.
|
SELECT COUNT(erp_w) FROM table_name_81 WHERE call_sign = "w242ak"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the total number of the ERP W with a call sign of w242ak?It is not neccessary to use all the tables.
|
SELECT lithium FROM table_name_17 WHERE caesium = "ki (1.7)"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the properties of lithium when caesium is ki (1.7)?It is not neccessary to use all the tables.
|
SELECT COUNT(high_points) FROM table_23286223_8 WHERE record = "39-22"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many players did the most high points in the game with 39-22 record?It is not neccessary to use all the tables.
|
SELECT "Team" FROM table_17289 WHERE "Location Attendance" = 'US Airways Center 18,422'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the team when location attendance is us airways center 18,422?It is not neccessary to use all the tables.
|
SELECT to_par FROM table_name_67 WHERE player = "vijay singh"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the To par has the presence of Vijay Singh?It is not neccessary to use all the tables.
|
SELECT News Freq FROM table WHERE Show Name = locker room
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the news frequency for the show Locker Room?.It is not neccessary to use all the tables.
|
SELECT AVG Rank FROM table WHERE Title = bronco billy
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the rank of Bronco Billy?.It is not neccessary to use all the tables.
|
SELECT COUNT(pick__number) FROM table_2508633_2 WHERE player = "Henry Ellard"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the total number of pick number being henry ellardIt is not neccessary to use all the tables.
|
SELECT mls_cup_playoffs FROM table_16857_2 WHERE concacaf_champions_cup___champions_league = "Did not qualify" AND us_open_cup = "Round of 16"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How did the team place when they did not qualify for the Concaf Champions Cup but made it to Round of 16 in the U.S. Open Cup?It is not neccessary to use all the tables.
|
SELECT AVG(against) FROM table_name_74 WHERE losses < 10 AND draws > 0 AND wins > 7
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the average number of against with less than 10 losses more than 0 draws and more than 7 wins?It is not neccessary to use all the tables.
|
SELECT Score FROM table WHERE Money ( $ ) = 22,500
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the score for $22,500?.It is not neccessary to use all the tables.
|
SELECT AVG Runs FROM table WHERE Innings = 40 AND Not Outs > 6
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's the average amount of Runs that has 40 innings, and Not outs larger than 6?.It is not neccessary to use all the tables.
|
SELECT Result FROM table WHERE Goal = 9
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Result where Goal is 9?.It is not neccessary to use all the tables.
|
SELECT record FROM table_23685152_2 WHERE date = "July 28"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the record in game played on July 28?It is not neccessary to use all the tables.
|
SELECT "Voice actor (Harmony Gold OVA Dub)" FROM table_5644 WHERE "Japanese voice actor" = 'yoku shioya'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who is the voice actor of the character with the Japanese voice actor Yoku Shioya?It is not neccessary to use all the tables.
|
SELECT win_percentage FROM table_name_44 WHERE team = "1989-90"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Win% of the 1989-90 Team?It is not neccessary to use all the tables.
|
SELECT Language FROM table WHERE Director = federico fellini
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the language of the film directed by Federico Fellini?.It is not neccessary to use all the tables.
|
SELECT away_team AS score FROM table_name_25 WHERE away_team = "geelong"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the away team score for geelong away teamIt is not neccessary to use all the tables.
|
SELECT "Silver" FROM table_12389 WHERE "Notes" = '6.24km, 23controls'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Silver, when Notes is '6.24km, 23controls'?It is not neccessary to use all the tables.
|
SELECT "Agg." FROM table_69488 WHERE "Team 1" = 'vsadc'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the Agg., when Team 1 was VSADC?It is not neccessary to use all the tables.
|
SELECT Year (Ceremony) FROM table WHERE Original title = Fire Dancer
|
CREATE TABLE INST, Here is a database schema( table schema);
|
For what ceremony was "Fire Dancer" not nominated? .It is not neccessary to use all the tables.
|
SELECT "Date" FROM table_16954 WHERE "Score" = '203 (-13)'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What are all the dates with a score of 203 (-13)?It is not neccessary to use all the tables.
|
SELECT Canadian Championship FROM table WHERE CONCACAF Champions League = semifinals
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What Canadian Championship had CONCACAF Champions League of semifinals?.It is not neccessary to use all the tables.
|
SELECT Points Classification Navy Blue Jersey FROM table WHERE Mountains Classification Green Jersey = yoann le boulanger AND Team Classification = gerolsteiner
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Points Classification Navy Blue Jersey that has Yoann le Boulanger, and Gerolsteiner?.It is not neccessary to use all the tables.
|
SELECT Party_name, COUNT(*) FROM member AS T1 JOIN party AS T2 ON T1.Party_ID = T2.Party_ID GROUP BY T1.Party_ID
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Show all party names and the number of members in each party with a bar chart.It is not neccessary to use all the tables.
|
SELECT COUNT(nationality) FROM table_2886617_4 WHERE player = "Marc Savard"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many countries had players named Marc Savard get picked?It is not neccessary to use all the tables.
|
SELECT Japanese name FROM table WHERE Korean name = chungcheong-bukdo
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Japanese name of the Province with a Korean name of Chungcheong-Bukdo?.It is not neccessary to use all the tables.
|
SELECT MAX(money___) AS $__ FROM table_name_93 WHERE player = "loren roberts"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Money ($) player Loren Roberts has made?It is not neccessary to use all the tables.
|
SELECT home FROM table_name_69 WHERE away = "1-5"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What home has 1-5 as the away?It is not neccessary to use all the tables.
|
SELECT 2005 FROM table WHERE 2011 = q2 AND 2012 = q1 AND 2003 = 1r
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the 2005 value with a q2 in 2011, a q1 in 2012, and 1r in 2003?.It is not neccessary to use all the tables.
|
SELECT COUNT 2010 FROM table WHERE City = cluj-napoca AND Rank > 3
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the value in 2010 for an airport ranked higher than 3 located in Cluj-Napoca?.It is not neccessary to use all the tables.
|
SELECT Name FROM table WHERE Round = 23
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the name of the player taken in round 23?.It is not neccessary to use all the tables.
|
SELECT Points against FROM table WHERE Played = 22 AND Points = 52 AND Tries against = 51
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the points against when tries against is 51 and points is 52 with played of 22.It is not neccessary to use all the tables.
|
SELECT Finish FROM table WHERE Qual = 99.550
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which finish has a 99.550 Qual?.It is not neccessary to use all the tables.
|
SELECT MAX Year born FROM table WHERE Height = 2.02
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What year was the player born who is 2.02m tall?.It is not neccessary to use all the tables.
|
SELECT MAX(weight) FROM table_name_44 WHERE number = 13
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Number of 13 that has what highest weight?It is not neccessary to use all the tables.
|
SELECT weight FROM table_name_13 WHERE length = "1168mm / 46 in"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Weight, when Length is 1168mm / 46 in?It is not neccessary to use all the tables.
|
SELECT COUNT Lost FROM table WHERE Points < 12 AND Drawn > 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Lost has Points smaller than 12, and a Drawn larger than 1?.It is not neccessary to use all the tables.
|
SELECT Director FROM table WHERE Writer = Nathan Cockerill AND Title = "Nano Nits"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who were the directors of the episode "nano nits" written by nathan cockerill?.It is not neccessary to use all the tables.
|
SELECT Branding FROM table WHERE Callsign = dxre
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the brand of DXRE?.It is not neccessary to use all the tables.
|
SELECT MAX Byes FROM table WHERE Losses < 1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Byes has a Losses smaller than 1?.It is not neccessary to use all the tables.
|
SELECT Away team score FROM table WHERE Venue = windy hill
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the away team's score at windy hill?.It is not neccessary to use all the tables.
|
SELECT away_team FROM table_name_50 WHERE venue = "lake oval"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which away team played at Lake Oval?It is not neccessary to use all the tables.
|
SELECT Player FROM table WHERE Club = omonia nicosia
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which player was in the Omonia Nicosia club?.It is not neccessary to use all the tables.
|
SELECT MAX(attendance) FROM table_name_17 WHERE date = "february 7, 2009" AND points > 49
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the highest attendance of February 7 2009 and more than 49 points?It is not neccessary to use all the tables.
|
SELECT MIN Bronze FROM table WHERE Nation = andorra AND Total > 6
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the least amount of bronze Andorra, who has more than 6 total medals, has?.It is not neccessary to use all the tables.
|
SELECT COUNT(capacity) FROM table_11206787_5 WHERE stadium = "Somerset Park"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the number of capacity at somerset park?It is not neccessary to use all the tables.
|
SELECT COUNT(played) FROM table_name_71 WHERE drawn = 1 AND points < 7
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the total number played with 1 drawn, and less than 7 points?It is not neccessary to use all the tables.
|
SELECT MAX Year FROM table WHERE Director = christopher kulikowski
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the most recent year featuring the director Christopher Kulikowski?.It is not neccessary to use all the tables.
|
SELECT game FROM table_17355408_12 WHERE date = "May 25"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What game was on May 25?It is not neccessary to use all the tables.
|
SELECT 2010 FROM table WHERE 2005 = 1r
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What shows for 2010 when 2005 shows 1r?.It is not neccessary to use all the tables.
|
SELECT "Venue" FROM table_10814 WHERE "Home team score" = '11.13 (79)'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
In which venue did the home team score 11.13 (79)?It is not neccessary to use all the tables.
|
SELECT injured FROM table_name_98 WHERE date = "09.15 sep. 15"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Injured when Date is "09.15 Sep. 15"?It is not neccessary to use all the tables.
|
SELECT finals FROM table_name_40 WHERE name = "grant brebner"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What finals have grant brebner as the name?It is not neccessary to use all the tables.
|
SELECT original_air_date FROM table_17623902_1 WHERE written_by = "Debbie Sarjeant"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the original air date of this episode that was written by Debbie Sarjeant?It is not neccessary to use all the tables.
|
SELECT albedo_feature_name FROM table_name_65 WHERE name = "neruda"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Albedo name for Neruda?It is not neccessary to use all the tables.
|
SELECT COUNT Area (km²) FROM table WHERE Corporate name = Fort St. John, City of
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many areas are there for the corporation named fort st. john, city of?.It is not neccessary to use all the tables.
|
SELECT 2nd leg FROM table WHERE Team #2 = kk borac
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the 2nd leg score in the matchup with a team 2 of KK Borac?.It is not neccessary to use all the tables.
|
SELECT finish FROM table_name_82 WHERE team = "chip ganassi racing" AND year > 2010 AND start = "17"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the finish for the chip ganassi racing team that was later than 2010 and a Start of 17?It is not neccessary to use all the tables.
|
SELECT 2011 FROM table WHERE Tournament = tokyo
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the 2011 for tokyo tournament.It is not neccessary to use all the tables.
|
SELECT MAX(renewable_electricity__gw) AS •h_ FROM table_25244412_1 WHERE state = "Delaware"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the maximum renewable energy (gw×h) for the state of Delaware?It is not neccessary to use all the tables.
|
SELECT MAX(drawn) FROM table_name_92 WHERE against = 54 AND played > 6
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the highest draws when more than 6 are played and the points against are 54?It is not neccessary to use all the tables.
|
SELECT 8:00 am FROM table WHERE 2:00 pm = passions
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the 8am show that has Passions showing at 2pm?.It is not neccessary to use all the tables.
|
SELECT Clubs remaining FROM table WHERE Round = Preliminary round
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many clubs were remaining in the preliminary round?.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.