sql stringlengths 9 2.37k | table stringclasses 9
values | query stringlengths 51 503 |
|---|---|---|
SELECT MIN(first_elected) FROM table_1342013_37 WHERE incumbent = "Alvin Bush" | CREATE TABLE INST, Here is a database schema( table schema); | Name the minumim first elected for alvin bushIt is not neccessary to use all the tables. |
SELECT COUNT(points) FROM table_14342480_7 WHERE position = "Right tackle" | CREATE TABLE INST, Here is a database schema( table schema); | How many points were scored by someone who's position was right tackle?It is not neccessary to use all the tables. |
SELECT Sign of Zodiac FROM table WHERE In Malayalam = മീനം | CREATE TABLE INST, Here is a database schema( table schema); | WHAT IS THE SIGN OF ZODIAC OF മീനം?.It is not neccessary to use all the tables. |
SELECT driver FROM table_name_57 WHERE chassis = "dallara f306" AND rounds = "8" | CREATE TABLE INST, Here is a database schema( table schema); | Which driver was in 8 rounds with a chassis of dallara f306?It is not neccessary to use all the tables. |
SELECT score FROM table_name_12 WHERE away_team = "torquay united" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Score when the Away Team is Torquay United?It is not neccessary to use all the tables. |
SELECT Character FROM table WHERE Result = won AND Year > 2003 | CREATE TABLE INST, Here is a database schema( table schema); | Which characters after 2003 won?.It is not neccessary to use all the tables. |
SELECT Installation Date FROM table WHERE Chapter = Delta | CREATE TABLE INST, Here is a database schema( table schema); | What is the installation date for the Delta Chapter?.It is not neccessary to use all the tables. |
SELECT date FROM table_27902171_5 WHERE game = 23 | CREATE TABLE INST, Here is a database schema( table schema); | What is every date with game 23?It is not neccessary to use all the tables. |
SELECT home_or_representative_town_or_province FROM table_19061741_1 WHERE name = "Cindy Miranda" | CREATE TABLE INST, Here is a database schema( table schema); | When cindy miranda is the name what is the home or representative town or province?It is not neccessary to use all the tables. |
SELECT Minimum Height FROM table WHERE Name of the tunnel = little switzerland tunnel | CREATE TABLE INST, Here is a database schema( table schema); | What is the minimum Height of the Little Switzerland Tunnel?.It is not neccessary to use all the tables. |
SELECT Tier FROM table WHERE Runner-up = chanda rubin caroline vis | CREATE TABLE INST, Here is a database schema( table schema); | What is the Tier when the runner-up is chanda rubin caroline vis?.It is not neccessary to use all the tables. |
SELECT pct__percentage FROM table_1143966_1 WHERE won = 25 | CREATE TABLE INST, Here is a database schema( table schema); | Name the percentage where the amount won was 25It is not neccessary to use all the tables. |
SELECT nationality FROM table_name_5 WHERE goals > 8 AND apps = 52 | CREATE TABLE INST, Here is a database schema( table schema); | What is the Nationality of the Player with more than 8 Goals and Apps of 52?It is not neccessary to use all the tables. |
SELECT COUNT Directed by FROM table WHERE Season # = 2 | CREATE TABLE INST, Here is a database schema( table schema); | How many directors were in Season 2?.It is not neccessary to use all the tables. |
SELECT Time/Retired FROM table WHERE Grid = 9 | CREATE TABLE INST, Here is a database schema( table schema); | What is the time/retired for grid 9?.It is not neccessary to use all the tables. |
SELECT 1st leg FROM table WHERE Team 2 = portol drac palma mallorca | CREATE TABLE INST, Here is a database schema( table schema); | What is the 1st leg for team 2 Portol Drac Palma Mallorca?.It is not neccessary to use all the tables. |
SELECT at/vs. FROM table WHERE Opponent' = new york saints AND Attendance > 16,042 | CREATE TABLE INST, Here is a database schema( table schema); | What is the at/vs against the New York Saints with over 16,042 in attendance?.It is not neccessary to use all the tables. |
SELECT SUM(game) FROM table_name_71 WHERE team = "toronto" | CREATE TABLE INST, Here is a database schema( table schema); | What was the total score where Toronto was played?It is not neccessary to use all the tables. |
SELECT country FROM table_name_75 WHERE player = "jack nicklaus" | CREATE TABLE INST, Here is a database schema( table schema); | What country is jack nicklaus from?It is not neccessary to use all the tables. |
SELECT MAX(round) FROM table_name_59 WHERE player = "dan federman" AND pick > 114 | CREATE TABLE INST, Here is a database schema( table schema); | Player of dan federman and a Pick larger than 114 involves which highest round?It is not neccessary to use all the tables. |
SELECT Driver FROM table WHERE Engine = 7.1 l6 AND Chassis = mercedes-benz ssk l | CREATE TABLE INST, Here is a database schema( table schema); | Who was the Driver, when the Engine was 7.1 l6, and when the Chassis was Mercedes-Benz SSK l?.It is not neccessary to use all the tables. |
SELECT Team FROM table WHERE Race Name = tour de santa catarina | CREATE TABLE INST, Here is a database schema( table schema); | What team won the Tour de Santa Catarina?.It is not neccessary to use all the tables. |
SELECT "Runner-up" FROM table_16166 WHERE "Premier" = 'Richmond' | CREATE TABLE INST, Here is a database schema( table schema); | who are all the runner-up for premier in richmondIt is not neccessary to use all the tables. |
SELECT MAX Win % FROM table WHERE Drawn = 13 | CREATE TABLE INST, Here is a database schema( table schema); | Name the most win % for 13 drawn.It is not neccessary to use all the tables. |
SELECT MAX(demographic.age) FROM demographic WHERE demographic.discharge_location = "HOME" AND demographic.diagnosis = "ST-SEGMENT ELEVATION MYOCARDIAL INFARCTION\CARDIAC CATH" | CREATE TABLE INST, Here is a database schema( table schema); | what is maximum age of patients whose discharge location is home and primary disease is st-segment elevation myocardial infarction\cardiac cath?It is not neccessary to use all the tables. |
SELECT Directed_by, COUNT(Directed_by) FROM film GROUP BY Directed_by | CREATE TABLE INST, Here is a database schema( table schema); | What is the number of films of each director? Return a pie chart.It is not neccessary to use all the tables. |
SELECT Colors FROM table WHERE School = Hudson | CREATE TABLE INST, Here is a database schema( table schema); | What are the colors of the Hudson school?.It is not neccessary to use all the tables. |
SELECT SUM Seats 2001 FROM table WHERE % 2001 > 61.4 AND % 2006 < 54.1 | CREATE TABLE INST, Here is a database schema( table schema); | When the %2001 is more than 61.4, and the %2006 fewer than 54.1, how many Seats in 2001 were there?.It is not neccessary to use all the tables. |
SELECT nationality FROM table_name_65 WHERE goals = 33 | CREATE TABLE INST, Here is a database schema( table schema); | What was the nationality for the player with 33 goals?It is not neccessary to use all the tables. |
SELECT NBA Draft FROM table WHERE Hometown = washington, dc | CREATE TABLE INST, Here is a database schema( table schema); | What is the NBA draft result of the player from Washington, DC?.It is not neccessary to use all the tables. |
SELECT MAX Games FROM table WHERE Rank = 3 | CREATE TABLE INST, Here is a database schema( table schema); | What is the number of Games for the player in Rank 3?.It is not neccessary to use all the tables. |
SELECT MAX Round FROM table WHERE Team = baltimore bullets AND Pick > 6 | CREATE TABLE INST, Here is a database schema( table schema); | What is the top round for the baltimore bullets with a Pick larger than 6?.It is not neccessary to use all the tables. |
SELECT COUNT Round FROM table WHERE Player = rell tipton | CREATE TABLE INST, Here is a database schema( table schema); | What is the total number of rounds for the player of Rell Tipton?.It is not neccessary to use all the tables. |
SELECT Player name FROM table WHERE College = South Carolina | CREATE TABLE INST, Here is a database schema( table schema); | Who is the player for south carolina college?.It is not neccessary to use all the tables. |
SELECT washington, _dc FROM table_13012165_1 WHERE new_york = "Ramapo LL Ramapo" | CREATE TABLE INST, Here is a database schema( table schema); | What teams played in Washington DC the year that Ramapo LL Ramapo was the game in New York?It is not neccessary to use all the tables. |
SELECT Film title used in nomination FROM table WHERE Country = netherlands | CREATE TABLE INST, Here is a database schema( table schema); | What was the film nomination in the Netherlands?.It is not neccessary to use all the tables. |
SELECT Nationality FROM table WHERE School/Club Team = louisiana state | CREATE TABLE INST, Here is a database schema( table schema); | Which Nationality has a School/Club Team of louisiana state?.It is not neccessary to use all the tables. |
SELECT COUNT("No. in season") FROM table_20908 WHERE "Production code" = '204' | CREATE TABLE INST, Here is a database schema( table schema); | How many seasons have a production code of 204?It is not neccessary to use all the tables. |
SELECT Party FROM table WHERE First elected = 1980 | CREATE TABLE INST, Here is a database schema( table schema); | what's the party for the first elected in 1980.It is not neccessary to use all the tables. |
SELECT MIN(rank) FROM table_name_95 WHERE gold < 3 AND silver = 0 AND bronze > 2 | CREATE TABLE INST, Here is a database schema( table schema); | What is the lowest rank of a nation with fewer than 3 gold medals more than 2 bronze medals and 0 silver medals?It is not neccessary to use all the tables. |
SELECT MIN(tournaments_played) FROM table_2112220_6 WHERE year = 2004 | CREATE TABLE INST, Here is a database schema( table schema); | Name the tournaments played for 2004It is not neccessary to use all the tables. |
SELECT position FROM table_name_19 WHERE nationality = "united states" AND pick = 9 | CREATE TABLE INST, Here is a database schema( table schema); | Which Position has a Nationality of united states and a Pick of 9?It is not neccessary to use all the tables. |
SELECT decor, MIN(basePrice) FROM Rooms GROUP BY decor | CREATE TABLE INST, Here is a database schema( table schema); | Please use a pie chart to show the proportion of the minimum price of the rooms in a different decor.It is not neccessary to use all the tables. |
SELECT COUNT(most_recent) FROM table_name_56 WHERE height__m_ = "2770" AND first_time_as_hc_climb < 1992 | CREATE TABLE INST, Here is a database schema( table schema); | What was the most recent year a height of 2770 m and a HC climb before 1992 was climbed?It is not neccessary to use all the tables. |
SELECT MAX Population FROM table WHERE Town status = 2010 | CREATE TABLE INST, Here is a database schema( table schema); | What is the highest population of a city that has a town status of 2010?.It is not neccessary to use all the tables. |
SELECT COUNT(r) FROM table WHERE coppa_italia > 1.0 | CREATE TABLE INST, Here is a database schema( table schema); | Name the total number of r for coppa italia larger than 1.0It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE Visitor = philadelphia AND Record = 7–4–0 | CREATE TABLE INST, Here is a database schema( table schema); | What is the score when Philadelphia was the visitor with a Record of 7–4–0?.It is not neccessary to use all the tables. |
SELECT Architecture FROM table WHERE Release date = 1988-05-27 | CREATE TABLE INST, Here is a database schema( table schema); | Which Architecture was released on Release date 1988-05-27?.It is not neccessary to use all the tables. |
SELECT "Chassis" FROM table_71423 WHERE "Points" < '6' AND "Year" = '1961' | CREATE TABLE INST, Here is a database schema( table schema); | In 1961, what was the Chassis when the points were lower than 6?It is not neccessary to use all the tables. |
SELECT Driver / Passenger FROM table WHERE Third = 1 AND Position < 8 AND Wins = 1 | CREATE TABLE INST, Here is a database schema( table schema); | Who was the driver/passengar when the position was smaller than 8, the third was 1, and there was 1 win?.It is not neccessary to use all the tables. |
SELECT MIN(population__2011_) FROM table_2328113_1 | CREATE TABLE INST, Here is a database schema( table schema); | What was the minimum population in 2011?It is not neccessary to use all the tables. |
SELECT "Class" FROM table_39276 WHERE "Rank" = '5th' | CREATE TABLE INST, Here is a database schema( table schema); | Which class has a rank of 5th?It is not neccessary to use all the tables. |
SELECT Source of wealth FROM table WHERE Value = £5726m | CREATE TABLE INST, Here is a database schema( table schema); | What source of wealth has a value of £5726m?.It is not neccessary to use all the tables. |
SELECT Category 3 FROM table WHERE Category 1 = 0.05 | CREATE TABLE INST, Here is a database schema( table schema); | If category 1 is 0.05, what is category 3?.It is not neccessary to use all the tables. |
SELECT pronunciation_a FROM table_name_85 WHERE meaning_a = "king" | CREATE TABLE INST, Here is a database schema( table schema); | Name the pronunciation for meaning of kingIt is not neccessary to use all the tables. |
SELECT MAX("Week") FROM table_19718 WHERE "Attendance" = '74303' | CREATE TABLE INST, Here is a database schema( table schema); | On which week was the attendance 74303?It is not neccessary to use all the tables. |
SELECT MAX(total_kurdistan_list) FROM table_24440361_1 WHERE governorate = "Diyala" | CREATE TABLE INST, Here is a database schema( table schema); | Name the most kirdistan list for diyalaIt is not neccessary to use all the tables. |
SELECT Gender FROM table WHERE Name = Quentin | CREATE TABLE INST, Here is a database schema( table schema); | What gender is Quentin?.It is not neccessary to use all the tables. |
SELECT opponent FROM table_1341522_41 WHERE incumbent = "Bud Shuster" | CREATE TABLE INST, Here is a database schema( table schema); | Who was in the election that was for incumbent bud shuster's seat?It is not neccessary to use all the tables. |
SELECT 1st leg FROM table WHERE Team 1 = aalborg bk | CREATE TABLE INST, Here is a database schema( table schema); | When Aalborg BK is Team 1, what is the 1st leg?.It is not neccessary to use all the tables. |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.gender = "F" AND procedures.icd9_code = "12" | CREATE TABLE INST, Here is a database schema( table schema); | how many patients whose gender is f and procedure icd9 code is 12?It is not neccessary to use all the tables. |
SELECT country FROM table_name_84 WHERE score = 67 | CREATE TABLE INST, Here is a database schema( table schema); | Which Country has a Score of 67?It is not neccessary to use all the tables. |
SELECT dist_from_origin FROM table_name_57 WHERE location__all_in_nagano__ = "azumino" AND name = "toyoshina ic" | CREATE TABLE INST, Here is a database schema( table schema); | What is the distance from origin in Azumino including Toyoshina IC?It is not neccessary to use all the tables. |
SELECT Record FROM table WHERE Opponent = Florida | CREATE TABLE INST, Here is a database schema( table schema); | What was the record of the Wildcats after playing Florida?.It is not neccessary to use all the tables. |
SELECT MAX Attendance FROM table WHERE Loss = hiller (3–2) | CREATE TABLE INST, Here is a database schema( table schema); | What is the Attendance of the game with a Loss of Hiller (3–2)?.It is not neccessary to use all the tables. |
SELECT Channel FROM table WHERE 2011 = 8.5 | CREATE TABLE INST, Here is a database schema( table schema); | What is the channel with a 2011 rating of 8.5?.It is not neccessary to use all the tables. |
SELECT Candidates FROM table WHERE District = Pennsylvania 11 | CREATE TABLE INST, Here is a database schema( table schema); | Who are the candidates for the Pennsylvania 11 district?.It is not neccessary to use all the tables. |
SELECT course_id FROM SECTION WHERE semester = 'Fall' AND YEAR = 2009 EXCEPT SELECT course_id FROM SECTION WHERE semester = 'Spring' AND YEAR = 2010 | CREATE TABLE INST, Here is a database schema( table schema); | Find courses that ran in Fall 2009 but not in Spring 2010.It is not neccessary to use all the tables. |
SELECT COUNT(minutes_played) FROM table_name_55 WHERE points = 18 AND opponent = "chicago bulls" | CREATE TABLE INST, Here is a database schema( table schema); | How many minutes were played when there were 18 points and the opponent was Chicago Bulls?It is not neccessary to use all the tables. |
SELECT Opponent FROM table WHERE Player = Devin Gardner | CREATE TABLE INST, Here is a database schema( table schema); | Who was the opponent when Devin Gardner was the player?.It is not neccessary to use all the tables. |
SELECT Season FROM table WHERE Play-offs = quarter-final AND Pos. = 4th | CREATE TABLE INST, Here is a database schema( table schema); | Tell me the season for quarter-final position of 4th.It is not neccessary to use all the tables. |
SELECT _kah__atau_tidak_ FROM table_name_98 WHERE "basikal" = "basikal" AND language_dialect = "malay language (informal)" | CREATE TABLE INST, Here is a database schema( table schema); | what is -kah (atau tidak when basikal is basikal and language dialect is malay language (informal)?It is not neccessary to use all the tables. |
SELECT channel FROM table_name_39 WHERE financed_by = "commercials" | CREATE TABLE INST, Here is a database schema( table schema); | What was the channel that was financed by commercials?It is not neccessary to use all the tables. |
SELECT position FROM table_name_78 WHERE player = "jani lajunen" | CREATE TABLE INST, Here is a database schema( table schema); | What is the position for Jani Lajunen?It is not neccessary to use all the tables. |
SELECT "Date" FROM table_80200 WHERE "Venue" = 'antigua recreation ground' | CREATE TABLE INST, Here is a database schema( table schema); | When did a Venue of Antigua Recreation Ground happen?It is not neccessary to use all the tables. |
SELECT MAX Match FROM table WHERE Venue = h AND Date = 22 september 1888 AND Attendance < 4,000 | CREATE TABLE INST, Here is a database schema( table schema); | WHich Match has a Venue of h on 22 september 1888 with Attendances smaller than 4,000?.It is not neccessary to use all the tables. |
SELECT director FROM table_10953197_7 WHERE production_code = "2398204" | CREATE TABLE INST, Here is a database schema( table schema); | who directed the production code 2398204It is not neccessary to use all the tables. |
SELECT MAX Medium Gallup, March 2008 FROM table WHERE Strategic Marketing, March 2008 < 17 AND Medium Gallup, May 2008 > 10 | CREATE TABLE INST, Here is a database schema( table schema); | What is the highest medium Gallup March 2008 value for a Strategic Marking value under 17 and Medium Gallup May 2008 value over 10?.It is not neccessary to use all the tables. |
SELECT Number of electorates (2009) FROM table WHERE Reserved for ( SC / ST /None) = total: | CREATE TABLE INST, Here is a database schema( table schema); | Which Number of electorates (2009) has a Reserved for (SC / ST /None) of total:?.It is not neccessary to use all the tables. |
SELECT COUNT Laps FROM table WHERE Make = chevrolet AND Winnings = $97,508 | CREATE TABLE INST, Here is a database schema( table schema); | How many total laps did the Chevrolet that won $97,508 make?.It is not neccessary to use all the tables. |
SELECT SUM Scored FROM table WHERE Team = recoleta | CREATE TABLE INST, Here is a database schema( table schema); | Which Scored has a Team of recoleta?.It is not neccessary to use all the tables. |
SELECT country FROM table_name_69 WHERE original_title = "cidade de deus" | CREATE TABLE INST, Here is a database schema( table schema); | What is the country of the original title Cidade de deus?It is not neccessary to use all the tables. |
SELECT tyre FROM table_name_47 WHERE engine_† = "asiatech at02" AND driver = "alex yoong" | CREATE TABLE INST, Here is a database schema( table schema); | what is the tyre when the engine is asiatech at02 and the driver is alex yoong?It is not neccessary to use all the tables. |
SELECT player FROM table_2508633_9 WHERE nfl_team = "Kansas City Chiefs" | CREATE TABLE INST, Here is a database schema( table schema); | Who was the draft pick for Kansas City Chiefs?It is not neccessary to use all the tables. |
SELECT MIN # FROM table | CREATE TABLE INST, Here is a database schema( table schema); | What is the lowest listed number for a player?.It is not neccessary to use all the tables. |
SELECT To par FROM table WHERE Player = ben hogan | CREATE TABLE INST, Here is a database schema( table schema); | What was Ben Hogan's par?.It is not neccessary to use all the tables. |
SELECT results¹ FROM table_name_13 WHERE opponent = "luxembourg" | CREATE TABLE INST, Here is a database schema( table schema); | What was the result of the game against Luxembourg?It is not neccessary to use all the tables. |
SELECT grid FROM table_name_21 WHERE laps = 2 | CREATE TABLE INST, Here is a database schema( table schema); | what is the grid when the laps is 2?It is not neccessary to use all the tables. |
SELECT name FROM table_name_58 WHERE source = "soenderjyske.dk" | CREATE TABLE INST, Here is a database schema( table schema); | What player is associated with soenderjyske.dk?It is not neccessary to use all the tables. |
SELECT engine FROM table_name_49 WHERE chassis = "march" AND drivers = "steve chassey" | CREATE TABLE INST, Here is a database schema( table schema); | What engine does Steve Chassey drive with a march chassis?It is not neccessary to use all the tables. |
SELECT MAX("Rank") FROM table_19799 WHERE "2nd Runner-up" = '6' | CREATE TABLE INST, Here is a database schema( table schema); | What is the highest rank for the country with 6 2nd runner ups?It is not neccessary to use all the tables. |
SELECT COUNT Vuelta Wins FROM table WHERE Points > 0 AND Country = spain AND Name = josé pérez-francés | CREATE TABLE INST, Here is a database schema( table schema); | How many times is vuelta wins when points is more than 0, country is spain and the name is josé pérez-francés?.It is not neccessary to use all the tables. |
SELECT First elected FROM table WHERE District = Texas 6 | CREATE TABLE INST, Here is a database schema( table schema); | Name the first elected for texas 6 district.It is not neccessary to use all the tables. |
SELECT source FROM table_name_8 WHERE attack = "9,77%" | CREATE TABLE INST, Here is a database schema( table schema); | What Source has an Attack of 977%?It is not neccessary to use all the tables. |
SELECT Color commentator(s) FROM table WHERE Year = 2004 | CREATE TABLE INST, Here is a database schema( table schema); | Who was the 2004 color commentator?.It is not neccessary to use all the tables. |
SELECT date FROM table_name_30 WHERE ship_type = "brig" AND location = "sw approaches" | CREATE TABLE INST, Here is a database schema( table schema); | What date was a brig type ship located in SW Approaches?It is not neccessary to use all the tables. |
SELECT "Opponent" FROM table_48724 WHERE "Date" = 'october 15, 1967' | CREATE TABLE INST, Here is a database schema( table schema); | What team was the opponent on October 15, 1967?It is not neccessary to use all the tables. |
SELECT Reporters FROM table WHERE Race caller = Dave Johnson AND s Analyst = Eddie Arcaro and Howard Cosell | CREATE TABLE INST, Here is a database schema( table schema); | Name the reporters for dave johnson for eddie arcaro and howard cosell.It is not neccessary to use all the tables. |
SELECT Colors FROM table WHERE Enrollment = 2020 | CREATE TABLE INST, Here is a database schema( table schema); | What are the colors for the enrollment of 2020?.It is not neccessary to use all the tables. |
SELECT away_team AS score FROM table_name_37 WHERE home_team = "footscray" | CREATE TABLE INST, Here is a database schema( table schema); | What did the away team score when playing Footscray?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.