sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT volume AS :issue FROM table_name_86 WHERE artist = "elton john" AND weeks_on_top = 4
CREATE TABLE INST, Here is a database schema( table schema);
What is Volume:Issue when Artist is Elton John and when Weeks on Top is 4?It is not neccessary to use all the tables.
SELECT Language/Rebroadcast FROM table WHERE Branding = cbc radio one
CREATE TABLE INST, Here is a database schema( table schema);
what is the language/rebroadcast for cbc radio one?.It is not neccessary to use all the tables.
SELECT U.S. viewers (millions) FROM table WHERE Title = "The Last Word"
CREATE TABLE INST, Here is a database schema( table schema);
How many millions of US viewers for the episode "the last word"?.It is not neccessary to use all the tables.
SELECT First elected FROM table WHERE Opponent = Ralph Regula (R) 75.0% J. Michael Finn (D) 25.0%
CREATE TABLE INST, Here is a database schema( table schema);
what's the first elected with opponent being ralph regula (r) 75.0% j. michael finn (d) 25.0%.It is not neccessary to use all the tables.
SELECT MIN(swimsuit) FROM table_name_47 WHERE evening_gown > 8.794 AND state = "illinois"
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest swimsuit that has an evening gown bigger than 8.794 for illinois?It is not neccessary to use all the tables.
SELECT COUNT(weight__kg_) FROM table_1360997_3 WHERE winner_2nd = "1st - Defier" AND venue = "Randwick"
CREATE TABLE INST, Here is a database schema( table schema);
How many entries are there for weight when the winner is 1st - defier and venue is randwick?It is not neccessary to use all the tables.
SELECT Rowers FROM table WHERE Notes = fa AND Time = 6:41.45
CREATE TABLE INST, Here is a database schema( table schema);
Who are the rowers with a time of 6:41.45 and notes of FA?.It is not neccessary to use all the tables.
SELECT Team FROM table WHERE Points = 137
CREATE TABLE INST, Here is a database schema( table schema);
What team has 137 points?.It is not neccessary to use all the tables.
SELECT MIN(points) FROM table_name_6 WHERE points_for > 438 AND points_against > 943
CREATE TABLE INST, Here is a database schema( table schema);
What are the least amount of points that have points for greater than 438, and points against greater than 943?It is not neccessary to use all the tables.
SELECT SUM Area km 2 FROM table WHERE Population = 542
CREATE TABLE INST, Here is a database schema( table schema);
What is the sum of the areas for populations of 542?.It is not neccessary to use all the tables.
SELECT grid FROM table_name_75 WHERE bike = "honda cbr1000rr" AND rider = "russell holland"
CREATE TABLE INST, Here is a database schema( table schema);
What was the grid for rider Russell Holland riding a Honda CBR1000rr?It is not neccessary to use all the tables.
SELECT T1.City_Town, COUNT(*) FROM Addresses AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Address_ID = T2.Address_ID GROUP BY T1.City_Town
CREATE TABLE INST, Here is a database schema( table schema);
Show all cities along with the number of drama workshop groups in each city.It is not neccessary to use all the tables.
SELECT Mixed doubles FROM table WHERE Year = 2010
CREATE TABLE INST, Here is a database schema( table schema);
Who all played mixed doubles in 2010?.It is not neccessary to use all the tables.
SELECT Non- stop FROM table WHERE Plain stop = ㄷ
CREATE TABLE INST, Here is a database schema( table schema);
If the Plain stop is ㄷ, what is the Non- stop?.It is not neccessary to use all the tables.
SELECT "Candidates" FROM table_18651 WHERE "Incumbent" = 'John S. Wood'
CREATE TABLE INST, Here is a database schema( table schema);
What candidates ran in the election when john s. wood was the incumbent?It is not neccessary to use all the tables.
SELECT T2.name, T3.name FROM accelerator_compatible_browser AS T1 JOIN browser AS T2 ON T1.browser_id = T2.id JOIN web_client_accelerator AS T3 ON T1.accelerator_id = T3.id ORDER BY T1.compatible_since_year DESC
CREATE TABLE INST, Here is a database schema( table schema);
give me names of all compatible browsers and accelerators in the descending order of compatible yearIt is not neccessary to use all the tables.
SELECT Version FROM table WHERE Compatible repository = Xubuntu 10.04
CREATE TABLE INST, Here is a database schema( table schema);
What is the version when the compatible reposityory is xubuntu 10.04.It is not neccessary to use all the tables.
SELECT Time FROM table WHERE Country = south korea
CREATE TABLE INST, Here is a database schema( table schema);
What is the time for South Korea?.It is not neccessary to use all the tables.
SELECT player FROM table_28846752_9 WHERE economy = "5.29"
CREATE TABLE INST, Here is a database schema( table schema);
Who is the player when the economy is 5.29?It is not neccessary to use all the tables.
SELECT COUNT Episode title FROM table WHERE U.S. viewers (millions) = 9.90
CREATE TABLE INST, Here is a database schema( table schema);
How many episodes had 9.90 million viewers?.It is not neccessary to use all the tables.
SELECT SUM Crowd FROM table WHERE Home team = collingwood
CREATE TABLE INST, Here is a database schema( table schema);
How many people were in the crowd at collingwood's home game?.It is not neccessary to use all the tables.
SELECT Player FROM table WHERE School/Club Team/Country = st. mary's
CREATE TABLE INST, Here is a database schema( table schema);
Who is the player for St. Mary's team?.It is not neccessary to use all the tables.
SELECT MAX(first_elected) FROM table_name_56 WHERE district = "pennsylvania 10"
CREATE TABLE INST, Here is a database schema( table schema);
What is the greatest first elected for Pennsylvania 10?It is not neccessary to use all the tables.
SELECT date FROM table_name_97 WHERE opponent = "buffalo bills"
CREATE TABLE INST, Here is a database schema( table schema);
What date did the Ravens play the buffalo bills?It is not neccessary to use all the tables.
SELECT Location FROM table WHERE Game > 30 AND Score = 106-111
CREATE TABLE INST, Here is a database schema( table schema);
Where was the game that was larger than 30 and scored 106-111.It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Date = 11/2/01
CREATE TABLE INST, Here is a database schema( table schema);
What was the score of the match on 11/2/01?.It is not neccessary to use all the tables.
SELECT COUNT(player) FROM table_2840500_2 WHERE nhl_team = "Edmonton Oilers"
CREATE TABLE INST, Here is a database schema( table schema);
How many players were drafted by the Edmonton Oilers?It is not neccessary to use all the tables.
SELECT Openning_year, COUNT(Openning_year) FROM cinema GROUP BY Openning_year
CREATE TABLE INST, Here is a database schema( table schema);
Bar chart of how many openning year from each openning yearIt is not neccessary to use all the tables.
SELECT COUNT Opponent FROM table WHERE Score = 7-6
CREATE TABLE INST, Here is a database schema( table schema);
How many games did UCLA's baseball team win with a score 7-6 during May of 2010?.It is not neccessary to use all the tables.
SELECT team FROM table_name_76 WHERE high_assists = "brad miller (8)"
CREATE TABLE INST, Here is a database schema( table schema);
What team has brad miller (8) as the high assists?It is not neccessary to use all the tables.
SELECT launched FROM table_name_1 WHERE languages = "cora huichol tepehuano nahuatl"
CREATE TABLE INST, Here is a database schema( table schema);
What is the launched date of the station in cora huichol tepehuano nahuatl language?It is not neccessary to use all the tables.
SELECT AVG Wins FROM table WHERE Draws < 1 AND Losses > 4
CREATE TABLE INST, Here is a database schema( table schema);
How many wins when the draws are less than 1 and more than 4 losses?.It is not neccessary to use all the tables.
SELECT Name FROM technician WHERE Team <> "NYY"
CREATE TABLE INST, Here is a database schema( table schema);
List the name of technicians whose team is not "NYY".It is not neccessary to use all the tables.
SELECT Callback AS date FROM table_name_28 WHERE date = "july 29, 2008"
CREATE TABLE INST, Here is a database schema( table schema);
What was the callback date for the auditions held on July 29 2008?It is not neccessary to use all the tables.
SELECT Round FROM table WHERE Position = defensive back
CREATE TABLE INST, Here is a database schema( table schema);
During which round was a Hawkeyes player selected for the defensive back position?.It is not neccessary to use all the tables.
SELECT MIN(lane) FROM table_name_32 WHERE mark = "7.35"
CREATE TABLE INST, Here is a database schema( table schema);
When the mark is 7.35 what's the lowest Lane found?It is not neccessary to use all the tables.
SELECT city FROM table_name_84 WHERE venue = "hayman hall (tom gola arena)"
CREATE TABLE INST, Here is a database schema( table schema);
In which city is Hayman Hall (Tom Gola Arena) located?It is not neccessary to use all the tables.
SELECT driver FROM table_name_41 WHERE grid < 19 AND laps > 59 AND time_retired = "+0.294"
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the driver for grid less than 19 and Laps more than 59 with time/retired of +0.294It is not neccessary to use all the tables.
SELECT AVG(year) FROM table_name_19 WHERE issue_price__proof_ = "$49.95" AND artist = "w.h.j. blakemore"
CREATE TABLE INST, Here is a database schema( table schema);
What's the average Year with an Issue Price (Proof) of $49.95 and Artist of W.H.J. Blakemore?It is not neccessary to use all the tables.
SELECT home_team AS score FROM table_name_27 WHERE home_team = "footscray"
CREATE TABLE INST, Here is a database schema( table schema);
When the home team was footscray what did they score?It is not neccessary to use all the tables.
SELECT SUM("Week") FROM table_32830 WHERE "Attendance" > '58,675' AND "Date" = 'october 22, 1995'
CREATE TABLE INST, Here is a database schema( table schema);
What is the week more than 58,675 attended on october 22, 1995?It is not neccessary to use all the tables.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "TRANSIENT ISCHEMIC ATTACK" AND demographic.dob_year < "2134"
CREATE TABLE INST, Here is a database schema( table schema);
how many patients whose primary disease is transient ischemic attack and year of birth is less than 2134?It is not neccessary to use all the tables.
SELECT t3.characteristic_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id GROUP BY t3.characteristic_name ORDER BY COUNT(*) DESC LIMIT 1
CREATE TABLE INST, Here is a database schema( table schema);
What is the characteristic name used by most number of the products?It is not neccessary to use all the tables.
SELECT SUM Bodyweight FROM table WHERE Snatch = 153.0
CREATE TABLE INST, Here is a database schema( table schema);
What is the total bodyweight of everyone that has a Snatch of 153.0?.It is not neccessary to use all the tables.
SELECT Event FROM table WHERE Total = 28
CREATE TABLE INST, Here is a database schema( table schema);
Which event had a total of 28?.It is not neccessary to use all the tables.
SELECT score FROM table_name_30 WHERE date = "19/08/2012"
CREATE TABLE INST, Here is a database schema( table schema);
What was the score on 19/08/2012?It is not neccessary to use all the tables.
SELECT COUNT(*) FROM employee WHERE salary BETWEEN 100000 AND 200000
CREATE TABLE INST, Here is a database schema( table schema);
What is the number of employees that have a salary between 100000 and 200000?It is not neccessary to use all the tables.
SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'sulfasalazine_' AND DATETIME(prescriptions.startdate, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year')) AS t1 JOIN (SELECT admissions.subject_id, prescriptions.drug, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE DATETIME(prescriptions.startdate, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year')) AS t2 ON t1.subject_id = t2.subject_id WHERE DATETIME(t1.startdate) = DATETIME(t2.startdate) GROUP BY t2.drug) AS t3 WHERE t3.c1 <= 5
CREATE TABLE INST, Here is a database schema( table schema);
what are the top five most prescribed drugs for patients who were prescribed sulfasalazine_ at the same time during this year?It is not neccessary to use all the tables.
SELECT COUNT Draws FROM table WHERE Losses = 4 AND Efficiency % = 28.6%
CREATE TABLE INST, Here is a database schema( table schema);
what is the number of draws when there are 4 losses and 28.6% efficiency?.It is not neccessary to use all the tables.
SELECT Venue FROM table WHERE Away team score = 7.15 (57)
CREATE TABLE INST, Here is a database schema( table schema);
Where did the away team score 7.15 (57)?.It is not neccessary to use all the tables.
SELECT DISTINCT flight.flight_id FROM airport AS AIRPORT_0, airport AS AIRPORT_1, airport_service, city, flight WHERE ((flight.from_airport = AIRPORT_0.airport_code AND AIRPORT_0.airport_code = 'JFK') OR (flight.from_airport = AIRPORT_1.airport_code AND AIRPORT_1.airport_code = 'LGA')) AND city.city_code = airport_service.city_code AND city.city_name = 'CLEVELAND' AND flight.to_airport = airport_service.airport_code
CREATE TABLE INST, Here is a database schema( table schema);
flights from LGA or JFK to CLEVELANDIt is not neccessary to use all the tables.
SELECT COUNT Condition FROM table WHERE Prothrombin time = Unaffected AND Bleeding time = Prolonged
CREATE TABLE INST, Here is a database schema( table schema);
How many conditions have an unaffected prothrombin time and a prolonged bleeding time.It is not neccessary to use all the tables.
SELECT MIN Total FROM table WHERE Silver > 6 AND Gold > 10
CREATE TABLE INST, Here is a database schema( table schema);
For nations with more than 6 silvers and more than 10 golds, what is the lowest total?.It is not neccessary to use all the tables.
SELECT MIN(capacity) FROM table_name_75 WHERE year_opened = "1903"
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest capacity for 1903?It is not neccessary to use all the tables.
SELECT transfer_fee FROM table_name_94 WHERE type = "transfer" AND name = "gravgaard"
CREATE TABLE INST, Here is a database schema( table schema);
What is the transfer fee for Gravgaard?It is not neccessary to use all the tables.
SELECT DEPARTMENT_ID, SUM(SALARY) FROM employees GROUP BY DEPARTMENT_ID
CREATE TABLE INST, Here is a database schema( table schema);
What are total salaries and department id for each department that has more than 2 employees. Show scatter chart.It is not neccessary to use all the tables.
SELECT MIN(shuttles) FROM table_1751142_2 WHERE shuttle_time__seconds_ = "6.55"
CREATE TABLE INST, Here is a database schema( table schema);
What is the fewest number of shuttles where the shuttle time is 6.55 seconds?It is not neccessary to use all the tables.
SELECT launch_date__utc_ FROM table_name_32 WHERE cospar_id_satcat_№ = "1995-022a"
CREATE TABLE INST, Here is a database schema( table schema);
What is the launch date of the satellite with a COSPAR ID of 1995-022a?It is not neccessary to use all the tables.
SELECT Player FROM table WHERE Score = 68-68-75-74=285
CREATE TABLE INST, Here is a database schema( table schema);
Name the player for 68-68-75-74=285.It is not neccessary to use all the tables.
SELECT Sex, AVG(Weight) FROM people GROUP BY Sex ORDER BY AVG(Weight) DESC
CREATE TABLE INST, Here is a database schema( table schema);
Show me about the distribution of Sex and the average of Weight , and group by attribute Sex in a bar chart, and list y axis from high to low order.It is not neccessary to use all the tables.
SELECT MAX Rank-Final FROM table WHERE Score-Final = 14.975
CREATE TABLE INST, Here is a database schema( table schema);
What was the maximum rank-final value for a score of 14.975?.It is not neccessary to use all the tables.
SELECT height FROM table_name_38 WHERE date_of_birth = "1982-07-05"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Height of the Player with a Date of Birth of 1982-07-05?It is not neccessary to use all the tables.
SELECT player FROM table_24912693_4 WHERE blocks = 17
CREATE TABLE INST, Here is a database schema( table schema);
Which player has 17 blocks?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Surface = hard AND Tournament = wrexham , great britain
CREATE TABLE INST, Here is a database schema( table schema);
When has a Surface of hard, a Tournament of wrexham , great britain?.It is not neccessary to use all the tables.
SELECT Week 5 Sept 28 FROM table WHERE Week 10 Nov 2 = maryland (6-2)
CREATE TABLE INST, Here is a database schema( table schema);
What was the week 5 opponent for the year with a week 10 opponent of Maryland (6-2)?.It is not neccessary to use all the tables.
SELECT suited_match FROM table_name_44 WHERE house_edge = "2.99%"
CREATE TABLE INST, Here is a database schema( table schema);
What's the Suited Match with a 2.99% House Edge?It is not neccessary to use all the tables.
SELECT MIN Grid FROM table WHERE Constructor = brm AND Laps > 54
CREATE TABLE INST, Here is a database schema( table schema);
What is the low grid that has brm and over 54 laps?.It is not neccessary to use all the tables.
SELECT MAX(purse__) AS $__ FROM table_11621915_1 WHERE score = "204 (-9)"
CREATE TABLE INST, Here is a database schema( table schema);
what's the maximum purse( $ ) with score value of 204 (-9)It is not neccessary to use all the tables.
SELECT location FROM table_name_83 WHERE year_joined = 1966 AND previous_conference = "noble county" AND school = "wawaka"
CREATE TABLE INST, Here is a database schema( table schema);
Which Location has a Year Joined of 1966 and a Previous Conference of noble county and a School of wawaka?It is not neccessary to use all the tables.
SELECT "Attendance" FROM table_49721 WHERE "Record" = '0-5'
CREATE TABLE INST, Here is a database schema( table schema);
For the game showing a final record of 0-5, what was the attendance level?It is not neccessary to use all the tables.
SELECT transfer_window FROM table_name_52 WHERE source = "leeds united" AND moving_from = "motherwell"
CREATE TABLE INST, Here is a database schema( table schema);
What is the transfer window of the Leeds United source with a move from Motherwell?It is not neccessary to use all the tables.
SELECT Director FROM table WHERE Film title used in nomination = gulf stream under the iceberg
CREATE TABLE INST, Here is a database schema( table schema);
What is the Director of Gulf Stream Under the Iceberg?.It is not neccessary to use all the tables.
SELECT Opponent FROM table WHERE Round = final
CREATE TABLE INST, Here is a database schema( table schema);
What opponent has final as the round?.It is not neccessary to use all the tables.
SELECT MAX(population__2000_) FROM table_2004733_2 WHERE barangay = "Bulac"
CREATE TABLE INST, Here is a database schema( table schema);
How many people lived in bulac in the year 2000?It is not neccessary to use all the tables.
SELECT COUNT(attendance) FROM table_name_8 WHERE away = "real juventud"
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of Attendance(s) when Away is Real Juventud?It is not neccessary to use all the tables.
SELECT region FROM table_name_4 WHERE date = "11 august 2008"
CREATE TABLE INST, Here is a database schema( table schema);
What region is on 11 August 2008?It is not neccessary to use all the tables.
SELECT COUNT Original airdate FROM table WHERE Episode No. Episode No. refers to the episodes number in the overall series, whereas Series No. refers to the episodes number in this particular series. = 17
CREATE TABLE INST, Here is a database schema( table schema);
How many times did episode 17 originally air?.It is not neccessary to use all the tables.
SELECT End date FROM table WHERE Minister = alex bodry
CREATE TABLE INST, Here is a database schema( table schema);
What was the end date when Alex Bodry was the minister?.It is not neccessary to use all the tables.
SELECT MAX Passes FROM table WHERE Starting = 34
CREATE TABLE INST, Here is a database schema( table schema);
What is the largest number of passes for players starting exactly 34 games?.It is not neccessary to use all the tables.
SELECT Home FROM table WHERE Visitor = chicago
CREATE TABLE INST, Here is a database schema( table schema);
Who was the home team in the game having a visitor of Chicago?.It is not neccessary to use all the tables.
SELECT class FROM table_12232526_2 WHERE note = "Reportedly still active as of 2012"
CREATE TABLE INST, Here is a database schema( table schema);
who is the class where note is reportedly still active as of 2012?It is not neccessary to use all the tables.
SELECT McCain% FROM table WHERE County = HAMILTON
CREATE TABLE INST, Here is a database schema( table schema);
What percentage did McCain get in Hamilton county?.It is not neccessary to use all the tables.
SELECT theme FROM table_name_95 WHERE issue_price = "$89.95"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Theme of the coin with an Issue Price of $89.95?It is not neccessary to use all the tables.
SELECT Lead Supporting Vocal FROM table WHERE Time = 4:54
CREATE TABLE INST, Here is a database schema( table schema);
Who was the lead supporting vocalist on the song that was 4:54 long?.It is not neccessary to use all the tables.
SELECT AVG(week) FROM table_name_75 WHERE attendance < 22 OFFSET 604
CREATE TABLE INST, Here is a database schema( table schema);
What is the average week number of all the matches where less than 22604 people attended?It is not neccessary to use all the tables.
SELECT Result FROM table WHERE Senator = Lindsey Graham
CREATE TABLE INST, Here is a database schema( table schema);
tell the final for lindsey graham.It is not neccessary to use all the tables.
SELECT schwante FROM table_11680175_1 WHERE bärenklau = "1.270"
CREATE TABLE INST, Here is a database schema( table schema);
What was the number for Schwante where Bärenklau is 1.270?It is not neccessary to use all the tables.
SELECT Author / Editor / Source FROM table WHERE World Ranking (1) = 35 AND Countries sampled > 100
CREATE TABLE INST, Here is a database schema( table schema);
Who is the Author/Editor/Source for more than 100 countries sampled and has a 35 world ranking?.It is not neccessary to use all the tables.
SELECT MAX(grid) FROM table_name_77 WHERE driver = "patrick carpentier"
CREATE TABLE INST, Here is a database schema( table schema);
What was the highest grid for Patrick Carpentier?It is not neccessary to use all the tables.
SELECT MAX Goals for FROM table WHERE Position > 8 AND Losses = 12 AND Played < 30
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest amount of goals in the position after 8, 12 losses, and played less than 30 games?.It is not neccessary to use all the tables.
SELECT ikavian FROM table_27730_9 WHERE ijekavian = "lijep"
CREATE TABLE INST, Here is a database schema( table schema);
What's the Ikavian translation of the Ijekavian word lijep?It is not neccessary to use all the tables.
SELECT score FROM table_name_86 WHERE time = "14:00"
CREATE TABLE INST, Here is a database schema( table schema);
What was the score when the time was 14:00?It is not neccessary to use all the tables.
SELECT COUNT(area_km_2) FROM table_171236_2 WHERE official_name = "Rothesay"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Area KM 2 of Rothesay?It is not neccessary to use all the tables.
SELECT local_affairs FROM table_name_9 WHERE human_resources_ & _operations = "n. charles hamilton"
CREATE TABLE INST, Here is a database schema( table schema);
Who was in local affairs when the Human Resources & Operations was N. Charles Hamilton?It is not neccessary to use all the tables.
SELECT high_rebounds FROM table_name_86 WHERE high_assists = "delonte west (10)"
CREATE TABLE INST, Here is a database schema( table schema);
What is High Rebounds when High Assists is "Delonte West (10)"?It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Game = 80
CREATE TABLE INST, Here is a database schema( table schema);
What was the score when the game was 80?.It is not neccessary to use all the tables.
SELECT Final Score FROM table WHERE Host Team = detroit lions
CREATE TABLE INST, Here is a database schema( table schema);
What was the final score in the game in which the Detroit Lions were the home team?.It is not neccessary to use all the tables.
SELECT Seats FROM table WHERE Outcome of election = minority in parliament AND Number of PNC votes = 186,226
CREATE TABLE INST, Here is a database schema( table schema);
How many seats does the election with the outcome of election of minority in parliament and 186,226 PNC votes have?.It is not neccessary to use all the tables.
SELECT AVG("games") FROM table_203_516 WHERE "year" >= 2008 AND "year" <= 2013
CREATE TABLE INST, Here is a database schema( table schema);
the average number of games he played from 2008 - 2013It is not neccessary to use all the tables.
SELECT Attendance FROM table WHERE Result = 2-4
CREATE TABLE INST, Here is a database schema( table schema);
What is Attendance, when Result is "2-4"?.It is not neccessary to use all the tables.