context
stringlengths 27
484
| question
stringlengths 12
244
| answer
stringlengths 32
484
|
---|---|---|
CREATE TABLE table_name_20 (programming VARCHAR, name VARCHAR) | What is the programming for Kanal 5? | SELECT programming FROM table_name_20 WHERE name = "kanal 5" |
CREATE TABLE table_21091127_1 (opponent VARCHAR, record VARCHAR) | Which opponent has a record of 6-2? | SELECT opponent FROM table_21091127_1 WHERE record = "6-2" |
CREATE TABLE table_name_91 (lost INTEGER, points INTEGER) | Which Lost has Points larger than 13? | SELECT AVG(lost) FROM table_name_91 WHERE points > 13 |
CREATE TABLE table_name_10 (rank INTEGER, games VARCHAR, reb_avg VARCHAR, total_rebounds VARCHAR) | Which lowest rank(player) has a rebound average larger than 9, out of 920 rebounds, and who played more than 79 games? | SELECT MIN(rank) FROM table_name_10 WHERE reb_avg > 9 AND total_rebounds = 920 AND games > 79 |
CREATE TABLE table_name_97 (bronze INTEGER, nation VARCHAR, gold VARCHAR, rank VARCHAR) | Which Bronze has a Gold smaller than 16, a Rank of 10, and a Nation of italy? | SELECT AVG(bronze) FROM table_name_97 WHERE gold < 16 AND rank = "10" AND nation = "italy" |
CREATE TABLE table_name_25 (bronze VARCHAR, silver VARCHAR) | Name the bronze when silver is 1 | SELECT bronze FROM table_name_25 WHERE silver = 1 |
CREATE TABLE table_name_9 (date VARCHAR, record VARCHAR) | What was the date of the game when the record was 46-31? | SELECT date FROM table_name_9 WHERE record = "46-31" |
CREATE TABLE table_30049462_8 (game VARCHAR, score VARCHAR) | Name the game for l 111–126 | SELECT game FROM table_30049462_8 WHERE score = "L 111–126" |
CREATE TABLE table_2668374_13 (district VARCHAR, first_elected VARCHAR, incumbent VARCHAR) | How many districts first elected someone in 1808 and had george smith as the incumbent? | SELECT COUNT(district) FROM table_2668374_13 WHERE first_elected = "1808" AND incumbent = "George Smith" |
CREATE TABLE table_name_88 (denomination VARCHAR, date_of_issue VARCHAR) | What's the Denomination listed for the Date of Issue 12 April 2005? | SELECT denomination FROM table_name_88 WHERE date_of_issue = "12 april 2005" |
CREATE TABLE table_name_47 (year INTEGER, saar VARCHAR, hessen VARCHAR) | What is the average year for a Saar of FK Pirmasens and Hessen of Wormatia Worms? | SELECT AVG(year) FROM table_name_47 WHERE saar = "fk pirmasens" AND hessen = "wormatia worms" |
CREATE TABLE table_name_26 (date VARCHAR, attendance VARCHAR) | When was the game that had 58,025 people in attendance? | SELECT date FROM table_name_26 WHERE attendance = "58,025" |
CREATE TABLE table_13555999_1 (gender VARCHAR, senior_high_school__15_18_yrs_ VARCHAR) | What is the gender of senior high school 26mm? | SELECT gender FROM table_13555999_1 WHERE senior_high_school__15_18_yrs_ = "26mm" |
CREATE TABLE table_name_5 (location VARCHAR, event VARCHAR) | Where was the Fury FC 4: High Voltage event held? | SELECT location FROM table_name_5 WHERE event = "fury fc 4: high voltage" |
CREATE TABLE table_19681738_1 (total VARCHAR, hancock__number VARCHAR) | how many times was total considered when hancock # was 1394 | SELECT COUNT(total) FROM table_19681738_1 WHERE hancock__number = 1394 |
CREATE TABLE table_name_91 (away_team VARCHAR, date VARCHAR, home_team VARCHAR) | Who was the away team when Manchester United played at home on 10 February 1951? | SELECT away_team FROM table_name_91 WHERE date = "10 february 1951" AND home_team = "manchester united" |
CREATE TABLE table_name_82 (round VARCHAR, event VARCHAR, record VARCHAR) | How many rounds did the event rings: king of kings 2000 block a have with a record of 6-1? | SELECT round FROM table_name_82 WHERE event = "rings: king of kings 2000 block a" AND record = "6-1" |
CREATE TABLE table_name_68 (memory VARCHAR, clock VARCHAR, number VARCHAR) | What is the Memory for a Number 32 with a Clock of 2.26ghz? | SELECT memory FROM table_name_68 WHERE clock = "2.26ghz" AND number = 32 |
CREATE TABLE table_22879262_7 (location_attendance VARCHAR, game VARCHAR) | what is the location attendance for game 27? | SELECT location_attendance FROM table_22879262_7 WHERE game = 27 |
CREATE TABLE table_name_53 (start VARCHAR, team VARCHAR, year VARCHAR) | Where did the team of Rahal Letterman in 2006 start? | SELECT COUNT(start) FROM table_name_53 WHERE team = "rahal letterman" AND year = 2006 |
CREATE TABLE table_name_85 (date VARCHAR, set_1 VARCHAR) | Which Date has a Set 1 of 25–20? | SELECT date FROM table_name_85 WHERE set_1 = "25–20" |
CREATE TABLE table_name_96 (name VARCHAR, debut VARCHAR) | What is the name of the player that had a debut in round 6? | SELECT name FROM table_name_96 WHERE debut = "round 6" |
CREATE TABLE table_name_38 (week VARCHAR, opponent VARCHAR) | What is the total for the week in the game against the Chicago Bears | SELECT COUNT(week) FROM table_name_38 WHERE opponent = "chicago bears" |
CREATE TABLE table_name_72 (venue VARCHAR, home_team VARCHAR) | Where did South Melbourne play as the home team? | SELECT venue FROM table_name_72 WHERE home_team = "south melbourne" |
CREATE TABLE table_name_37 (builder VARCHAR, country VARCHAR, ship VARCHAR) | Who was the builder of Brage from Norway? | SELECT builder FROM table_name_37 WHERE country = "norway" AND ship = "brage" |
CREATE TABLE table_2508633_11 (college VARCHAR, nfl_team VARCHAR) | How many colleges have the NFL Team Buffalo Bills? | SELECT COUNT(college) FROM table_2508633_11 WHERE nfl_team = "Buffalo Bills" |
CREATE TABLE table_name_93 (venue VARCHAR, score VARCHAR) | What was the venue when the score was 7-1? | SELECT venue FROM table_name_93 WHERE score = "7-1" |
CREATE TABLE table_18217741_1 (title VARCHAR, us_viewers__millions_ VARCHAR) | What is the title when 18.58 u.s. viewers (millions) watched? | SELECT title FROM table_18217741_1 WHERE us_viewers__millions_ = "18.58" |
CREATE TABLE table_name_23 (drivers VARCHAR, laps VARCHAR, class VARCHAR) | Who are the drivers with 133 laps in OC class? | SELECT drivers FROM table_name_23 WHERE laps = 133 AND class = "oc" |
CREATE TABLE table_name_54 (heat VARCHAR, name VARCHAR) | Jin Hao had what amount of heat? | SELECT heat FROM table_name_54 WHERE name = "jin hao" |
CREATE TABLE table_name_65 (opponent VARCHAR, week VARCHAR) | Who is the opponent in week 15? | SELECT opponent FROM table_name_65 WHERE week = 15 |
CREATE TABLE table_name_82 (incumbent VARCHAR, result VARCHAR) | Who was the incumbent that retired to run for the senate democratic hold? | SELECT incumbent FROM table_name_82 WHERE result = "retired to run for the senate democratic hold" |
CREATE TABLE table_name_38 (club VARCHAR, tries_against VARCHAR, try_bonus VARCHAR) | Which club has a try bonus of 9 and 43 tries against? | SELECT club FROM table_name_38 WHERE tries_against = "43" AND try_bonus = "9" |
CREATE TABLE table_name_76 (postcodedistrict VARCHAR, location VARCHAR) | What is the name of the Post code district that is in Eden Park? | SELECT postcodedistrict FROM table_name_76 WHERE location = "eden park" |
CREATE TABLE table_16048129_5 (number_of_families VARCHAR, _percentage_of_total_deportees VARCHAR) | How many total families are there in regions with 5.8 percent of the population being made up of deportees? | SELECT COUNT(number_of_families) FROM table_16048129_5 WHERE _percentage_of_total_deportees = "5.8" |
CREATE TABLE table_name_93 (top_25 INTEGER, top_10 INTEGER) | What is the average number of top-25s for events with less than 2 top-10s? | SELECT AVG(top_25) FROM table_name_93 WHERE top_10 < 2 |
CREATE TABLE table_171361_1 (population VARCHAR, status VARCHAR) | What is the population of each community with city status? | SELECT population FROM table_171361_1 WHERE status = "City" |
CREATE TABLE table_name_4 (record VARCHAR, result VARCHAR) | What is the record for the result w 33-3? | SELECT record FROM table_name_4 WHERE result = "w 33-3" |
CREATE TABLE table_14871601_1 (losses INTEGER, team VARCHAR) | What is the largest loss for the Tacuary team? | SELECT MAX(losses) FROM table_14871601_1 WHERE team = "Tacuary" |
CREATE TABLE table_name_56 (ties INTEGER, losses VARCHAR, goals_against VARCHAR) | Which team has the most ties with fewer than 4 losses and GA smaller than 20? | SELECT MAX(ties) FROM table_name_56 WHERE losses < 4 AND goals_against < 20 |
CREATE TABLE table_29960651_5 (episode VARCHAR, no_for_season VARCHAR) | Which episode is number 3 in the season? | SELECT episode FROM table_29960651_5 WHERE no_for_season = 3 |
CREATE TABLE table_14882588_2 (race_number VARCHAR, sail_number VARCHAR) | If sail number is AUS 03, what are all associated race numbers? | SELECT race_number FROM table_14882588_2 WHERE sail_number = "AUS 03" |
CREATE TABLE table_23050383_1 (innovation VARCHAR, economic_incentive_regime VARCHAR) | What is the innovation when the economic incentive grime is 7.14? | SELECT innovation FROM table_23050383_1 WHERE economic_incentive_regime = "7.14" |
CREATE TABLE table_255602_1 (area__km²_ VARCHAR, population__2010_ VARCHAR) | What is the area where population in 2010 is 38062? | SELECT area__km²_ FROM table_255602_1 WHERE population__2010_ = 38062 |
CREATE TABLE table_22034853_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR) | How many films are titled "Dans la Ville Blanche"? | SELECT COUNT(film_title_used_in_nomination) FROM table_22034853_1 WHERE original_title = "Dans la ville blanche" |
CREATE TABLE table_name_31 (ngc_number INTEGER, object_type VARCHAR, right_ascension___j2000__ VARCHAR) | I want the sum of NGC number for spiral galaxy and right acension of 08h14m40.4s | SELECT SUM(ngc_number) FROM table_name_31 WHERE object_type = "spiral galaxy" AND right_ascension___j2000__ = "08h14m40.4s" |
CREATE TABLE table_name_97 (reported_death_date VARCHAR, name VARCHAR) | what is the reported death date for laura svehaug? | SELECT reported_death_date FROM table_name_97 WHERE name = "laura svehaug" |
CREATE TABLE table_name_24 (lost INTEGER, goals_against VARCHAR, points VARCHAR) | How many losses have 222 as the goals against, with points greater than 78? | SELECT SUM(lost) FROM table_name_24 WHERE goals_against = 222 AND points > 78 |
CREATE TABLE table_name_93 (score VARCHAR, name VARCHAR, champion VARCHAR) | What's the score of the Nice International Championships where Björn Borg was the champion? | SELECT score FROM table_name_93 WHERE name = "nice international championships" AND champion = "björn borg" |
CREATE TABLE table_name_77 (saka_era VARCHAR, months_in_malayalam_era VARCHAR) | WHAT IS THE SAKA ERA WITH MONTHS IN MEDAM? | SELECT saka_era FROM table_name_77 WHERE months_in_malayalam_era = "medam" |
CREATE TABLE table_name_44 (position VARCHAR, a_score INTEGER) | what is the position for the competitor that has a score more than 7 | SELECT position FROM table_name_44 WHERE a_score > 7 |
CREATE TABLE table_25143284_1 (location VARCHAR, score_qualifying VARCHAR) | Where was the competition with a qualifying score of 58.425? | SELECT location FROM table_25143284_1 WHERE score_qualifying = "58.425" |
CREATE TABLE table_name_70 (score_in_the_final VARCHAR, surface VARCHAR, tournament VARCHAR) | Played on Clay Surface, what was the Score of the Dortmund Tournament? | SELECT score_in_the_final FROM table_name_70 WHERE surface = "clay" AND tournament = "dortmund" |
CREATE TABLE table_name_62 (season VARCHAR, winner VARCHAR, final_venue VARCHAR) | During what Season was the Final Venue at Sandy Lane with Kiveton Park as the Winner? | SELECT season FROM table_name_62 WHERE winner = "kiveton park" AND final_venue = "sandy lane" |
CREATE TABLE table_name_98 (date VARCHAR, opponent VARCHAR) | What is the date of the game when the opponent is the Cleveland Browns? | SELECT date FROM table_name_98 WHERE opponent = "cleveland browns" |
CREATE TABLE table_name_68 (venue VARCHAR, position VARCHAR, year VARCHAR) | What was the venue of the competition that held the 1st position in 2011? | SELECT venue FROM table_name_68 WHERE position = "1st" AND year = 2011 |
CREATE TABLE table_name_85 (against INTEGER, favour VARCHAR, lost VARCHAR, draw VARCHAR) | What is the highest Against where they lost less than 20 games, tied more than 2 of them, and they had Favour less than 11? | SELECT MAX(against) FROM table_name_85 WHERE lost < 20 AND draw > 2 AND favour < 11 |
CREATE TABLE table_name_38 (artist VARCHAR, catalog__number VARCHAR) | Who is the artist with catalog number ZK 34354? | SELECT artist FROM table_name_38 WHERE catalog__number = "zk 34354" |
CREATE TABLE table_name_90 (round INTEGER, position VARCHAR) | What's the average round the position of RB was drafted? | SELECT AVG(round) FROM table_name_90 WHERE position = "rb" |
CREATE TABLE table_21436373_5 (date_year VARCHAR, type_of_record VARCHAR) | For what year is the type of record 'total attendance-regular season? | SELECT date_year FROM table_21436373_5 WHERE type_of_record = "Total attendance-Regular season" |
CREATE TABLE table_name_15 (bike VARCHAR, laps VARCHAR, grid VARCHAR) | Which bike had fewer than 23 laps and a grid number of 4? | SELECT bike FROM table_name_15 WHERE laps < 23 AND grid = 4 |
CREATE TABLE table_name_32 (image_quality VARCHAR, date VARCHAR, multiple_sessions VARCHAR, authentication VARCHAR) | what is the image quality when the multiple sessions is x, the authentication is ✓ and the date is may 15, 2007? | SELECT image_quality FROM table_name_32 WHERE multiple_sessions = "x" AND authentication = "✓" AND date = "may 15, 2007" |
CREATE TABLE table_name_58 (ad_freq VARCHAR, show_name VARCHAR) | What is the ad frequency for the show named Health Matters? | SELECT ad_freq FROM table_name_58 WHERE show_name = "health matters" |
CREATE TABLE table_name_84 (overall VARCHAR, position VARCHAR, pick__number VARCHAR) | What is the overall number for a kicker with a pick of less than 6? | SELECT COUNT(overall) FROM table_name_84 WHERE position = "kicker" AND pick__number < 6 |
CREATE TABLE table_name_23 (week_1 VARCHAR, week_3 VARCHAR) | Who was the girl on week 1 that was previous to week 3's Ava Hart? | SELECT week_1 FROM table_name_23 WHERE week_3 = "ava hart" |
CREATE TABLE table_27539535_5 (opponent VARCHAR, score VARCHAR) | Against what opponent did the game end 5-4? | SELECT opponent FROM table_27539535_5 WHERE score = "5-4" |
CREATE TABLE table_name_53 (silver INTEGER, gold VARCHAR, bronze VARCHAR) | What is the average number of silver medals with more than 6 gold meals and less than 5 bronze medals? | SELECT AVG(silver) FROM table_name_53 WHERE gold > 6 AND bronze < 5 |
CREATE TABLE table_name_12 (pick INTEGER, player VARCHAR) | What is the total pick with Bill Duffy? | SELECT SUM(pick) FROM table_name_12 WHERE player = "bill duffy" |
CREATE TABLE table_name_66 (class VARCHAR, event VARCHAR, result VARCHAR) | What class had a Championship Test event with a 62.516 result? | SELECT class FROM table_name_66 WHERE event = "championship test" AND result = "62.516" |
CREATE TABLE table_name_40 (attendance VARCHAR, visitor VARCHAR, date VARCHAR) | What is the number of people in Attendance when Visitor was the warriors on 2006-11-04? | SELECT attendance FROM table_name_40 WHERE visitor = "warriors" AND date = "2006-11-04" |
CREATE TABLE table_30062172_3 (gt4_winner VARCHAR, round VARCHAR, gt3_winner VARCHAR) | When charles bateman michael lyons is the gt3 winner and 9 is the round who is the gt4 winner? | SELECT gt4_winner FROM table_30062172_3 WHERE round = 9 AND gt3_winner = "Charles Bateman Michael Lyons" |
CREATE TABLE table_name_41 (points INTEGER, team VARCHAR, wins VARCHAR) | Name the Points which has a Team of sportivo luqueño, and Wins larger than 1? | SELECT MIN(points) FROM table_name_41 WHERE team = "sportivo luqueño" AND wins > 1 |
CREATE TABLE table_name_44 (grid INTEGER, rider VARCHAR, manufacturer VARCHAR, laps VARCHAR) | What is the grid number of Sandro Cortese, who has Aprilia as the manufacturer and less than 19 laps? | SELECT SUM(grid) FROM table_name_44 WHERE manufacturer = "aprilia" AND laps < 19 AND rider = "sandro cortese" |
CREATE TABLE table_26335424_86 (round_of_32 VARCHAR, quarterfinals VARCHAR, event VARCHAR) | If the event was bantamweight (-63kg), and the quarterfinals did not advance, then who was in round of 32? | SELECT round_of_32 FROM table_26335424_86 WHERE quarterfinals = "Did not advance" AND event = "Bantamweight (-63kg)" |
CREATE TABLE table_name_86 (Id VARCHAR) | Which 2010 has a 2009 of 0 / 4? | SELECT 2010 FROM table_name_86 WHERE 2009 = "0 / 4" |
CREATE TABLE table_name_82 (date VARCHAR, athlete VARCHAR, nation VARCHAR, place VARCHAR) | What's the date when Yelena Isinbayeva for Russia was in Beijing, China? | SELECT date FROM table_name_82 WHERE nation = "russia" AND place = "beijing, china" AND athlete = "yelena isinbayeva" |
CREATE TABLE table_name_33 (characters VARCHAR, construction VARCHAR) | Who has a Construction of 1873, foochow navy yard? | SELECT characters FROM table_name_33 WHERE construction = "1873, foochow navy yard" |
CREATE TABLE table_name_89 (date VARCHAR, week VARCHAR) | When has a Week of 1? | SELECT date FROM table_name_89 WHERE week = 1 |
CREATE TABLE table_name_62 (programming VARCHAR, video VARCHAR) | Which Programming has a Video of audio only? | SELECT programming FROM table_name_62 WHERE video = "audio only" |
CREATE TABLE table_name_6 (date VARCHAR, opponent VARCHAR) | What is the date of the tournament with carlos moyà as the opponent? | SELECT date FROM table_name_6 WHERE opponent = "carlos moyà" |
CREATE TABLE table_20866024_3 (wheelbase__mm_inch_ VARCHAR, model_designation VARCHAR) | What's the wheelbase (in mm/inch) of the model with model designation 97G00? | SELECT wheelbase__mm_inch_ FROM table_20866024_3 WHERE model_designation = "97G00" |
CREATE TABLE table_name_76 (win__percentage INTEGER, gb_ VARCHAR, d_ VARCHAR) | What is the average win percentage of a season with a GB of 5? | SELECT AVG(win__percentage) FROM table_name_76 WHERE gb_[d_] = "5" |
CREATE TABLE table_name_85 (laps INTEGER, points VARCHAR, team VARCHAR, time_retired VARCHAR) | What is the fewest number of laps for a Dale Coyne Racing team with a mechanical time/retired and fewer than 5 points? | SELECT MIN(laps) FROM table_name_85 WHERE team = "dale coyne racing" AND time_retired = "mechanical" AND points < 5 |
CREATE TABLE table_name_91 (points VARCHAR, place VARCHAR) | What are the Points when the Place is 9? | SELECT points FROM table_name_91 WHERE place = 9 |
CREATE TABLE table_name_55 (venue VARCHAR, sport VARCHAR, club VARCHAR) | What venue does the soccer team Pennsylvania Stoners play in? | SELECT venue FROM table_name_55 WHERE sport = "soccer" AND club = "pennsylvania stoners" |
CREATE TABLE table_23242958_1 (title VARCHAR, directed_by VARCHAR) | What is the title of the episode directed by Rodney Clouden? | SELECT title FROM table_23242958_1 WHERE directed_by = "Rodney Clouden" |
CREATE TABLE table_name_57 (trident VARCHAR, gecko VARCHAR) | Which Trident version has a Gecko value of 19.0? | SELECT trident FROM table_name_57 WHERE gecko = "19.0" |
CREATE TABLE table_name_11 (score VARCHAR, date VARCHAR, match VARCHAR, home_away VARCHAR) | What was the score for a match before 13, and a home game on April 21, 2008? | SELECT score FROM table_name_11 WHERE match < 13 AND home_away = "home" AND date = "april 21, 2008" |
CREATE TABLE table_1590652_4 (no VARCHAR, date VARCHAR) | Name the total number when date is 30 may 2010 | SELECT COUNT(no) FROM table_1590652_4 WHERE date = "30 May 2010" |
CREATE TABLE table_name_15 (team VARCHAR, co_drivers VARCHAR) | Name the team for co-drivers of david brabham mario andretti | SELECT team FROM table_name_15 WHERE co_drivers = "david brabham mario andretti" |
CREATE TABLE table_name_79 (record VARCHAR, date VARCHAR) | What was the record on September 26? | SELECT record FROM table_name_79 WHERE date = "september 26" |
CREATE TABLE table_name_48 (result VARCHAR, couple VARCHAR, score VARCHAR) | What is the Result for Couple Kelly & Alec when they have a Score of 22 (8, 7, 7)? | SELECT result FROM table_name_48 WHERE couple = "kelly & alec" AND score = "22 (8, 7, 7)" |
CREATE TABLE table_2840500_2 (pick INTEGER, position VARCHAR, nationality VARCHAR) | What is the minimum pick of a centre from the Czech Republic? | SELECT MIN(pick) FROM table_2840500_2 WHERE position = "Centre" AND nationality = "Czech Republic" |
CREATE TABLE table_name_11 (replaced_by VARCHAR, date_of_vacancy VARCHAR) | Who was hired to fill the spot that became vacant on 3 March 2009? | SELECT replaced_by FROM table_name_11 WHERE date_of_vacancy = "3 march 2009" |
CREATE TABLE table_name_38 (match INTEGER, date VARCHAR) | What match number took place on August 3, 2007? | SELECT MAX(match) FROM table_name_38 WHERE date = "august 3, 2007" |
CREATE TABLE table_name_89 (total INTEGER, bronze VARCHAR, gold VARCHAR) | What's the smallest total with a bronze count of 5 and a gold count less than 8? | SELECT MIN(total) FROM table_name_89 WHERE bronze = 5 AND gold < 8 |
CREATE TABLE table_name_39 (score INTEGER, player VARCHAR) | What's the total score of Danny Edwards? | SELECT SUM(score) FROM table_name_39 WHERE player = "danny edwards" |
CREATE TABLE table_name_75 (constructor VARCHAR, entrant VARCHAR, chassis VARCHAR, tyre VARCHAR, engine VARCHAR) | who is the constructor when the tyre is d, the engine is talbot 23cv 4.5 l6, the chassis is talbot-lago t26c and the entrant is ecurie belge? | SELECT constructor FROM table_name_75 WHERE tyre = "d" AND engine = "talbot 23cv 4.5 l6" AND chassis = "talbot-lago t26c" AND entrant = "ecurie belge" |
CREATE TABLE table_name_51 (race_4 VARCHAR, race_1 VARCHAR) | What is Race 4, when Race 1 is 28? | SELECT race_4 FROM table_name_51 WHERE race_1 = "28" |
CREATE TABLE table_name_29 (against INTEGER, points VARCHAR, lost VARCHAR) | What is the lowest against value with less than 9 points and more than 6 lost? | SELECT MIN(against) FROM table_name_29 WHERE points < 9 AND lost > 6 |