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