sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT 3-dart Average FROM table WHERE Player = Raymond van Barneveld
CREATE TABLE INST, Here is a database schema( table schema);
what is the 3-dart average of raymond van barneveld.It is not neccessary to use all the tables.
SELECT score FROM table_name_96 WHERE game = 21
CREATE TABLE INST, Here is a database schema( table schema);
What is the score of game 21?It is not neccessary to use all the tables.
SELECT 3’UTR sequence FROM table WHERE Variant id = AD'6A 4
CREATE TABLE INST, Here is a database schema( table schema);
What is the 3'utr sequence with a variant id of ad'6a 4?.It is not neccessary to use all the tables.
SELECT Season FROM table WHERE Last air date = march 11, 2001
CREATE TABLE INST, Here is a database schema( table schema);
Which season had its last episode air on March 11, 2001?.It is not neccessary to use all the tables.
SELECT SUM Medium Gallup, March 2008 FROM table WHERE Medium Gallup, May 2008 < 10
CREATE TABLE INST, Here is a database schema( table schema);
What is the sum of Medium Gallup, March 2008 values where the Medium Gallup, May 2008 values are under 10?.It is not neccessary to use all the tables.
SELECT home_team FROM table_name_29 WHERE score = "100-86"
CREATE TABLE INST, Here is a database schema( table schema);
Which home team had a score of 100-86?It is not neccessary to use all the tables.
SELECT doctor FROM table_name_98 WHERE format = "cd" AND title = "the relics of time"
CREATE TABLE INST, Here is a database schema( table schema);
What is Doctor when Format is CD and when Title is The Relics Of Time?It is not neccessary to use all the tables.
SELECT Surface FROM table WHERE Opponent = George Khrikadze
CREATE TABLE INST, Here is a database schema( table schema);
WHAT WAS THE SURFACE MADE OF WHEN THE OPPONENT WAS GEORGE KHRIKADZE?.It is not neccessary to use all the tables.
SELECT attendance FROM table_name_45 WHERE date = "1/11"
CREATE TABLE INST, Here is a database schema( table schema);
How many people attended the match on 1/11?It is not neccessary to use all the tables.
SELECT SUM(year) FROM table_name_85 WHERE class = "350cc" AND rank = "16th" AND wins > 0
CREATE TABLE INST, Here is a database schema( table schema);
What year was she on a 350cc class bike ranked 16th with over 0 wins?It is not neccessary to use all the tables.
SELECT country FROM table_name_3 WHERE director = "george miller"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Country of origin for the film directed by George Miller?It is not neccessary to use all the tables.
SELECT TV Network(s) FROM table WHERE Country = Iran
CREATE TABLE INST, Here is a database schema( table schema);
Which TV network has a country of origin of Iran?.It is not neccessary to use all the tables.
SELECT COUNT(team) FROM table_23284271_7 WHERE score = "W 99–91 (OT)"
CREATE TABLE INST, Here is a database schema( table schema);
How many teams played against the Mavericks in a game where the score was w 99 91 (ot)?It is not neccessary to use all the tables.
SELECT COUNT Average FROM table WHERE Evening Gown = 8.00
CREATE TABLE INST, Here is a database schema( table schema);
How many averages for the province with evening gown score of 8.00.It is not neccessary to use all the tables.
SELECT AVG(goals) FROM table_name_65 WHERE competition = "k-league" AND team = "pohang steelers" AND name = "park sung-ho" AND total_gs < 46
CREATE TABLE INST, Here is a database schema( table schema);
What is the average number of goals of park sung-ho at the k-league competition which has the pohang steelers team and less than 46 total Gs?It is not neccessary to use all the tables.
SELECT team FROM table_name_74 WHERE pick > 30 AND college = "saginaw valley state"
CREATE TABLE INST, Here is a database schema( table schema);
What team has a pick larger than 30 when the college is saginaw valley state?It is not neccessary to use all the tables.
SELECT Type of game FROM table WHERE Results¹ = 2:1
CREATE TABLE INST, Here is a database schema( table schema);
What game type has 2:1 as the results?.It is not neccessary to use all the tables.
SELECT Year to April FROM table WHERE Revenue (US $million) = 434.8
CREATE TABLE INST, Here is a database schema( table schema);
What is the year to april when the revenue is 434.8 million dollars?.It is not neccessary to use all the tables.
SELECT "Launch date" FROM table_26988 WHERE "Crew" = 'Vladimir Lyakhov , Aleksandr Pavlovich Aleksandrov'
CREATE TABLE INST, Here is a database schema( table schema);
Name the launch date for vladimir lyakhov , aleksandr pavlovich aleksandrovIt is not neccessary to use all the tables.
SELECT Player FROM table WHERE Round < 3 AND Position = running back
CREATE TABLE INST, Here is a database schema( table schema);
What is the name of a running back in a round before round 3?.It is not neccessary to use all the tables.
SELECT Fastest Lap FROM table WHERE Grand Prix = brazilian grand prix
CREATE TABLE INST, Here is a database schema( table schema);
Name the fastest lap for the brazilian grand prix.It is not neccessary to use all the tables.
SELECT no_1 FROM table_name_28 WHERE no_2 = "emma" AND no_7 = "olivia"
CREATE TABLE INST, Here is a database schema( table schema);
What is No.1, when No. 2 is Emma, and when No. 7 is Olivia?It is not neccessary to use all the tables.
SELECT to_par FROM table_name_4 WHERE year_s__won = "1993"
CREATE TABLE INST, Here is a database schema( table schema);
What was the winning to par score of the 1993 PGA Championship?It is not neccessary to use all the tables.
SELECT Points FROM table WHERE Wins = 13
CREATE TABLE INST, Here is a database schema( table schema);
What is the amount of points for the team with 13 wins?.It is not neccessary to use all the tables.
SELECT opponent FROM table_1341522_36 WHERE incumbent = "Bill Hefner"
CREATE TABLE INST, Here is a database schema( table schema);
Who ran unsuccessfully against Bill Hefner?It is not neccessary to use all the tables.
SELECT COUNT(games_played) FROM table_name_6 WHERE wins = 4 AND position < 9
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of games played of the team with 4 wins and a position less than 9?It is not neccessary to use all the tables.
SELECT SUM(lane) FROM table_name_89 WHERE rank = 2
CREATE TABLE INST, Here is a database schema( table schema);
What is the lane total when rank is 2?It is not neccessary to use all the tables.
SELECT d_45_o FROM table_name_30 WHERE d_46_o = "d 26"
CREATE TABLE INST, Here is a database schema( table schema);
Name the D 45 O that has D 46 O of d 26It is not neccessary to use all the tables.
SELECT Runs FROM table WHERE Opponent = canterbury
CREATE TABLE INST, Here is a database schema( table schema);
Which Run has an Opponent of Canterbury?.It is not neccessary to use all the tables.
SELECT demographic.diagnosis, procedures.icd9_code FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.name = "James Sloan"
CREATE TABLE INST, Here is a database schema( table schema);
what is the primary disease and procedure icd9 code of the patient james sloan?It is not neccessary to use all the tables.
SELECT engine FROM table_name_37 WHERE driver = "ken downing" AND entrant = "connaught engineering"
CREATE TABLE INST, Here is a database schema( table schema);
what was the engine when ken downing drove an entrant from connaught engineering?It is not neccessary to use all the tables.
SELECT designer FROM table_name_89 WHERE restaurant_name = "the grapefruit moon"
CREATE TABLE INST, Here is a database schema( table schema);
Who was the designer for The Grapefruit Moon?It is not neccessary to use all the tables.
SELECT Country FROM table WHERE Place = 3
CREATE TABLE INST, Here is a database schema( table schema);
What country placed 3?.It is not neccessary to use all the tables.
SELECT notes FROM table_name_9 WHERE date = "2007"
CREATE TABLE INST, Here is a database schema( table schema);
What is Notes when Date is 2007?It is not neccessary to use all the tables.
SELECT avg_finish FROM table_2190919_3 WHERE team_s_ = "#21/#07 SS-Green Light Racing"
CREATE TABLE INST, Here is a database schema( table schema);
With team #21/#07 ss-green light racing what was the average finish number?It is not neccessary to use all the tables.
SELECT notes FROM table_name_24 WHERE time___sec__ > 23.34 AND rank = 8
CREATE TABLE INST, Here is a database schema( table schema);
Which Notes have a Time larger than 23.34 and a Rank of 8?It is not neccessary to use all the tables.
SELECT Under-11 FROM table WHERE Under-17 = Salma Nassar
CREATE TABLE INST, Here is a database schema( table schema);
Who is everyone Under-11 if Under-17 is Salma Nassar?.It is not neccessary to use all the tables.
SELECT score FROM table_27734769_8 WHERE team = "Milwaukee"
CREATE TABLE INST, Here is a database schema( table schema);
What is the score when the team is milwaukee?It is not neccessary to use all the tables.
SELECT result FROM table_name_49 WHERE date = "october 8, 1961"
CREATE TABLE INST, Here is a database schema( table schema);
What was the result on october 8 1961?It is not neccessary to use all the tables.
SELECT COUNT(rushing_yards) FROM table_name_27 WHERE average > 8.4 AND carries < 54
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of rushing yards associated with averages over 8.4 and fewer than 54 carries?It is not neccessary to use all the tables.
SELECT score FROM table_name_69 WHERE to_par = "–3" AND player = "santiago luna"
CREATE TABLE INST, Here is a database schema( table schema);
Which Score has a To par of –3 and a Player of santiago luna?It is not neccessary to use all the tables.
SELECT weight FROM table_24850630_4 WHERE venue = "Sandown Park"
CREATE TABLE INST, Here is a database schema( table schema);
What was the weight of the jockey at Sandown Park?It is not neccessary to use all the tables.
SELECT COUNT(money___) AS $__ FROM table_name_2 WHERE to_par = 13 AND player = "julius boros"
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of Money ( $ ) when To Par is "13" and when Player is "Julius Boros"?It is not neccessary to use all the tables.
SELECT round FROM table_name_19 WHERE opponent = "wakefield trinity wildcats u21" AND venue = "belle vue"
CREATE TABLE INST, Here is a database schema( table schema);
what round saw wakefield trinity wildcats u21 as the opponenet at belle vue?It is not neccessary to use all the tables.
SELECT Theme FROM table WHERE Design = Isabelle Toussaint
CREATE TABLE INST, Here is a database schema( table schema);
List all the themes designed by Isabelle Toussaint..It is not neccessary to use all the tables.
SELECT release_date FROM table_name_23 WHERE release_price___usd__ = "$346" AND turbo = "9/11"
CREATE TABLE INST, Here is a database schema( table schema);
What is the release date when the release price (usd) is $346 and the turbo is 9/11?It is not neccessary to use all the tables.
SELECT HIRE_DATE, AVG(SALARY) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%'
CREATE TABLE INST, Here is a database schema( table schema);
For all employees who have the letters D or S in their first name, find hire_date and the average of salary bin hire_date by weekday, and visualize them by a bar chart.It is not neccessary to use all the tables.
SELECT Most laps led FROM table WHERE Winning team = chip ganassi racing AND Fastest lap = marco andretti
CREATE TABLE INST, Here is a database schema( table schema);
What is Most Laps Led, when Winning Team is Chip Ganassi Racing, and when Fastest Lap is Marco Andretti?.It is not neccessary to use all the tables.
SELECT Steals FROM table WHERE Games Played = 31
CREATE TABLE INST, Here is a database schema( table schema);
How many interceptions for the team who played 31 games?.It is not neccessary to use all the tables.
SELECT "Surface" FROM table_71174 WHERE "Date" = 'may 10, 2009'
CREATE TABLE INST, Here is a database schema( table schema);
What was the surface for the May 10, 2009 tournament?It is not neccessary to use all the tables.
SELECT try_bonus FROM table_13741576_4 WHERE tries_against = "43"
CREATE TABLE INST, Here is a database schema( table schema);
What is the try bonus for when tries against is 43?It is not neccessary to use all the tables.
SELECT player FROM table_1473672_7 WHERE nhl_team = "Los Angeles Kings"
CREATE TABLE INST, Here is a database schema( table schema);
The los angeles kings drafted what player in the 7th roundIt is not neccessary to use all the tables.
SELECT COUNT Lane FROM table WHERE Heat = 1 AND Name = david carry
CREATE TABLE INST, Here is a database schema( table schema);
What lane is David Carry in heat 1?.It is not neccessary to use all the tables.
SELECT COUNT(team_captain) FROM table_23214833_1 WHERE club = "Sliven 2000"
CREATE TABLE INST, Here is a database schema( table schema);
How many different team captains does the club Sliven 2000 have?It is not neccessary to use all the tables.
SELECT constructor FROM table_1140105_6 WHERE date = "26 March"
CREATE TABLE INST, Here is a database schema( table schema);
What is te name of the constructors dated 26 march?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Label = parlophone AND Format = lp
CREATE TABLE INST, Here is a database schema( table schema);
What date has parlophone as the label, and lp as a format?.It is not neccessary to use all the tables.
SELECT Commonwealth equivalent FROM table WHERE US Air Force equivalent = Major General
CREATE TABLE INST, Here is a database schema( table schema);
If you're a major general in the US air force then what ranking will you receive in the commonwealth's air force?.It is not neccessary to use all the tables.
SELECT COUNT Year FROM table WHERE Game = call of duty 4: modern warfare
CREATE TABLE INST, Here is a database schema( table schema);
What is the sum number of year when Call of Duty 4: Modern Warfare was the game?.It is not neccessary to use all the tables.
SELECT nickname_s_ FROM table_name_59 WHERE enrollment__2013_14_ = "160"
CREATE TABLE INST, Here is a database schema( table schema);
What is the nickname with an enrollment (2013/14) of 160?It is not neccessary to use all the tables.
SELECT COUNT(no_in_season) FROM table_19995378_1 WHERE us_viewers__millions_ = "8.69"
CREATE TABLE INST, Here is a database schema( table schema);
How many episodes with different series numbers were seen by 8.69 people in the US?It is not neccessary to use all the tables.
SELECT MAX Pick # FROM table WHERE Player = David Grannis
CREATE TABLE INST, Here is a database schema( table schema);
What is the pick # for player david grannis?.It is not neccessary to use all the tables.
SELECT governors_1950 FROM table_name_46 WHERE general_1950 = "general 1979"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Governors 1950 when the General 1950 is general 1979?It is not neccessary to use all the tables.
SELECT COUNT Birth/2012 FROM table WHERE January–December 2012 = Kurgan Oblast
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of birth/2012 for January–December 2012 in Kurgan Oblast?.It is not neccessary to use all the tables.
SELECT SUM Pl GP FROM table WHERE Pick # < 122 AND Player = rob flockhart AND Rd # < 3
CREATE TABLE INST, Here is a database schema( table schema);
What is the PI GP of Rob Flockhart, who has a pick # less than 122 and a round # less than 3?.It is not neccessary to use all the tables.
SELECT Goals FROM table WHERE Caps > 16
CREATE TABLE INST, Here is a database schema( table schema);
How many goals were scored by players with more than 16 caps?.It is not neccessary to use all the tables.
SELECT high_rebounds FROM table_17432028_1 WHERE date = "March 15"
CREATE TABLE INST, Here is a database schema( table schema);
Name the high rebounds for march 15It is not neccessary to use all the tables.
SELECT AVG(quantity) FROM table_name_87 WHERE year_s__of_manufacture = "1921/23" AND seats = "40"
CREATE TABLE INST, Here is a database schema( table schema);
What is the average quantity for coaches manufactured in 1921/23 and had 40 seats?It is not neccessary to use all the tables.
SELECT name, COUNT(name) FROM swimmer AS t1 JOIN record AS t2 ON t1.ID = t2.Swimmer_ID WHERE Result = 'Win' GROUP BY name
CREATE TABLE INST, Here is a database schema( table schema);
A bar chart for finding the number of the names of swimmers who has a result of 'win'.It is not neccessary to use all the tables.
SELECT COUNT League Cup FROM table WHERE Play-offs > 2 AND Name = mitch cook category:articles with hcards
CREATE TABLE INST, Here is a database schema( table schema);
What's the total number of League Cup with a Play-off larger than 2, and a Name of Mitch Cook Category:Articles with hCards?.It is not neccessary to use all the tables.
SELECT aid FROM Aircraft WHERE distance > 1000
CREATE TABLE INST, Here is a database schema( table schema);
Show ids for all aircrafts with more than 1000 distance.It is not neccessary to use all the tables.
SELECT height FROM table_27067379_1 WHERE building = "Costanera Center Torre 1"
CREATE TABLE INST, Here is a database schema( table schema);
If the building is Costanera Center Torre 1 what is the height?It is not neccessary to use all the tables.
SELECT type FROM table_name_40 WHERE engine = "v16"
CREATE TABLE INST, Here is a database schema( table schema);
What type of car has the v16 engine?It is not neccessary to use all the tables.
SELECT COUNT Games FROM table WHERE Goals against = 352
CREATE TABLE INST, Here is a database schema( table schema);
Name the total number of games for goals against being 352.It is not neccessary to use all the tables.
SELECT Team FROM table WHERE Qual 1 = 1:16.417
CREATE TABLE INST, Here is a database schema( table schema);
What is Team, when Qual 1 is 1:16.417?.It is not neccessary to use all the tables.
SELECT duration FROM table_11210576_3 WHERE actor = "Christian de la Fuente"
CREATE TABLE INST, Here is a database schema( table schema);
What duration is listed for Christian de la Fuente?It is not neccessary to use all the tables.
SELECT years FROM table_29743928_4 WHERE name = "Chase Harrison Category:Articles with hCards"
CREATE TABLE INST, Here is a database schema( table schema);
When chase harrison category:articles with hcards is the name what is the year?It is not neccessary to use all the tables.
SELECT COUNT Directed by FROM table WHERE UK Ratings (BBC2 Rank) = 2.27m (5)
CREATE TABLE INST, Here is a database schema( table schema);
How many directors worked on the episode with 2.27m (5) is the ratings?.It is not neccessary to use all the tables.
SELECT res FROM table_name_97 WHERE event = "pfc: put up or shut up"
CREATE TABLE INST, Here is a database schema( table schema);
What is the result for pfc: put up or shut up?It is not neccessary to use all the tables.
SELECT Country FROM table WHERE Score = 69-71=140
CREATE TABLE INST, Here is a database schema( table schema);
Name the country with a score of 69-71=140..It is not neccessary to use all the tables.
SELECT "Poles" FROM table_1219 WHERE "Year" = '2011'
CREATE TABLE INST, Here is a database schema( table schema);
Name the poles for 2011It is not neccessary to use all the tables.
SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'cont inv me...
CREATE TABLE INST, Here is a database schema( table schema);
count the number of patients who received packed cell transfusion procedure during the same month after having received cont inv mec ven 96+ hrs procedure until 2100.It is not neccessary to use all the tables.
SELECT "Original air date" FROM table_26833 WHERE "Episode title" = 'Paintball Deer Hunter'
CREATE TABLE INST, Here is a database schema( table schema);
What date did 'paintball deer hunter' originally air?It is not neccessary to use all the tables.
SELECT score FROM table_name_81 WHERE opponent = "@ san antonio" AND date = "june 20"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Score of the game @ San Antonio on June 20?It is not neccessary to use all the tables.
SELECT headquarters FROM table_name_49 WHERE primary_industry = "oil and gas" AND name = "exxon mobil"
CREATE TABLE INST, Here is a database schema( table schema);
Where is Exxon Mobil an oil and gas corporation headquartered?It is not neccessary to use all the tables.
SELECT HIRE_DATE, SUM(DEPARTMENT_ID) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY SUM(DEPARTMENT_ID) DESC
CREATE TABLE INST, Here is a database schema( table schema);
For those employees who do not work in departments with managers that have ids between 100 and 200, find hire_date and the sum of department_id bin hire_date by weekday, and visualize them by a bar chart, and show Y in descending order.It is not neccessary to use all the tables.
SELECT COUNT Value ($M) FROM table WHERE Rank > 6 AND % change on year = -27
CREATE TABLE INST, Here is a database schema( table schema);
What was the total amount of Value ($M), when the Rank was higher than 6, and the % change on year was -27?.It is not neccessary to use all the tables.
SELECT MAX(rank_2012) FROM table_29789_3 WHERE international_tourism_expenditure_2011 = "$51.0 billion"
CREATE TABLE INST, Here is a database schema( table schema);
How many countries spent at least $51.0 billion in international tourism in 2012?It is not neccessary to use all the tables.
SELECT frequency FROM table_name_42 WHERE city_of_license = "belleville"
CREATE TABLE INST, Here is a database schema( table schema);
what is the frequency when the city of license is belleville?It is not neccessary to use all the tables.
SELECT Season FROM table WHERE Champion = nicolas kiesa
CREATE TABLE INST, Here is a database schema( table schema);
What season has the champion of Nicolas Kiesa?.It is not neccessary to use all the tables.
SELECT Other FROM table WHERE Symbian / Series 40 = 0.40%
CREATE TABLE INST, Here is a database schema( table schema);
When Symbian/Series 40 is 0.40%, what is the percentage of "other"?.It is not neccessary to use all the tables.
SELECT played FROM table_name_38 WHERE lost = "20"
CREATE TABLE INST, Here is a database schema( table schema);
How many matches played are associated with 20 losses?It is not neccessary to use all the tables.
SELECT "2008" FROM table_65895 WHERE "2011" = '1r' AND "Tournament" = 'australian open'
CREATE TABLE INST, Here is a database schema( table schema);
What's the 2008 of the Australian Open when the 2011 was 1R?It is not neccessary to use all the tables.
SELECT Outcome FROM table WHERE Surface = carpet
CREATE TABLE INST, Here is a database schema( table schema);
What is the Outcome of the Doubles played on Carpet?.It is not neccessary to use all the tables.
SELECT type_of_game FROM table_name_91 WHERE results¹ = "2:1"
CREATE TABLE INST, Here is a database schema( table schema);
What game type has 2:1 as the results?It is not neccessary to use all the tables.
SELECT venue FROM table_name_14 WHERE away_team = "collingwood"
CREATE TABLE INST, Here is a database schema( table schema);
What venue had collingwood as the away team?It is not neccessary to use all the tables.
SELECT "Date" FROM table_78252 WHERE "Race Title" = 'mallala'
CREATE TABLE INST, Here is a database schema( table schema);
When was the Mallala race held?It is not neccessary to use all the tables.
SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester INNER JOIN program_course ON program_course.course_id = course.course_id WHERE (semester.semester = ...
CREATE TABLE INST, Here is a database schema( table schema);
What is the Fall and Winter schedule for upper-level electives ?It is not neccessary to use all the tables.
SELECT COUNT(opponents) FROM table_2151643_3 WHERE outcome = "Winner" AND partner = "John Lloyd" AND surface = "Clay"
CREATE TABLE INST, Here is a database schema( table schema);
What was the total number of matches that had an outcome of Winner a partner of John Lloyd and a clay surface?It is not neccessary to use all the tables.
SELECT Money ( £ ) FROM table WHERE Score = 72-70-71-72=285
CREATE TABLE INST, Here is a database schema( table schema);
How much money does the player with a 72-70-71-72=285 score have?.It is not neccessary to use all the tables.
SELECT final_weight__kg_ FROM table_24370270_10 WHERE contestant = "Chris"
CREATE TABLE INST, Here is a database schema( table schema);
What is the final weight for contestant Chris?It is not neccessary to use all the tables.