sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT Munsee Delaware FROM table WHERE Interpreter (1684?) = palenah
CREATE TABLE INST, Here is a database schema( table schema);
What is the Munsee Delaware value for an Interpreter value of palenah?.It is not neccessary to use all the tables.
SELECT opponents FROM table_24901152_4 WHERE championship = "Rome"
CREATE TABLE INST, Here is a database schema( table schema);
Who were the opponents in the Rome championship?It is not neccessary to use all the tables.
SELECT AVG(round) FROM table_name_94 WHERE college = "syracuse" AND pick < 3
CREATE TABLE INST, Here is a database schema( table schema);
what is the round when the college is syracuse and the pick is less than 3?It is not neccessary to use all the tables.
SELECT written_by FROM table_28210383_1 WHERE prod_code = "2ACX12"
CREATE TABLE INST, Here is a database schema( table schema);
Who wrote the episode with production code 2acx12?It is not neccessary to use all the tables.
SELECT COUNT(lost) FROM table_name_31 WHERE drawn = 1 AND games > 7
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of losses that have 1 draw and games over 7?It is not neccessary to use all the tables.
SELECT Party FROM table WHERE Incumbent = Dewey Short
CREATE TABLE INST, Here is a database schema( table schema);
What party was Dewey Short associated with?.It is not neccessary to use all the tables.
SELECT Opponent FROM table WHERE Date = july 8
CREATE TABLE INST, Here is a database schema( table schema);
Who did the Red Sox play against on July 8?.It is not neccessary to use all the tables.
SELECT surface FROM table_name_31 WHERE opponent = "jiří vaněk"
CREATE TABLE INST, Here is a database schema( table schema);
What is Surface when Opponent is "Jiří Vaněk"?It is not neccessary to use all the tables.
SELECT Stadium FROM table WHERE Home team = FK Jedinstvo
CREATE TABLE INST, Here is a database schema( table schema);
What stadium does FK Jedinstvo play in?.It is not neccessary to use all the tables.
SELECT Director FROM table WHERE Title = the fugitive
CREATE TABLE INST, Here is a database schema( table schema);
What is the Director of the Film The Fugitive?.It is not neccessary to use all the tables.
SELECT SUM(Home) AS wins FROM table_name_89 WHERE institution = "boston college eagles" AND wins > 6
CREATE TABLE INST, Here is a database schema( table schema);
What is the sum of the home wins of the Boston College Eagles which has more than 6 wins?It is not neccessary to use all the tables.
SELECT "Score" FROM table_73457 WHERE "High rebounds" = 'Brook Lopez (8)'
CREATE TABLE INST, Here is a database schema( table schema);
What was the score of the game in which Brook Lopez (8) did the high rebounds?It is not neccessary to use all the tables.
SELECT Year born (Age) FROM table WHERE Player = rowan barrett
CREATE TABLE INST, Here is a database schema( table schema);
What year was Rowan Barrett born?.It is not neccessary to use all the tables.
SELECT res FROM table_name_67 WHERE opponent = "enrique guzman"
CREATE TABLE INST, Here is a database schema( table schema);
What was the resolution for the fight against enrique guzman?It is not neccessary to use all the tables.
SELECT COUNT(location) FROM table_11934032_1 WHERE station_number = "C03"
CREATE TABLE INST, Here is a database schema( table schema);
what is the total number of location where station number is c03It is not neccessary to use all the tables.
SELECT agg FROM table_name_38 WHERE team_2 = "vantour club mangoungou"
CREATE TABLE INST, Here is a database schema( table schema);
What is the agg of team 2 for Vantour Club Mangoungou?It is not neccessary to use all the tables.
SELECT Control FROM table WHERE Type = Art school
CREATE TABLE INST, Here is a database schema( table schema);
Is art school public or private?.It is not neccessary to use all the tables.
SELECT Cardinalatial order and title FROM table WHERE Elector = pedro martínez de luna y gotor
CREATE TABLE INST, Here is a database schema( table schema);
What is the Cardinalatial order and title that Pedro Martínez de Luna y Gotor elevated?.It is not neccessary to use all the tables.
SELECT score FROM table_name_2 WHERE date = "november 2"
CREATE TABLE INST, Here is a database schema( table schema);
Which score has a Date of november 2?It is not neccessary to use all the tables.
SELECT MIN Silver FROM table WHERE Nation = total AND Bronze > 24
CREATE TABLE INST, Here is a database schema( table schema);
Name the least silver for nation of total when bronze is more than 24.It is not neccessary to use all the tables.
SELECT MAX Year FROM table WHERE 3rd day = rowed-over
CREATE TABLE INST, Here is a database schema( table schema);
What is the latest year that ended with a 3rd day of rowed-over?.It is not neccessary to use all the tables.
SELECT away_team AS score FROM table_name_38 WHERE home_team = "footscray"
CREATE TABLE INST, Here is a database schema( table schema);
What is the away side score when footscray is the home side?It is not neccessary to use all the tables.
SELECT island FROM table_name_74 WHERE summit = "haleakalā"
CREATE TABLE INST, Here is a database schema( table schema);
What's the island with a summit of Haleakalā?It is not neccessary to use all the tables.
SELECT MAX(overall) FROM table_name_8 WHERE name = "dwight freeney" AND round < 1
CREATE TABLE INST, Here is a database schema( table schema);
Name the most overall for dwight freeney with round less than 1It is not neccessary to use all the tables.
SELECT SUM(round) FROM table_name_77 WHERE pick < 6
CREATE TABLE INST, Here is a database schema( table schema);
Which Round has a Pick smaller than 6?It is not neccessary to use all the tables.
SELECT PostId AS "post_link", COUNT(DISTINCT RevisionGUID) AS "revisions" FROM PostHistory WHERE PostHistoryTypeId <= 9 GROUP BY PostId ORDER BY COUNT(DISTINCT RevisionGUID) DESC LIMIT 1000
CREATE TABLE INST, Here is a database schema( table schema);
Loads and Loads of Edits. Some posts just keep getting edited...It is not neccessary to use all the tables.
SELECT Original air date FROM table WHERE No. in season = 18
CREATE TABLE INST, Here is a database schema( table schema);
What was the airdate of episode number 18?.It is not neccessary to use all the tables.
SELECT COUNT(artist) FROM table_21378339_5 WHERE panel_points = 5
CREATE TABLE INST, Here is a database schema( table schema);
Name the number of artists for panel points being 5It is not neccessary to use all the tables.
SELECT MAX Against FROM table WHERE Wins = 0 AND Byes > 2
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest score with 0 wins and more than 2 Byes?.It is not neccessary to use all the tables.
SELECT COUNT(race_name) FROM table_22673956_1 WHERE track = "Indianapolis Motor Speedway"
CREATE TABLE INST, Here is a database schema( table schema);
How many races took place on the Indianapolis Motor Speedway track?It is not neccessary to use all the tables.
SELECT 2003 FROM table WHERE 2005 = did not qualify
CREATE TABLE INST, Here is a database schema( table schema);
what is 2003 when 2005 is did not qualify?.It is not neccessary to use all the tables.
SELECT MAX(draws) FROM table_name_98 WHERE against > 2161
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest draw against 2161?It is not neccessary to use all the tables.
SELECT 1398 Donnera FROM table WHERE 1391 Carelia = 1529 Oterma
CREATE TABLE INST, Here is a database schema( table schema);
what is the 1398 donnera of asteroid which 1391 carelia is 1529 oterma.It is not neccessary to use all the tables.
SELECT COUNT Hebrew Form FROM table WHERE Arabic form = yuktibu يكتب
CREATE TABLE INST, Here is a database schema( table schema);
How many hebrew forms are there for the arabic form yuktibu يكتب?.It is not neccessary to use all the tables.
SELECT AVG(LENGTH(Body)) AS AverageLength, AVG(CAST(Score AS FLOAT) / ViewCount) AS QuestionScorePerViews, AVG(CAST(Score AS FLOAT) / ViewCount) + STDEV(CAST(Score AS FLOAT) / ViewCount) AS PlusOneSigma, AVG(CAST(Score AS FLOAT) / ViewCount) - STDEV(CAST(Score AS FLOAT) / ViewCount) AS MinusOneSigma FROM Posts WHERE PostTypeId = 1 AND LENGTH(Body) <= 8000 GROUP BY ROUND(LENGTH(Body), -2) ORDER BY ROUND(LENGTH(Body), -2)
CREATE TABLE INST, Here is a database schema( table schema);
Question score as a function of length, normalized by views. Plots average value of (question score / number of views), +/- 1 standard deviation, as a function of binned question length.It is not neccessary to use all the tables.
SELECT Country FROM table WHERE Name = cordier
CREATE TABLE INST, Here is a database schema( table schema);
What is the country of cordier?.It is not neccessary to use all the tables.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.insurance = "Government" AND diagnoses.icd9_code = "20280"
CREATE TABLE INST, Here is a database schema( table schema);
give me the number of patients whose insurance is government and diagnoses icd9 code is 20280?It is not neccessary to use all the tables.
SELECT COUNT(*) FROM Documents_with_expenses
CREATE TABLE INST, Here is a database schema( table schema);
How many documents have expenses?It is not neccessary to use all the tables.
SELECT SUM Average FROM table WHERE Swimsuit = 8.42 AND Evening gown < 8.71
CREATE TABLE INST, Here is a database schema( table schema);
How many averages had a swimsuit number of 8.42 and an evening gown number that was less than 8.71?.It is not neccessary to use all the tables.
SELECT date_of_death FROM table_name_47 WHERE cause_of_death = "gunfire" AND tenure = "6 years" AND name = "maria cecilia rosa"
CREATE TABLE INST, Here is a database schema( table schema);
What is gunfire victim Maria Cecilia Rosa with 6 years of Tenure Date of Death?It is not neccessary to use all the tables.
SELECT School Year FROM table WHERE Class AA = Franklin
CREATE TABLE INST, Here is a database schema( table schema);
For franklin of class aa, which school years does this occur? .It is not neccessary to use all the tables.
SELECT population__2010_11_01_ FROM table_name_50 WHERE name = "bayan county"
CREATE TABLE INST, Here is a database schema( table schema);
What is the population as of 11-01-2010 for Bayan County?It is not neccessary to use all the tables.
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', treatment.treatmenttime)) FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '017-88691' AND patient.hospitaldischargetime IS NULL)) ORDER BY treatment.treatmenttime LIMIT 1
CREATE TABLE INST, Here is a database schema( table schema);
how many hours have elapsed since patient 017-88691 had his first procedure during this hospital visit?It is not neccessary to use all the tables.
SELECT Russian title FROM table WHERE English title = The Ugly Swans
CREATE TABLE INST, Here is a database schema( table schema);
What is the russian title of the ugly swans?.It is not neccessary to use all the tables.
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, days AS DAYS_0, days AS DAYS_1, fare, fare_basis, flight, flight_fare WHERE (((DAYS_0.day_name = 'TUESDAY' AND DAYS_1.day_name = 'TUESDAY' AND fare_basis.basis_days = DAYS_1.days_code AND fare.fare_basis_code = fare_basis.fare_basis_code AND fare.one_direction_cost < 466 AND flight_fare.fare_id = fare.fare_id AND flight.flight_days = DAYS_0.days_code AND flight.flight_id = flight_fare.flight_id) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'MIAMI' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'NEW YORK' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code) AND flight.stops = 0
CREATE TABLE INST, Here is a database schema( table schema);
show nonstop flights from NEW YORK to MIAMI on a TUESDAY which cost less than 466 dollars one wayIt is not neccessary to use all the tables.
WITH total_users AS (SELECT tu_count = COUNT(*) FROM Users), users_rep_x AS (SELECT ru_count = COUNT(*) FROM Users AS u WHERE u.Reputation < '##RepMax##') SELECT DISTINCT (SELECT tu_count FROM total_users) AS "total_users", (SELECT ru_count FROM users_rep_x) AS "users_rep_>_x", CAST((CAST((SELECT ru_count FROM users_rep_x) AS FLOAT(10, 5)) / CAST(((SELECT tu_count FROM total_users) / 100) AS FLOAT(10, 5))) AS FLOAT(10, 5)) AS "repu_of_totu_in_%" FROM Users AS u WHERE u.Reputation < '##RepMax##'
CREATE TABLE INST, Here is a database schema( table schema);
Reputation > X in % of Total Users.It is not neccessary to use all the tables.
SELECT MIN(played) FROM table_15405904_1
CREATE TABLE INST, Here is a database schema( table schema);
How many games are played?It is not neccessary to use all the tables.
SELECT isbn_us FROM table_name_55 WHERE title = "mission to venus"
CREATE TABLE INST, Here is a database schema( table schema);
What is ISBN US when Title is "Mission To Venus"?It is not neccessary to use all the tables.
SELECT player FROM table_name_91 WHERE score = 70 - 73 - 69 = 212
CREATE TABLE INST, Here is a database schema( table schema);
Who had a score of 70-73-69=212?It is not neccessary to use all the tables.
SELECT population, _in_thousands, __1905__ FROM table_name_79 WHERE name_in_polish = "gubernia łomżyńska"
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the population for gubernia łomżyńskaIt is not neccessary to use all the tables.
SELECT home_city FROM table_2522473_1 WHERE home_ground = "DnB Nor Arena"
CREATE TABLE INST, Here is a database schema( table schema);
What is the home city for the team whose home ground is dnb nor arena?It is not neccessary to use all the tables.
SELECT 1 AS st_prize___$__ FROM table_name_56 WHERE winner = "ken green (4)"
CREATE TABLE INST, Here is a database schema( table schema);
What is the amount of the 1st prize when the Winner was ken green (4)?It is not neccessary to use all the tables.
SELECT MIN(population) FROM table_name_37 WHERE altitude__mslm_ < 197 AND city = "alessandria" AND density__inhabitants_km_2__ < 461.8
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest population of alessandria where the altitude is less than 197 and density is less than 461.8?It is not neccessary to use all the tables.
SELECT Away team score FROM table WHERE Home team score = 7.8 (50)
CREATE TABLE INST, Here is a database schema( table schema);
What is the away team's score when the home team scores 7.8 (50)?.It is not neccessary to use all the tables.
SELECT team FROM table_name_48 WHERE high_points = "charlie villanueva (24)"
CREATE TABLE INST, Here is a database schema( table schema);
what is the team when the high points is by charlie villanueva (24)?It is not neccessary to use all the tables.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.age < "31"
CREATE TABLE INST, Here is a database schema( table schema);
how many patients whose gender is f and age is less than 31?It is not neccessary to use all the tables.
SELECT birth_date FROM table_name_57 WHERE batting_style = "right-handed" AND name = "a. j. holmes"
CREATE TABLE INST, Here is a database schema( table schema);
What is the birth date of A. J. Holmes who has a right-handed batting style?It is not neccessary to use all the tables.
SELECT COUNT Crowd FROM table WHERE Home team = st kilda
CREATE TABLE INST, Here is a database schema( table schema);
What was the crowd size when st kilda played home?.It is not neccessary to use all the tables.
SELECT Name FROM teacher WHERE Age = 32 OR Age = 33
CREATE TABLE INST, Here is a database schema( table schema);
Show the name of teachers aged either 32 or 33?It is not neccessary to use all the tables.
SELECT MIN(game) FROM table_name_71 WHERE record = "59-15"
CREATE TABLE INST, Here is a database schema( table schema);
What was the game number when record is 59-15?It is not neccessary to use all the tables.
SELECT home_team FROM table_name_86 WHERE away_team = "manchester united"
CREATE TABLE INST, Here is a database schema( table schema);
Who was the home team that played against Manchester United?It is not neccessary to use all the tables.
SELECT COUNT(laps) FROM table_name_51 WHERE grid > 14 AND rider = "sylvain guintoli"
CREATE TABLE INST, Here is a database schema( table schema);
How many Laps have Grid larger than 14 and a Rider of sylvain guintoli?It is not neccessary to use all the tables.
SELECT Surface FROM table WHERE Against = Sweden
CREATE TABLE INST, Here is a database schema( table schema);
What is every surface against Sweden?.It is not neccessary to use all the tables.
SELECT name_in_syriac FROM table_24613895_1 WHERE number_of_believers = 500
CREATE TABLE INST, Here is a database schema( table schema);
Name the name in syriac for 500 believersIt is not neccessary to use all the tables.
SELECT Vehicle FROM table WHERE Best Time of Day = 1:17.17
CREATE TABLE INST, Here is a database schema( table schema);
which vehicles got best time of day 1:17.17.It is not neccessary to use all the tables.
SELECT season_in_sanskrit FROM table_name_34 WHERE season_in_english = "summer"
CREATE TABLE INST, Here is a database schema( table schema);
What season in sanskrit means summer in English?It is not neccessary to use all the tables.
SELECT label FROM table_name_20 WHERE format = "cd single"
CREATE TABLE INST, Here is a database schema( table schema);
What label has cd single as the format?It is not neccessary to use all the tables.
SELECT score FROM table_2516282_3 WHERE surface = "Hard (i)"
CREATE TABLE INST, Here is a database schema( table schema);
When the surface was Hard (i), what was the score?It is not neccessary to use all the tables.
SELECT "Sail Number" FROM table_1895 WHERE "Position" = '3'
CREATE TABLE INST, Here is a database schema( table schema);
When 3 is the position what is the sail number?It is not neccessary to use all the tables.
SELECT MIN(extra_points) FROM table_name_26 WHERE player = "rheinschild" AND touchdowns > 1
CREATE TABLE INST, Here is a database schema( table schema);
Which Extra points is the lowest one that has a Player of rheinschild and Touchdowns larger than 1?It is not neccessary to use all the tables.
SELECT T3.name, T3.time FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id JOIN train AS T3 ON T3.train_id = T1.train_id WHERE T2.location = 'London' ORDER BY T3.time DESC
CREATE TABLE INST, Here is a database schema( table schema);
Show all train names and times in stations in London in descending order by train time.It is not neccessary to use all the tables.
SELECT Year FROM table WHERE Playoffs = Champions
CREATE TABLE INST, Here is a database schema( table schema);
what was the year where in the playoffs was champions.It is not neccessary to use all the tables.
SELECT "Opponent" FROM table_78372 WHERE "March" = '31'
CREATE TABLE INST, Here is a database schema( table schema);
Which opponent's march was 31?It is not neccessary to use all the tables.
SELECT Margin of victory FROM table WHERE Date = apr 8, 1979
CREATE TABLE INST, Here is a database schema( table schema);
What was the margin of victory on Apr 8, 1979?.It is not neccessary to use all the tables.
SELECT Sat 21 Aug FROM table WHERE Rank = 8
CREATE TABLE INST, Here is a database schema( table schema);
When 8 is the rank what is the Saturday August 21st?.It is not neccessary to use all the tables.
SELECT MAX(ranking) FROM table_name_80 WHERE years = "1996–13" AND goals > 17
CREATE TABLE INST, Here is a database schema( table schema);
Who has the highest ranking from 1996–13 and more than 17 goals?It is not neccessary to use all the tables.
SELECT AVG Week FROM table WHERE Result = w 14-13 AND Attendance > 53,295
CREATE TABLE INST, Here is a database schema( table schema);
what is the week when the result is w 14-13 and the attendance is higher than 53,295?.It is not neccessary to use all the tables.
SELECT COUNT(rank) FROM table_name_38 WHERE silver > 2 AND bronze < 2
CREATE TABLE INST, Here is a database schema( table schema);
How many teams won more than 2 silver medals and fewer than 2 Bronze medals?It is not neccessary to use all the tables.
SELECT COUNT Game FROM table WHERE Team = Washington
CREATE TABLE INST, Here is a database schema( table schema);
What game number is the Washington team..It is not neccessary to use all the tables.
SELECT "Opponent" FROM table_43651 WHERE "Week" < '8' AND "Date" = 'october 9, 1960'
CREATE TABLE INST, Here is a database schema( table schema);
Who was the opponent in a week less than 8 on October 9, 1960?It is not neccessary to use all the tables.
SELECT * FROM table_train_106 WHERE rosen_modified_hachinski_ischemic_score >= 4
CREATE TABLE INST, Here is a database schema( table schema);
rosen _ modified hachinski ischemia score >= 4It is not neccessary to use all the tables.
SELECT Bachelorette FROM table WHERE Premiered = may 24, 2010
CREATE TABLE INST, Here is a database schema( table schema);
Who is the bachelorette of the season that premiered on May 24, 2010?.It is not neccessary to use all the tables.
SELECT Opponent FROM table WHERE Week = 3
CREATE TABLE INST, Here is a database schema( table schema);
Who was the opponent the falcons played against on week 3?.It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Venue = princes park
CREATE TABLE INST, Here is a database schema( table schema);
If the Venue was princes park, which Date did the game take place on?.It is not neccessary to use all the tables.
SELECT SUM(game) FROM table_name_80 WHERE date = "december 5"
CREATE TABLE INST, Here is a database schema( table schema);
How many games were on December 5?It is not neccessary to use all the tables.
SELECT Payment_Method_Code FROM Payments GROUP BY Payment_Method_Code ORDER BY COUNT(*) DESC LIMIT 1
CREATE TABLE INST, Here is a database schema( table schema);
What is the most popular payment method?It is not neccessary to use all the tables.
SELECT 2002 FROM table WHERE 2011 = 1r AND 2000 = 1r
CREATE TABLE INST, Here is a database schema( table schema);
What is the 2002 result where 2011 and 2000 are 1R?.It is not neccessary to use all the tables.
SELECT MAX November FROM table WHERE Record = 11-7-3 AND Game > 21
CREATE TABLE INST, Here is a database schema( table schema);
When in November were they 11-7-3 with over 21 games?.It is not neccessary to use all the tables.
SELECT dialcode FROM table_name_62 WHERE location = "whitechapel"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Dialcode of whitechapel?It is not neccessary to use all the tables.
SELECT Opponent FROM table WHERE Round = q2 AND Season = 2005–06
CREATE TABLE INST, Here is a database schema( table schema);
What is the Opponent with a Round of q2, in the 2005–06 season?.It is not neccessary to use all the tables.
SELECT LOCATION FROM school ORDER BY Founded DESC
CREATE TABLE INST, Here is a database schema( table schema);
List the locations of schools in descending order of founded year.It is not neccessary to use all the tables.
SELECT Opponent FROM table WHERE Record = 44-28
CREATE TABLE INST, Here is a database schema( table schema);
Which opponent has a record of 44-28?.It is not neccessary to use all the tables.
SELECT "Rank" FROM table_14817 WHERE "Year" = '1955'
CREATE TABLE INST, Here is a database schema( table schema);
What was the rank in 1955?It is not neccessary to use all the tables.
SELECT Mountains Classification FROM table WHERE Team Classification = Team Columbia
CREATE TABLE INST, Here is a database schema( table schema);
Name the mountains classification for team columbia.It is not neccessary to use all the tables.
SELECT Points FROM table WHERE Club = Croesyceiliog RFC
CREATE TABLE INST, Here is a database schema( table schema);
How many points does Croesyceiliog RFC have?.It is not neccessary to use all the tables.
SELECT bob_dole FROM table_name_67 WHERE george_hw_bush = "81%" AND pat_robertson = "9%"
CREATE TABLE INST, Here is a database schema( table schema);
When George H.W. Bush had 81% and Pat Robertson had 9% what did Bob Dole have?It is not neccessary to use all the tables.
SELECT AVG Laps FROM table WHERE Grid < 17 AND Constructor = williams - bmw AND Driver = jenson button
CREATE TABLE INST, Here is a database schema( table schema);
What is the average Laps for a grid smaller than 17, and a Constructor of williams - bmw, driven by jenson button?.It is not neccessary to use all the tables.
SELECT Venue FROM table WHERE Away team score = 17.14 (116)
CREATE TABLE INST, Here is a database schema( table schema);
Which venue has an Away team score of 17.14 (116)?.It is not neccessary to use all the tables.
SELECT School FROM table WHERE Player = Ha'Sean Clinton-Dix
CREATE TABLE INST, Here is a database schema( table schema);
WHAT SCHOOL DOES HA'SEAN CLINTON-DIX BELONG TO?.It is not neccessary to use all the tables.
SELECT class FROM table_name_83 WHERE stages_won = "0" AND vehicle = "hummer" AND year < 2009
CREATE TABLE INST, Here is a database schema( table schema);
What class is associated with 0 stages won a hummer and before 2009?It is not neccessary to use all the tables.