sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT MAX(year_premiered) FROM table_24224647_2 WHERE main_presenter = "Benjamin Castaldi"
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest year premiered when Benjamin Castaldi is main presenter?It is not neccessary to use all the tables.
SELECT chassis FROM table_name_95 WHERE year > 1964 AND engine = "ford" AND pts = 13
CREATE TABLE INST, Here is a database schema( table schema);
Which chassis has a year later than 1964 a Ford engine and 13 points?It is not neccessary to use all the tables.
SELECT result FROM table_name_27 WHERE week = 1
CREATE TABLE INST, Here is a database schema( table schema);
What was the result on week 1?It is not neccessary to use all the tables.
SELECT Year(s) Won FROM table WHERE Total < 281
CREATE TABLE INST, Here is a database schema( table schema);
What year won has a total less than 281?.It is not neccessary to use all the tables.
SELECT Driver FROM table WHERE Time/Retired = 2:16:38.0
CREATE TABLE INST, Here is a database schema( table schema);
What driver has a Time/Retired of 2:16:38.0?.It is not neccessary to use all the tables.
SELECT MIN(available_subnets) FROM table_149426_4 WHERE network_mask = "255.255.255.128"
CREATE TABLE INST, Here is a database schema( table schema);
When the network mask is 255.255.255.128 what is the lowest available subnet?It is not neccessary to use all the tables.
SELECT circuit FROM table_20884163_2 WHERE race_title = "PlaceMakers V8 Supercars"
CREATE TABLE INST, Here is a database schema( table schema);
What circuit features the placemakers v8 supercars race?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE High assists = Canty (6)
CREATE TABLE INST, Here is a database schema( table schema);
On what date did Canty (6) receive high assists?.It is not neccessary to use all the tables.
SELECT MAX(diameter__km_) FROM table_name_52 WHERE longitude = "152.5e" AND year_named < 1997
CREATE TABLE INST, Here is a database schema( table schema);
What is the Diameter (km) of the Valle with a Longitude of 152.5e named before 1997?It is not neccessary to use all the tables.
SELECT AVG 2008 FROM table WHERE Year = beijing AND 2005 > 2
CREATE TABLE INST, Here is a database schema( table schema);
Name the average 2008 for beijing and 2005 more than 2.It is not neccessary to use all the tables.
SELECT years_in_orlando FROM table_name_16 WHERE nationality = "united states" AND school_club_team = "montana"
CREATE TABLE INST, Here is a database schema( table schema);
What years in orlando have the United States as the nationality and montana as the school/club team?It is not neccessary to use all the tables.
SELECT set_1 FROM table_name_75 WHERE set_3 = "15–4" AND set_2 = "15–7"
CREATE TABLE INST, Here is a database schema( table schema);
What was the Set 1 game score when Set 3 game score was 15–4 and a Set 2 game score was 15–7?It is not neccessary to use all the tables.
SELECT MIN(points) FROM table_name_84 WHERE rider = "stéphane mertens"
CREATE TABLE INST, Here is a database schema( table schema);
Rider of stéphane mertens had what lowest points?It is not neccessary to use all the tables.
SELECT COUNT(DISTINCT T3.title) FROM albums AS T1 JOIN tracklists AS T2 ON T1.aid = T2.albumid JOIN songs AS T3 ON T2.songid = T3.songid WHERE t1.type = "Studio"
CREATE TABLE INST, Here is a database schema( table schema);
Find the number of songs in all the studio albums.It is not neccessary to use all the tables.
SELECT avg( death_year - birth_year) FROM player WHERE birth_country = "USA"
CREATE TABLE INST, Here is a database schema( hall of fame);
What is the average age of players from USA?. It is not neccessary to use all the tables.
SELECT enrollment FROM table_1973648_1 WHERE joined = "2007-08"
CREATE TABLE INST, Here is a database schema( table schema);
Name the enrollment for 2007-08It is not neccessary to use all the tables.
SELECT COUNT(tries_against) FROM table_14058433_4 WHERE lost = "11"
CREATE TABLE INST, Here is a database schema( table schema);
how many tries against with lost being 11It is not neccessary to use all the tables.
SELECT city_of_license FROM table_name_64 WHERE call_sign = "w220ba"
CREATE TABLE INST, Here is a database schema( table schema);
Which City of license has a Call sign of w220ba?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.short_title = "Alzheimer's disease" AND prescriptions.route = "PO/NG"
CREATE TABLE INST, Here is a database schema( table schema);
how many patients whose diagnoses short title is alzheimer's disease and drug route is po/ng?It is not neccessary to use all the tables.
SELECT Player FROM table WHERE Legs Lost = 41
CREATE TABLE INST, Here is a database schema( table schema);
Who is the player with 41 legs lost?.It is not neccessary to use all the tables.
SELECT Origin of Programming FROM table WHERE Network = banglavision
CREATE TABLE INST, Here is a database schema( table schema);
Which country has the banglavision Network?.It is not neccessary to use all the tables.
SELECT MAX(wins) FROM table_name_71 WHERE cuts_made > 5
CREATE TABLE INST, Here is a database schema( table schema);
I want to know the highest wins for cuts made more than 5It is not neccessary to use all the tables.
SELECT name FROM table_name_91 WHERE home_town = "charlotte, nc"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Name of the Player from Charlotte NC?It is not neccessary to use all the tables.
SELECT MAX(game) FROM table_13619135_8 WHERE date = "April 12"
CREATE TABLE INST, Here is a database schema( table schema);
What number game of the season was played on April 12?It is not neccessary to use all the tables.
SELECT Original air date FROM table WHERE Title = "The One Where Ross is Fine"
CREATE TABLE INST, Here is a database schema( table schema);
What date was the episode entitled "The One Where Ross is Fine" aired?.It is not neccessary to use all the tables.
SELECT COUNT Wickets FROM table WHERE Average = 26.13
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of Wickets with a 26.13 average?.It is not neccessary to use all the tables.
SELECT winner_season FROM table_name_52 WHERE year = 1998
CREATE TABLE INST, Here is a database schema( table schema);
Who won the season of 1998?It is not neccessary to use all the tables.
SELECT Release FROM table WHERE Title = Axis & Allies: D-Day
CREATE TABLE INST, Here is a database schema( table schema);
What year(s) was axis & allies: d-day released?.It is not neccessary to use all the tables.
SELECT COUNT(population__2011_) FROM table_2562572_54 WHERE settlement = "Krčedin"
CREATE TABLE INST, Here is a database schema( table schema);
How many items appear in the population 2011 column for the krčedin settlement?It is not neccessary to use all the tables.
SELECT COUNT Field goals FROM table WHERE Position = Left end
CREATE TABLE INST, Here is a database schema( table schema);
How many numbers were recorded on the fields goals of the Left End player?.It is not neccessary to use all the tables.
SELECT "Type/code" FROM table_65464 WHERE "Torque@rpm" = 'n·m (lb·ft) @1900–3500'
CREATE TABLE INST, Here is a database schema( table schema);
Which Type/code has a Torque@rpm of n m (lb ft) @1900 3500? Question 1It is not neccessary to use all the tables.
SELECT opponent FROM table_name_83 WHERE date = "16 february 2003"
CREATE TABLE INST, Here is a database schema( table schema);
Which opponent has a Date of 16 february 2003?It is not neccessary to use all the tables.
SELECT COUNT Date/Location FROM table WHERE Mixed Veteran = Eddie Smith
CREATE TABLE INST, Here is a database schema( table schema);
When and where did Eddie Smith win the mixed veteran?.It is not neccessary to use all the tables.
SELECT COUNT(population__2011_) FROM table_2562572_35 WHERE settlement = "Mihajlovo"
CREATE TABLE INST, Here is a database schema( table schema);
Name the population 2011 for mihajlovoIt is not neccessary to use all the tables.
SELECT moving_to FROM table_name_17 WHERE name = "rory loy"
CREATE TABLE INST, Here is a database schema( table schema);
Where is rory loy moving to?It is not neccessary to use all the tables.
SELECT regular_season_champion_s_ FROM table_name_70 WHERE year = "1943–44"
CREATE TABLE INST, Here is a database schema( table schema);
WHich Regular Season Champions has a Year of 1943–44?It is not neccessary to use all the tables.
SELECT MAX Against FROM table WHERE Team = palmeiras AND Position < 4
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest against value for Palmeiras and position less than 4?.It is not neccessary to use all the tables.
SELECT Contestant FROM table WHERE Hometown = Omuthiya
CREATE TABLE INST, Here is a database schema( table schema);
If the hometown is Omuthiya, what is the contestant name?.It is not neccessary to use all the tables.
SELECT COUNT(gold) FROM table_name_19 WHERE silver = 3 AND bronze > 3
CREATE TABLE INST, Here is a database schema( table schema);
How much gold does the tank have that has 3 silver and more than 3 bronze?It is not neccessary to use all the tables.
SELECT Opponent FROM table WHERE Result = l 27-7
CREATE TABLE INST, Here is a database schema( table schema);
What opponent has l 27-7 as the result?.It is not neccessary to use all the tables.
SELECT nationality FROM table_name_96 WHERE jersey_number_s_ = "27"
CREATE TABLE INST, Here is a database schema( table schema);
What is the nationality of the person with number 27?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Venue = brisbane cricket ground
CREATE TABLE INST, Here is a database schema( table schema);
On what date was the venue at Brisbane Cricket Ground?.It is not neccessary to use all the tables.
SELECT COUNT("city") FROM table_201_13
CREATE TABLE INST, Here is a database schema( table schema);
how many cities are in wisconsin ?It is not neccessary to use all the tables.
SELECT AVG Rank FROM table WHERE Total < 1
CREATE TABLE INST, Here is a database schema( table schema);
Which rank has a total smaller than 1?.It is not neccessary to use all the tables.
SELECT T1.fault_log_entry_id, T1.fault_description, T1.fault_log_entry_datetime FROM Fault_Log AS T1 JOIN Fault_Log_Parts AS T2 ON T1.fault_log_entry_id = T2.fault_log_entry_id GROUP BY T1.fault_log_entry_id ORDER BY COUNT(*) DESC LIMIT 1
CREATE TABLE INST, Here is a database schema( table schema);
Which fault log included the most number of faulty parts? List the fault log id description and record time.It is not neccessary to use all the tables.
SELECT owner_s_ FROM table_name_34 WHERE description = "operational"
CREATE TABLE INST, Here is a database schema( table schema);
What owner or owners have an operational description?It is not neccessary to use all the tables.
SELECT nationality FROM table_name_7 WHERE position = "f" AND college_high_school_club = "kentucky state"
CREATE TABLE INST, Here is a database schema( table schema);
What is the nationality of the person drafted to Position F from Kentucky State?It is not neccessary to use all the tables.
SELECT Declination ( J2000 ) FROM table WHERE Right ascension ( J2000 ) = 11h53m41.9s
CREATE TABLE INST, Here is a database schema( table schema);
What is the declination with a right ascension of 11h53m41.9s?.It is not neccessary to use all the tables.
SELECT score FROM table_name_13 WHERE country = "united states" AND player = "john mahaffey"
CREATE TABLE INST, Here is a database schema( table schema);
What is Score when Country is "United States" and when Player is "John Mahaffey"?It is not neccessary to use all the tables.
SELECT Tyre FROM table WHERE Pole position = jacky ickx AND Race = canadian grand prix
CREATE TABLE INST, Here is a database schema( table schema);
In the Canadian Grand Prix, what tyre was used when Jacky Ickx held pole position?.It is not neccessary to use all the tables.
SELECT developer FROM table_name_71 WHERE title = "vigilance"
CREATE TABLE INST, Here is a database schema( table schema);
Who was the developer for Vigilance?It is not neccessary to use all the tables.
SELECT CFL Team FROM table WHERE Position = SB
CREATE TABLE INST, Here is a database schema( table schema);
What CFL team was the player playing on SB position drafted for?.It is not neccessary to use all the tables.
SELECT Notes FROM table WHERE Gold = thierry gueorgiou AND Year < 2008 AND Bronze = valentin novikov
CREATE TABLE INST, Here is a database schema( table schema);
What is Notes, when Gold is "Thierry Gueorgiou", when Year is before 2008, and when Bronze is "Valentin Novikov"?.It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Score in the final = 3–6, 6–3, 6–4 AND Opponents in the final = penny barg paula smith
CREATE TABLE INST, Here is a database schema( table schema);
What is the date of the final that has a score of 3–6, 6–3, 6–4 and penny barg paula smith was the opponent?.It is not neccessary to use all the tables.
SELECT university_students_and_adults__18yrs + _ FROM table_name_57 WHERE gender = "male" AND specification = "minimum weight"
CREATE TABLE INST, Here is a database schema( table schema);
What value for university students and adult goes with male gender for minimum weight?It is not neccessary to use all the tables.
SELECT AVG Rebs FROM table WHERE From < 1972
CREATE TABLE INST, Here is a database schema( table schema);
What's the average rebs before 1972?.It is not neccessary to use all the tables.
SELECT SUM Game FROM table WHERE High rebounds = pierson (6)
CREATE TABLE INST, Here is a database schema( table schema);
What is the sum of Game(s), when High Rebounds is "Pierson (6)"?.It is not neccessary to use all the tables.
SELECT Position FROM table WHERE Player = ryan russell
CREATE TABLE INST, Here is a database schema( table schema);
What Position is Ryan Russell?.It is not neccessary to use all the tables.
SELECT district FROM table_1341884_40 WHERE candidates = "James A. Byrne (D) 59.3% Joseph R. Burns (R) 40.7%"
CREATE TABLE INST, Here is a database schema( table schema);
What district featured an election between james a. byrne (d) 59.3% joseph r. burns (r) 40.7%?It is not neccessary to use all the tables.
SELECT performer_1 FROM table_name_93 WHERE performer_3 = "paul merton" AND performer_4 = "sandi toksvig"
CREATE TABLE INST, Here is a database schema( table schema);
Performer 3 of paul merton and a Performer 4 of sandi toksvig is which performer 1?It is not neccessary to use all the tables.
SELECT nationality FROM table_name_17 WHERE round = "1" AND position = "c"
CREATE TABLE INST, Here is a database schema( table schema);
What is the nationality of the player in Position C from Round 1?It is not neccessary to use all the tables.
SELECT COUNT Record FROM table WHERE Location Attendance = United Center 18,838
CREATE TABLE INST, Here is a database schema( table schema);
Name the number of record for united center 18,838.It is not neccessary to use all the tables.
SELECT COUNT(*) FROM Dogs WHERE NOT dog_id IN (SELECT dog_id FROM Treatments)
CREATE TABLE INST, Here is a database schema( table schema);
How many dogs have not gone through any treatment?It is not neccessary to use all the tables.
SELECT MIN(attendance) FROM table_name_90 WHERE week = 12
CREATE TABLE INST, Here is a database schema( table schema);
What was the lowest Attendance during Week 12?It is not neccessary to use all the tables.
SELECT COUNT Season FROM table WHERE Position = 2nd
CREATE TABLE INST, Here is a database schema( table schema);
How many season are shown for the 2nd position?.It is not neccessary to use all the tables.
SELECT "Date" FROM table_52778 WHERE "Catalog" = 'ha-m 2230'
CREATE TABLE INST, Here is a database schema( table schema);
Which date had the catalog designation of ha-m 2230?It is not neccessary to use all the tables.
SELECT Australian FROM table WHERE Examples = illyria, cf. cirrhosis
CREATE TABLE INST, Here is a database schema( table schema);
What is the entry for the Australian sound that has an example of illyria, cf. cirrhosis?.It is not neccessary to use all the tables.
SELECT stadium FROM table_11208143_9 WHERE average = 13840
CREATE TABLE INST, Here is a database schema( table schema);
Which stadiums have an average attendance of 13840?It is not neccessary to use all the tables.
SELECT Nation FROM table WHERE Date = 8 june 1983 AND Athlete = marlies gohr
CREATE TABLE INST, Here is a database schema( table schema);
Name the nation for 8 june 1983 for marlies gohr.It is not neccessary to use all the tables.
SELECT player FROM table_name_47 WHERE nationality = "sweden"
CREATE TABLE INST, Here is a database schema( table schema);
Which player is from Sweden?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Opponent = indianapolis colts
CREATE TABLE INST, Here is a database schema( table schema);
When was there a game against the Indianapolis colts?.It is not neccessary to use all the tables.
SELECT Catalog FROM table WHERE Region = uk AND Label = razor records
CREATE TABLE INST, Here is a database schema( table schema);
What is Catalog, when the Region is UK, and when Label is Razor Records?.It is not neccessary to use all the tables.
SELECT MIN Avg/G FROM table WHERE Long < 47 AND Name = frank murphy AND Gain < 569
CREATE TABLE INST, Here is a database schema( table schema);
Which Avg/G is the lowest one that has a Long smaller than 47, and a Name of frank murphy, and a Gain smaller than 569?.It is not neccessary to use all the tables.
SELECT Attendance FROM table WHERE Home team = chester city
CREATE TABLE INST, Here is a database schema( table schema);
what is the attendance when the home team is chester city?.It is not neccessary to use all the tables.
SELECT Opponent FROM table WHERE Week = 6
CREATE TABLE INST, Here is a database schema( table schema);
Who was the opponent in week 6?.It is not neccessary to use all the tables.
SELECT Away team score FROM table WHERE Away team = melbourne
CREATE TABLE INST, Here is a database schema( table schema);
What is the Away team score for Away team Melbourne?.It is not neccessary to use all the tables.
SELECT high_points FROM table_17060277_10 WHERE date = "April 12"
CREATE TABLE INST, Here is a database schema( table schema);
Who did the high points in the game played on April 12?It is not neccessary to use all the tables.
SELECT COUNT(wins) FROM table_name_13 WHERE podiums > 1 AND races = 9 AND season > 1984
CREATE TABLE INST, Here is a database schema( table schema);
How many wins has a podiums greater than 1 and 9 as the races with a season after 1984?It is not neccessary to use all the tables.
SELECT opponent FROM table_name_52 WHERE score = "113-124"
CREATE TABLE INST, Here is a database schema( table schema);
Which opponent had a 113-124 score?It is not neccessary to use all the tables.
SELECT Object type FROM table WHERE Apparent magnitude > 9.6 AND Right ascension ( J2000 ) = 17h59m02.0s
CREATE TABLE INST, Here is a database schema( table schema);
Which object has an Apparent magnitude larger than 9.6, and a Right ascension ( J2000 ) of 17h59m02.0s?.It is not neccessary to use all the tables.
SELECT Player FROM table WHERE Round = 7
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the player for 7 round.It is not neccessary to use all the tables.
SELECT venue FROM table_name_81 WHERE notes = "7964 pb"
CREATE TABLE INST, Here is a database schema( table schema);
What venue has 7964 pb notes?It is not neccessary to use all the tables.
SELECT COUNT Prod. code FROM table WHERE Title = "Keg! Max!"
CREATE TABLE INST, Here is a database schema( table schema);
How many production codes does the episode "keg! max!" have?.It is not neccessary to use all the tables.
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', diagnoses_icd.charttime)) FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'meth res pneu d/t staph') AND diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 22648 AND admissions.dischtime IS NULL) ORDER BY diagnoses_icd.charttime LIMIT 1
CREATE TABLE INST, Here is a database schema( table schema);
how many days have it been since the first time during the current hospital encounter that patient 22648 was diagnosed with meth res pneu d/t staph?It is not neccessary to use all the tables.
SELECT MIN No FROM table WHERE Driver = Nello Pagani
CREATE TABLE INST, Here is a database schema( table schema);
Name the least number for nello pagani.It is not neccessary to use all the tables.
SELECT outcome FROM table_name_16 WHERE surface = "hard (i)"
CREATE TABLE INST, Here is a database schema( table schema);
What was the Outcome of the match played on Hard (i) Surface?It is not neccessary to use all the tables.
SELECT date FROM table_name_49 WHERE record = "7–7–1"
CREATE TABLE INST, Here is a database schema( table schema);
Which Date has a Record of 7–7–1?It is not neccessary to use all the tables.
SELECT 2010 FROM table WHERE 2002 = 2r
CREATE TABLE INST, Here is a database schema( table schema);
Which 2010 has a 2002 of 2r?.It is not neccessary to use all the tables.
SELECT COUNT Bronze FROM table WHERE Gold < 2 AND Nation = uganda AND Total > 2
CREATE TABLE INST, Here is a database schema( table schema);
What is the number of Bronze for the Nation of Uganda with less than 2 Gold and Total medals?.It is not neccessary to use all the tables.
SELECT microlab.organism FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-3355')) AND microlab.culturesite = 'other' AND DATETIME(microlab.culturetakentime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-0 month') ORDER BY microlab.culturetakentime LIMIT 1
CREATE TABLE INST, Here is a database schema( table schema);
what was the name of the organism found in the first microbiological examination of patient 031-3355's other in this month?It is not neccessary to use all the tables.
SELECT AVG(pick__number) FROM table_name_54 WHERE position = "wide receiver" AND college = "southern miss" AND overall < 186
CREATE TABLE INST, Here is a database schema( table schema);
What was the Pick Number when the position was wide receiver, the college was Southern Miss with an overall less than 186?It is not neccessary to use all the tables.
SELECT etymology FROM table_name_58 WHERE rank = 12
CREATE TABLE INST, Here is a database schema( table schema);
What Etymology ranked 12?It is not neccessary to use all the tables.
SELECT MAX(silver) FROM table_name_61 WHERE gold = 3 AND bronze < 5
CREATE TABLE INST, Here is a database schema( table schema);
What is the high silver total for nations with 3 golds and under 5 bronzes?It is not neccessary to use all the tables.
SELECT SUM("Attendance") FROM table_48583 WHERE "Date" = 'december 21, 1986' AND "Week" < '16'
CREATE TABLE INST, Here is a database schema( table schema);
What was the Attendance on December 21, 1986 before Week 16?It is not neccessary to use all the tables.
SELECT date FROM table_name_62 WHERE time = "11:00" AND set_3 = "25–18"
CREATE TABLE INST, Here is a database schema( table schema);
Which Date has a Time of 11:00 and a Set 3 of 25–18?It is not neccessary to use all the tables.
SELECT Career FROM table WHERE 2006 = 3r AND 1999 = 2r
CREATE TABLE INST, Here is a database schema( table schema);
What is the career for the 2006 3r, and the 1999 2r?.It is not neccessary to use all the tables.
SELECT lost FROM table_name_39 WHERE draw < 2
CREATE TABLE INST, Here is a database schema( table schema);
How many games did they lose when they tied less than 2 games?It is not neccessary to use all the tables.
SELECT Club team FROM table WHERE Pick > 139
CREATE TABLE INST, Here is a database schema( table schema);
Which Club team has a Pick larger than 139?.It is not neccessary to use all the tables.
SELECT date_of_transaction FROM TRANSACTIONS WHERE share_count > 100 OR amount_of_transaction > 1000
CREATE TABLE INST, Here is a database schema( table schema);
Show the dates of transactions if the share count is bigger than 100 or the amount is bigger than 1000.It is not neccessary to use all the tables.
SELECT AVG(draw) FROM table_name_14 WHERE lost < 4 AND team = "gwardia bydgoszcz" AND match > 5
CREATE TABLE INST, Here is a database schema( table schema);
What is the average draw that has a lost less than 4 gwardia bydgoszcz as the team with a match greater than 5?It is not neccessary to use all the tables.