sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT COUNT Pocona Municipality FROM table WHERE Totora Municipality = 72 AND Pojo Municipality > 74
CREATE TABLE INST, Here is a database schema( table schema);
What is Pocona Municipalities with 72 Totora municipalities and more than 74 pojo municipalities?.It is not neccessary to use all the tables.
SELECT Lead FROM table WHERE Skip = mike mcewen
CREATE TABLE INST, Here is a database schema( table schema);
Which Lead has a Skip of mike mcewen?.It is not neccessary to use all the tables.
SELECT "BrUp" FROM table_72957 WHERE "Name" = 'Total'
CREATE TABLE INST, Here is a database schema( table schema);
What is the total brup for the team?It is not neccessary to use all the tables.
SELECT Location FROM table WHERE ACC Team = Wake Forest
CREATE TABLE INST, Here is a database schema( table schema);
Where did the games that had Wake Forest as Acc Team take place?.It is not neccessary to use all the tables.
SELECT dam_type FROM table_name_90 WHERE year_completed = 1961
CREATE TABLE INST, Here is a database schema( table schema);
Which dam type was completed in 1961?It is not neccessary to use all the tables.
SELECT "Record" FROM table_57545 WHERE "Date" = 'may 20'
CREATE TABLE INST, Here is a database schema( table schema);
What was the record on May 20?It is not neccessary to use all the tables.
SELECT away_team FROM table_name_32 WHERE venue = "arden street oval"
CREATE TABLE INST, Here is a database schema( table schema);
Which Away team has a Venue of arden street oval?It is not neccessary to use all the tables.
SELECT COUNT(assets_2013__bil) AS $_ FROM table_24307126_3 WHERE base = "Australia"
CREATE TABLE INST, Here is a database schema( table schema);
Name the number of assets for australiaIt is not neccessary to use all the tables.
SELECT method FROM table_name_86 WHERE round = "3" AND res = "loss" AND event = "juiz de fora - fight 1"
CREATE TABLE INST, Here is a database schema( table schema);
Which method had a 3 rounds result in a loss and the Juiz de Fora - fight 1 event?It is not neccessary to use all the tables.
SELECT source FROM table_21535453_1 WHERE brian_moran = "26%"
CREATE TABLE INST, Here is a database schema( table schema);
What source gave 26% of the votes to Brian Moran?It is not neccessary to use all the tables.
SELECT MAX Goals FROM table WHERE Points = 13 AND Assists = 10 AND Club = eisbären berlin
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest number of goals Eisbären Berlin had along with 13 points and 10 assists?.It is not neccessary to use all the tables.
SELECT margin_of_victory FROM table_name_72 WHERE winning_score = 74 - 68 - 67 - 75 = 284
CREATE TABLE INST, Here is a database schema( table schema);
When the Winning score is 74-68-67-75=284, what was the Margin of victory?It is not neccessary to use all the tables.
SELECT District FROM table WHERE Constituency number = 22
CREATE TABLE INST, Here is a database schema( table schema);
Which District is Constituency number 22?.It is not neccessary to use all the tables.
SELECT 9:30 FROM table WHERE 8:30 = bones (reruns)
CREATE TABLE INST, Here is a database schema( table schema);
What is 9:30, when 8:30 is "Bones (Reruns)"?.It is not neccessary to use all the tables.
SELECT Winning driver FROM table WHERE Rd. = 3
CREATE TABLE INST, Here is a database schema( table schema);
Who is the winning driver when rd. is 3?.It is not neccessary to use all the tables.
SELECT MAX Stolen Ends FROM table WHERE W = 1
CREATE TABLE INST, Here is a database schema( table schema);
What is the most amount of stolen ends for a skip with 1 W?.It is not neccessary to use all the tables.
SELECT MIN(position) FROM table_name_6 WHERE bike_no > 10 AND driver___passenger = "nicky pulinx / ondrej cermak" AND points > 244
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest Postion when Bike No is greater than 10 when Driver / Passenger is Nicky Pulinx / Ondrej Cermak and when Points is greater than 244?It is not neccessary to use all the tables.
SELECT Title FROM table WHERE Songwriter(s) = hadise açıkgöz, stefaan fernande, elio deepcore
CREATE TABLE INST, Here is a database schema( table schema);
Which Title has a Songwriter(s) of hadise açıkgöz, stefaan fernande, elio deepcore?.It is not neccessary to use all the tables.
SELECT MAX No FROM table WHERE Player = Andrea Bargnani
CREATE TABLE INST, Here is a database schema( table schema);
What number is Andrea Bargnani?.It is not neccessary to use all the tables.
SELECT Transfer window FROM table WHERE Country = bra AND Transfer fee = £3.4m
CREATE TABLE INST, Here is a database schema( table schema);
What transfer window has bra as the country, with £3.4m as the transfer fee?.It is not neccessary to use all the tables.
SELECT Finish FROM table WHERE To par = +21
CREATE TABLE INST, Here is a database schema( table schema);
What finish has +21 as the to par?.It is not neccessary to use all the tables.
SELECT high_rebounds FROM table_name_27 WHERE game > 2 AND team = "@ denver" AND high_assists = "kobe bryant (5)"
CREATE TABLE INST, Here is a database schema( table schema);
Which High rebounds have a Game larger than 2 and a Team of @ denver and High assists of kobe bryant (5)?It is not neccessary to use all the tables.
SELECT date FROM table_name_38 WHERE away_team = "footscray"
CREATE TABLE INST, Here is a database schema( table schema);
When was the game when Footscray was the away team?It is not neccessary to use all the tables.
SELECT AVG(year) FROM table_name_97 WHERE venue = "antwerp, belgium"
CREATE TABLE INST, Here is a database schema( table schema);
What is the average year of events that took place in Antwerp Belgium?It is not neccessary to use all the tables.
SELECT Term Limited FROM table WHERE Representative = Dave Hall
CREATE TABLE INST, Here is a database schema( table schema);
If the representative is Dave Hall, when was the term limited?.It is not neccessary to use all the tables.
SELECT LOCATION FROM shop WHERE Open_Year > 2012 INTERSECT SELECT LOCATION FROM shop WHERE Open_Year < 2008
CREATE TABLE INST, Here is a database schema( table schema);
Show the locations shared by shops with open year later than 2012 and shops with open year before 2008.It is not neccessary to use all the tables.
SELECT MIN 2 credits FROM table WHERE Hand = Straight
CREATE TABLE INST, Here is a database schema( table schema);
Name the least 2 credits for straight hand.It is not neccessary to use all the tables.
SELECT date FROM table_name_21 WHERE margin_of_victory = "1 stroke" AND runner_s__up = "greg kraft"
CREATE TABLE INST, Here is a database schema( table schema);
What date has a margin of victory of 1 stroke over Greg Kraft?It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Date = may 7, 2006
CREATE TABLE INST, Here is a database schema( table schema);
What is Score, when Date is May 7, 2006?.It is not neccessary to use all the tables.
SELECT MAX Games FROM table WHERE Drawn < 0
CREATE TABLE INST, Here is a database schema( table schema);
Which Games is the highest one that has a Drawn smaller than 0?.It is not neccessary to use all the tables.
SELECT Game Site FROM table WHERE Attendance = 71,060
CREATE TABLE INST, Here is a database schema( table schema);
Where was the game played when 71,060 people attended?.It is not neccessary to use all the tables.
SELECT Season premiere FROM table WHERE Viewer rank (#) = #6
CREATE TABLE INST, Here is a database schema( table schema);
When did the season premiere that had a viewer rank of #6?.It is not neccessary to use all the tables.
SELECT Constructor FROM table WHERE Chassis = 250f AND Rounds = 1
CREATE TABLE INST, Here is a database schema( table schema);
Who constructed the car in round 1 with a Chassis of 250F?.It is not neccessary to use all the tables.
SELECT MAX("Game") FROM table_8177 WHERE "Record" = '21-30-11'
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest Game, when Record is '21-30-11'?It is not neccessary to use all the tables.
SELECT state FROM table_name_30 WHERE venue = "tsukisamu dome"
CREATE TABLE INST, Here is a database schema( table schema);
Which state has the venue Tsukisamu dome?It is not neccessary to use all the tables.
SELECT result FROM table_name_16 WHERE week = 4
CREATE TABLE INST, Here is a database schema( table schema);
What was the result of the game on week 4?It is not neccessary to use all the tables.
SELECT MIN(drawn) FROM table_name_25 WHERE games < 7
CREATE TABLE INST, Here is a database schema( table schema);
What is the fewest ties the team had with fewer than 7 games?It is not neccessary to use all the tables.
SELECT "Set 2" FROM table_49825 WHERE "Time" = '18:00' AND "Set 1" = '18–25'
CREATE TABLE INST, Here is a database schema( table schema);
What is the score for set 2 when the time is 18:00 and the score of set 1 is 18 25?It is not neccessary to use all the tables.
SELECT MAX("Points") FROM table_75196 WHERE "Extra points" = '0' AND "Touchdowns" < '2'
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest number of points for players with less than 2 touchdowns and 0 extra points?It is not neccessary to use all the tables.
SELECT Diameter FROM table WHERE Reverse = archery
CREATE TABLE INST, Here is a database schema( table schema);
What is the diameter of the Archery Reverse coin?.It is not neccessary to use all the tables.
SELECT MAX(played) FROM table_name_52 WHERE lost > 5 AND against = 228
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest number of games played for teams that lost over 5 games and had an against total of 228?It is not neccessary to use all the tables.
SELECT Republican ticket FROM table WHERE Socialist ticket = edna mitchell blue
CREATE TABLE INST, Here is a database schema( table schema);
Who's the Republican ticket with a Socialist ticket of edna mitchell blue?.It is not neccessary to use all the tables.
SELECT location_attendance FROM table_22879323_9 WHERE score = "L 83–106 (OT)"
CREATE TABLE INST, Here is a database schema( table schema);
Name the location attendance for l 83–106 (ot)It is not neccessary to use all the tables.
SELECT Archive FROM table WHERE Run time = 24:04
CREATE TABLE INST, Here is a database schema( table schema);
Name the archive where run time 24:04.It is not neccessary to use all the tables.
SELECT Pop. density (per km²) FROM table WHERE Municipality = Calintaan
CREATE TABLE INST, Here is a database schema( table schema);
List the population density per kilometer for the city of calintaan?.It is not neccessary to use all the tables.
SELECT MIN Weight FROM table WHERE Player = Enrique de la Fuente
CREATE TABLE INST, Here is a database schema( table schema);
What's Enrique de la Fuente's weight?.It is not neccessary to use all the tables.
SELECT date FROM table_name_78 WHERE record = "19–16"
CREATE TABLE INST, Here is a database schema( table schema);
Record of 19–16 occurred on what date?It is not neccessary to use all the tables.
SELECT home_team AS score FROM table_name_99 WHERE away_team = "essendon"
CREATE TABLE INST, Here is a database schema( table schema);
When the Away team is essendon what's the Home team score?It is not neccessary to use all the tables.
SELECT original_air_date FROM table_11630008_3 WHERE series_no = 23
CREATE TABLE INST, Here is a database schema( table schema);
When did the series number 23 air?It is not neccessary to use all the tables.
SELECT Time FROM table WHERE Lane = 7
CREATE TABLE INST, Here is a database schema( table schema);
What time does lane 7 have?.It is not neccessary to use all the tables.
SELECT cart FROM table_name_47 WHERE shield_animal = "serpent"
CREATE TABLE INST, Here is a database schema( table schema);
What cart has a serpent shield animal?It is not neccessary to use all the tables.
SELECT College FROM table WHERE Team = new york jets
CREATE TABLE INST, Here is a database schema( table schema);
The New York Jets picked someone from what college?.It is not neccessary to use all the tables.
SELECT MIN Lane FROM table WHERE Rank < 4 AND Time < 24.42
CREATE TABLE INST, Here is a database schema( table schema);
With a less than 4 rank, and a time less than 24.42 what is the smallest lane?.It is not neccessary to use all the tables.
SELECT SUM(overall) FROM table_name_50 WHERE round < 24 AND college = "north carolina state"
CREATE TABLE INST, Here is a database schema( table schema);
What is the sum of Overall when Round is less than 24 and when College is North Carolina State?It is not neccessary to use all the tables.
SELECT COUNT Incumbent FROM table WHERE First elected = 1944
CREATE TABLE INST, Here is a database schema( table schema);
Name the total number of incumbent for first elected of 1944.It is not neccessary to use all the tables.
SELECT indiana FROM table_18461045_1 WHERE michigan = "Midland Northeast LL Midland"
CREATE TABLE INST, Here is a database schema( table schema);
What was the little league team from Indiana when the little league team from Michigan was Midland Northeast LL Midland?It is not neccessary to use all the tables.
SELECT AVG Rank FROM table WHERE Country = denmark
CREATE TABLE INST, Here is a database schema( table schema);
What is the average rank for Denmark?.It is not neccessary to use all the tables.
SELECT won FROM table_15467476_3 WHERE tries_against = "49"
CREATE TABLE INST, Here is a database schema( table schema);
How many games won for teams with 49 tries against?It is not neccessary to use all the tables.
SELECT "To par" FROM table_80397 WHERE "Place" = 't1' AND "Score" = '70-73-69=212'
CREATE TABLE INST, Here is a database schema( table schema);
What player was place of t1 in To Par and had a score of 70-73-69=212?It is not neccessary to use all the tables.
SELECT Opponent FROM table WHERE Game Site = forbes field AND Week > 4
CREATE TABLE INST, Here is a database schema( table schema);
Which opponent was played at Forbes Field after week 4?.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 = "Medicare" AND diagnoses.short_title = "React-oth vasc dev/graft"
CREATE TABLE INST, Here is a database schema( table schema);
provide the number of patients whose insurance is medicare and diagnoses short title is react-oth vasc dev/graft?It is not neccessary to use all the tables.
SELECT party FROM table_2668401_17 WHERE result = "Re-elected" AND first_elected = "1797" AND district = "Virginia 5"
CREATE TABLE INST, Here is a database schema( table schema);
What party did the incumbent from the Virginia 5 district who was re-elected and was first elected in 1797 belong to?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 INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.long_title = "Blood in stool" AND prescriptions.route = "REPLACE"
CREATE TABLE INST, Here is a database schema( table schema);
find the number of patients diagnosed with blood in stool had the drug route as replace.It is not neccessary to use all the tables.
SELECT Date_Payment_Made, AVG(Amount_Payment) FROM Payments GROUP BY Date_Payment_Made ORDER BY Date_Payment_Made
CREATE TABLE INST, Here is a database schema( table schema);
Return a trend line to show the average amount of payment by each payment day.It is not neccessary to use all the tables.
SELECT bleeding_time FROM table_20592988_1 WHERE condition = "Thrombocytopenia"
CREATE TABLE INST, Here is a database schema( table schema);
What is the status of bleeding time for thrombocytopenia?It is not neccessary to use all the tables.
SELECT partner FROM table_2127933_3 WHERE opponents = "Harry Johnson Hazel Hotchkiss Wightman"
CREATE TABLE INST, Here is a database schema( table schema);
Who were the partners during times that harry johnson hazel hotchkiss wightman was the opponent?It is not neccessary to use all the tables.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dod_year <= "2168.0" AND lab.label = "pO2"
CREATE TABLE INST, Here is a database schema( table schema);
how many patients died in or before 2168 and tested with po2 in lab?It is not neccessary to use all the tables.
SELECT country FROM table_name_58 WHERE player = "sam snead"
CREATE TABLE INST, Here is a database schema( table schema);
What was the country for Sam Snead?It is not neccessary to use all the tables.
SELECT COUNT(round) FROM table_name_83 WHERE college_junior_club_team__league_ = "kelowna rockets ( whl )"
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of Round when College/Junior/Club Team (League) is "Kelowna Rockets ( WHL )"?It is not neccessary to use all the tables.
SELECT Nationality FROM table WHERE Time = 1:55.35
CREATE TABLE INST, Here is a database schema( table schema);
What nationality has 1:55.35 as the time?.It is not neccessary to use all the tables.
SELECT investor_id, AVG(amount_of_transaction) FROM TRANSACTIONS GROUP BY investor_id
CREATE TABLE INST, Here is a database schema( table schema);
Show the average amount of transactions for different investors.It is not neccessary to use all the tables.
SELECT COUNT High rebounds FROM table WHERE Date = February 10
CREATE TABLE INST, Here is a database schema( table schema);
Name the total number of high rebounds for february 10.It is not neccessary to use all the tables.
SELECT billing_country, AVG(total) FROM invoices GROUP BY billing_country ORDER BY AVG(total) DESC LIMIT 10
CREATE TABLE INST, Here is a database schema( table schema);
Show me a bar chart for what are the names of the countries and average invoice size of the top countries by size?It is not neccessary to use all the tables.
SELECT year_location FROM table_28138035_4 WHERE womens_singles = "Haruna Fukuoka"
CREATE TABLE INST, Here is a database schema( table schema);
Name the year location for haruna fukuokaIt is not neccessary to use all the tables.
SELECT Mixed doubles FROM table WHERE Mens singles = Kim Brodersen
CREATE TABLE INST, Here is a database schema( table schema);
What are the mixed doubles where the mens singles is kim brodersen?.It is not neccessary to use all the tables.
SELECT l2_cache FROM table_name_93 WHERE frequency = "750mhz"
CREATE TABLE INST, Here is a database schema( table schema);
What is the L2 cache for the processor with a 750MHz frequency?It is not neccessary to use all the tables.
SELECT pick FROM table_name_64 WHERE round < 4 AND school_club_team = "ucla"
CREATE TABLE INST, Here is a database schema( table schema);
What pick in a round earlier than 4 did UCLA choose their pick?It is not neccessary to use all the tables.
SELECT Town FROM table WHERE Structural type = guyed mast AND Country = belgium
CREATE TABLE INST, Here is a database schema( table schema);
Which Town has a Structural type of guyed mast and a Country of belgium?.It is not neccessary to use all the tables.
SELECT date_of_birth, COUNT(date_of_birth) FROM Guests WHERE gender_code = "Male" ORDER BY COUNT(date_of_birth) DESC
CREATE TABLE INST, Here is a database schema( table schema);
A bar chart for returning the number of the date of birth for all the guests with gender code 'Male', and show Y in descending order.It is not neccessary to use all the tables.
SELECT U.S. viewers (million) FROM table WHERE Title = "Bad Girls"
CREATE TABLE INST, Here is a database schema( table schema);
How many people watched the episode "bad girls"?.It is not neccessary to use all the tables.
SELECT MIN Gold FROM table WHERE Nation = canada AND Rank > 4
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest Gold, when Nation is Canada, and when Rank is greater than 4?.It is not neccessary to use all the tables.
SELECT MIN Poles FROM table WHERE Fastest Laps < 0
CREATE TABLE INST, Here is a database schema( table schema);
What is the smallest number of poles when the fastest laps are less than 0?.It is not neccessary to use all the tables.
SELECT city_of_license__market FROM table_name_75 WHERE owned_since < 2011 AND affiliation = "abc" AND channel___tv___rf__ = "9 (22)"
CREATE TABLE INST, Here is a database schema( table schema);
What city of license/market has an owned since before 2011and a affiliation of abc and channel (tv/rf) of 9 (22)?It is not neccessary to use all the tables.
SELECT MIN(value__) AS $m_ FROM table_name_26 WHERE revenue__$m_ < 374 AND debt_as__percentageof_value = "84"
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest value of a team with revenue less than 374 and a debt of 84%?It is not neccessary to use all the tables.
SELECT Away team score FROM table WHERE Venue = western oval
CREATE TABLE INST, Here is a database schema( table schema);
What was the away team's score at Western Oval?.It is not neccessary to use all the tables.
SELECT COUNT(DISTINCT allergytype) FROM allergy_type
CREATE TABLE INST, Here is a database schema( table schema);
How many distinct allergies are there?It is not neccessary to use all the tables.
SELECT T1.name, T1.email FROM user_profiles AS T1 JOIN follows AS T2 ON T1.uid = T2.f1 GROUP BY T2.f1 HAVING COUNT(*) > 1
CREATE TABLE INST, Here is a database schema( table schema);
Find the name and email for the users who have more than one follower.It is not neccessary to use all the tables.
SELECT "2014 Santander" FROM table_15740 WHERE "2003 Cadiz" = 'finn'
CREATE TABLE INST, Here is a database schema( table schema);
What is the 2014 Santander together with 2003 Cadiz of Finn ?It is not neccessary to use all the tables.
SELECT Name FROM table WHERE Roll = 422
CREATE TABLE INST, Here is a database schema( table schema);
Who has a roll value of 422?.It is not neccessary to use all the tables.
SELECT tie_no FROM table_name_7 WHERE away_team = "bradford city"
CREATE TABLE INST, Here is a database schema( table schema);
What was the Tie Number of the Bradford City away team?It is not neccessary to use all the tables.
SELECT HIRE_DATE, EMPLOYEE_ID FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY HIRE_DATE
CREATE TABLE INST, Here is a database schema( table schema);
For those employees who was hired before 2002-06-21, give me the trend about employee_id over hire_date , and I want to order X in asc order.It is not neccessary to use all the tables.
SELECT COUNT(*) FROM artwork
CREATE TABLE INST, Here is a database schema( table schema);
How many artworks are there?It is not neccessary to use all the tables.
SELECT devices_per_channel FROM table_name_19 WHERE name = "sata revision 3.0"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Devices per channel where the Name is sata revision 3.0?It is not neccessary to use all the tables.
SELECT COUNT(*) > 0 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-26884')) AND STRFTIME('%y', medication.drugstarttime) >= '2100'
CREATE TABLE INST, Here is a database schema( table schema);
has patient 016-26884 been prescribed any medication since 2100?It is not neccessary to use all the tables.
SELECT Music Label FROM table WHERE Catalogue Number = enocd 10
CREATE TABLE INST, Here is a database schema( table schema);
What is the music label with the catalogue number enocd 10?.It is not neccessary to use all the tables.
SELECT Country FROM table WHERE Margin of victory = 6 strokes
CREATE TABLE INST, Here is a database schema( table schema);
What countries have a margin of victory at 6 strokes?.It is not neccessary to use all the tables.
SELECT City / State FROM table WHERE Winner = russell ingall larry perkins
CREATE TABLE INST, Here is a database schema( table schema);
What is the city/state of the circuit where Russell Ingall Larry Perkins was the winner?.It is not neccessary to use all the tables.
SELECT COUNT(record) FROM table_16864968_8 WHERE date = "March 27, 2009"
CREATE TABLE INST, Here is a database schema( table schema);
How many records were made on March 27 2009?It is not neccessary to use all the tables.
SELECT pages per minute (color) FROM table WHERE max page size = a4 AND dimensions (mm) = 303 x 94 x 60
CREATE TABLE INST, Here is a database schema( table schema);
What is the pages per minute (color) of the machine that has a max page size of a4 and dimensions (mm) of 303 x 94 x 60?.It is not neccessary to use all the tables.
SELECT 1 AS st_party FROM table_name_18 WHERE first_member = "peter john locke king" AND second_member = "james watney"
CREATE TABLE INST, Here is a database schema( table schema);
What is 1st Party when First Member is "Peter John Locke King" and when Second Member is "James Watney"?It is not neccessary to use all the tables.