sql stringlengths 9 2.37k | table stringclasses 9
values | query stringlengths 51 503 |
|---|---|---|
SELECT Gold FROM table WHERE Year = 1994 | CREATE TABLE INST, Here is a database schema( table schema); | What Gold has the Year of 1994?.It is not neccessary to use all the tables. |
SELECT investment_income FROM table_name_30 WHERE region = "eastern england" | CREATE TABLE INST, Here is a database schema( table schema); | Region of eastern england has what investment income?It is not neccessary to use all the tables. |
SELECT imperative FROM table_16337329_5 WHERE past_habitual = "गरिस् garis 'you did'" | CREATE TABLE INST, Here is a database schema( table schema); | Name the imperative for गरिस् garis 'you did'It is not neccessary to use all the tables. |
SELECT Visa 5 FROM table WHERE Visa 1 = emile heskey | CREATE TABLE INST, Here is a database schema( table schema); | Which Visa 5 has a Visa 1 of emile heskey?.It is not neccessary to use all the tables. |
SELECT constructor FROM table_name_34 WHERE chassis = "rb1" AND driver = "david coulthard" | CREATE TABLE INST, Here is a database schema( table schema); | Which constructor made the car with a rb1 chassis and which is driven by David Coulthard?It is not neccessary to use all the tables. |
SELECT engine FROM table_name_27 WHERE chassis = "lotus 44 f2" | CREATE TABLE INST, Here is a database schema( table schema); | What engine was in the lotus 44 f2 Chassis?It is not neccessary to use all the tables. |
SELECT Opponents in the final FROM table WHERE Surface = hard AND Date = january 5, 2003 | CREATE TABLE INST, Here is a database schema( table schema); | Who was the opponents in the final on January 5, 2003, on a hard surface?.It is not neccessary to use all the tables. |
SELECT team FROM table_name_93 WHERE position = "of" AND pick = 24 | CREATE TABLE INST, Here is a database schema( table schema); | WHAT IS THE TEAM WITH AN OF POSITION AND PICK OF 24?It is not neccessary to use all the tables. |
SELECT place FROM table_name_83 WHERE score = 72 - 68 = 140 | CREATE TABLE INST, Here is a database schema( table schema); | Name the Place with a Score of 72-68=140?It is not neccessary to use all the tables. |
SELECT position FROM table_25517718_3 WHERE player = "Boggs" | CREATE TABLE INST, Here is a database schema( table schema); | What position does Boggs play?It is not neccessary to use all the tables. |
SELECT direction FROM table_100518_1 WHERE graha__planet_ = "Bṛhaspati (Jupiter)" | CREATE TABLE INST, Here is a database schema( table schema); | What are the directions for the guardian whose graha (planet) is bṛhaspati (Jupiter)?It is not neccessary to use all the tables. |
SELECT college_junior_club_team FROM table_name_13 WHERE pick__number = "64" | CREATE TABLE INST, Here is a database schema( table schema); | Which team has the # 64 pick?It is not neccessary to use all the tables. |
SELECT MIN Year of disaffiliation FROM table WHERE City of license/market = hamilton, ontario | CREATE TABLE INST, Here is a database schema( table schema); | What is the earliest year of disaffiliation of a CHCH-TV station, licensed in Hamilton, Ontario?.It is not neccessary to use all the tables. |
SELECT us_viewers__millions_ FROM table_29569969_2 WHERE production_code = 105 | CREATE TABLE INST, Here is a database schema( table schema); | How many million people in the US saw the episode with production code 105?It is not neccessary to use all the tables. |
SELECT ages FROM table_name_90 WHERE capacity > 21 AND ofsted = 106168 | CREATE TABLE INST, Here is a database schema( table schema); | Which Ages have a Capacity larger than 21 and an Ofsted of 106168?It is not neccessary to use all the tables. |
SELECT MAX(weeks_in_top_10) FROM table_27813010_2 | CREATE TABLE INST, Here is a database schema( table schema); | How long has the longest song spent in the top 10?It is not neccessary to use all the tables. |
SELECT Win % FROM table WHERE Winner = Chennai Super Kings AND Season = 2010 | CREATE TABLE INST, Here is a database schema( table schema); | Name the win% for chennai super kings for 2010.It is not neccessary to use all the tables. |
SELECT 2013 FROM table WHERE 2010 = 1r | CREATE TABLE INST, Here is a database schema( table schema); | Which 2013 has a 2010 of 1r?.It is not neccessary to use all the tables. |
SELECT Competition_type, COUNT(Competition_type) FROM competition GROUP BY Competition_type ORDER BY Competition_type DESC | CREATE TABLE INST, Here is a database schema( table schema); | A bar chart showing the number of different competition types, display from high to low by the x axis.It is not neccessary to use all the tables. |
SELECT record FROM table_name_55 WHERE date = "august 18" | CREATE TABLE INST, Here is a database schema( table schema); | Tell me the record for the date of August 18.It is not neccessary to use all the tables. |
SELECT Name FROM table WHERE Position = FS | CREATE TABLE INST, Here is a database schema( table schema); | What are all names for the position FS?.It is not neccessary to use all the tables. |
SELECT iupac_name FROM table_name_44 WHERE common_name = "chloroform" | CREATE TABLE INST, Here is a database schema( table schema); | What is the IUPAC name for chloroform?It is not neccessary to use all the tables. |
SELECT country FROM table_name_32 WHERE score = 71 - 66 - 66 - 71 = 274 | CREATE TABLE INST, Here is a database schema( table schema); | What country scored 71-66-66-71=274?It is not neccessary to use all the tables. |
SELECT away_team AS score FROM table_name_89 WHERE away_team = "melbourne" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Away team score for Away team Melbourne?It is not neccessary to use all the tables. |
SELECT COUNT("Area km 2") FROM table_60607 WHERE "Population" = '1,215' | CREATE TABLE INST, Here is a database schema( table schema); | How much Area km 2 have a Population of 1,215?It is not neccessary to use all the tables. |
SELECT Background FROM table WHERE Hometown = barrington, illinois | CREATE TABLE INST, Here is a database schema( table schema); | What is the Background of the Candidate from Barrington, Illinois?.It is not neccessary to use all the tables. |
SELECT record FROM table_name_87 WHERE week = "hf" | CREATE TABLE INST, Here is a database schema( table schema); | Tell me thee record for week of hfIt is not neccessary to use all the tables. |
SELECT no5 FROM table_name_29 WHERE no1 = "lena claudisabel" AND no2 = "lena sylvie" | CREATE TABLE INST, Here is a database schema( table schema); | Who is no. 5 when Lena Claudisabel is no. 1 and Lena Sylvie is no. 2?It is not neccessary to use all the tables. |
SELECT starts FROM table_19864214_3 WHERE seasons = "1977" | CREATE TABLE INST, Here is a database schema( table schema); | what is the number of starts in 1977It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE Champion = masahiro kawamura | CREATE TABLE INST, Here is a database schema( table schema); | What is the score of champion masahiro kawamura?.It is not neccessary to use all the tables. |
SELECT Class AA FROM table WHERE Class A = Graford | CREATE TABLE INST, Here is a database schema( table schema); | Which is the class AA when graford was the class A.It is not neccessary to use all the tables. |
SELECT January 15-16 FROM table WHERE November 3 = 153 | CREATE TABLE INST, Here is a database schema( table schema); | What is january 15-16 when november 3 is 153?.It is not neccessary to use all the tables. |
SELECT 1997 FROM table_name_99 WHERE 1999 = "1r" AND 1995 = "3r" AND 1993 = "1r" | CREATE TABLE INST, Here is a database schema( table schema); | What's the 1997 if 1993 has a 1R 1995 has a 3R and 1999 has a 1R?It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE To par = +1 AND Player = masashi ozaki | CREATE TABLE INST, Here is a database schema( table schema); | Which Score has a To par of +1, and a Player of masashi ozaki?.It is not neccessary to use all the tables. |
SELECT Became Consort FROM table WHERE Spouse = james ii | CREATE TABLE INST, Here is a database schema( table schema); | On what date did James II take a consort?.It is not neccessary to use all the tables. |
SELECT Player FROM table WHERE Overs = 87.4 | CREATE TABLE INST, Here is a database schema( table schema); | Tell me the player with overs of 87.4.It is not neccessary to use all the tables. |
SELECT COUNT Pct. FROM table WHERE Lost = 20 AND Seasons > 1 | CREATE TABLE INST, Here is a database schema( table schema); | How many percentages have 20 losses and more than 1 season?.It is not neccessary to use all the tables. |
SELECT Game Modes FROM table WHERE Pinyin = Zhígǎn Yī Bǐ | CREATE TABLE INST, Here is a database schema( table schema); | What game modes are there when the pinyin is zhígǎn yī bǐ ?.It is not neccessary to use all the tables. |
SELECT group FROM table_24850630_4 WHERE race = "British Champion Stakes" | CREATE TABLE INST, Here is a database schema( table schema); | What was the group in the British Champion Stakes?It is not neccessary to use all the tables. |
SELECT coverage__transmitter_site_ FROM table_12379297_1 WHERE station_type = "Relay" AND power__kw_ = "5kW" AND callsign = "DYFJ-TV" | CREATE TABLE INST, Here is a database schema( table schema); | What is the coverage of relay 5kw of dyfj-tv?It is not neccessary to use all the tables. |
SELECT Tournament FROM table WHERE 1984 = 1r | CREATE TABLE INST, Here is a database schema( table schema); | Which Tournament has a 1984 of 1r?.It is not neccessary to use all the tables. |
SELECT * FROM Course_Authors_and_Tutors ORDER BY personal_name | CREATE TABLE INST, Here is a database schema( table schema); | List all the information about course authors and tutors in alphabetical order of the personal name.It is not neccessary to use all the tables. |
SELECT Points FROM table WHERE Club = seven sisters rfc | CREATE TABLE INST, Here is a database schema( table schema); | What are the points for the Seven Sisters RFC club?.It is not neccessary to use all the tables. |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "M" AND demographic.discharge_location = "LONG TERM CARE HOSPITAL" | CREATE TABLE INST, Here is a database schema( table schema); | how many male patients have long term care hospital as their discharge location?It is not neccessary to use all the tables. |
SELECT E. Greenberg FROM table WHERE T. Wyka = 10,793 (70%) | CREATE TABLE INST, Here is a database schema( table schema); | Which E. Greenberg has a T. Wyka of 10,793 (70%)?.It is not neccessary to use all the tables. |
SELECT College FROM table WHERE Pick > 6 AND Position = rb AND Round = 28 | CREATE TABLE INST, Here is a database schema( table schema); | Which college with a position of rb had a pick larger than 6 in round 28?.It is not neccessary to use all the tables. |
SELECT 9:00 am FROM table WHERE 6:30 pm = local programs | CREATE TABLE INST, Here is a database schema( table schema); | What is 9:00 am, when 6:30 pm is "Local Programs"?.It is not neccessary to use all the tables. |
SELECT finish FROM table_name_29 WHERE player = "jerry pate" | CREATE TABLE INST, Here is a database schema( table schema); | Where did Jerry Pate finish?It is not neccessary to use all the tables. |
SELECT Date FROM table WHERE Home team = geelong | CREATE TABLE INST, Here is a database schema( table schema); | What day was geelong the home team?.It is not neccessary to use all the tables. |
SELECT place FROM table_name_29 WHERE dance = "tango" AND points_jury = "24 (7,5,6,6)" | CREATE TABLE INST, Here is a database schema( table schema); | What was the place for the tango dance when the points was jury of 24 (7566)?It is not neccessary to use all the tables. |
SELECT points_for FROM table_name_36 WHERE points_against = "51" | CREATE TABLE INST, Here is a database schema( table schema); | The 51 points against how many are for?It is not neccessary to use all the tables. |
SELECT name, COUNT(name) FROM constructors AS T1 JOIN constructorStandings AS T2 ON T1.constructorId = T2.constructorId WHERE T1.nationality = "Japanese" AND T2.points > 5 GROUP BY name | CREATE TABLE INST, Here is a database schema( table schema); | What are the names of all the Japanese constructors that have earned more than 5 points, and count them by a bar chartIt is not neccessary to use all the tables. |
SELECT T1.name, T1.id FROM station AS T1 JOIN status AS T2 ON T1.id = T2.station_id GROUP BY T2.station_id HAVING AVG(T2.bikes_available) > 14 UNION SELECT name, id FROM station WHERE installation_date LIKE "12/%" | CREATE TABLE INST, Here is a database schema( table schema); | What are the names and ids of stations that had more than 14 bikes available on average or were installed in December?It is not neccessary to use all the tables. |
SELECT T2.jan FROM city AS T1 JOIN temperature AS T2 ON T1.city_id = T2.city_id WHERE T1.city = "Shanghai" | CREATE TABLE INST, Here is a database schema( table schema); | Give me the temperature of Shanghai in January.It is not neccessary to use all the tables. |
SELECT Season FROM table WHERE Home = 0–1 | CREATE TABLE INST, Here is a database schema( table schema); | Which Season has a Home of 0–1?.It is not neccessary to use all the tables. |
SELECT mintage FROM table_name_76 WHERE theme = "toronto maple leafs" AND issue_price < 24.95 | CREATE TABLE INST, Here is a database schema( table schema); | What is the mintage of the coin with a Toronto Maple Leafs theme and an issue price below 24.95?It is not neccessary to use all the tables. |
SELECT Competition FROM table WHERE Date = june 19, 2004 | CREATE TABLE INST, Here is a database schema( table schema); | What competition has June 19, 2004 as the date?.It is not neccessary to use all the tables. |
SELECT lead_envoy FROM table_name_44 WHERE ryūkyūan_king = "shō kō" | CREATE TABLE INST, Here is a database schema( table schema); | Who was the lead envoy with the Ryūkyūan King shō kō?It is not neccessary to use all the tables. |
SELECT AVG Pieces FROM table WHERE Start = 1941 AND Release > 2001 | CREATE TABLE INST, Here is a database schema( table schema); | What is the average number of pieces for boards that started in 1941 and were released after 2001?.It is not neccessary to use all the tables. |
SELECT COUNT(musical_guest_and_song) FROM table_11951237_2 WHERE production_code = "K0519" | CREATE TABLE INST, Here is a database schema( table schema); | How many musical guests and songs were in episodes with a production code k0519?It is not neccessary to use all the tables. |
SELECT MAX(draw) FROM table_name_45 WHERE goal_gain = 17 AND game > 14 | CREATE TABLE INST, Here is a database schema( table schema); | How many draws did the game after game 14 with goal gain 17 have?It is not neccessary to use all the tables. |
SELECT COUNT(new_council) FROM table_name_14 WHERE previous_council = 19 AND seats_up_for_election < 6 | CREATE TABLE INST, Here is a database schema( table schema); | Which number of New Councils had a previous council number of 19 and the seats up for election were bigger than 6?It is not neccessary to use all the tables. |
SELECT english_translation FROM table_name_93 WHERE simplified_chinese = "山鬼" | CREATE TABLE INST, Here is a database schema( table schema); | What is the English translation of 山鬼?It is not neccessary to use all the tables. |
SELECT SUM Crowd FROM table WHERE Venue = mcg | CREATE TABLE INST, Here is a database schema( table schema); | What is the total of crowd at Venue of mcg?.It is not neccessary to use all the tables. |
SELECT Commissioned FROM table WHERE Builder = scotts, greenock | CREATE TABLE INST, Here is a database schema( table schema); | when was it commissioned when the destroyer was built by scotts, greenock?.It is not neccessary to use all the tables. |
SELECT COUNT Record FROM table WHERE Date = April 12 | CREATE TABLE INST, Here is a database schema( table schema); | How many pairs of numbers are under record on April 12?.It is not neccessary to use all the tables. |
SELECT AVG(wins) FROM table_name_15 WHERE tournament = "the open championship" AND cuts_made > 3 | CREATE TABLE INST, Here is a database schema( table schema); | In the Open Championship with more than 3 cuts made what is the average wins?It is not neccessary to use all the tables. |
SELECT result FROM table_name_17 WHERE week < 16 AND opponent = "san francisco 49ers" | CREATE TABLE INST, Here is a database schema( table schema); | What was the result of the game against San Francisco 49ers before week 16?It is not neccessary to use all the tables. |
SELECT COUNT(raiders_first_downs) FROM table_18207285_2 WHERE game = 9 | CREATE TABLE INST, Here is a database schema( table schema); | How many different counts of the Raiders first downs are there for the game number 9?It is not neccessary to use all the tables. |
SELECT region FROM table_name_20 WHERE format = "cd album" AND label = "kemado records" AND catalog = "kem 071" | CREATE TABLE INST, Here is a database schema( table schema); | Which Region has a Format of cd album and a Label of kemado records and a Catalog of kem 071?It is not neccessary to use all the tables. |
SELECT district FROM table_2668405_17 WHERE candidates = "Leven Powell (F) 63.8% Roger West (DR) 36.4%" | CREATE TABLE INST, Here is a database schema( table schema); | What is the district with the candidates leven powell (f) 63.8% roger west (dr) 36.4%?It is not neccessary to use all the tables. |
SELECT T1.Investor_details FROM INVESTORS AS T1 JOIN TRANSACTIONS AS T2 ON T1.investor_id = T2.investor_id WHERE T2.share_count > 100 | CREATE TABLE INST, Here is a database schema( table schema); | Show details of all investors if they make any transaction with share count greater than 100.It is not neccessary to use all the tables. |
SELECT format FROM table_name_61 WHERE catalog = "11 135" | CREATE TABLE INST, Here is a database schema( table schema); | What shows as the format for catalog 11 135?It is not neccessary to use all the tables. |
SELECT high_points FROM table_27733909_5 WHERE game = 11 | CREATE TABLE INST, Here is a database schema( table schema); | Who had the most points and how many did they have in game 11?It is not neccessary to use all the tables. |
SELECT SUM(year) FROM table_name_43 WHERE course = "sunset ridge cc" | CREATE TABLE INST, Here is a database schema( table schema); | What is the year when the course is sunset ridge cc?It is not neccessary to use all the tables. |
SELECT COUNT(*) > 0 FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 59002 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1) | CREATE TABLE INST, Here is a database schema( table schema); | in the first hospital encounter, have there been any microbiology tests conducted for patient 59002?It is not neccessary to use all the tables. |
SELECT Type FROM table WHERE Works number = 75823 | CREATE TABLE INST, Here is a database schema( table schema); | What is Type, when Works Number is 75823?.It is not neccessary to use all the tables. |
SELECT Opponents FROM table WHERE Venue = away AND Score = 5-4 | CREATE TABLE INST, Here is a database schema( table schema); | Who was the opponent at the away game with a score of 5-4?.It is not neccessary to use all the tables. |
SELECT transfer_window FROM table_name_65 WHERE status = "transfer" AND country = "wal" | CREATE TABLE INST, Here is a database schema( table schema); | What is the transfer window with a status of transfer from the country of Wal?It is not neccessary to use all the tables. |
SELECT Tournament FROM table WHERE Runner(s)-up = bob charles | CREATE TABLE INST, Here is a database schema( table schema); | Which Tournament has a Runner(s)-up of bob charles?.It is not neccessary to use all the tables. |
SELECT Elimination FROM table WHERE Eliminated by = sonjay dutt | CREATE TABLE INST, Here is a database schema( table schema); | What Elimination number is listed againt Eliminated by Sonjay Dutt?.It is not neccessary to use all the tables. |
SELECT MAX Stories FROM table WHERE Height = 42 m. | CREATE TABLE INST, Here is a database schema( table schema); | What is the highest number of stories in homes with a height of 42 m.?.It is not neccessary to use all the tables. |
SELECT Location FROM table WHERE Mascot = royals | CREATE TABLE INST, Here is a database schema( table schema); | Where is the school with Royals as their mascot?.It is not neccessary to use all the tables. |
SELECT Away team score FROM table WHERE Venue = victoria park | CREATE TABLE INST, Here is a database schema( table schema); | How much did the away team score at Victoria park?.It is not neccessary to use all the tables. |
SELECT Mascot FROM table WHERE IHSAA Class = aa AND Enrollment > 369 | CREATE TABLE INST, Here is a database schema( table schema); | Which Mascot has IHSAA Class of aa, and a Enrollment larger than 369?.It is not neccessary to use all the tables. |
SELECT Date FROM table WHERE Home team = Adelaide AND Ground = Westpac Stadium | CREATE TABLE INST, Here is a database schema( table schema); | Name the date for adelaide for westpac stadium.It is not neccessary to use all the tables. |
SELECT result FROM table_name_69 WHERE date = "august 30, 1968" | CREATE TABLE INST, Here is a database schema( table schema); | What was the result of the game on august 30 1968?It is not neccessary to use all the tables. |
SELECT Opponent FROM table WHERE Outcome = winner AND Date = 5 november 2011 | CREATE TABLE INST, Here is a database schema( table schema); | Which opponent has an Outcome of winner, and a Date of 5 november 2011?.It is not neccessary to use all the tables. |
SELECT B-52 Model FROM table WHERE Unit = 441st BS, 7th BW | CREATE TABLE INST, Here is a database schema( table schema); | When 441st bs, 7th bw is the unit what is the b-52 model?.It is not neccessary to use all the tables. |
SELECT teams FROM table_name_96 WHERE away = "1-5" | CREATE TABLE INST, Here is a database schema( table schema); | What teams has 1-5 as the away?It is not neccessary to use all the tables. |
SELECT earnings_per_share__p_ FROM table_18304259_1 WHERE net_profit__£m_ = "39.2" | CREATE TABLE INST, Here is a database schema( table schema); | Name the eps for net profit being 39.2It is not neccessary to use all the tables. |
SELECT MIN Capacity FROM table WHERE Team = šibenik | CREATE TABLE INST, Here is a database schema( table schema); | what is the capacity for the team šibenik?.It is not neccessary to use all the tables. |
SELECT home_team AS score FROM table_name_31 WHERE away_team = "south melbourne" | CREATE TABLE INST, Here is a database schema( table schema); | What did the home team score when the away team was South Melbourne?It is not neccessary to use all the tables. |
SELECT June 10-11 FROM table WHERE March 27-29 = March 28, 1968 | CREATE TABLE INST, Here is a database schema( table schema); | What June 10-11 is is that corresponds to March 28, 1968?.It is not neccessary to use all the tables. |
SELECT SUM Lane FROM table WHERE Nationality = sweden AND Split (50m) < 26.25 | CREATE TABLE INST, Here is a database schema( table schema); | What is the total of lane(s) for swimmers from Sweden with a 50m split of faster than 26.25?.It is not neccessary to use all the tables. |
SELECT score FROM table_name_91 WHERE home = "washington capitols" AND date = "november 23, 1946" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Score on November 23 1946 with Washington Capitols Home team?It is not neccessary to use all the tables. |
SELECT MIN Fleet Size FROM table WHERE Type = shunter AND Introduced = 1953 | CREATE TABLE INST, Here is a database schema( table schema); | What is the smallest fleet size with a type of shunter introduced in 1953?.It is not neccessary to use all the tables. |
SELECT Ship's name FROM table WHERE Type of Ship = twin screw ro-ro motorship AND Date entered service = 11 february 1983 | CREATE TABLE INST, Here is a database schema( table schema); | what is the ships name that is a twin screw ro-ro motorship and entered service on 11 february 1983?.It is not neccessary to use all the tables. |
SELECT MAX Cuts made FROM table WHERE Top-5 = 0 AND Wins < 0 | CREATE TABLE INST, Here is a database schema( table schema); | What is the highest number of cuts made in a tournament with 0 wins and 0 top 5 placings?.It is not neccessary to use all the tables. |
SELECT location FROM table_name_46 WHERE stadium = "hietalahti stadium" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Location of the Hietalahti Stadium?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.