sql stringlengths 9 2.37k | table stringclasses 9
values | query stringlengths 51 503 |
|---|---|---|
SELECT Series FROM table WHERE Release date = 1946-03-16 | CREATE TABLE INST, Here is a database schema( table schema); | What is the Series of the Filmography with a Release date of 1946-03-16?.It is not neccessary to use all the tables. |
SELECT original_manchester_performer FROM table_22460085_1 WHERE original_west_end_performer = "Lisa Davina Phillip" | CREATE TABLE INST, Here is a database schema( table schema); | Who was the Manchester performer of Lisa Davina Phillip's character?It is not neccessary to use all the tables. |
SELECT Club team(s) FROM table WHERE Team Number > 14 | CREATE TABLE INST, Here is a database schema( table schema); | How many club teams had more than 14 people?.It is not neccessary to use all the tables. |
SELECT Pictorials FROM table WHERE 20 Questions = John Peterman | CREATE TABLE INST, Here is a database schema( table schema); | Who was featured in the pictorials in the issue where John Peterman was asked 20 questions?.It is not neccessary to use all the tables. |
SELECT date FROM table_name_88 WHERE country = "united kingdom" AND format = "lp" | CREATE TABLE INST, Here is a database schema( table schema); | What is the date for the United Kingdom with an LP format?It is not neccessary to use all the tables. |
SELECT MAX Extra points FROM table WHERE Player = albert herrnstein AND Points > 15 | CREATE TABLE INST, Here is a database schema( table schema); | What was the highest number of extra points scored by Albert Herrnstein, when he scored more than 15 points total?.It is not neccessary to use all the tables. |
SELECT MIN(total) FROM table_name_16 WHERE silver = 0 AND gold < 1 AND rank < 13 | CREATE TABLE INST, Here is a database schema( table schema); | What is the fewest total when silver is 0 and gold is less than 1 and rank is less than 13?It is not neccessary to use all the tables. |
SELECT live_births_per_year FROM table_27434_2 WHERE life_expectancy_total = "65.1" | CREATE TABLE INST, Here is a database schema( table schema); | How many live births per year do people with a life expectancy of 65.1 have?It is not neccessary to use all the tables. |
SELECT Location FROM table WHERE Tournament = singapore charity shield | CREATE TABLE INST, Here is a database schema( table schema); | Where was the Singapore Charity Shield tournament played?.It is not neccessary to use all the tables. |
SELECT Undecided FROM table WHERE Source = suffolk university AND Murray = 11% | CREATE TABLE INST, Here is a database schema( table schema); | What is the undecided percentage of the poll from Suffolk University with Murray at 11%?.It is not neccessary to use all the tables. |
SELECT nickname FROM table_19210115_1 WHERE institution = "Drexel University" | CREATE TABLE INST, Here is a database schema( table schema); | What is the nickname of Drexel University?It is not neccessary to use all the tables. |
SELECT team FROM table_name_17 WHERE score = "w 101–97 (2ot)" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Team with a Score that is w 101–97 (2ot)?It is not neccessary to use all the tables. |
SELECT country FROM table_name_70 WHERE total > 300 | CREATE TABLE INST, Here is a database schema( table schema); | What is the country of the player who has a total larger than 300?It is not neccessary to use all the tables. |
SELECT MAX Enrollment FROM table WHERE Location = hamilton | CREATE TABLE INST, Here is a database schema( table schema); | What's the most enrollment in Hamilton?.It is not neccessary to use all the tables. |
SELECT AVG(acc_bal), acc_type FROM customer WHERE credit_score < 50 GROUP BY acc_type | CREATE TABLE INST, Here is a database schema( table schema); | For each account type find the average account balance of customers with credit score lower than 50.It is not neccessary to use all the tables. |
SELECT origin_of_programming FROM table_name_85 WHERE network = "banglavision" | CREATE TABLE INST, Here is a database schema( table schema); | Which country has the banglavision Network?It is not neccessary to use all the tables. |
SELECT Winner FROM table WHERE Second place = United Kingdom | CREATE TABLE INST, Here is a database schema( table schema); | where is hte second place winner from united kingdom?.It is not neccessary to use all the tables. |
SELECT Place FROM table WHERE Area (km 2 ) > 34.42 | CREATE TABLE INST, Here is a database schema( table schema); | Which place has more area (km 2) than 34.42?.It is not neccessary to use all the tables. |
SELECT T1.role_description, T2.role_code, COUNT(*) FROM ROLES AS T1 JOIN Employees AS T2 ON T1.role_code = T2.role_code GROUP BY T2.role_code | CREATE TABLE INST, Here is a database schema( table schema); | How many employees does each role have? List role description id and number of employees.It is not neccessary to use all the tables. |
SELECT result FROM table_22118197_1 WHERE english_title = "Morning Undersea" | CREATE TABLE INST, Here is a database schema( table schema); | What was the result for the film with the English name of Morning Undersea?It is not neccessary to use all the tables. |
SELECT SUM Wins FROM table WHERE Teams = chiefs AND Losses > 1 | CREATE TABLE INST, Here is a database schema( table schema); | How many wins have more than 1 loss and a team of chiefs?.It is not neccessary to use all the tables. |
SELECT MIN(converted) FROM table_1895522_2 WHERE number = "19" | CREATE TABLE INST, Here is a database schema( table schema); | What is the smallest converted value at number 19?It is not neccessary to use all the tables. |
SELECT incumbent FROM table_1434788_5 WHERE district = "Ohio 16" | CREATE TABLE INST, Here is a database schema( table schema); | Who was the incumbent in the Ohio 16 district?It is not neccessary to use all the tables. |
SELECT fastest_lap FROM table_name_71 WHERE race = "german grand prix" | CREATE TABLE INST, Here is a database schema( table schema); | Who had the fastest lap for the German Grand Prix?It is not neccessary to use all the tables. |
SELECT owner FROM table_name_4 WHERE branding = "kool-fm" | CREATE TABLE INST, Here is a database schema( table schema); | Who owns the kool-fm branding?It is not neccessary to use all the tables. |
SELECT Venue FROM table WHERE Date = 27 may 2000 | CREATE TABLE INST, Here is a database schema( table schema); | What venue was on 27 May 2000?.It is not neccessary to use all the tables. |
SELECT Digital terrestrial channel FROM table WHERE Channel = ITV3 | CREATE TABLE INST, Here is a database schema( table schema); | What is the digital terrestria channel number for itv3?.It is not neccessary to use all the tables. |
SELECT AVG Overall FROM table WHERE Position = te AND Round > 5 | CREATE TABLE INST, Here is a database schema( table schema); | Which Overall has a Position of te, and a Round larger than 5?.It is not neccessary to use all the tables. |
SELECT COUNT(district) FROM table_25030512_41 WHERE incumbent = "Bill Shuster" | CREATE TABLE INST, Here is a database schema( table schema); | Name the number of district for bill shusterIt is not neccessary to use all the tables. |
SELECT ordinary_income_rate FROM table_name_42 WHERE short_term_capital_gain_rate = "28%" | CREATE TABLE INST, Here is a database schema( table schema); | What is the ordinary income rate when short-term capital gain rate is 28%?It is not neccessary to use all the tables. |
SELECT MIN Brisbane FROM table WHERE Adelaide = 94000 | CREATE TABLE INST, Here is a database schema( table schema); | What was the rating for Brisbane the week that Adelaide had 94000?.It is not neccessary to use all the tables. |
SELECT "Team" FROM table_49131 WHERE "State/Province" = 'missouri' AND "Est." = '1963' | CREATE TABLE INST, Here is a database schema( table schema); | Which team is located in missouri and was established in 1963?It is not neccessary to use all the tables. |
SELECT Loss FROM table WHERE Record = 38-33 | CREATE TABLE INST, Here is a database schema( table schema); | What is the loss when the record is 38-33?.It is not neccessary to use all the tables. |
SELECT MAX Season FROM table WHERE BYU-UU score = 20–17 BYU #19 | CREATE TABLE INST, Here is a database schema( table schema); | what is the maximum season with byu-uu score being 20–17 byu #19.It is not neccessary to use all the tables. |
SELECT Pos. FROM table WHERE Class Pos. = 5th AND Year > 1992 AND Laps > 346 | CREATE TABLE INST, Here is a database schema( table schema); | What position did the 5th place team after 1992 with over 346 laps finish in?.It is not neccessary to use all the tables. |
SELECT location___state FROM table_name_92 WHERE date = "16 jun" | CREATE TABLE INST, Here is a database schema( table schema); | What is the location/state of the race on 16 Jun?It is not neccessary to use all the tables. |
SELECT COUNT Nationality FROM table WHERE School/Club Team = Duke | CREATE TABLE INST, Here is a database schema( table schema); | What are the nationalities of players who attended duke?.It is not neccessary to use all the tables. |
SELECT Time FROM table WHERE Year = 1984 | CREATE TABLE INST, Here is a database schema( table schema); | What was the winning time in 1984?.It is not neccessary to use all the tables. |
SELECT position FROM table_name_84 WHERE player = "vince carter" | CREATE TABLE INST, Here is a database schema( table schema); | What Position does the Player Vince Carter hold?It is not neccessary to use all the tables. |
SELECT game_site FROM table_name_88 WHERE result = "w 20-14" | CREATE TABLE INST, Here is a database schema( table schema); | Name the game site with result of w 20-14It is not neccessary to use all the tables. |
SELECT MIN Width (inches) FROM table WHERE Length (feet) > 25 AND Numbers = 401-484 | CREATE TABLE INST, Here is a database schema( table schema); | On buses ranging in numbr 401-484, what is the lowest width that one longer thna 25 feet can have?.It is not neccessary to use all the tables. |
SELECT Player FROM table WHERE Position = defence AND Round < 5 AND Nationality = united states | CREATE TABLE INST, Here is a database schema( table schema); | Which player from the United States plays defence and was chosen before round 5?.It is not neccessary to use all the tables. |
SELECT team FROM table_name_60 WHERE location = "buenos aires , argentina" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Team when the match was in buenos aires argentina?It is not neccessary to use all the tables. |
SELECT result FROM table_name_1 WHERE category = "best urban/alternative performance" AND year > 2003 | CREATE TABLE INST, Here is a database schema( table schema); | WHAT IS THE RESULT FOR best urban/alternative performance IN 2003 OR GREATER?It is not neccessary to use all the tables. |
SELECT MIN(code) FROM table_name_98 WHERE type = "m" AND name = "saint-sylvère" AND region < 17 | CREATE TABLE INST, Here is a database schema( table schema); | What is the smallest code associated with a type of m for a region less than 17 named named saint-sylvère?It is not neccessary to use all the tables. |
SELECT COUNT(*) FROM table_203_650 WHERE "outcome" = 'won' | CREATE TABLE INST, Here is a database schema( table schema); | what are the total times ` won ' was listed as the outcome ?It is not neccessary to use all the tables. |
SELECT points_against FROM table_name_99 WHERE played = "correct as of 2009-05-16" | CREATE TABLE INST, Here is a database schema( table schema); | What were the points against in a game that was played correct as of 2009-05-16?It is not neccessary to use all the tables. |
SELECT COUNT(player) FROM table_25518547_4 WHERE affiliation = "Indiana University" | CREATE TABLE INST, Here is a database schema( table schema); | How many players are affiliated with indiana university?It is not neccessary to use all the tables. |
SELECT "Part 2" FROM table_49397 WHERE "Part 4" = '*blōtanaz' | CREATE TABLE INST, Here is a database schema( table schema); | What was part 2 when part 4 was *bl tanaz?It is not neccessary to use all the tables. |
SELECT Engine(s) FROM table WHERE Year = 1992 | CREATE TABLE INST, Here is a database schema( table schema); | What engines have the year 1992?.It is not neccessary to use all the tables. |
SELECT erp_w FROM table_name_54 WHERE frequency_mhz > 89.1 AND city_of_license = "de queen, arkansas" | CREATE TABLE INST, Here is a database schema( table schema); | Which ERP W has a Frequency MHz larger than 89.1 and a City of license of de queen arkansas?It is not neccessary to use all the tables. |
SELECT club FROM table_name_47 WHERE losses < 10 AND goals_for < 55 AND wins = 13 | CREATE TABLE INST, Here is a database schema( table schema); | What club has less than 10 losses less than 55 goals and 13 wins?It is not neccessary to use all the tables. |
SELECT country FROM table_name_41 WHERE rank = 4 | CREATE TABLE INST, Here is a database schema( table schema); | What country is ranked number 4?It is not neccessary to use all the tables. |
SELECT AVG Goals FROM table WHERE Apps < 3 | CREATE TABLE INST, Here is a database schema( table schema); | Tell me the average goals with apps less than 3.It is not neccessary to use all the tables. |
SELECT Set 1 FROM table WHERE Score = 3–0 AND Set 3 = 15–10 | CREATE TABLE INST, Here is a database schema( table schema); | What is the Set 1 with a Score of 3–0, and has a Set 3 of 15–10?.It is not neccessary to use all the tables. |
SELECT institution FROM table_16403890_1 WHERE team_nickname = "Colonials" | CREATE TABLE INST, Here is a database schema( table schema); | Which school has the mascot of the Colonials?It is not neccessary to use all the tables. |
SELECT move_only FROM table_26538035_1 WHERE developer = "AiLive" | CREATE TABLE INST, Here is a database schema( table schema); | For the game whose developer was Ailive is it a Move-only release?It is not neccessary to use all the tables. |
SELECT Agg. FROM table WHERE Team 1 = union douala | CREATE TABLE INST, Here is a database schema( table schema); | What was the aggregate score that had Union Douala as Team 1?.It is not neccessary to use all the tables. |
SELECT DISTINCT department, name, number FROM course WHERE (description LIKE '%Nano/Micro Structure Evolution%' OR name LIKE '%Nano/Micro Structure Evolution%') AND credits = 12 | CREATE TABLE INST, Here is a database schema( table schema); | I 'm looking for 12 -credit courses on Nano/Micro Structure Evolution .It is not neccessary to use all the tables. |
SELECT Winning score FROM table WHERE Year = 1965 | CREATE TABLE INST, Here is a database schema( table schema); | What is the Winning score in 1965?.It is not neccessary to use all the tables. |
SELECT position FROM table_2840500_4 WHERE player = "Antti-Jussi Niemi" | CREATE TABLE INST, Here is a database schema( table schema); | What position does Antti-Jussi Niemi play?It is not neccessary to use all the tables. |
SELECT title FROM table_2818164_5 WHERE production_code = 418 | CREATE TABLE INST, Here is a database schema( table schema); | What is the name of the episode with 418 as the production code?It is not neccessary to use all the tables. |
SELECT exaltation FROM table_name_21 WHERE fall = "moon" | CREATE TABLE INST, Here is a database schema( table schema); | Which exaltation has a fall of moon?It is not neccessary to use all the tables. |
SELECT license FROM table_name_23 WHERE release_date = "2009-08" | CREATE TABLE INST, Here is a database schema( table schema); | Which licence has a release date of 2009-08?It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE Date = october 17, 2007 | CREATE TABLE INST, Here is a database schema( table schema); | What was the score on october 17, 2007?.It is not neccessary to use all the tables. |
SELECT MIN(no_in_season) FROM table_28561455_1 | CREATE TABLE INST, Here is a database schema( table schema); | What's the smallest season number?It is not neccessary to use all the tables. |
SELECT Place FROM table WHERE Country = spain | CREATE TABLE INST, Here is a database schema( table schema); | What place is the golfer in who is from Spain?.It is not neccessary to use all the tables. |
SELECT Growth Rate FROM table WHERE District = Hooghly | CREATE TABLE INST, Here is a database schema( table schema); | Name the growth rate for hooghly.It is not neccessary to use all the tables. |
SELECT Location FROM table WHERE Event = ramada perth masters | CREATE TABLE INST, Here is a database schema( table schema); | What's the location of the Ramada Perth Masters event?.It is not neccessary to use all the tables. |
SELECT SUM Points FROM table WHERE Year < 1971 AND Entrant = scuderia ferrari AND Engine = ferrari v12 | CREATE TABLE INST, Here is a database schema( table schema); | What's the total points that Scuderia Ferrari with a Ferrari V12 engine have before 1971?.It is not neccessary to use all the tables. |
SELECT AVG Fylde FROM table WHERE Burnley < 0 | CREATE TABLE INST, Here is a database schema( table schema); | What is the average rating for a Flyde that has a Burnley less than 0?.It is not neccessary to use all the tables. |
SELECT team FROM table_27734577_2 WHERE date = "October 21" | CREATE TABLE INST, Here is a database schema( table schema); | Which team was the opponent on october 21?It is not neccessary to use all the tables. |
SELECT cable_rank FROM table_24399615_3 WHERE bbc_three_weekly_ranking = "N/A" | CREATE TABLE INST, Here is a database schema( table schema); | What is the cable rank for bbc three weekly ranking of n/a?It is not neccessary to use all the tables. |
SELECT Segment A FROM table WHERE Segment C = Cardboard Boxes | CREATE TABLE INST, Here is a database schema( table schema); | When cardboard boxes is segment c what is segment a?.It is not neccessary to use all the tables. |
SELECT entered_office_as_head_of_state_or_government FROM table_10026563_1 WHERE office = "Prime Minister of Italy" | CREATE TABLE INST, Here is a database schema( table schema); | When did the Prime Minister of Italy take office?It is not neccessary to use all the tables. |
SELECT ACC_Road, COUNT(ACC_Road) FROM basketball_match GROUP BY ACC_Road ORDER BY COUNT(ACC_Road) DESC | CREATE TABLE INST, Here is a database schema( table schema); | Show me about the distribution of ACC_Road and the amount of ACC_Road , and group by attribute ACC_Road in a bar chart, could you display by the Y from high to low?It is not neccessary to use all the tables. |
SELECT home_team AS score FROM table_name_69 WHERE away_team = "north melbourne" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Home team score for the Away team of North Melbourne?It is not neccessary to use all the tables. |
SELECT score FROM table_name_8 WHERE high_assists = "maurice williams (7)" | CREATE TABLE INST, Here is a database schema( table schema); | What was the score of the game when Maurice Williams (7) had the high assists?It is not neccessary to use all the tables. |
SELECT passes_through___district_s FROM table_26036389_1 WHERE mdr_no = 47 | CREATE TABLE INST, Here is a database schema( table schema); | What district does the road with a MDR number of 47 pass through?It is not neccessary to use all the tables. |
SELECT MAX(_number) FROM table_16227492_1 WHERE opponent = "New England Blazers" | CREATE TABLE INST, Here is a database schema( table schema); | Name the most number for new england blazersIt is not neccessary to use all the tables. |
SELECT nation FROM table_name_96 WHERE gold > 0 AND bronze < 2 AND total > 3 AND silver > 1 | CREATE TABLE INST, Here is a database schema( table schema); | Which Nation has a Gold larger than 0 and a Bronze smaller than 2 and a Total larger than 3 and a Silver larger than 1?It is not neccessary to use all the tables. |
SELECT Years FROM table WHERE Goals = 27 | CREATE TABLE INST, Here is a database schema( table schema); | For the player that scored 27 goals, what years did he score them?.It is not neccessary to use all the tables. |
SELECT district FROM table_2668336_17 WHERE incumbent = "Charles Fisher" | CREATE TABLE INST, Here is a database schema( table schema); | In what district is the incumbent Charles Fisher?It is not neccessary to use all the tables. |
SELECT td_int FROM table_name_87 WHERE effic > 111.4 | CREATE TABLE INST, Here is a database schema( table schema); | Which TD-INT has an Effic larger than 111.4?It is not neccessary to use all the tables. |
SELECT name FROM table_name_22 WHERE delivered = "1839/08" | CREATE TABLE INST, Here is a database schema( table schema); | What is the name where the delivered date is 1839/08?It is not neccessary to use all the tables. |
SELECT partner FROM table_name_14 WHERE surface = "hard" | CREATE TABLE INST, Here is a database schema( table schema); | Who played on a hard surface?It is not neccessary to use all the tables. |
SELECT hometown FROM table_name_67 WHERE delegate = "rachel muyot soriano" | CREATE TABLE INST, Here is a database schema( table schema); | What's the hometown of rachel muyot soriano?It is not neccessary to use all the tables. |
SELECT ABS((SELECT "age" FROM table_203_671 WHERE "name" = 'luis estrella martinez') - (SELECT "age" FROM table_203_671 WHERE "name" = 'edgardo rivera garcia')) | CREATE TABLE INST, Here is a database schema( table schema); | what 's the difference in age between luis estrella martinez and edgardo rivera garcia ?It is not neccessary to use all the tables. |
SELECT MIN("No. in series") FROM table_30229 WHERE "U.S. viewers (millions)" = '10.96' | CREATE TABLE INST, Here is a database schema( table schema); | What number episode in the series was watched by 10.96 million U.S. viewers?It is not neccessary to use all the tables. |
SELECT timeslot FROM table_11274401_3 WHERE air_date = "May 12, 2009" | CREATE TABLE INST, Here is a database schema( table schema); | What was the timeslot for the episode that aired on May 12 2009?It is not neccessary to use all the tables. |
SELECT MIN(total_medals) FROM table_name_76 WHERE ensemble = "madison independent" AND bronze_medals > 0 | CREATE TABLE INST, Here is a database schema( table schema); | What is the lowest Total Medals that has madison independent and Bronze Medals larger than 0It is not neccessary to use all the tables. |
SELECT record FROM table_21839208_4 WHERE week = 11 | CREATE TABLE INST, Here is a database schema( table schema); | What was their record in week 11?It is not neccessary to use all the tables. |
SELECT AVG(total) FROM table_name_67 WHERE rank = "5" AND bronze < 0 | CREATE TABLE INST, Here is a database schema( table schema); | Which Total has a Rank of 5 and a Bronze smaller than 0?It is not neccessary to use all the tables. |
SELECT riding_penalties__pts_ FROM table_name_83 WHERE swimming_time__pts_ = "2:18.16 (1264)" | CREATE TABLE INST, Here is a database schema( table schema); | What is the riding penaltie (pts) for the athlete that has a Swimming Time (pts) of 2:18.16 (1264)?It is not neccessary to use all the tables. |
SELECT COUNT Against FROM table WHERE Venue = h AND Date = 26 february 1949 | CREATE TABLE INST, Here is a database schema( table schema); | What is the total number of Against that were played in the H Venue on 26 february 1949?.It is not neccessary to use all the tables. |
SELECT name FROM student WHERE NOT id IN (SELECT T1.id FROM takes AS T1 JOIN course AS T2 ON T1.course_id = T2.course_id WHERE T2.dept_name = 'Biology') | CREATE TABLE INST, Here is a database schema( table schema); | Find the name of students who didn't take any course from Biology department.It is not neccessary to use all the tables. |
SELECT "Away team" FROM table_33549 WHERE "Venue" = 'victoria park' | CREATE TABLE INST, Here is a database schema( table schema); | Who was the away team for the game at Victoria Park?It is not neccessary to use all the tables. |
SELECT Saturday FROM table WHERE Wednesday = 10:00-5:00 | CREATE TABLE INST, Here is a database schema( table schema); | what's the saturday time with wednesday being 10:00-5:00.It is not neccessary to use all the tables. |
SELECT MAX(w) FROM table_17012578_37 WHERE l = 5 | CREATE TABLE INST, Here is a database schema( table schema); | Of the teams that lost 5 games what is the highest number of wins?It is not neccessary to use all the tables. |
SELECT demographic.insurance, demographic.ethnicity FROM demographic WHERE demographic.subject_id = "21796" | CREATE TABLE INST, Here is a database schema( table schema); | give the insurance details and ethnicity of subject id 21796.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.