sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT Home team FROM table WHERE Crowd > 10,000 AND Home team score = 13.13 (91)
CREATE TABLE INST, Here is a database schema( table schema);
What was the home team that scored 13.13 (91) in front of a crowd larger than 10,000?.It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Game = 23
CREATE TABLE INST, Here is a database schema( table schema);
what is the date of the game 23?.It is not neccessary to use all the tables.
SELECT Runner(s)-up FROM table WHERE Winning score = –9 (71-68-72-68=279)
CREATE TABLE INST, Here is a database schema( table schema);
Which Runner(s)-up has a Winning score of –9 (71-68-72-68=279)?.It is not neccessary to use all the tables.
SELECT Termination of Mission FROM table WHERE Title = ambassador extraordinary and plenipotentiary AND Representative = reynold e. carlson
CREATE TABLE INST, Here is a database schema( table schema);
What is the Termination of Mission with a Title of Ambassador Extraordinary and Plenipotentiary with a Representative of Reynold E. Carlson?.It is not neccessary to use all the tables.
SELECT "First Appearance" FROM table_28476 WHERE "Played by" = 'Obdul Reid'
CREATE TABLE INST, Here is a database schema( table schema);
What is the first appearance of the character played by Obdul Reid?It is not neccessary to use all the tables.
SELECT MIN Losses FROM table WHERE Wins = 3 AND Against > 1919
CREATE TABLE INST, Here is a database schema( table schema);
How many losses for the team with 3 wins and more than 1919 against?.It is not neccessary to use all the tables.
SELECT Opponent FROM table WHERE Week = 14
CREATE TABLE INST, Here is a database schema( table schema);
Who were the opponents during week 14?.It is not neccessary to use all the tables.
SELECT part_1 FROM table_name_99 WHERE part_2 = "fraus"
CREATE TABLE INST, Here is a database schema( table schema);
What is Part 1 when Part 2 is "fraus"?It is not neccessary to use all the tables.
SELECT COUNT Average Speed (mph) FROM table WHERE Year = 2003
CREATE TABLE INST, Here is a database schema( table schema);
How many average speeds are listed in the year 2003? .It is not neccessary to use all the tables.
SELECT English translation FROM table WHERE Artist = ann christine
CREATE TABLE INST, Here is a database schema( table schema);
what is the english translation when the artist is ann christine?.It is not neccessary to use all the tables.
SELECT MIN Roll FROM table WHERE Name = katikati college
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest roll number of Katikati college?.It is not neccessary to use all the tables.
SELECT years FROM table_name_27 WHERE roll > 23 AND decile > 5
CREATE TABLE INST, Here is a database schema( table schema);
Name the Years of schools with a Roll Larger than 23 and a Decile greater than 5.It is not neccessary to use all the tables.
SELECT design FROM table_name_46 WHERE serial_format = "ab-12-34"
CREATE TABLE INST, Here is a database schema( table schema);
Which design has a serial format of AB-12-34?It is not neccessary to use all the tables.
SELECT MAX(laps) FROM table_name_38 WHERE qual = "106.185"
CREATE TABLE INST, Here is a database schema( table schema);
What is the most laps with a qualification of 106.185?It is not neccessary to use all the tables.
SELECT league_cup_goals FROM table_name_29 WHERE total > 15 AND fa_cup_goals = 3 AND club = "chesterfield"
CREATE TABLE INST, Here is a database schema( table schema);
How many League Cup goals correspond to 3 FA Cup Goals and a total over 15 for Chesterfield?It is not neccessary to use all the tables.
SELECT MIN(rec) FROM table_name_57 WHERE avg > 13
CREATE TABLE INST, Here is a database schema( table schema);
What was the lowest recorded record for a player with an average larger than 13?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Performer 2 = ryan stiles AND Performer 3 = colin mochrie AND Performer 4 = tony slattery
CREATE TABLE INST, Here is a database schema( table schema);
What is the date of the episode with Ryan Stiles as performer 2, Colin Mochrie as performer 3, and Tony Slattery as performer 4?.It is not neccessary to use all the tables.
SELECT MIN Week FROM table WHERE Date = october 5, 1975
CREATE TABLE INST, Here is a database schema( table schema);
What week of the season had a date of october 5, 1975?.It is not neccessary to use all the tables.
SELECT COUNT(week) FROM table_name_88 WHERE date = "november 26, 1978" AND attendance > 26 OFFSET 248
CREATE TABLE INST, Here is a database schema( table schema);
How many weeks had a game on November 26 1978 and an attendance higher than 26248?It is not neccessary to use all the tables.
SELECT date FROM table_21796261_4 WHERE location = "Taylor Field"
CREATE TABLE INST, Here is a database schema( table schema);
When was the game on Taylor Field played?It is not neccessary to use all the tables.
SELECT COUNT(DISTINCT admissions.hadm_id) FROM admissions WHERE admissions.subject_id = 9964 AND STRFTIME('%y', admissions.admittime) = '2105'
CREATE TABLE INST, Here is a database schema( table schema);
how many times was patient 9964 in 2105 in the hospital?It is not neccessary to use all the tables.
SELECT MIN Gold FROM table WHERE Bronze = 2 AND Rank = 6 AND Total > 2
CREATE TABLE INST, Here is a database schema( table schema);
What is the smallest number of gold of a country of rank 6, with 2 bronzes?.It is not neccessary to use all the tables.
SELECT MIN(top_25) FROM table_name_63 WHERE events = 12 AND top_5 = 1 AND cuts_made < 11
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest Top-25 when events shows 12 the top-5 is 1 and less than 11 cuts?It is not neccessary to use all the tables.
SELECT MIN(pd_per_game) FROM table_name_49 WHERE rank < 4 AND winning__percentage = "78.6%" AND streak = "w1" AND pa_per_game < 81.5
CREATE TABLE INST, Here is a database schema( table schema);
Which PD per game has a Rank smaller than 4 a Winning % of 78.6% a Streak of w1 and a PA per game smaller than 81.5?It is not neccessary to use all the tables.
SELECT home_captain FROM table_name_48 WHERE date = "23,24,26,27,28,29 feb, 1 mar 1912"
CREATE TABLE INST, Here is a database schema( table schema);
What is Home Captain when Date is 232426272829 Feb 1 Mar 1912?It is not neccessary to use all the tables.
SELECT MIN Crowd FROM table WHERE Away team score = 17.16 (118)
CREATE TABLE INST, Here is a database schema( table schema);
What is the smallest crowd size for a game when the away team scored 17.16 (118)?.It is not neccessary to use all the tables.
SELECT COUNT(socialist) FROM table_1881642_1 WHERE social_democratic = "42.2%"
CREATE TABLE INST, Here is a database schema( table schema);
How many figures are given for the Socialists in the case where the Social Democrats received 42.2%?It is not neccessary to use all the tables.
SELECT MIN(finish) FROM table_name_69 WHERE year > 1972 AND manufacturer = "pontiac"
CREATE TABLE INST, Here is a database schema( table schema);
What is the smallest finish time for a race after 1972 with a car manufactured by pontiac?It is not neccessary to use all the tables.
SELECT Sacks FROM table WHERE Interceptions = 19
CREATE TABLE INST, Here is a database schema( table schema);
What is every value for sacks if interceptions is 19?.It is not neccessary to use all the tables.
SELECT Place FROM table WHERE Player = ben hogan
CREATE TABLE INST, Here is a database schema( table schema);
What place is Ben Hogan?.It is not neccessary to use all the tables.
SELECT "Record" FROM table_69540 WHERE "Date" = 'september 26'
CREATE TABLE INST, Here is a database schema( table schema);
What was the record on September 26?It is not neccessary to use all the tables.
SELECT mult_1 FROM table_27277284_27 WHERE frequency = "1900MHz"
CREATE TABLE INST, Here is a database schema( table schema);
What are the possible multipliers for 1900MHz processors?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Winning constructor = bugatti AND Winning driver = stanislas czaykowski
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the date for bugatti fpr stanislas czaykowski.It is not neccessary to use all the tables.
SELECT Week FROM table WHERE TV Time = bye
CREATE TABLE INST, Here is a database schema( table schema);
WHAT WEEK HAS A TV TIME OF BYE?.It is not neccessary to use all the tables.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.age < "45" AND procedures.long_title = "Closure of skin and subcutaneous tissue of other sites"
CREATE TABLE INST, Here is a database schema( table schema);
what is the number of patients under 45 years of age who had closure of skin and subcutaneous tissue of other sites?It is not neccessary to use all the tables.
SELECT Pick # FROM table WHERE NHL team = st. louis blues
CREATE TABLE INST, Here is a database schema( table schema);
What Pick # does the St. Louis Blues have?.It is not neccessary to use all the tables.
SELECT Artist FROM table WHERE Song title = " A Steel Guitar And A Glass Of Wine "
CREATE TABLE INST, Here is a database schema( table schema);
who is the the artbeingt with song title being " a steel guitar and a glass of wine ".It is not neccessary to use all the tables.
SELECT COUNT(proto_slavic) FROM table_26757_4 WHERE serbo_croatian = "гн(иј)ездо / gn(ij)ezdo"
CREATE TABLE INST, Here is a database schema( table schema);
When ( ) / gn(ij)ezdo is the serbo-croatian how many proto-slavics are there?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Score = 5-3 AND Loss = holt (1-1)
CREATE TABLE INST, Here is a database schema( table schema);
What date has 5-3 as the score, and holt (1-1) as a loss?.It is not neccessary to use all the tables.
SELECT AVG Bit depth FROM table WHERE Video bit rate, Mbit/s = 25 (cbr) AND Color sampling = 4:1:1
CREATE TABLE INST, Here is a database schema( table schema);
What bit depth average has a video bit rate, Mbit/s of 25 (cbr), and 4:1:1 as color sampling?.It is not neccessary to use all the tables.
SELECT candidates FROM table_1341690_43 WHERE district = "Texas 1"
CREATE TABLE INST, Here is a database schema( table schema);
Name the candidates for texas 1It is not neccessary to use all the tables.
SELECT Set 3 FROM table WHERE Set 4 = 25-21 AND Date = jun 14
CREATE TABLE INST, Here is a database schema( table schema);
What is Set 3, when Set 4 is 25-21, and when Date is Jun 14?.It is not neccessary to use all the tables.
SELECT time FROM table_name_82 WHERE nfl_recap = "recap" AND game_site = "arrowhead stadium"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Time of the game at Arrowhead Stadium with an NFL Recap of recap?It is not neccessary to use all the tables.
SELECT Played FROM table WHERE Points against = 321
CREATE TABLE INST, Here is a database schema( table schema);
What is the played total when the points against was 321?.It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Site/Stadium = sarge frye field
CREATE TABLE INST, Here is a database schema( table schema);
What was the score for the game played at Sarge Frye Field?.It is not neccessary to use all the tables.
SELECT opponent FROM table_name_14 WHERE date = "august 25"
CREATE TABLE INST, Here is a database schema( table schema);
what team played on august 25It is not neccessary to use all the tables.
SELECT AVG Valid Poll FROM table WHERE Seats < 3
CREATE TABLE INST, Here is a database schema( table schema);
Name the average valid poll for seats less than 3.It is not neccessary to use all the tables.
SELECT Years FROM table WHERE Decile < 8 AND Area = southbrook
CREATE TABLE INST, Here is a database schema( table schema);
What years had the decile smaller than 8 in the area of southbrook?.It is not neccessary to use all the tables.
SELECT MIN(silver) FROM table_name_99 WHERE rank > 8
CREATE TABLE INST, Here is a database schema( table schema);
What is the fewest number of silver medals a nation who ranked below 8 received?It is not neccessary to use all the tables.
SELECT name FROM table_16799784_13 WHERE latitude = "23.9S"
CREATE TABLE INST, Here is a database schema( table schema);
What feature is at latitude 23.9S?It is not neccessary to use all the tables.
SELECT home_team AS score FROM table_16388478_2 WHERE home_team = "Carlton"
CREATE TABLE INST, Here is a database schema( table schema);
What were the home team scores when carlton was the home team?It is not neccessary to use all the tables.
SELECT Away team FROM table WHERE Away team score = 8.15 (63)
CREATE TABLE INST, Here is a database schema( table schema);
What was the away team that scored 8.15 (63)?.It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Venue = luxembourg
CREATE TABLE INST, Here is a database schema( table schema);
Which date is associated with a venue of Luxembourg?.It is not neccessary to use all the tables.
SELECT AVG(crowd) FROM table_name_16 WHERE venue = "glenferrie oval"
CREATE TABLE INST, Here is a database schema( table schema);
What is the average crowd size at glenferrie oval?It is not neccessary to use all the tables.
SELECT MIN(hong_kong) FROM table_name_52 WHERE brisbane = 0 AND kuala_lumpur > 0
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest Hong Kong value with a 0 Brisbane value and a greater than 0 Kuala Lumpur value?It is not neccessary to use all the tables.
SELECT Summary Hearing? FROM table WHERE Definition, example or notes = Flying an aircraft so as to annoy any person
CREATE TABLE INST, Here is a database schema( table schema);
What is the summmary hearing when the definiton is listed at flying an aircraft so as to annoy any person?.It is not neccessary to use all the tables.
SELECT SUM(squad_no) FROM table_name_23 WHERE points > 8 AND player = "danny mcguire" AND goals > 0
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of squad no when there are more than 8 points Danny Mcguire is a player and there are more than 0 goals?It is not neccessary to use all the tables.
SELECT T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.written_by = 'Todd Casey'
CREATE TABLE INST, Here is a database schema( table schema);
which countries' tv channels are playing some cartoon written by Todd Casey?It is not neccessary to use all the tables.
SELECT AVG Goals against FROM table WHERE Wins > 12 AND Losses = 12 AND Position > 3
CREATE TABLE INST, Here is a database schema( table schema);
What is the average number of goals against with more than 12 wins, 12 losses, and a position greater than 3?.It is not neccessary to use all the tables.
SELECT hanja___kanji FROM table_name_5 WHERE korean_name = "chungcheong-bukdo"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Hanja/Kanji of the Province with a Korean name of Chungcheong-Bukdo?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Matches = 1
CREATE TABLE INST, Here is a database schema( table schema);
What was the date for a round that only had 1 match?.It is not neccessary to use all the tables.
SELECT Opponent FROM table WHERE Year = 1999 AND Partner = choong tan fook
CREATE TABLE INST, Here is a database schema( table schema);
Who was Choong Tan Fook's opponent in 1999?.It is not neccessary to use all the tables.
SELECT MAX(home_att) FROM table_26816495_26 WHERE avg = "11,322"
CREATE TABLE INST, Here is a database schema( table schema);
What is the maximum home attendance if the average is 11322?It is not neccessary to use all the tables.
SELECT chinese__traditional_ FROM table_name_84 WHERE english_title = "beautiful"
CREATE TABLE INST, Here is a database schema( table schema);
What is the traditional Chinese name for the record Beautiful?It is not neccessary to use all the tables.
SELECT home_team FROM table_name_36 WHERE venue = "vfl park"
CREATE TABLE INST, Here is a database schema( table schema);
Which home team plays at VFL Park?It is not neccessary to use all the tables.
SELECT COUNT Rank FROM table WHERE Time = 1:01.14.62 AND Rider = michael russell
CREATE TABLE INST, Here is a database schema( table schema);
How many ranks have 1:01.14.62 as the time, with michael russell as the rider?.It is not neccessary to use all the tables.
SELECT COUNT(year) FROM table_name_48 WHERE rank = "31"
CREATE TABLE INST, Here is a database schema( table schema);
with rank of 31 what is the year?It is not neccessary to use all the tables.
SELECT Country FROM table WHERE Player = dave barr
CREATE TABLE INST, Here is a database schema( table schema);
WHAT IS THE COUNTRY WITH DAVE BARR?.It is not neccessary to use all the tables.
SELECT SUM(pick__number) FROM table_name_87 WHERE position = "ol"
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of picks for the position of OL?It is not neccessary to use all the tables.
SELECT Percentage Democrats FROM table WHERE Democratic/ Republican = 2/4
CREATE TABLE INST, Here is a database schema( table schema);
What is the percentage democrats with 2/4 democrat/republican?.It is not neccessary to use all the tables.
SELECT "Distance" FROM table_54612 WHERE "Stage" > '5' AND "Winner" = 'giovanni lombardi'
CREATE TABLE INST, Here is a database schema( table schema);
What distance did giovanni lombardi win after stage 5?It is not neccessary to use all the tables.
SELECT AVG Roll FROM table WHERE Name = pirinoa school
CREATE TABLE INST, Here is a database schema( table schema);
tell me the average roll for pirinoa school..It is not neccessary to use all the tables.
SELECT MIN Rank (Night) FROM table WHERE Rating/share (18-49) = 2.6/8 AND Episode > 1
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest nightly rank for an episode after episode 1 with a rating/share of 2.6/8?.It is not neccessary to use all the tables.
SELECT Character, Duration FROM actor
CREATE TABLE INST, Here is a database schema( table schema);
What are the characters and duration of actors?It is not neccessary to use all the tables.
SELECT MAX(flt_goals) FROM table_name_3 WHERE league_cup_goals = 0 AND position = "gk" AND league_cup_apps = "2"
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest FLT goals with 0 league cup goals a GK position and 2 league cup apps?It is not neccessary to use all the tables.
SELECT School FROM table WHERE Team = minnesota twins AND Position = ss
CREATE TABLE INST, Here is a database schema( table schema);
From which school did the Minnesota Twins SS come from?.It is not neccessary to use all the tables.
SELECT To par FROM table WHERE Country = united states AND Score = 74-69-71-74=288
CREATE TABLE INST, Here is a database schema( table schema);
What is the To par for the place in the United States and a score of 74-69-71-74=288?.It is not neccessary to use all the tables.
SELECT COUNT(date) FROM table_24126518_2 WHERE opponent = "Alouettes"
CREATE TABLE INST, Here is a database schema( table schema);
Name the number of dates for alouettesIt is not neccessary to use all the tables.
SELECT population__may_1, _2000_ FROM table_2068761_1 WHERE barangay = "General Terrero"
CREATE TABLE INST, Here is a database schema( table schema);
Name th epopulation may for general terreroIt is not neccessary to use all the tables.
SELECT Notes FROM table WHERE Time = 7:38.87
CREATE TABLE INST, Here is a database schema( table schema);
what is the notes for the athlete with the time of 7:38.87?.It is not neccessary to use all the tables.
SELECT SUM Population FROM table WHERE Region > 3
CREATE TABLE INST, Here is a database schema( table schema);
How many people are in regions greater than 3?.It is not neccessary to use all the tables.
SELECT prescriptions.drug, prescriptions.route FROM prescriptions WHERE prescriptions.formulary_drug_cd = "D12.5W250I"
CREATE TABLE INST, Here is a database schema( table schema);
provide the name of drug and route of administration for the drug with drug code d12.5w250l.It is not neccessary to use all the tables.
SELECT record FROM table_name_75 WHERE score = "6–2" AND date = "november 24"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Record of the game on November 24 with a Score of 6–2?It is not neccessary to use all the tables.
SELECT MIN No. in series FROM table WHERE Production code = 3ABC21
CREATE TABLE INST, Here is a database schema( table schema);
Name the least number for production code for 3abc21.It is not neccessary to use all the tables.
SELECT station_type FROM table_28794440_1 WHERE frequency = "972kHz"
CREATE TABLE INST, Here is a database schema( table schema);
What type of station is within the 972khz frequency?It is not neccessary to use all the tables.
SELECT institution FROM table_name_87 WHERE founded > 1883 AND current_conference = "american southwest"
CREATE TABLE INST, Here is a database schema( table schema);
What American Southwest Conference school was founded in 1883?It is not neccessary to use all the tables.
SELECT SUM Points FROM table WHERE Player = tom hammond AND Extra points > 12
CREATE TABLE INST, Here is a database schema( table schema);
How many points does Tom Hammond have if he has more than 12 points?.It is not neccessary to use all the tables.
SELECT percentage FROM table_name_23 WHERE candidate = "chris wright"
CREATE TABLE INST, Here is a database schema( table schema);
What percentage did chris wright receive?It is not neccessary to use all the tables.
SELECT SUM(year) FROM table_name_41 WHERE outcome = "runner-up" AND championship = "world darts championship"
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the sum of Year for outcome of runner-up for world darts championshipIt is not neccessary to use all the tables.
SELECT date FROM table_name_97 WHERE location = "gillette stadium" AND result = "40-21"
CREATE TABLE INST, Here is a database schema( table schema);
What was the date of the game played at Gillette Stadium with a score of 40-21?It is not neccessary to use all the tables.
SELECT spacewalkers FROM table_22385461_1 WHERE spacecraft = "STS-101 EVA 1"
CREATE TABLE INST, Here is a database schema( table schema);
Who walked in space from STS-101 Eva 1?It is not neccessary to use all the tables.
SELECT company FROM customers WHERE first_name = "Eduardo" AND last_name = "Martins"
CREATE TABLE INST, Here is a database schema( table schema);
What is the company where Eduardo Martins is a customer?It is not neccessary to use all the tables.
SELECT Part 2 FROM table WHERE Part 4 = december 9, 2007
CREATE TABLE INST, Here is a database schema( table schema);
When is Part 2, when Part 4 is on December 9, 2007?.It is not neccessary to use all the tables.
SELECT WebKit FROM table WHERE Prince XML = font
CREATE TABLE INST, Here is a database schema( table schema);
For the item with a Prince XML value of 'font', what is the WebKit value?.It is not neccessary to use all the tables.
SELECT COUNT(wins) FROM table_name_57 WHERE top_10 < 6 AND cuts_made > 7 AND top_5 = 0
CREATE TABLE INST, Here is a database schema( table schema);
How many Wins have a Top-10 smaller than 6 and Cuts made larger than 7 and a Top-5 of 0?It is not neccessary to use all the tables.
SELECT COUNT(track) FROM table_name_21 WHERE translation = "the fallen angel"
CREATE TABLE INST, Here is a database schema( table schema);
Name the total number of tracks for of the fallen angelIt is not neccessary to use all the tables.
SELECT DISTINCT instructor.name FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN offering_instructor ON offering_instructor.offering_id = course_offering.offering_id INNER JOIN instructor ON offering_instructor.instructor_id = instructor.instructor_id INNER JOIN semester ON semester.semester_id = course_offering.semester WHERE course.department = 'NATIVEAM' AND course.number = 333 AND semester.semester = 'Fall' AND semester.year = 2016
CREATE TABLE INST, Here is a database schema( table schema);
NATIVEAM 333 will be taught by which instructor this Fall ?It is not neccessary to use all the tables.
SELECT Venue FROM table WHERE Away team score = 10.17 (77)
CREATE TABLE INST, Here is a database schema( table schema);
What place had an Away team get a score of 10.17 (77)?.It is not neccessary to use all the tables.
SELECT Minister FROM table WHERE Party = labor party AND Governments = 26
CREATE TABLE INST, Here is a database schema( table schema);
Who was the minister of the labor party and had 26 goverments?.It is not neccessary to use all the tables.
SELECT Place FROM table WHERE Score > 68 AND Player = david ogrin
CREATE TABLE INST, Here is a database schema( table schema);
Which Place has a Score larger than 68, and a Player of david ogrin?.It is not neccessary to use all the tables.