sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT season FROM table_name_81 WHERE position = "2nd"
CREATE TABLE INST, Here is a database schema( table schema);
What season was there a 2nd place finish?It is not neccessary to use all the tables.
SELECT to_par FROM table_name_26 WHERE player = "curtis strange"
CREATE TABLE INST, Here is a database schema( table schema);
What is curtis strange's to par?It is not neccessary to use all the tables.
SELECT MIN(round) FROM table_name_58 WHERE college = "southern"
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest round for Southern College?It is not neccessary to use all the tables.
SELECT Result FROM table WHERE Round = 13
CREATE TABLE INST, Here is a database schema( table schema);
Name the result for round 13.It is not neccessary to use all the tables.
SELECT COUNT Pick FROM table WHERE Round = round 8 AND Position = kicker
CREATE TABLE INST, Here is a database schema( table schema);
What was the pick number for the kicker in round 8?.It is not neccessary to use all the tables.
SELECT Loser FROM table WHERE Sport = football AND Winner = england b AND Date > 1992
CREATE TABLE INST, Here is a database schema( table schema);
Who was the loser playing football with england b as a winner after 1992?.It is not neccessary to use all the tables.
SELECT COUNT(party) FROM table_2668416_18 WHERE incumbent = "Abraham B. Venable"
CREATE TABLE INST, Here is a database schema( table schema);
In how many different parts was the incumbent Abraham B. Venable?It is not neccessary to use all the tables.
SELECT method FROM table_name_99 WHERE date_of_execution = "december 27, 1827" AND name = "kewaubis"
CREATE TABLE INST, Here is a database schema( table schema);
In what way was Kewaubis executed on December 27 1827?It is not neccessary to use all the tables.
SELECT city FROM table_name_22 WHERE result = "brisbane broncos def. halifax blue sox"
CREATE TABLE INST, Here is a database schema( table schema);
What city has a Result of brisbane broncos def. halifax blue sox?It is not neccessary to use all the tables.
SELECT MIN(year) FROM table_13050003_2 WHERE blocks = "Nerlens Noel (4)"
CREATE TABLE INST, Here is a database schema( table schema);
What year has Nerlens Noel (4) as blocker?It is not neccessary to use all the tables.
SELECT Venue FROM table WHERE Away team = fitzroy
CREATE TABLE INST, Here is a database schema( table schema);
In the match where fitzroy was the away team, where was the venue?.It is not neccessary to use all the tables.
SELECT COUNT(wins) FROM table_name_99 WHERE year = "2010" AND matches > 14
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of wins in 2010 when there were more than 14 matches?It is not neccessary to use all the tables.
SELECT MAX(overall_rank) FROM table_name_37 WHERE lane < 8 AND time < 27.16
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the highest overall rank for lane less than 8 and time less than 27.16It is not neccessary to use all the tables.
SELECT to_par FROM table_name_40 WHERE score = 67 - 72 - 71 - 75 = 285
CREATE TABLE INST, Here is a database schema( table schema);
Which To par has a Score of 67-72-71-75=285?It is not neccessary to use all the tables.
SELECT AVG 2001 FROM table WHERE 2010 > 414 AND 2011 = 7192 AND 2005 > 7340
CREATE TABLE INST, Here is a database schema( table schema);
What is the average 2001 value with a 2010 value greater than 414, a 2011 value of 7192, and a 2005 value larger than 7340?.It is not neccessary to use all the tables.
SELECT MAX(lowest) FROM table_name_67 WHERE stadium = "ibrox stadium" AND average > 49 OFFSET 143
CREATE TABLE INST, Here is a database schema( table schema);
What's the highest lowest number of capacity that ibrox stadium has when the average is larger than 49143?It is not neccessary to use all the tables.
SELECT venue FROM table_name_58 WHERE week = "1"
CREATE TABLE INST, Here is a database schema( table schema);
What is the venue for week 1?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Home team = essendon
CREATE TABLE INST, Here is a database schema( table schema);
What date did Essendon play as the home team?.It is not neccessary to use all the tables.
SELECT MAX(_number) FROM table_11235334_2 WHERE air_date = "September 29, 2008"
CREATE TABLE INST, Here is a database schema( table schema);
what is the most # that aired on september 29, 2008?It is not neccessary to use all the tables.
SELECT ihsaa_football_class FROM table_name_16 WHERE county = "67 putnam" AND school = "greencastle"
CREATE TABLE INST, Here is a database schema( table schema);
What is the IHSAA Football Class for county 67 putnam at Greencastle?It is not neccessary to use all the tables.
SELECT Country FROM table WHERE Actors Name = Vsevolod Shilovskiy
CREATE TABLE INST, Here is a database schema( table schema);
Vsevolod Shilovskiy is from what country?.It is not neccessary to use all the tables.
SELECT MIN(gdp_per_capita_nominal__) AS $_ FROM table_1610496_3 WHERE population__millions_ = "63.056"
CREATE TABLE INST, Here is a database schema( table schema);
What is the nominal GDP per capita when the population is 63.056 million?It is not neccessary to use all the tables.
SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, procedures_icd.charttime, admissions.hadm_id 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 = 'insert spinal canal cath') AND STRFTIME('%y', procedures_icd.charttime) = '2104') AS t1 JOIN (SELECT admissions.subject_id, procedures_icd.charttime, admissions.hadm_id 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 = 'non-invasive mech vent') AND STRFTIME('%y', procedures_icd.charttime) = '2104') AS t2 ON t1.subject_id = t2.subject_id WHERE t1.charttime < t2.charttime AND t1.hadm_id = t2.hadm_id
CREATE TABLE INST, Here is a database schema( table schema);
count the number of patients that received non-invasive mech vent procedure in the same hospital encounter after receiving a insert spinal canal cath procedure in 2104.It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Player = tom kite
CREATE TABLE INST, Here is a database schema( table schema);
What is the score of Player Tom Kite?.It is not neccessary to use all the tables.
SELECT SUM Points FROM table WHERE Player = stuart AND Touchdowns < 1
CREATE TABLE INST, Here is a database schema( table schema);
How many points did Stuart have when he had less than 1 touchdown?.It is not neccessary to use all the tables.
SELECT stu_fname, stu_gpa FROM student WHERE stu_gpa < (SELECT AVG(stu_gpa) FROM student)
CREATE TABLE INST, Here is a database schema( table schema);
Find the first name and gpa of the students whose gpa is lower than the average gpa of all students.It is not neccessary to use all the tables.
SELECT Institutional authority FROM table WHERE Rocket launch = Rehbar-II
CREATE TABLE INST, Here is a database schema( table schema);
Which authority has a rocket launch called rehbar-ii?.It is not neccessary to use all the tables.
SELECT MAX(gold) FROM table_name_40 WHERE silver = 1 AND total > 1
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest gold with 1 silver, and more than 1 altogether?It is not neccessary to use all the tables.
SELECT SUM Episode FROM table WHERE Performer 4 = chip esten AND Performer 2 = christopher smith
CREATE TABLE INST, Here is a database schema( table schema);
What is the sum of the episode numbers where chip esten is the 4th performer and christopher smith was the 2nd performer?.It is not neccessary to use all the tables.
SELECT Location FROM table WHERE Date = 1916
CREATE TABLE INST, Here is a database schema( table schema);
Where was the disaster located that took place on 1916?.It is not neccessary to use all the tables.
SELECT Title FROM table WHERE Written by = david j. burke
CREATE TABLE INST, Here is a database schema( table schema);
What is the title of the episode written by David J. Burke?.It is not neccessary to use all the tables.
SELECT home FROM table_name_66 WHERE visitor = "raptors"
CREATE TABLE INST, Here is a database schema( table schema);
What is the home team of the game with the Raptors as the visitor team?It is not neccessary to use all the tables.
SELECT SUM(points) FROM table_name_43 WHERE record = "11-6-0" AND game__number < 17
CREATE TABLE INST, Here is a database schema( table schema);
What is the number of points of the game less than number 17 with an 11-6-0 record?It is not neccessary to use all the tables.
SELECT Status FROM roller_coaster GROUP BY Status ORDER BY COUNT(*) DESC LIMIT 1
CREATE TABLE INST, Here is a database schema( table schema);
Please show the most common status of roller coasters.It is not neccessary to use all the tables.
SELECT Competition FROM table WHERE Score = 58-4
CREATE TABLE INST, Here is a database schema( table schema);
Which competition ended with a score of 58-4?.It is not neccessary to use all the tables.
SELECT finalist FROM table_name_30 WHERE year = 2008
CREATE TABLE INST, Here is a database schema( table schema);
What is Finalist when Year is "2008"?It is not neccessary to use all the tables.
SELECT Title FROM table WHERE First Issue = august 2010
CREATE TABLE INST, Here is a database schema( table schema);
What is the title that was first published in August 2010?.It is not neccessary to use all the tables.
SELECT surface FROM table_name_42 WHERE date = "october 3, 2010"
CREATE TABLE INST, Here is a database schema( table schema);
What surface was played on on October 3 2010?It is not neccessary to use all the tables.
SELECT Result FROM table WHERE Competition = europe/africa group i, play-off
CREATE TABLE INST, Here is a database schema( table schema);
What is the result of the Europe/Africa Group I, play-off competition?.It is not neccessary to use all the tables.
SELECT ch__number FROM table_12379297_1 WHERE callsign = "DWLJ-TV"
CREATE TABLE INST, Here is a database schema( table schema);
What is the ch# of dwlj-tv?It is not neccessary to use all the tables.
SELECT Record FROM table WHERE Points > 0 AND Score = 7–3
CREATE TABLE INST, Here is a database schema( table schema);
Which Record has Points larger than 0, and a Score of 7–3?.It is not neccessary to use all the tables.
SELECT written_by FROM table_25679312_2 WHERE prod_code = 2
CREATE TABLE INST, Here is a database schema( table schema);
Who wrote the episode with production code 2?It is not neccessary to use all the tables.
SELECT Team FROM table WHERE Game = 48
CREATE TABLE INST, Here is a database schema( table schema);
Name the team for 48 game.It is not neccessary to use all the tables.
SELECT COUNT(no) FROM table_1615980_4 WHERE tournament = "Volvo Masters Andalucia"
CREATE TABLE INST, Here is a database schema( table schema);
How many tournament wins were at Volvo Masters Andalucia?It is not neccessary to use all the tables.
SELECT COUNT(rape__art_190_stgb_) FROM table_name_27 WHERE embezzlement__art_138_stgb_ = 820 AND total_convictions < 94 OFFSET 574
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of Rapes that have Embezzlements a figure of 820 and total number of convictions less than 94574?It is not neccessary to use all the tables.
SELECT Home FROM table WHERE Round = r1 AND Opponent = dundee united
CREATE TABLE INST, Here is a database schema( table schema);
Which Home has a Round of r1, and an Opponent of dundee united?.It is not neccessary to use all the tables.
SELECT COUNT Year FROM table WHERE Venue = eindhoven
CREATE TABLE INST, Here is a database schema( table schema);
How many years had a Venue of eindhoven?.It is not neccessary to use all the tables.
SELECT Freq currently FROM table WHERE Frequency = 0 684
CREATE TABLE INST, Here is a database schema( table schema);
Which freq currently has 0 684?.It is not neccessary to use all the tables.
SELECT 2011 FROM table WHERE 2006 = 2r AND 2008 = 2r
CREATE TABLE INST, Here is a database schema( table schema);
Name the 2011 with 2006 of 2r and 2008 of 2r.It is not neccessary to use all the tables.
SELECT MIN Episode Number FROM table WHERE Who knows the most about the guest host? Panelists = Reggie Yates and Kelly Osbourne
CREATE TABLE INST, Here is a database schema( table schema);
Name the least number of episodes for the panelists of reggie yates and kelly osbourne.It is not neccessary to use all the tables.
SELECT Team #2 FROM table WHERE Team #1 = handelsministerium vienna
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the team 2 for handelsministerium vienna.It is not neccessary to use all the tables.
SELECT commandery AS capital FROM table_278229_1 WHERE commandery = "Gaoliang 高涼"
CREATE TABLE INST, Here is a database schema( table schema);
When gaoliang 高涼 is the commandery what is the commandery capital?It is not neccessary to use all the tables.
SELECT week_4 FROM table_name_62 WHERE week_2 = "samantha speer"
CREATE TABLE INST, Here is a database schema( table schema);
What Week 4 has a Week 2 of samantha speer?It is not neccessary to use all the tables.
SELECT Method FROM table WHERE Opponent = chris clark
CREATE TABLE INST, Here is a database schema( table schema);
Which method's opponent was chris clark?.It is not neccessary to use all the tables.
SELECT COUNT(western_name) FROM table_186462_1 WHERE sanskrit = "धनुष"
CREATE TABLE INST, Here is a database schema( table schema);
When धनुष is the sankrit how many western names are there?It is not neccessary to use all the tables.
SELECT Poison/Klesha FROM table WHERE Pali = moha avijja
CREATE TABLE INST, Here is a database schema( table schema);
What is the poison/klesha word for moha avijja in pali?.It is not neccessary to use all the tables.
SELECT opposing_teams FROM table_name_83 WHERE date = "08/02/1969"
CREATE TABLE INST, Here is a database schema( table schema);
Who were the opposing teams on 08/02/1969?It is not neccessary to use all the tables.
SELECT Home team FROM table WHERE Away team = newcastle united
CREATE TABLE INST, Here is a database schema( table schema);
Who is the home team when the away team is newcastle united?.It is not neccessary to use all the tables.
SELECT COUNT Week FROM table WHERE Date = bye
CREATE TABLE INST, Here is a database schema( table schema);
What was the total number of weeks with a date of bye?.It is not neccessary to use all the tables.
SELECT moving_from FROM table_name_26 WHERE nat = "ned"
CREATE TABLE INST, Here is a database schema( table schema);
Which Moving from has a Nat of ned?It is not neccessary to use all the tables.
SELECT SUM(1989) FROM table_name_41 WHERE 2000 < 52.8 AND location = "arizona, new mexico, and utah"
CREATE TABLE INST, Here is a database schema( table schema);
What is the 1989 number when the 200 number is less than 52.8 in Arizona, New Mexico, and UtahIt is not neccessary to use all the tables.
SELECT run_3 FROM table_name_13 WHERE run_1 = "2:20.10"
CREATE TABLE INST, Here is a database schema( table schema);
Which Run 3 has a Run 1 of 2:20.10?It is not neccessary to use all the tables.
SELECT DISTINCT course.department, course.name, course.number, program_course.workload, program_course.workload FROM course, program_course WHERE program_course.category LIKE '%ULCS%' AND program_course.course_id = course.course_id AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_course AS PROGRAM_COURSEalias1 WHERE PROGRAM_COURSEalias1.category LIKE '%ULCS%')
CREATE TABLE INST, Here is a database schema( table schema);
Which classes are the easiest for the ULCS requirement ?It is not neccessary to use all the tables.
SELECT set_2 FROM table_name_73 WHERE score = "3-0" AND date = "may 11" AND set_1 = "25-20"
CREATE TABLE INST, Here is a database schema( table schema);
What is Set 2 when Score is 3-0 when Date is May 11 and when Set 1 is 25-20?It is not neccessary to use all the tables.
SELECT name FROM table_1220125_4 WHERE launched = "30 September 1943"
CREATE TABLE INST, Here is a database schema( table schema);
What is the name for 30 september 1943?It is not neccessary to use all the tables.
SELECT service FROM table_name_88 WHERE language = "bengali"
CREATE TABLE INST, Here is a database schema( table schema);
What network is in the language of Bengali?It is not neccessary to use all the tables.
SELECT runner_s__up FROM table_name_93 WHERE tournament = "michelob light open at kingsmill"
CREATE TABLE INST, Here is a database schema( table schema);
Who was the runner-up in the Michelob Light Open at Kingsmill?It is not neccessary to use all the tables.
SELECT MAX Population (Woongarra) FROM table WHERE Population (Isis) = 3,718 AND Population (Gooburrum) < 4,776
CREATE TABLE INST, Here is a database schema( table schema);
When the Isis Population is 3,718 and the Gooburrum Population is less than 4,776, what is the highest Woongarra Population?.It is not neccessary to use all the tables.
SELECT city FROM table_name_89 WHERE name_in_english = "socialist party of the extremadurian people"
CREATE TABLE INST, Here is a database schema( table schema);
What is the name of the city with the Socialist Party of the Extremadurian People?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Winner = ram vaswani
CREATE TABLE INST, Here is a database schema( table schema);
Ram Vaswani was a winner on what date?.It is not neccessary to use all the tables.
SELECT Res. FROM table WHERE Time = 5:00 AND Method = decision (unanimous) AND Record = 1–0
CREATE TABLE INST, Here is a database schema( table schema);
Which res has a Time of 5:00, and a Method of decision (unanimous), and a Record of 1–0?.It is not neccessary to use all the tables.
SELECT pregame_hosts FROM table_2941848_10 WHERE pregame_analysts = "Dave Campbell" AND year = 2001
CREATE TABLE INST, Here is a database schema( table schema);
Who is the pregame host when the pregame analysts is Dave Campbell and the year is 2001?It is not neccessary to use all the tables.
SELECT French FROM table WHERE Italian = nazione
CREATE TABLE INST, Here is a database schema( table schema);
What is the French word for the Italian word nazione?.It is not neccessary to use all the tables.
SELECT MIN Population (2000 Census) FROM table WHERE Municipality = suwon AND Population (2010 Census) > 1,071,913
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest population (2000 Census) that has a population (2010 Census) larger than 1,071,913 and municipality of Suwon?.It is not neccessary to use all the tables.
SELECT MAX Played FROM table WHERE Position < 17 AND Goals For = 63
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest played that has a position less than 17, and 63 as the goals for?.It is not neccessary to use all the tables.
SELECT dominant_religion__2002_ FROM table_2562572_12 WHERE population__2011_ = 4831
CREATE TABLE INST, Here is a database schema( table schema);
What is the dominate religion in the location with a population of 4831?It is not neccessary to use all the tables.
SELECT SUM(silver) FROM table_name_50 WHERE bronze > 3 AND gold = 16
CREATE TABLE INST, Here is a database schema( table schema);
How many Silver medals were won in total by all those with more than 3 bronze and exactly 16 gold?It is not neccessary to use all the tables.
SELECT denomination FROM table_name_8 WHERE series = "iii series"
CREATE TABLE INST, Here is a database schema( table schema);
What is the denomination of the III Series?It is not neccessary to use all the tables.
SELECT Conference Joined FROM table WHERE County = 69 ripley AND Year Joined = 1952 AND Location = versailles
CREATE TABLE INST, Here is a database schema( table schema);
what is the conference joined for the county 69 ripley in 1952 in versailles?.It is not neccessary to use all the tables.
SELECT fastest_lap FROM table_21321935_2 WHERE circuit = "Motorsport Arena Oschersleben"
CREATE TABLE INST, Here is a database schema( table schema);
Who had the fasted lap in motorsport arena oschersleben?It is not neccessary to use all the tables.
SELECT "2nd leg" FROM table_60779 WHERE "Team 2" = 'san francisco'
CREATE TABLE INST, Here is a database schema( table schema);
What's the 2nd leg for team 2 san francisco?It is not neccessary to use all the tables.
SELECT years_runner_up FROM table_name_91 WHERE runners_up > 1 AND club = "birmingham city"
CREATE TABLE INST, Here is a database schema( table schema);
What years runner-up is Birmingham city with over 1 runners-up?It is not neccessary to use all the tables.
SELECT "Home captain" FROM table_70120 WHERE "Venue" = 'the oval'
CREATE TABLE INST, Here is a database schema( table schema);
Name the Home captain for venue of the ovalIt is not neccessary to use all the tables.
SELECT Place FROM table WHERE To par = –5
CREATE TABLE INST, Here is a database schema( table schema);
What is the Place of the Player with a To par of –5?.It is not neccessary to use all the tables.
SELECT COUNT("Money ( \u00a3 )") FROM table_62671 WHERE "Player" = 'jodie mudd'
CREATE TABLE INST, Here is a database schema( table schema);
Which Money ( ) has a Player of jodie mudd?It is not neccessary to use all the tables.
SELECT tournament FROM table_name_50 WHERE moves = 37 AND result = "½–½"
CREATE TABLE INST, Here is a database schema( table schema);
What is Tournament when Moves is "37" and when Result is "½–½"?It is not neccessary to use all the tables.
SELECT author_id, gender_mf FROM Course_Authors_and_Tutors ORDER BY personal_name
CREATE TABLE INST, Here is a database schema( table schema);
Visualize the relationship between author_id and gender_mf .It is not neccessary to use all the tables.
SELECT City of license FROM table WHERE Frequency = 101.1
CREATE TABLE INST, Here is a database schema( table schema);
What is City of License, when Frequency is 101.1?.It is not neccessary to use all the tables.
SELECT Founded FROM table WHERE Location = paul smiths, new york
CREATE TABLE INST, Here is a database schema( table schema);
What is the Founded year of the school located in Paul Smiths, New York?.It is not neccessary to use all the tables.
SELECT MAX(runners) FROM table_name_68 WHERE jockey = "frankie dettori" AND placing > 1
CREATE TABLE INST, Here is a database schema( table schema);
what is the highest runners when the jockey is frankie dettori and the placing is higher than 1?It is not neccessary to use all the tables.
SELECT AVG Laps FROM table WHERE Time = +50.653
CREATE TABLE INST, Here is a database schema( table schema);
What is the average laps for the +50.653 time?.It is not neccessary to use all the tables.
SELECT District FROM table WHERE Prevailing types, % = Acer negundo — 30.22 Tilia — 18.6 Poplar — 15.23
CREATE TABLE INST, Here is a database schema( table schema);
What is the district when prevailing types, % is acer negundo — 30.22 tilia — 18.6 poplar — 15.23?.It is not neccessary to use all the tables.
SELECT MIN("Gold") FROM table_60858 WHERE "Total" = '7'
CREATE TABLE INST, Here is a database schema( table schema);
What is the smallest number of gold medals a country with 7 medals has?It is not neccessary to use all the tables.
SELECT 1st member FROM table WHERE Elected = 1511/12
CREATE TABLE INST, Here is a database schema( table schema);
Who was the 1st member elected in 1511/12?.It is not neccessary to use all the tables.
SELECT mascot FROM table_name_7 WHERE principal__2013_2014_ = "frank hendricsen"
CREATE TABLE INST, Here is a database schema( table schema);
What was the mascot for the 2013-2014 principal named Frank Hendricsen?It is not neccessary to use all the tables.
SELECT high_points FROM table_name_26 WHERE date = "may 27"
CREATE TABLE INST, Here is a database schema( table schema);
Who had the highest points of the game on May 27?It is not neccessary to use all the tables.
SELECT score FROM table_name_7 WHERE place = "t6" AND player = "ed furgol"
CREATE TABLE INST, Here is a database schema( table schema);
What score did Ed Furgol get to come in at T6?It is not neccessary to use all the tables.
SELECT Year FROM table WHERE Runs = 144
CREATE TABLE INST, Here is a database schema( table schema);
What was the year with runs of 144?.It is not neccessary to use all the tables.
SELECT Walker % FROM table WHERE County = Calumet
CREATE TABLE INST, Here is a database schema( table schema);
What percentage did Walker win in Calumet county?.It is not neccessary to use all the tables.
SELECT start_station_name, start_station_id FROM trip
CREATE TABLE INST, Here is a database schema( table schema);
What are the ids and names of all start stations that were the beginning of at least 200 trips. Show bar chart.It is not neccessary to use all the tables.