sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT Games FROM table WHERE Match points = 34
CREATE TABLE INST, Here is a database schema( table schema);
What is the number of games for a club that has 34 match points?.It is not neccessary to use all the tables.
SELECT Church Name FROM table WHERE Sub-Parish (Sokn) = fresvik
CREATE TABLE INST, Here is a database schema( table schema);
What is the church in the Sub-Parish of Fresvik called?.It is not neccessary to use all the tables.
SELECT Stadium FROM table WHERE Sport = football AND League = china league one
CREATE TABLE INST, Here is a database schema( table schema);
Which stadium is for football with the China League One?.It is not neccessary to use all the tables.
SELECT MIN(clubs_remaining) FROM table_29566686_1 WHERE leagues_entering_at_this_round = "Allsvenskan"
CREATE TABLE INST, Here is a database schema( table schema);
What is the maximum number of clubs remaining when the league entering at this round was allsvenskan?It is not neccessary to use all the tables.
SELECT COUNT Loses FROM table WHERE Club = Tauras Tauragė
CREATE TABLE INST, Here is a database schema( table schema);
List total loses forh the tauras tauragė team..It is not neccessary to use all the tables.
SELECT area FROM table_name_60 WHERE hangul_chosongul = "경기도"
CREATE TABLE INST, Here is a database schema( table schema);
What is the area for the province having Hangul of 경기도?It is not neccessary to use all the tables.
SELECT COUNT(gold) FROM table_name_50 WHERE total = 1 AND silver = 1
CREATE TABLE INST, Here is a database schema( table schema);
Name the total number of golds when total is 1 and silver is 1It is not neccessary to use all the tables.
SELECT CRS_DESCRIPTION, COUNT(CRS_DESCRIPTION) FROM CLASS AS T1 JOIN EMPLOYEE AS T2 ON T1.PROF_NUM = T2.EMP_NUM JOIN COURSE AS T3 ON T1.CRS_CODE = T3.CRS_CODE JOIN PROFESSOR AS T4 ON T2.EMP_NUM = T4.EMP_NUM GROUP BY CRS_DESCRIPTION
CREATE TABLE INST, Here is a database schema( table schema);
How many courses for each course description? Show me a bar chart.It is not neccessary to use all the tables.
SELECT a330 FROM table_name_62 WHERE a310 = "wide"
CREATE TABLE INST, Here is a database schema( table schema);
What is the A330 and the A310 wide?It is not neccessary to use all the tables.
SELECT Comparable Country FROM table WHERE National Share (%) = 1.08
CREATE TABLE INST, Here is a database schema( table schema);
What comparable country has a national share of 1.08?.It is not neccessary to use all the tables.
SELECT transmission FROM table_name_29 WHERE production = "2002-2005"
CREATE TABLE INST, Here is a database schema( table schema);
What is the transmission when the production was 2002-2005?It is not neccessary to use all the tables.
SELECT Nationality² FROM table WHERE Name = Richard Vanquelef
CREATE TABLE INST, Here is a database schema( table schema);
What country is Richard Vanquelef from?.It is not neccessary to use all the tables.
SELECT source FROM table_name_62 WHERE cartridge = ".375 remington ultra magnum"
CREATE TABLE INST, Here is a database schema( table schema);
What is Source when Cartridge is .375 remington ultra magnum?It is not neccessary to use all the tables.
SELECT MAX(bronze) FROM table_name_20 WHERE silver = 3 AND total > 5
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest bronze when the silver was 3 and the total was larger than 5?It is not neccessary to use all the tables.
SELECT Season FROM table WHERE Apps > 2 AND Club = internazionale
CREATE TABLE INST, Here is a database schema( table schema);
In what Season does the Internazionale Club have more than 2 Apps?.It is not neccessary to use all the tables.
SELECT site FROM table_name_25 WHERE date = "november 30, 2006"
CREATE TABLE INST, Here is a database schema( table schema);
What site has november 30 2006 as the date?It is not neccessary to use all the tables.
SELECT COUNT(capacity) FROM table_name_97 WHERE stadium = "alberto picco"
CREATE TABLE INST, Here is a database schema( table schema);
How many people attended games at alberto picco stadium?It is not neccessary to use all the tables.
SELECT MIN(pick__number) FROM table_16575609_1 WHERE player = "Brendon LaBatte"
CREATE TABLE INST, Here is a database schema( table schema);
Where did Brendon Labatte get picked?It is not neccessary to use all the tables.
SELECT ahli FROM table_26173063_2 WHERE ramtha = "0-4"
CREATE TABLE INST, Here is a database schema( table schema);
what is ahli when ramtha is 0-4?It is not neccessary to use all the tables.
SELECT Home FROM table WHERE Decision = price AND Visitor = new jersey devils
CREATE TABLE INST, Here is a database schema( table schema);
What is the home team of the game with a price decision and the new jersey devils as the visitor team?.It is not neccessary to use all the tables.
SELECT AVG(squad_no) FROM table_name_8 WHERE name = "martin smith" AND league_goals < 17
CREATE TABLE INST, Here is a database schema( table schema);
WHAT IS THE AVERAGE SQUAD NUMBER WITH MARTIN SMITH AND LEAGUE GOALS LESS THAN 17?It is not neccessary to use all the tables.
SELECT COUNT("Crowd") FROM table_54374 WHERE "Home team" = 'fitzroy'
CREATE TABLE INST, Here is a database schema( table schema);
What is the size of the crowd when the home team is Fitzroy?It is not neccessary to use all the tables.
SELECT MIN Age FROM table WHERE Geographical Regions = Cibao Central AND Hometown = Santo Domingo
CREATE TABLE INST, Here is a database schema( table schema);
Name the least age for cibao central and santo domingo.It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Opponent = norway AND Results¹ = 1:0
CREATE TABLE INST, Here is a database schema( table schema);
When was the game played against Norway with a result of 1:0?.It is not neccessary to use all the tables.
SELECT date FROM table_name_48 WHERE scorers = "mccoist (3), johnston, butcher, steven"
CREATE TABLE INST, Here is a database schema( table schema);
When was the scorer mccoist (3) johnston butcher steven?It is not neccessary to use all the tables.
SELECT rounds FROM table_name_84 WHERE engine = "opc-challenge" AND driver = "satrio hermanto"
CREATE TABLE INST, Here is a database schema( table schema);
How many rounds did satrio hermanto go with an opc-challenge engine?It is not neccessary to use all the tables.
SELECT SUM Attendance FROM table WHERE Tie no = 13
CREATE TABLE INST, Here is a database schema( table schema);
What was the attendance for the game that has a tie number of 13?.It is not neccessary to use all the tables.
SELECT territory FROM table_name_86 WHERE channel = 83
CREATE TABLE INST, Here is a database schema( table schema);
Where is channel 83 broadcasted?It is not neccessary to use all the tables.
SELECT Tournament FROM table WHERE Date = july 23, 2006
CREATE TABLE INST, Here is a database schema( table schema);
what is the tournament on july 23, 2006?.It is not neccessary to use all the tables.
SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%philippines%' ORDER BY Reputation DESC LIMIT 200
CREATE TABLE INST, Here is a database schema( table schema);
Top Users From The Philippines.It is not neccessary to use all the tables.
SELECT Nationality FROM table WHERE School/Club Team = georgia tech
CREATE TABLE INST, Here is a database schema( table schema);
What is the nationality of the Team Georgia Tech?.It is not neccessary to use all the tables.
SELECT length FROM table_name_52 WHERE year = "2003" AND make_ & _model = "nabi 35-lfw"
CREATE TABLE INST, Here is a database schema( table schema);
What is the lenth of a 2003 Make & Model of nabi 35-lfw?It is not neccessary to use all the tables.
SELECT result FROM table_name_47 WHERE week < 6 AND game_site = "bye"
CREATE TABLE INST, Here is a database schema( table schema);
What was the result of the week that was a bye before week 6?It is not neccessary to use all the tables.
SELECT directed_by FROM table_29569969_2 WHERE us_viewers__millions_ = "1.48"
CREATE TABLE INST, Here is a database schema( table schema);
Who directed the episode that had 1.48 million viewers in the U.S.?It is not neccessary to use all the tables.
SELECT Venue FROM table WHERE Away team = melbourne
CREATE TABLE INST, Here is a database schema( table schema);
When the Away team is melbourne, what venue do they play at?.It is not neccessary to use all the tables.
SELECT Four FROM table WHERE Date = 6 march 1801
CREATE TABLE INST, Here is a database schema( table schema);
Name the four for 6 march 1801.It is not neccessary to use all the tables.
SELECT pinyin FROM table_2008069_2 WHERE uyghur___k̢ona_yezik̢__ = "تىزناپ"
CREATE TABLE INST, Here is a database schema( table schema);
Name the pinyin for تىزناپIt is not neccessary to use all the tables.
SELECT Home team FROM table WHERE Away team score = 8.7 (55)
CREATE TABLE INST, Here is a database schema( table schema);
What is the home team with an 8.7 (55) away team score?.It is not neccessary to use all the tables.
SELECT penanced FROM table_name_65 WHERE executions_in_effigie = "0" AND total = "21"
CREATE TABLE INST, Here is a database schema( table schema);
How many were penanced with 0 executions in effigie for a total of 21?It is not neccessary to use all the tables.
SELECT MAX FLap FROM table WHERE Bike = honda nsr500 AND Race > 16
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest FLap by a Honda NSR500 bike after Race 16?.It is not neccessary to use all the tables.
SELECT spokesperson FROM table_1368649_9 WHERE year_s_ = 1970
CREATE TABLE INST, Here is a database schema( table schema);
Who was the spokesperson for France in 1970?It is not neccessary to use all the tables.
SELECT COUNT 2006 FROM table WHERE 2010 > 417.9
CREATE TABLE INST, Here is a database schema( table schema);
What is the 2006 total with a 2010 value greater than 417.9?.It is not neccessary to use all the tables.
SELECT Place FROM table WHERE Country = united states AND Player = calvin peete
CREATE TABLE INST, Here is a database schema( table schema);
Where did Calvin Peete of the United States place?.It is not neccessary to use all the tables.
SELECT School FROM table WHERE Team Name = panthers AND Year Left = 1968
CREATE TABLE INST, Here is a database schema( table schema);
Which school left in 1968 and has the team name of Panthers?.It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Score = 1-2 AND Venue = athens olympic stadium
CREATE TABLE INST, Here is a database schema( table schema);
On what date was the score 1-2 at Athens Olympic Stadium?.It is not neccessary to use all the tables.
SELECT No.9 FROM table WHERE No.7 = joana AND FINAL = pedro
CREATE TABLE INST, Here is a database schema( table schema);
Who was number 9 that had a number 7 of Joana and a Final of Pedro?.It is not neccessary to use all the tables.
SELECT Opponent FROM table WHERE Location = boston garden AND Game > 1 AND Score = 115-105
CREATE TABLE INST, Here is a database schema( table schema);
What is Opponent, when Location is "Boston Garden", when Game is greater than 1, and when Score is "115-105"?.It is not neccessary to use all the tables.
SELECT position FROM table_16575609_1 WHERE college = "Louisiana-Lafayette"
CREATE TABLE INST, Here is a database schema( table schema);
What position was taken out of Louisiana-Lafayette?It is not neccessary to use all the tables.
SELECT date FROM table_name_26 WHERE time = "7:30 pm et"
CREATE TABLE INST, Here is a database schema( table schema);
What date was the episode that aired at 7:30 pm ET?It is not neccessary to use all the tables.
SELECT score FROM table_name_25 WHERE date = "january 16, 2010"
CREATE TABLE INST, Here is a database schema( table schema);
What was the score on January 16, 2010?It is not neccessary to use all the tables.
SELECT 2 (VF) FROM table WHERE 2 (F) = তুমি বললে
CREATE TABLE INST, Here is a database schema( table schema);
What is the 2(vf) for তুমি বললে?.It is not neccessary to use all the tables.
SELECT MAX(grid) FROM table_name_64 WHERE rider = "mika kallio"
CREATE TABLE INST, Here is a database schema( table schema);
what is the grid when the rider is mika kallio?It is not neccessary to use all the tables.
SELECT rank FROM table_name_29 WHERE goals < 66
CREATE TABLE INST, Here is a database schema( table schema);
What is the Rank with a Goal number smaller than 66?It is not neccessary to use all the tables.
SELECT chinese__simplified_ FROM table_name_21 WHERE album_number = "9th"
CREATE TABLE INST, Here is a database schema( table schema);
What is the simplified Chinese name for the 9th album?It is not neccessary to use all the tables.
SELECT SUM(goals_conceded) FROM table_name_60 WHERE lost > 7 AND points < 26
CREATE TABLE INST, Here is a database schema( table schema);
Name the sum of goals conceded when lost is more than 7 and points less than 26It is not neccessary to use all the tables.
SELECT SUM Draw FROM table WHERE Song = "ljubav jedne žene" AND Points < 153
CREATE TABLE INST, Here is a database schema( table schema);
What draw for "ljubav jedne žene" with under 153 points?.It is not neccessary to use all the tables.
SELECT Original air date FROM table WHERE Season # = 9
CREATE TABLE INST, Here is a database schema( table schema);
When did season 9 originally air?.It is not neccessary to use all the tables.
SELECT total_w_l FROM table_10294071_1 WHERE player = "Boro Jovanović Category:Articles with hCards"
CREATE TABLE INST, Here is a database schema( table schema);
what's the total w–l where player is boro jovanović category:articles with hcardsIt is not neccessary to use all the tables.
SELECT MIN("Total") FROM table_53725 WHERE "Silver" > '0' AND "Nation" = 'italy' AND "Gold" < '29'
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the total for silver more than 0 for italy with gold less than 29It is not neccessary to use all the tables.
SELECT Visitor FROM table WHERE Date = 2006-11-04
CREATE TABLE INST, Here is a database schema( table schema);
What is the name of the visitor on 2006-11-04?.It is not neccessary to use all the tables.
SELECT Rider FROM table WHERE Grid > 6 AND Laps = 28 AND Time = +39.476
CREATE TABLE INST, Here is a database schema( table schema);
Which Rider has a Grid larger than 6, and has Laps of 28, and a Time of +39.476?.It is not neccessary to use all the tables.
SELECT SUM Rank FROM table WHERE Total < 1
CREATE TABLE INST, Here is a database schema( table schema);
What's the rank that has a total of less than 1?.It is not neccessary to use all the tables.
SELECT To par FROM table WHERE Player = hale irwin
CREATE TABLE INST, Here is a database schema( table schema);
what is the to par when the player is hale irwin?.It is not neccessary to use all the tables.
SELECT Model FROM table WHERE Displacement = 1,868 cc
CREATE TABLE INST, Here is a database schema( table schema);
What model has an engine of 1,868 cc?.It is not neccessary to use all the tables.
SELECT AVG(population__2004_) FROM table_name_38 WHERE moroccan_population > 234506
CREATE TABLE INST, Here is a database schema( table schema);
Which Population (2004) has a Moroccan population larger than 234506?It is not neccessary to use all the tables.
SELECT Crowd FROM table WHERE Away team = richmond
CREATE TABLE INST, Here is a database schema( table schema);
When Richmond is the away team, what is the crowd size?.It is not neccessary to use all the tables.
SELECT Venue FROM table WHERE Away team score = 16.8 (104)
CREATE TABLE INST, Here is a database schema( table schema);
At what venue did the away team have a score of 16.8 (104)?.It is not neccessary to use all the tables.
SELECT Position FROM table WHERE Height = 2.12
CREATE TABLE INST, Here is a database schema( table schema);
What position was played by the player who was 2.12 meters tall?.It is not neccessary to use all the tables.
SELECT SUM(fastest_laps) FROM table_name_81 WHERE poles = 4 AND races > 178
CREATE TABLE INST, Here is a database schema( table schema);
How many Fastest Laps have Poles of 4 and Races larger than 178?It is not neccessary to use all the tables.
SELECT COUNT Top 10 FROM table WHERE Avg. Start = 29.4
CREATE TABLE INST, Here is a database schema( table schema);
How many top tens had an average start of 29.4?.It is not neccessary to use all the tables.
SELECT SUM Year FROM table WHERE Date = 5 february
CREATE TABLE INST, Here is a database schema( table schema);
What is the sum of the year for 5 february?.It is not neccessary to use all the tables.
SELECT winners FROM table_12303563_2 WHERE nation = "Vietnam"
CREATE TABLE INST, Here is a database schema( table schema);
how many winners from vietnamIt is not neccessary to use all the tables.
SELECT MAX(production_code) FROM table_28787871_3 WHERE us_viewers__millions_ = "2.3"
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest production code of the episodes having a US viewership of exactly 2.3?It is not neccessary to use all the tables.
SELECT Lifetime Achievement Award FROM table WHERE Band = snow patrol AND Female = juliet turner
CREATE TABLE INST, Here is a database schema( table schema);
Who won the Lifetime Achievement Award when Snow Patrol performed and Juliet Turner presented?.It is not neccessary to use all the tables.
SELECT margin_of_victory FROM table_275162_1 WHERE location = "Lake Forest, Illinois"
CREATE TABLE INST, Here is a database schema( table schema);
What was the margin of victory for the event in lake forest illinois?It is not neccessary to use all the tables.
SELECT elected FROM table_name_44 WHERE assembled = "23 january 1559"
CREATE TABLE INST, Here is a database schema( table schema);
What Elected has Assembled of 23 january 1559?It is not neccessary to use all the tables.
SELECT high_rebounds FROM table_11960407_4 WHERE high_points = "Chris Bosh (16)"
CREATE TABLE INST, Here is a database schema( table schema);
Who had the high rebounds when Chris Bosh (16) had the high points?It is not neccessary to use all the tables.
SELECT SUM(grid) FROM table_name_44 WHERE manufacturer = "aprilia" AND laps < 19 AND rider = "sandro cortese"
CREATE TABLE INST, Here is a database schema( table schema);
What is the grid number of Sandro Cortese who has Aprilia as the manufacturer and less than 19 laps?It is not neccessary to use all the tables.
SELECT City of license FROM table WHERE Frequency MHz = 104.5 fm
CREATE TABLE INST, Here is a database schema( table schema);
Which city has a frequency of 104.5 fm?.It is not neccessary to use all the tables.
SELECT first_elected FROM table_name_66 WHERE member = "hon ian causley"
CREATE TABLE INST, Here is a database schema( table schema);
When was the Hon Ian Causley first elected?It is not neccessary to use all the tables.
SELECT Location FROM table WHERE Result = 4-1 w
CREATE TABLE INST, Here is a database schema( table schema);
Where was the game which ended in a 4-1 w?.It is not neccessary to use all the tables.
SELECT examples FROM table_name_51 WHERE australian = "æ"
CREATE TABLE INST, Here is a database schema( table schema);
What are the examples for the Australian æ?It is not neccessary to use all the tables.
SELECT SUM(spectators) FROM table_name_47 WHERE date = "17 june 2006" AND time__cet_ > 15
CREATE TABLE INST, Here is a database schema( table schema);
How many Spectators have a Date of 17 june 2006 and a Time (CET) larger than 15?It is not neccessary to use all the tables.
SELECT MAX(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '015-23047')) AND intakeoutput.celllabel = 'chesttube total' AND intakeoutput.cellpath LIKE '%output%' AND STRFTIME('%y-%m-%d', intakeoutput.intakeoutputtime) >= '2104-04-29' GROUP BY STRFTIME('%y-%m', intakeoutput.intakeoutputtime)
CREATE TABLE INST, Here is a database schema( table schema);
indicate the monthly maximum volume of chesttube total that patient 015-23047 has had since 04/29/2104.It is not neccessary to use all the tables.
SELECT MAX NGC number FROM table WHERE Declination ( J2000 ) = °25′26″
CREATE TABLE INST, Here is a database schema( table schema);
what is the highest ngc number when the declination (j2000) is °25′26″?.It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Tie no = 23
CREATE TABLE INST, Here is a database schema( table schema);
What was the score for the match with tie number 23?.It is not neccessary to use all the tables.
SELECT COUNT(*) FROM table_204_780 WHERE "position" = 4
CREATE TABLE INST, Here is a database schema( table schema);
tell me the number of times he placed 4th .It is not neccessary to use all the tables.
SELECT Location Attendance FROM table WHERE Record = 9-4
CREATE TABLE INST, Here is a database schema( table schema);
What location and how many people were in attendance where the record was 9-4 for the season?.It is not neccessary to use all the tables.
SELECT australian FROM table_name_79 WHERE letter = "i /ɪ/"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Australian equivalent to i /ɪ/?It is not neccessary to use all the tables.
SELECT SUM(pick) FROM table_name_23 WHERE school = "tulane university"
CREATE TABLE INST, Here is a database schema( table schema);
What is the pick number for tulane university?It is not neccessary to use all the tables.
SELECT COUNT Year FROM table WHERE Performance = 60.73m AND Age (years) > 45
CREATE TABLE INST, Here is a database schema( table schema);
What is the year when the performance is 60.73m and the age (years) is more than 45?.It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Remainder = 20%
CREATE TABLE INST, Here is a database schema( table schema);
Which Date has a Remainder of 20%?.It is not neccessary to use all the tables.
SELECT Ethernet port count FROM table WHERE Model = whr-hp-g300n
CREATE TABLE INST, Here is a database schema( table schema);
What is the Ethernet port count of the whr-hp-g300n model?.It is not neccessary to use all the tables.
SELECT Location Denotes location of school by Seattle neighborhood, does not necessary correspond with attendance area FROM table WHERE School = Eckstein
CREATE TABLE INST, Here is a database schema( table schema);
Name the location for school eckstein.It is not neccessary to use all the tables.
SELECT 4th Runner Up FROM table WHERE 3rd Runner Up = Olivia Franciska
CREATE TABLE INST, Here is a database schema( table schema);
Who won 5th place with olivia franciska won 4th place?.It is not neccessary to use all the tables.
SELECT runner_s__up FROM table_name_77 WHERE winning_score = –13(75 - 68 - 68 = 211)
CREATE TABLE INST, Here is a database schema( table schema);
Who was the runner(s)-up when the winning score was –13 (75-68-68=211)?It is not neccessary to use all the tables.
SELECT COUNT(since) FROM table_name_57 WHERE goals > 6 AND name = "deco"
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of Since with a Goals larger than 6 and a Name with deco?It is not neccessary to use all the tables.
SELECT Venue FROM table WHERE Result = 1-3
CREATE TABLE INST, Here is a database schema( table schema);
In what Venue was the Result 1-3?.It is not neccessary to use all the tables.
SELECT COUNT Game FROM table WHERE Date = april 11
CREATE TABLE INST, Here is a database schema( table schema);
On the date April 11, what is the total game number?.It is not neccessary to use all the tables.
SELECT COUNT(date) FROM table_name_67 WHERE partner = "carl-uwe steeb"
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of Date when Partner is "Carl-Uwe Steeb"?It is not neccessary to use all the tables.