sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT Circuit FROM table WHERE Date = may 7 AND Length = 1 hour
CREATE TABLE INST, Here is a database schema( table schema);
Which circuit was held on May 7 for 1 hour?.It is not neccessary to use all the tables.
SELECT population FROM table_name_81 WHERE _percentage_muslim = "30%"
CREATE TABLE INST, Here is a database schema( table schema);
What is the population when the % Muslim shows 30%?It is not neccessary to use all the tables.
SELECT date_test_taken, COUNT(date_test_taken) FROM Student_Tests_Taken WHERE test_result = "Pass" GROUP BY date_test_taken ORDER BY date_test_taken DESC
CREATE TABLE INST, Here is a database schema( table schema);
Which tests have 'Pass' results? Return the dates when the tests were taken, and count them by a bar chart, rank by the X in desc.It is not neccessary to use all the tables.
SELECT MIN(lost) FROM table_19179465_1 WHERE points = 34
CREATE TABLE INST, Here is a database schema( table schema);
How many games were lost when the club got 34 pointsIt is not neccessary to use all the tables.
SELECT niederbayern FROM table_23224961_1 WHERE oberbayern_b = "ESV Ingolstadt"
CREATE TABLE INST, Here is a database schema( table schema);
When esv ingolstadt is the oberbayern b what is the niederbayern?It is not neccessary to use all the tables.
SELECT MIN Draws FROM table WHERE Losses > 0 AND Against > 1353 AND Wins = 2 AND Ballarat FL = ballarat
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest draws that have losses less than 0, an against greater than 1353, 2 as the wins, and ballarat as ballarat fl?.It is not neccessary to use all the tables.
SELECT political_party FROM table_name_72 WHERE name = "ibrahim bej biçakçiu"
CREATE TABLE INST, Here is a database schema( table schema);
Which Political Party has a Name of ibrahim bej biçakçiu?It is not neccessary to use all the tables.
SELECT City FROM table WHERE Built = 1988
CREATE TABLE INST, Here is a database schema( table schema);
What city was the building built in 1988?.It is not neccessary to use all the tables.
SELECT Population (2010) FROM table WHERE Population Density (2010) = 3,965.02
CREATE TABLE INST, Here is a database schema( table schema);
In 2010, how many people lived in cities with a population density of 3,965.02?.It is not neccessary to use all the tables.
SELECT Party FROM table WHERE Incumbent = Brooks Hays
CREATE TABLE INST, Here is a database schema( table schema);
What party did incumbent Brooks Hays belong to? .It is not neccessary to use all the tables.
SELECT opening_date FROM table_name_53 WHERE capacity = 100
CREATE TABLE INST, Here is a database schema( table schema);
What opening date has a capacity of 100?It is not neccessary to use all the tables.
SELECT team FROM table_name_32 WHERE rider = "anthony redmond"
CREATE TABLE INST, Here is a database schema( table schema);
What team does Anthony Redmond ride for?It is not neccessary to use all the tables.
SELECT incumbent FROM table_1342013_20 WHERE first_elected = 1944
CREATE TABLE INST, Here is a database schema( table schema);
Who is the incumbent first elected in 1944?It is not neccessary to use all the tables.
SELECT turkish FROM table_name_51 WHERE bangla = "shombar সোমবার"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Turkish word for the Bangla word shombar সোমবার?It is not neccessary to use all the tables.
SELECT Runner(s)-up FROM table WHERE Tournament = michelob light open at kingsmill
CREATE TABLE INST, Here is a database schema( table schema);
Who was the runner-up in the Michelob Light Open at Kingsmill?.It is not neccessary to use all the tables.
SELECT COUNT(date) FROM table_14934885_1 WHERE performer_3 = "Kate Robbins"
CREATE TABLE INST, Here is a database schema( table schema);
How many times was performer 3 Kate Robbins?It is not neccessary to use all the tables.
SELECT rev FROM table_1310499_1 WHERE application = "2003-2004 Mustang Cobra"
CREATE TABLE INST, Here is a database schema( table schema);
What is the rev of the 2003-2004 Mustang Cobra?It is not neccessary to use all the tables.
SELECT away_team AS score FROM table_name_5 WHERE away_team = "south melbourne"
CREATE TABLE INST, Here is a database schema( table schema);
What was South Melbourne's score when they played as the away team?It is not neccessary to use all the tables.
SELECT 2010 FROM table_name_44 WHERE 2008 = "grand slam tournaments"
CREATE TABLE INST, Here is a database schema( table schema);
Can you tell me the 2010 that has the 2008 of grand slam tournaments?It is not neccessary to use all the tables.
SELECT circuit FROM table_20884163_2 WHERE winner = "Rick Kelly"
CREATE TABLE INST, Here is a database schema( table schema);
What circuit did rick kelly win on?It is not neccessary to use all the tables.
SELECT Opponent FROM table WHERE Date = december 10, 2000
CREATE TABLE INST, Here is a database schema( table schema);
Who was the opponent on December 10, 2000?.It is not neccessary to use all the tables.
SELECT SUM Teams FROM table WHERE Season < 2008 AND K League Classic = runners-up AND Manager = kim ho
CREATE TABLE INST, Here is a database schema( table schema);
How many teams played before 2008, had a K League Classic of runners-up, and a Manager of kim ho?.It is not neccessary to use all the tables.
SELECT method FROM table_name_94 WHERE opponent = "ivan serati"
CREATE TABLE INST, Here is a database schema( table schema);
What was the method for opponent of Ivan Serati?It is not neccessary to use all the tables.
SELECT Opponent FROM table WHERE Week = 10
CREATE TABLE INST, Here is a database schema( table schema);
Who is the opponent in week 10?.It is not neccessary to use all the tables.
SELECT name FROM program EXCEPT SELECT t1.name FROM program AS t1 JOIN broadcast AS t2 ON t1.program_id = t2.program_id WHERE t2.time_of_day = "Morning"
CREATE TABLE INST, Here is a database schema( table schema);
Which programs are never broadcasted in the morning? Give me the names of the programs.It is not neccessary to use all the tables.
SELECT AVG(rank) FROM table_name_98 WHERE third = 2 AND winners < 2
CREATE TABLE INST, Here is a database schema( table schema);
Which Rank has a Third of 2 and Winners smaller than 2?It is not neccessary to use all the tables.
SELECT intakeoutput.intakeoutputtime FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-203413')) AND intakeoutput.cellpath LIKE '%output%' AND intakeoutput.celllabel = 'urinary catheter output: indwelling/continuous ure' AND DATETIME(intakeoutput.intakeoutputtime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-0 month') AND STRFTIME('%d', intakeoutput.intakeoutputtime) = '19' ORDER BY intakeoutput.intakeoutputtime DESC LIMIT 1
CREATE TABLE INST, Here is a database schema( table schema);
when was patient 027-203413's urinary catheter output: indwelling/continuous ure output for the last time on this month/19?It is not neccessary to use all the tables.
SELECT President FROM table WHERE Head Coach = mark wakeling
CREATE TABLE INST, Here is a database schema( table schema);
Who is the President of the team that has the Head Coach Mark Wakeling?.It is not neccessary to use all the tables.
SELECT Title FROM table WHERE Type = album AND Year = 1983
CREATE TABLE INST, Here is a database schema( table schema);
Which Title has a Type of album in 1983?.It is not neccessary to use all the tables.
SELECT team FROM table_name_42 WHERE arena = "toyota höllin"
CREATE TABLE INST, Here is a database schema( table schema);
What team is in the toyota höllin arena?It is not neccessary to use all the tables.
SELECT Rebuilt FROM table WHERE Name as rebuilt = binevanagh
CREATE TABLE INST, Here is a database schema( table schema);
Which Rebuilt has a Name as rebuilt of binevanagh?.It is not neccessary to use all the tables.
SELECT T1.first_name, T1.last_name, T2.department_name, T3.city, T3.state_province FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id JOIN locations AS T3 ON T2.location_id = T3.location_id
CREATE TABLE INST, Here is a database schema( table schema);
display the first and last name department city and state province for each employee.It is not neccessary to use all the tables.
SELECT MAX Split (50m) FROM table WHERE Time = 53.74 AND Lane < 3
CREATE TABLE INST, Here is a database schema( table schema);
What is the slowest 50m split time for a total of 53.74 in a lane of less than 3?.It is not neccessary to use all the tables.
SELECT home_team FROM table_name_40 WHERE venue = "victoria park"
CREATE TABLE INST, Here is a database schema( table schema);
Which home team plays at victoria park?It is not neccessary to use all the tables.
SELECT d_44_√ FROM table_name_27 WHERE d_46_√ = "d 26"
CREATE TABLE INST, Here is a database schema( table schema);
What's the D 44 √ when D 46 √ is d 26?It is not neccessary to use all the tables.
SELECT home_team AS score FROM table_16387953_1 WHERE home_team = "Adelaide"
CREATE TABLE INST, Here is a database schema( table schema);
What are the scores for games where the home team is Adelaide?It is not neccessary to use all the tables.
SELECT T2.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid WHERE T1.name LIKE '%ee%'
CREATE TABLE INST, Here is a database schema( table schema);
What is the checking balance of the account whose owner’s name contains the substring ‘ee’?It is not neccessary to use all the tables.
SELECT MAX Draws FROM table WHERE Wins < 20 AND Points < 41 AND Goals for < 27
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest number of draws a club with less than 20 wins, less than 41 points, and less than 27 goals have?.It is not neccessary to use all the tables.
SELECT Time FROM table WHERE Round = 3 AND Opponent = keith wisniewski
CREATE TABLE INST, Here is a database schema( table schema);
What was the total time for the match that ocurred in Round 3 with opponent Keith Wisniewski?.It is not neccessary to use all the tables.
SELECT MIN(international_mail) FROM table_name_82 WHERE domestic_freight < 72 AND domestic_mail = 0 AND year < 2012 AND total_freight_and_mail > 4 OFFSET 695
CREATE TABLE INST, Here is a database schema( table schema);
What is the international mail with the lowest number to have less than 72 domestic freight 0 domestic mail later than 2012 with total freight and mail more than 4695?It is not neccessary to use all the tables.
SELECT Name, COUNT(*) FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.Branch_ID = T2.Branch_ID WHERE T1.Register_Year > 2015 GROUP BY T2.Branch_ID ORDER BY COUNT(*) DESC
CREATE TABLE INST, Here is a database schema( table schema);
Show all branch names with the number of members in each branch registered after 2015 with a bar chart, and list in descending by the total number.It is not neccessary to use all the tables.
SELECT SUM Rank FROM table WHERE Nation = west germany AND Bronze > 0
CREATE TABLE INST, Here is a database schema( table schema);
What is the sum of a rank whose nation is West Germany and has bronze larger than 0?.It is not neccessary to use all the tables.
SELECT "Marriage" FROM table_69586 WHERE "Spouse" = 'christian viii'
CREATE TABLE INST, Here is a database schema( table schema);
Name the marriage of the person who is married for christian viiiIt is not neccessary to use all the tables.
SELECT Home team FROM table WHERE Away team = north melbourne
CREATE TABLE INST, Here is a database schema( table schema);
Who is the home side when north melbourne is the away side?.It is not neccessary to use all the tables.
SELECT SUM Attendance FROM table WHERE Date = september 8
CREATE TABLE INST, Here is a database schema( table schema);
What is the sum of people in attendance on September 8?.It is not neccessary to use all the tables.
SELECT AVG(CAST(pp.Score AS FLOAT)) AS Average_Score, SUM(pp.Score) AS Score_Sum, COUNT(pp.REP_BUCKET) AS Post_Count, pp.REP_BUCKET AS Reputation_Bucket FROM (SELECT p.Score, CASE WHEN u.Reputation <= 50 THEN ' 000 - 50' WHEN u.Reputation > 50 AND u.Reputation <= 100 THEN '051 - 100' WHEN u.Reputation > 100 AND u.Reputation <= 200 THEN '101 - 200' WHEN u.Reputation > 200 AND u.Reputation <= 300 THEN '201 - 300' WHEN u.Reputation > 300 AND u.Reputation <= 400 THEN '301 - 400' ELSE 'over 400' END AS REP_BUCKET FROM Posts AS p JOIN Users AS u ON p.OwnerUserId = u.Id WHERE p.PostTypeId = 1 AND p.Tags LIKE '%minecraft-commands%' ORDER BY p.CreationDate DESC LIMIT 1000) AS pp GROUP BY pp.REP_BUCKET ORDER BY pp.REP_BUCKET DESC
CREATE TABLE INST, Here is a database schema( table schema);
Arqade [minecraft-commands] average score per user reputation.It is not neccessary to use all the tables.
SELECT Title FROM table WHERE Production code = 3X6306
CREATE TABLE INST, Here is a database schema( table schema);
What episode title had a production code of 3x6306?.It is not neccessary to use all the tables.
SELECT Type FROM table WHERE School Board = Rainbow District School Board
CREATE TABLE INST, Here is a database schema( table schema);
The Rainbow District School Board is associated with what type?.It is not neccessary to use all the tables.
SELECT No. in series FROM table WHERE Directed by = Matthew Penn
CREATE TABLE INST, Here is a database schema( table schema);
For the episode directed by Matthew Penn, what is the total number in the series?.It is not neccessary to use all the tables.
SELECT 2010–11 FROM table WHERE Event = colonial square ladies classic
CREATE TABLE INST, Here is a database schema( table schema);
What is the 2010–11 when the Event is colonial square ladies classic?.It is not neccessary to use all the tables.
SELECT AVG Year born FROM table WHERE Player = radek necas AND Height < 2.04
CREATE TABLE INST, Here is a database schema( table schema);
When was radek necas with less than 2.04 height born?.It is not neccessary to use all the tables.
SELECT vitalperiodic.systemicdiastolic FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-140729')) AND NOT vitalperiodic.systemicdiastolic IS NULL AND STRFTIME('%y-%m-%d', vitalperiodic.observationtime) >= '2104-09-11' ORDER BY vitalperiodic.observationtime LIMIT 1
CREATE TABLE INST, Here is a database schema( table schema);
what was the first systemicdiastolic of patient 006-140729 since 09/11/2104.It is not neccessary to use all the tables.
SELECT competition FROM table_name_70 WHERE notes = "half marathon"
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the competition for half marathonIt is not neccessary to use all the tables.
SELECT Status FROM table WHERE Location = Museum
CREATE TABLE INST, Here is a database schema( table schema);
Whats the status of the trains at location Museum.It is not neccessary to use all the tables.
SELECT Driver FROM table WHERE Constructor = mercedes-benz AND Chassis = mercedes-benz ssk
CREATE TABLE INST, Here is a database schema( table schema);
Who was the Driver, when the Contsructor was Mercedes-Benz, and when the Chassis was Mercedes-Benz SSK?.It is not neccessary to use all the tables.
SELECT opponent FROM table_name_18 WHERE week < 14 AND date = "october 10, 1993"
CREATE TABLE INST, Here is a database schema( table schema);
Who was the opponent in a week below 14 on October 10 1993?It is not neccessary to use all the tables.
SELECT MIN(earnings___) AS $__ FROM table_name_12 WHERE rank < 1
CREATE TABLE INST, Here is a database schema( table schema);
Which Earnings ($) is the lowest one that has a Rank smaller than 1?It is not neccessary to use all the tables.
SELECT place FROM table_name_13 WHERE to_par = "–2" AND player = "johnny miller"
CREATE TABLE INST, Here is a database schema( table schema);
With a To par of –2 what is Johnny Miller's Place?It is not neccessary to use all the tables.
SELECT COUNT(goals_conceded) FROM table_name_47 WHERE draws < 5 AND loses > 4 AND wins > 9
CREATE TABLE INST, Here is a database schema( table schema);
What was the total number of Goals conceded when there were more than 4 losses, less than 5 draws, and more than 9 wins?It is not neccessary to use all the tables.
SELECT COUNT(*) FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '007-849' AND patient.hospitaldischargetime IS NULL)) AND medication.drugname = 'morphine sulfate'
CREATE TABLE INST, Here is a database schema( table schema);
calculate the number of times that morphine sulfate was prescribed to patient 007-849 during this hospital visit.It is not neccessary to use all the tables.
SELECT AVG(year) FROM table_name_66 WHERE position = "9th" AND event = "100 m" AND venue = "munich, germany"
CREATE TABLE INST, Here is a database schema( table schema);
What is the average Year when Position is 9th when Event is 100 m and when Venue is Munich Germany?It is not neccessary to use all the tables.
SELECT result FROM table_name_11 WHERE week = 13
CREATE TABLE INST, Here is a database schema( table schema);
On week 13 what was the score of the game?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Location Attendance = td banknorth garden 18,624
CREATE TABLE INST, Here is a database schema( table schema);
What is Date, when Location Attendance is "TD Banknorth Garden 18,624"?.It is not neccessary to use all the tables.
SELECT MIN Round FROM table WHERE Location = indiana, united states AND Method = submission (guillotine choke)
CREATE TABLE INST, Here is a database schema( table schema);
Can you tell me the lowest Round that has the Location of indiana, united states, and the Method of submission (guillotine choke)?.It is not neccessary to use all the tables.
SELECT SUM(points) FROM table_name_40 WHERE lost = 3 AND played > 12
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of points where there were 3 losses and a played number bigger than 12?It is not neccessary to use all the tables.
SELECT COUNT(digital_terrestrial_channel) FROM table_182410_10 WHERE channel = "channel 4"
CREATE TABLE INST, Here is a database schema( table schema);
How many digital terrestrial channels are there for channel 4?It is not neccessary to use all the tables.
SELECT MIN(pre_season) FROM table_name_4 WHERE a_league = "0 1" AND finals > 0
CREATE TABLE INST, Here is a database schema( table schema);
Which Pre-Season has a A-League of 0 1 and a Finals larger than 0?It is not neccessary to use all the tables.
SELECT COUNT(*) AS ActivePosters5 FROM Posts AS p WHERE p.Score >= 0 AND DATEDIFF(day, p.CreationDate, GETDATE()) <= 30 GROUP BY p.OwnerUserId HAVING COUNT(p.Id) >= 5
CREATE TABLE INST, Here is a database schema( table schema);
Monthly active users in StackOverflow / StackExchange.It is not neccessary to use all the tables.
SELECT AVG(laps) FROM table_name_71 WHERE manufacturer = "yamaha" AND rider = "garry mccoy" AND grid < 4
CREATE TABLE INST, Here is a database schema( table schema);
What is the average laps when the manufacturer is yamaha, and the rider is garry mccoy and the grid is smaller than 4?It is not neccessary to use all the tables.
SELECT area_served FROM table_name_94 WHERE frequency = "100.3" AND on_air_id = "yass fm"
CREATE TABLE INST, Here is a database schema( table schema);
what Area has the frequency of 100.3 and an On-air ID of yass fm?It is not neccessary to use all the tables.
SELECT Extortion/Theft 3 FROM table WHERE United Nations Mission = United Nations Observer Mission Uganda-Rwanda
CREATE TABLE INST, Here is a database schema( table schema);
What is the extortion and theft rates where the United Nations Observer Mission Uganda-Rwanda is active?.It is not neccessary to use all the tables.
SELECT first_season FROM table_1096793_1 WHERE last_title = "2012"
CREATE TABLE INST, Here is a database schema( table schema);
What was the first season of the club who last won a title in 2012?It is not neccessary to use all the tables.
SELECT nationality FROM table_name_79 WHERE player = "rod langway"
CREATE TABLE INST, Here is a database schema( table schema);
What nationality is Rod Langway?It is not neccessary to use all the tables.
SELECT wins FROM table_16034882_4 WHERE points = 42
CREATE TABLE INST, Here is a database schema( table schema);
How many wins did the team with 42 points get?It is not neccessary to use all the tables.
SELECT MIN Long FROM table WHERE Yards = 26
CREATE TABLE INST, Here is a database schema( table schema);
What was the lowest long with 26 yards?.It is not neccessary to use all the tables.
SELECT loss FROM table_name_56 WHERE opponent = "chinatrust whales" AND save = "miguel saladin"
CREATE TABLE INST, Here is a database schema( table schema);
What's the loss of who has a Save of Miguel Saladin and played against Chinatrust Whales?It is not neccessary to use all the tables.
SELECT runner_up FROM table_name_14 WHERE score = "4 & 3" AND winner = "michael bonallack"
CREATE TABLE INST, Here is a database schema( table schema);
What runner-up has 4 & 3 as the score with michael bonallack as the winner?It is not neccessary to use all the tables.
SELECT Nationality FROM table WHERE Pick > 129
CREATE TABLE INST, Here is a database schema( table schema);
What nationality has a pick greater than 129?.It is not neccessary to use all the tables.
SELECT lowest FROM table_21824695_8 WHERE stadium = "Pohang Steelyard"
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest when pohang steelyard is the stadium?It is not neccessary to use all the tables.
SELECT Directed by FROM table WHERE No. in season = 1
CREATE TABLE INST, Here is a database schema( table schema);
Who directed season 1?.It is not neccessary to use all the tables.
SELECT second_party FROM table_name_71 WHERE first_party = "conservative" AND election = "1834"
CREATE TABLE INST, Here is a database schema( table schema);
What is the second party that has a conservative first party in the 1834 election?It is not neccessary to use all the tables.
SELECT week FROM table_name_56 WHERE date = "december 3, 2001"
CREATE TABLE INST, Here is a database schema( table schema);
Which Week has a Date of december 3 2001?It is not neccessary to use all the tables.
SELECT record FROM table_name_17 WHERE location_attendance = "td banknorth garden 18,624"
CREATE TABLE INST, Here is a database schema( table schema);
What is Record when Location Attendance is "TD Banknorth Garden 18624"?It is not neccessary to use all the tables.
SELECT MAX Bronze FROM table WHERE Rank = 4 AND Gold < 0
CREATE TABLE INST, Here is a database schema( table schema);
Which Bronze has a Rank of 4, and a Gold smaller than 0?.It is not neccessary to use all the tables.
SELECT COUNT(round) FROM table_name_8 WHERE college = "florida state"
CREATE TABLE INST, Here is a database schema( table schema);
What is the sum of all the rounds when a Florida State player was drafted?It is not neccessary to use all the tables.
SELECT "Year" FROM table_71685 WHERE "Qual" = 'totals'
CREATE TABLE INST, Here is a database schema( table schema);
What year had the qual of totalsIt is not neccessary to use all the tables.
SELECT Record FROM table WHERE Method = submission (armbar) AND Round < 3
CREATE TABLE INST, Here is a database schema( table schema);
what is the record when the method is submission (armbar) and the round is less than 3?.It is not neccessary to use all the tables.
SELECT manufacturer FROM table_name_91 WHERE rider = "bradley smith"
CREATE TABLE INST, Here is a database schema( table schema);
Who is the manufacturer of the car driven by Bradley Smith?It is not neccessary to use all the tables.
SELECT Release Date FROM table WHERE Location = germany
CREATE TABLE INST, Here is a database schema( table schema);
What is the release in Germany?.It is not neccessary to use all the tables.
SELECT COUNT Hometown FROM table WHERE Position = Catcher
CREATE TABLE INST, Here is a database schema( table schema);
How many hometowns does the catcher have?.It is not neccessary to use all the tables.
SELECT Party FROM table WHERE Incumbent = John Sparkman
CREATE TABLE INST, Here is a database schema( table schema);
what's the party with incumbent being john sparkman.It is not neccessary to use all the tables.
SELECT tie_no FROM table_name_39 WHERE score = "1–1"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Tie no of the game with a Score of 1–1?It is not neccessary to use all the tables.
SELECT COUNT(founded) FROM table_11318462_29 WHERE enrolment = 850
CREATE TABLE INST, Here is a database schema( table schema);
How many schools have an enrollment of 850?It is not neccessary to use all the tables.
SELECT MAX(goals_for) FROM table_name_46 WHERE position > 10 AND goal_difference < -24 AND played > 30
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest goals for the position after 10 a goal difference less than -24 and played more than 30 times?It is not neccessary to use all the tables.
SELECT MAX(week) FROM table_10647639_1
CREATE TABLE INST, Here is a database schema( table schema);
How many weeks are there?It is not neccessary to use all the tables.
SELECT 2005 FROM table_name_82 WHERE 2003 = "a" AND 2011 = "3r"
CREATE TABLE INST, Here is a database schema( table schema);
Name the 2005 for 2003 of a and 2011 of 3rIt is not neccessary to use all the tables.
SELECT COUNT(2 AS nd_runner_up) FROM table_20325360_2 WHERE rank = 3
CREATE TABLE INST, Here is a database schema( table schema);
The country, competing in the Mr. International competition, that holds a rank of 3, has how many 2nd runners up?It is not neccessary to use all the tables.
SELECT MIN Top 5 FROM table
CREATE TABLE INST, Here is a database schema( table schema);
Name the least top 5.It is not neccessary to use all the tables.
SELECT nationality FROM table_1013129_2 WHERE college_junior_club_team = "Thunder Bay Flyers (USHL)"
CREATE TABLE INST, Here is a database schema( table schema);
What are the nationalities of the player picked from Thunder Bay Flyers (ushl)It is not neccessary to use all the tables.
SELECT first_member FROM table_name_79 WHERE election = "1868"
CREATE TABLE INST, Here is a database schema( table schema);
Who is the first member in the 1868 election?It is not neccessary to use all the tables.