training_input
stringlengths 118
1.06k
|
---|
###context:CREATE TABLE table_name_97 (crowd INTEGER, home_team VARCHAR)
###human: What is the average crowd for the home team of North Melbourne?
###assistant: SELECT AVG(crowd) FROM table_name_97 WHERE home_team = "north melbourne" |
###context:CREATE TABLE table_name_77 (visitor VARCHAR, date VARCHAR)
###human: Who was the visiting team on 12 March 2008?
###assistant: SELECT visitor FROM table_name_77 WHERE date = "12 march 2008" |
###context:CREATE TABLE table_name_70 (home VARCHAR, visitor VARCHAR)
###human: Who was the home team where Trail Blazers were the visitor?
###assistant: SELECT home FROM table_name_70 WHERE visitor = "trail blazers" |
###context:CREATE TABLE table_name_7 (home VARCHAR, visitor VARCHAR, date VARCHAR)
###human: In the game on 11 March 2008 with a visiting team of Bucks, who was the home team?
###assistant: SELECT home FROM table_name_7 WHERE visitor = "bucks" AND date = "11 march 2008" |
###context:CREATE TABLE table_name_18 (laps VARCHAR, driver VARCHAR, grid VARCHAR)
###human: How many laps for robin montgomerie-charrington, and a Grid smaller than 15?
###assistant: SELECT COUNT(laps) FROM table_name_18 WHERE driver = "robin montgomerie-charrington" AND grid < 15 |
###context:CREATE TABLE table_name_9 (total INTEGER, silver VARCHAR, bronze VARCHAR)
###human: What is the mean number of totals with no silvers and a bronze number less than 0?
###assistant: SELECT AVG(total) FROM table_name_9 WHERE silver = 0 AND bronze < 0 |
###context:CREATE TABLE table_name_76 (silver INTEGER, rank VARCHAR, bronze VARCHAR)
###human: What is the least number of Silvers with a ranking of less than 4 where the bronze number was larger than 9?
###assistant: SELECT MIN(silver) FROM table_name_76 WHERE rank < 4 AND bronze > 9 |
###context:CREATE TABLE table_name_60 (rank INTEGER, silver INTEGER)
###human: Which mean rank had a silver number smaller than 0?
###assistant: SELECT AVG(rank) FROM table_name_60 WHERE silver < 0 |
###context:CREATE TABLE table_name_99 (total INTEGER, rank VARCHAR, silver VARCHAR)
###human: What is the least total number with a rank of 4 and a total silver number bigger than 3?
###assistant: SELECT MIN(total) FROM table_name_99 WHERE rank = 4 AND silver > 3 |
###context:CREATE TABLE table_name_7 (category VARCHAR, award VARCHAR)
###human: Name the category for 2nd melon music awards
###assistant: SELECT category FROM table_name_7 WHERE award = "2nd melon music awards" |
###context:CREATE TABLE table_name_30 (award VARCHAR, result VARCHAR, category VARCHAR)
###human: Name the award won in the hall of fame
###assistant: SELECT award FROM table_name_30 WHERE result = "won" AND category = "hall of fame" |
###context:CREATE TABLE table_name_59 (nomination VARCHAR, year VARCHAR, result VARCHAR)
###human: Name the nomination in 2011 that won
###assistant: SELECT nomination FROM table_name_59 WHERE year = 2011 AND result = "won" |
###context:CREATE TABLE table_name_98 (result VARCHAR, year VARCHAR, award VARCHAR)
###human: Name the result in 2010 for bgm cyworld
###assistant: SELECT result FROM table_name_98 WHERE year = 2010 AND award = "bgm cyworld" |
###context:CREATE TABLE table_name_68 (car__number VARCHAR, make VARCHAR, laps VARCHAR)
###human: What is the car # of the Chevrolet that complete 363 laps?
###assistant: SELECT COUNT(car__number) FROM table_name_68 WHERE make = "chevrolet" AND laps = 363 |
###context:CREATE TABLE table_name_88 (points INTEGER, winnings VARCHAR, car__number VARCHAR)
###human: How many points did the driver who won $127,541 driving car #31 get?
###assistant: SELECT MAX(points) FROM table_name_88 WHERE winnings = "$127,541" AND car__number > 31 |
###context:CREATE TABLE table_name_80 (english_title VARCHAR, year VARCHAR, role VARCHAR)
###human: What is the english title of the film before 1999 with a role of kim da-rim?
###assistant: SELECT english_title FROM table_name_80 WHERE year < 1999 AND role = "kim da-rim" |
###context:CREATE TABLE table_name_96 (english_title VARCHAR, romanization VARCHAR)
###human: What English title for the Romanization of lee jae-su-eui nan?
###assistant: SELECT english_title FROM table_name_96 WHERE romanization = "lee jae-su-eui nan" |
###context:CREATE TABLE table_name_81 (romanization VARCHAR, english_title VARCHAR)
###human: What is the Romanization for my old sweetheart?
###assistant: SELECT romanization FROM table_name_81 WHERE english_title = "my old sweetheart" |
###context:CREATE TABLE table_name_56 (english_title VARCHAR, role VARCHAR)
###human: What is the English of chae soo-yeon?
###assistant: SELECT english_title FROM table_name_56 WHERE role = "chae soo-yeon" |
###context:CREATE TABLE table_name_22 (Highest INTEGER, album_title VARCHAR, sales VARCHAR)
###human: What is the lowest high position for 10 years of hits, and over 870,000 sales?
###assistant: SELECT MIN(Highest) AS position FROM table_name_22 WHERE album_title = "10 years of hits" AND sales > 870 OFFSET 000 |
###context:CREATE TABLE table_name_69 (Highest INTEGER, album_title VARCHAR)
###human: What is the average high position for the album unwritten?
###assistant: SELECT AVG(Highest) AS position FROM table_name_69 WHERE album_title = "unwritten" |
###context:CREATE TABLE table_name_13 (date VARCHAR, race_title VARCHAR)
###human: When did the Grand Prix de Monaco race?
###assistant: SELECT date FROM table_name_13 WHERE race_title = "grand prix de monaco" |
###context:CREATE TABLE table_name_79 (circuit VARCHAR, round VARCHAR)
###human: What circuit had 16 rounds?
###assistant: SELECT circuit FROM table_name_79 WHERE round = 16 |
###context:CREATE TABLE table_name_82 (grand_prix VARCHAR, round VARCHAR)
###human: Which Grand Prix had 9 rounds?
###assistant: SELECT grand_prix FROM table_name_82 WHERE round = 9 |
###context:CREATE TABLE table_name_18 (base_fares VARCHAR, fare_categories VARCHAR)
###human: What is the Base Fare in the senior/disabled category?
###assistant: SELECT base_fares FROM table_name_18 WHERE fare_categories = "senior/disabled" |
###context:CREATE TABLE table_name_74 (day_pass VARCHAR, base_fares VARCHAR)
###human: Which 30-day Pass has a Base Fare of $3?
###assistant: SELECT 30 - day_pass FROM table_name_74 WHERE base_fares = "$3" |
###context:CREATE TABLE table_name_29 (length VARCHAR, year VARCHAR)
###human: What is the length for years 2012-2013?
###assistant: SELECT length FROM table_name_29 WHERE year = "2012-2013" |
###context:CREATE TABLE table_name_77 (engine_type VARCHAR, numbers VARCHAR, length VARCHAR, year VARCHAR)
###human: If length is ft (m) with numbers of 6600-6684 (84 buses) for 2003, what is the engine type?
###assistant: SELECT engine_type FROM table_name_77 WHERE length = "ft (m)" AND year = "2003" AND numbers = "6600-6684 (84 buses)" |
###context:CREATE TABLE table_name_38 (length VARCHAR, numbers VARCHAR)
###human: For numbers of 2600-2825 (223 buses), what is the length?
###assistant: SELECT length FROM table_name_38 WHERE numbers = "2600-2825 (223 buses)" |
###context:CREATE TABLE table_name_52 (length VARCHAR, year VARCHAR, make_ VARCHAR, _model VARCHAR)
###human: What is the lenth of a 2003 Make & Model of nabi 35-lfw?
###assistant: SELECT length FROM table_name_52 WHERE year = "2003" AND make_ & _model = "nabi 35-lfw" |
###context:CREATE TABLE table_name_92 (length VARCHAR, engine_type VARCHAR, numbers VARCHAR)
###human: What is the length for a diesel engine with numbers of tbd (13 buses)?
###assistant: SELECT length FROM table_name_92 WHERE engine_type = "diesel" AND numbers = "tbd (13 buses)" |
###context:CREATE TABLE table_name_79 (year VARCHAR, make_ VARCHAR, _model VARCHAR)
###human: What year has a make & model of mci d4000n?
###assistant: SELECT year FROM table_name_79 WHERE make_ & _model = "mci d4000n" |
###context:CREATE TABLE table_name_75 (type VARCHAR, date VARCHAR, ship VARCHAR)
###human: What type has a Date of 8 dec 16, and a Ship of duchess of cornwall?
###assistant: SELECT type FROM table_name_75 WHERE date = "8 dec 16" AND ship = "duchess of cornwall" |
###context:CREATE TABLE table_name_62 (nationality VARCHAR, ship VARCHAR)
###human: Which nationality has a Ship of minteh?
###assistant: SELECT nationality FROM table_name_62 WHERE ship = "minteh" |
###context:CREATE TABLE table_name_23 (tonnage_grt INTEGER, type VARCHAR, nationality VARCHAR)
###human: What is the total Tonnage GRT with a Type of cargo ship, and a Nationality of norway?
###assistant: SELECT SUM(tonnage_grt) FROM table_name_23 WHERE type = "cargo ship" AND nationality = "norway" |
###context:CREATE TABLE table_name_87 (date VARCHAR, ship VARCHAR)
###human: Which Date has a Ship of hallbjorg?
###assistant: SELECT date FROM table_name_87 WHERE ship = "hallbjorg" |
###context:CREATE TABLE table_name_24 (set_3 VARCHAR, total VARCHAR)
###human: What is the score of set 3 when the total is 45β31?
###assistant: SELECT set_3 FROM table_name_24 WHERE total = "45β31" |
###context:CREATE TABLE table_name_61 (set_2 VARCHAR, set_3 VARCHAR)
###human: What is the score for set 2 when set 3 was 15β6?
###assistant: SELECT set_2 FROM table_name_61 WHERE set_3 = "15β6" |
###context:CREATE TABLE table_name_68 (total VARCHAR, set_1 VARCHAR)
###human: What is the total when the score of set 1 was 15β11?
###assistant: SELECT total FROM table_name_68 WHERE set_1 = "15β11" |
###context:CREATE TABLE table_name_5 (total VARCHAR, set_1 VARCHAR)
###human: What is the total when the score of set 1 is 15β11?
###assistant: SELECT total FROM table_name_5 WHERE set_1 = "15β11" |
###context:CREATE TABLE table_name_50 (date VARCHAR, total VARCHAR)
###human: On what date was the total 25β45?
###assistant: SELECT date FROM table_name_50 WHERE total = "25β45" |
###context:CREATE TABLE table_name_59 (away_team VARCHAR)
###human: What was St Kilda's score as the Away team?
###assistant: SELECT away_team AS score FROM table_name_59 WHERE away_team = "st kilda" |
###context:CREATE TABLE table_name_5 (home_team VARCHAR, venue VARCHAR)
###human: At the venue Vfl Park, what was the Home team score?
###assistant: SELECT home_team AS score FROM table_name_5 WHERE venue = "vfl park" |
###context:CREATE TABLE table_name_66 (reg_gp VARCHAR, player VARCHAR, rd__number VARCHAR)
###human: How many Reg GP does daniel rahimi have with a rd # greater than 3?
###assistant: SELECT COUNT(reg_gp) FROM table_name_66 WHERE player = "daniel rahimi" AND rd__number > 3 |
###context:CREATE TABLE table_name_90 (pick__number INTEGER, player VARCHAR, reg_gp VARCHAR)
###human: What is the lowest Pick # with michael grabner and less than 20 Reg GP?
###assistant: SELECT MIN(pick__number) FROM table_name_90 WHERE player = "michael grabner" AND reg_gp < 20 |
###context:CREATE TABLE table_name_31 (class VARCHAR, peak VARCHAR)
###human: Which class has a peak named fountains fell south top?
###assistant: SELECT class FROM table_name_31 WHERE peak = "fountains fell south top" |
###context:CREATE TABLE table_name_72 (prom__m_ INTEGER, peak VARCHAR)
###human: What is the total of Prom in M for Peak great knoutberry hill?
###assistant: SELECT SUM(prom__m_) FROM table_name_72 WHERE peak = "great knoutberry hill" |
###context:CREATE TABLE table_name_45 (height__m_ INTEGER, peak VARCHAR, class VARCHAR, prom__m_ VARCHAR)
###human: What is the average height for hewitt class, with prom less than 86, and a Peak of gragareth?
###assistant: SELECT AVG(height__m_) FROM table_name_45 WHERE class = "hewitt" AND prom__m_ < 86 AND peak = "gragareth" |
###context:CREATE TABLE table_name_20 (movie VARCHAR, co_singers VARCHAR)
###human: In which movie is Selva Nambi a co-singer?
###assistant: SELECT movie FROM table_name_20 WHERE co_singers = "selva nambi" |
###context:CREATE TABLE table_name_3 (music_director VARCHAR, year VARCHAR)
###human: Who was the music director in 1994?
###assistant: SELECT music_director FROM table_name_3 WHERE year = 1994 |
###context:CREATE TABLE table_name_45 (year VARCHAR, nominee VARCHAR)
###human: What years was Denis Lawson nominated for an award?
###assistant: SELECT COUNT(year) FROM table_name_45 WHERE nominee = "denis lawson" |
###context:CREATE TABLE table_name_14 (result VARCHAR, nominee VARCHAR)
###human: Did Jason Pennycooke win the award he was nominated for?
###assistant: SELECT result FROM table_name_14 WHERE nominee = "jason pennycooke" |
###context:CREATE TABLE table_name_60 (year VARCHAR, nominee VARCHAR)
###human: How many years was Best Musical Revival nominated?
###assistant: SELECT COUNT(year) FROM table_name_60 WHERE nominee = "best musical revival" |
###context:CREATE TABLE table_name_95 (award VARCHAR, category VARCHAR, nominee VARCHAR)
###human: What award was Denis Lawson nominated for in the Best Actor in a Musical category?
###assistant: SELECT award FROM table_name_95 WHERE category = "best actor in a musical" AND nominee = "denis lawson" |
###context:CREATE TABLE table_name_26 (opponent VARCHAR, outcome VARCHAR, date VARCHAR)
###human: Which opponent has an Outcome of winner, and a Date of 5 november 2011?
###assistant: SELECT opponent FROM table_name_26 WHERE outcome = "winner" AND date = "5 november 2011" |
###context:CREATE TABLE table_name_92 (date VARCHAR, score VARCHAR)
###human: Which date has a Score of 4β6, 2β6?
###assistant: SELECT date FROM table_name_92 WHERE score = "4β6, 2β6" |
###context:CREATE TABLE table_name_60 (date VARCHAR, opponent VARCHAR, score VARCHAR)
###human: Which date has a Opponent of juan mΓ³naco, and a Score of 6β2, 4β6, 7β6 (7β3)?
###assistant: SELECT date FROM table_name_60 WHERE opponent = "juan mΓ³naco" AND score = "6β2, 4β6, 7β6 (7β3)" |
###context:CREATE TABLE table_name_16 (outcome VARCHAR, opponent VARCHAR)
###human: Which outcome has a Opponent of fernando verdasco?
###assistant: SELECT outcome FROM table_name_16 WHERE opponent = "fernando verdasco" |
###context:CREATE TABLE table_name_41 (surface VARCHAR, opponent VARCHAR)
###human: Which surface has an Opponent of fernando verdasco?
###assistant: SELECT surface FROM table_name_41 WHERE opponent = "fernando verdasco" |
###context:CREATE TABLE table_name_40 (surface VARCHAR, date VARCHAR)
###human: Which surface has a Date of 5 november 2011?
###assistant: SELECT surface FROM table_name_40 WHERE date = "5 november 2011" |
###context:CREATE TABLE table_name_16 (crowd INTEGER, venue VARCHAR)
###human: When the Venue was mcg what was the sum of all Crowds for that venue?
###assistant: SELECT SUM(crowd) FROM table_name_16 WHERE venue = "mcg" |
###context:CREATE TABLE table_name_62 (date VARCHAR, away_team VARCHAR)
###human: If the Away team is essendon, what was the Date they played?
###assistant: SELECT date FROM table_name_62 WHERE away_team = "essendon" |
###context:CREATE TABLE table_name_11 (date VARCHAR, away_team VARCHAR)
###human: On what Date did the Away team essendon play?
###assistant: SELECT date FROM table_name_11 WHERE away_team = "essendon" |
###context:CREATE TABLE table_name_49 (date VARCHAR, home_team VARCHAR)
###human: When the Home team was north melbourne what was the Date of the game?
###assistant: SELECT date FROM table_name_49 WHERE home_team = "north melbourne" |
###context:CREATE TABLE table_name_72 (record VARCHAR, date VARCHAR)
###human: What was the record as of September 1?
###assistant: SELECT record FROM table_name_72 WHERE date = "september 1" |
###context:CREATE TABLE table_name_48 (loss VARCHAR, date VARCHAR)
###human: What was the losing score on September 1?
###assistant: SELECT loss FROM table_name_48 WHERE date = "september 1" |
###context:CREATE TABLE table_name_88 (Id VARCHAR)
###human: What is the 1988 value when the 1987 value was 1r?
###assistant: SELECT 1988 FROM table_name_88 WHERE 1987 = "1r" |
###context:CREATE TABLE table_name_97 (tournament VARCHAR)
###human: What is the 1981 value at the Tournament of Wimbledon?
###assistant: SELECT 1981 FROM table_name_97 WHERE tournament = "wimbledon" |
###context:CREATE TABLE table_name_86 (name VARCHAR, opened VARCHAR, park VARCHAR)
###human: What is the name of the rollercoaster that opened in 2004 in bobbejaanland?
###assistant: SELECT name FROM table_name_86 WHERE opened = "2004" AND park = "bobbejaanland" |
###context:CREATE TABLE table_name_89 (status VARCHAR, opened VARCHAR, model VARCHAR)
###human: What is the status of the junior coaster model that opened in 2008?
###assistant: SELECT status FROM table_name_89 WHERE opened = "2008" AND model = "junior coaster" |
###context:CREATE TABLE table_name_16 (model VARCHAR, status VARCHAR, name VARCHAR)
###human: What is the model for Thor's Hammer which is listed as operating?
###assistant: SELECT model FROM table_name_16 WHERE status = "operating" AND name = "thor's hammer" |
###context:CREATE TABLE table_name_80 (name VARCHAR, model VARCHAR, opened VARCHAR)
###human: What is the name of the coaster that opened in 2011 and is a euro-fighter model?
###assistant: SELECT name FROM table_name_80 WHERE model = "euro-fighter" AND opened = "2011" |
###context:CREATE TABLE table_name_9 (winning_driver VARCHAR, race_name VARCHAR)
###human: Which driver won the iv j.c.c. jersey road race?
###assistant: SELECT winning_driver FROM table_name_9 WHERE race_name = "iv j.c.c. jersey road race" |
###context:CREATE TABLE table_name_73 (games VARCHAR, points VARCHAR, losses VARCHAR)
###human: What's the total number of games that had more than 34 points and exactly 3 losses?
###assistant: SELECT COUNT(games) FROM table_name_73 WHERE points = 34 AND losses = 3 |
###context:CREATE TABLE table_name_14 (losses VARCHAR, points VARCHAR, games VARCHAR)
###human: What's the total number of losses with less than 19 points and more than 36 games?
###assistant: SELECT COUNT(losses) FROM table_name_14 WHERE points < 19 AND games > 36 |
###context:CREATE TABLE table_name_78 (season VARCHAR, losses VARCHAR, points VARCHAR, games VARCHAR)
###human: Which season has less than 26 points, more than 18 games, and exactly 13 losses?
###assistant: SELECT season FROM table_name_78 WHERE points < 26 AND games > 18 AND losses = 13 |
###context:CREATE TABLE table_name_71 (crowd INTEGER, away_team VARCHAR)
###human: What is the highest crowd number of the game where the away team was south melbourne?
###assistant: SELECT MAX(crowd) FROM table_name_71 WHERE away_team = "south melbourne" |
###context:CREATE TABLE table_name_73 (home_team VARCHAR, away_team VARCHAR)
###human: What is the home team score that played the away team of north melbourne?
###assistant: SELECT home_team AS score FROM table_name_73 WHERE away_team = "north melbourne" |
###context:CREATE TABLE table_name_47 (away_team VARCHAR, venue VARCHAR)
###human: What is the away team score of the game that was played at princes park?
###assistant: SELECT away_team AS score FROM table_name_47 WHERE venue = "princes park" |
###context:CREATE TABLE table_name_13 (crowd INTEGER, home_team VARCHAR)
###human: If the Home team is carlton, what's the lowest Crowd found?
###assistant: SELECT MIN(crowd) FROM table_name_13 WHERE home_team = "carlton" |
###context:CREATE TABLE table_name_14 (block_a VARCHAR, el_nosawa_mendoza VARCHAR)
###human: What is the Block A value for an El NOSAWA Mendoza value of kondo (7:08)?
###assistant: SELECT block_a FROM table_name_14 WHERE el_nosawa_mendoza = "kondo (7:08)" |
###context:CREATE TABLE table_name_28 (pepe_michinoku VARCHAR, ryuji_hijikata VARCHAR)
###human: What is the PEPE Michinoku value for a Ryuji Hijikata value of sabin (12:33)?
###assistant: SELECT pepe_michinoku FROM table_name_28 WHERE ryuji_hijikata = "sabin (12:33)" |
###context:CREATE TABLE table_name_2 (shuji_kondo VARCHAR, pepe_michinoku VARCHAR)
###human: What is the Shuji Kondo value related to a PEPE Michinoku value of sabin (14:43)?
###assistant: SELECT shuji_kondo FROM table_name_2 WHERE pepe_michinoku = "sabin (14:43)" |
###context:CREATE TABLE table_name_80 (declination___j2000__ VARCHAR, ngc_number INTEGER)
###human: Tell me the declination with NGC number larger than 5750
###assistant: SELECT declination___j2000__ FROM table_name_80 WHERE ngc_number > 5750 |
###context:CREATE TABLE table_name_22 (final_position___round VARCHAR, competition VARCHAR)
###human: Tell me the final position for fa community shield
###assistant: SELECT final_position___round FROM table_name_22 WHERE competition = "fa community shield" |
###context:CREATE TABLE table_name_84 (first_match VARCHAR, last_match VARCHAR)
###human: Name the first match for 11 may 2008
###assistant: SELECT first_match FROM table_name_84 WHERE last_match = "11 may 2008" |
###context:CREATE TABLE table_name_39 (lifetime_india_distributor_share VARCHAR, year INTEGER)
###human: What is the total number of Lifetime India Distributor share earlier than 2009?
###assistant: SELECT COUNT(lifetime_india_distributor_share) FROM table_name_39 WHERE year < 2009 |
###context:CREATE TABLE table_name_66 (date VARCHAR, home_team VARCHAR)
###human: When did South Melbourne play as the home team?
###assistant: SELECT date FROM table_name_66 WHERE home_team = "south melbourne" |
###context:CREATE TABLE table_name_36 (crowd INTEGER, away_team VARCHAR)
###human: What was the largest amount of spectators when St Kilda was the away team?
###assistant: SELECT MAX(crowd) FROM table_name_36 WHERE away_team = "st kilda" |
###context:CREATE TABLE table_name_83 (away_team VARCHAR)
###human: What was Richmond's score when it was the away team?
###assistant: SELECT away_team AS score FROM table_name_83 WHERE away_team = "richmond" |
###context:CREATE TABLE table_name_77 (declination___j2000__ VARCHAR, constellation VARCHAR, right_ascension___j2000__ VARCHAR)
###human: what is the declination (j2000) that has a constellation of hydra and a right ascension (j2000) of 10h46m44.9s?
###assistant: SELECT declination___j2000__ FROM table_name_77 WHERE constellation = "hydra" AND right_ascension___j2000__ = "10h46m44.9s" |
###context:CREATE TABLE table_name_12 (ngc_number INTEGER, object_type VARCHAR, constellation VARCHAR)
###human: What is the ngc number when the object type is lenticular galaxy and the constellation is hydra?
###assistant: SELECT MAX(ngc_number) FROM table_name_12 WHERE object_type = "lenticular galaxy" AND constellation = "hydra" |
###context:CREATE TABLE table_name_98 (object_type VARCHAR, ngc_number VARCHAR)
###human: what is the object type when the ngc number is 3314?
###assistant: SELECT object_type FROM table_name_98 WHERE ngc_number = 3314 |
###context:CREATE TABLE table_name_70 (ngc_number INTEGER, constellation VARCHAR, declination___j2000__ VARCHAR)
###human: what is the ngc number when the constellation is leo and the declination (j2000) is Β°42β²13β³?
###assistant: SELECT AVG(ngc_number) FROM table_name_70 WHERE constellation = "leo" AND declination___j2000__ = "Β°42β²13β³" |
###context:CREATE TABLE table_name_58 (right_ascension___j2000__ VARCHAR, object_type VARCHAR, ngc_number VARCHAR, constellation VARCHAR)
###human: what is the right ascension (j2000) with the ngc number less than 3384, the constellation is hydra and the object type is spiral galaxy?
###assistant: SELECT right_ascension___j2000__ FROM table_name_58 WHERE ngc_number < 3384 AND constellation = "hydra" AND object_type = "spiral galaxy" |
###context:CREATE TABLE table_name_95 (competition VARCHAR, date VARCHAR)
###human: What competition was played on October 7, 2011?
###assistant: SELECT competition FROM table_name_95 WHERE date = "october 7, 2011" |
###context:CREATE TABLE table_name_65 (score VARCHAR, year VARCHAR, result VARCHAR)
###human: What's the score for 1992, with the result of a loss?
###assistant: SELECT score FROM table_name_65 WHERE year = 1992 AND result = "loss" |
###context:CREATE TABLE table_name_80 (national_league VARCHAR, club VARCHAR, national_cup VARCHAR)
###human: What national league has limoges csp, and french basketball cup?
###assistant: SELECT national_league FROM table_name_80 WHERE club = "limoges csp" AND national_cup = "french basketball cup" |
###context:CREATE TABLE table_name_97 (club VARCHAR, national_cup VARCHAR, european_cup VARCHAR)
###human: What is the club that has the turkish basketball cup and fiba eurochallenge (3rd tier)?
###assistant: SELECT club FROM table_name_97 WHERE national_cup = "turkish basketball cup" AND european_cup = "fiba eurochallenge (3rd tier)" |
###context:CREATE TABLE table_name_91 (national_cup VARCHAR, club VARCHAR)
###human: What national cup has fc barcelona?
###assistant: SELECT national_cup FROM table_name_91 WHERE club = "fc barcelona" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.