question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
How many locations for name of role as Xiao Gui 小鬼? | CREATE TABLE table_23379776_5 (location VARCHAR, name_of_role VARCHAR) | SELECT COUNT(location) FROM table_23379776_5 WHERE name_of_role = "Xiao Gui 小鬼" |
Show different types of ships and the average tonnage of ships of each type. | CREATE TABLE ship (TYPE VARCHAR, Tonnage INTEGER) | SELECT TYPE, AVG(Tonnage) FROM ship GROUP BY TYPE |
What day did the team play on week 8? | CREATE TABLE table_name_55 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_55 WHERE week = 8 |
Can you tell me the highest Cargo traffic that has the Airport of barcelona airport, and the Aircraft movements smaller than 290,004? | CREATE TABLE table_name_82 (cargo_traffic INTEGER, airport VARCHAR, aircraft_movements VARCHAR) | SELECT MAX(cargo_traffic) FROM table_name_82 WHERE airport = "barcelona airport" AND aircraft_movements < 290 OFFSET 004 |
What are the most Points with an Assist of 46? | CREATE TABLE table_name_53 (points INTEGER, assists VARCHAR) | SELECT MAX(points) FROM table_name_53 WHERE assists = 46 |
What number has the builder ruston hornsby, the date 1961, and the name Topsy? | CREATE TABLE table_name_10 (number VARCHAR, name VARCHAR, builder VARCHAR, date VARCHAR) | SELECT COUNT(number) FROM table_name_10 WHERE builder = "ruston hornsby" AND date = 1961 AND name = "topsy" |
What was the latest week that had a game on November 18, 1951? | CREATE TABLE table_name_91 (week INTEGER, date VARCHAR) | SELECT MAX(week) FROM table_name_91 WHERE date = "november 18, 1951" |
What position is for Plant high school? | CREATE TABLE table_name_47 (position VARCHAR, school VARCHAR) | SELECT position FROM table_name_47 WHERE school = "plant high school" |
What is the amount of time (sum) at 40° that it takes a 16 lb shell to reach a maximum of no more than 22,000 ft? | CREATE TABLE table_name_80 (time_to_ft__m__at_40 VARCHAR, shell__lb_ VARCHAR, max_height__ft_ VARCHAR) | SELECT COUNT(time_to_ft__m__at_40) AS °__seconds_ FROM table_name_80 WHERE shell__lb_ = 16 AND max_height__ft_ < 22 OFFSET 000 |
How many episodes are there for the three darts challenge with Sharon Osbourne? | CREATE TABLE table_26733129_1 (episode_number INTEGER, three_darts_challenge VARCHAR) | SELECT MAX(episode_number) FROM table_26733129_1 WHERE three_darts_challenge = "Sharon Osbourne" |
Which Total has a Rank of 5, and a Bronze smaller than 0? | CREATE TABLE table_name_67 (total INTEGER, rank VARCHAR, bronze VARCHAR) | SELECT AVG(total) FROM table_name_67 WHERE rank = "5" AND bronze < 0 |
What is the Head Coach of Novy Urengoy? | CREATE TABLE table_name_43 (head_coach VARCHAR, town VARCHAR) | SELECT head_coach FROM table_name_43 WHERE town = "novy urengoy" |
What's season 3's premiere date? | CREATE TABLE table_1949994_7 (premiere_air_dates VARCHAR, no VARCHAR) | SELECT premiere_air_dates FROM table_1949994_7 WHERE no = 3 |
Name the result for goal # more than 4 | CREATE TABLE table_name_92 (result VARCHAR, goal__number INTEGER) | SELECT result FROM table_name_92 WHERE goal__number > 4 |
What is the annual inflation % when GDP per capita in ppp US$ is 24505 in 2012? | CREATE TABLE table_1598533_8 (inflation__percentage_annual__2012_ VARCHAR, gdp_per_capita_in_ppp_us$__2012_ VARCHAR) | SELECT inflation__percentage_annual__2012_ FROM table_1598533_8 WHERE gdp_per_capita_in_ppp_us$__2012_ = 24505 |
What is the average Year that has a Quantity of 10, and a GWR Numbers of 409, 290, 315, 317–321, 324, 333? | CREATE TABLE table_name_49 (year INTEGER, quantity VARCHAR, gwr_numbers VARCHAR) | SELECT AVG(year) FROM table_name_49 WHERE quantity = 10 AND gwr_numbers = "409, 290, 315, 317–321, 324, 333" |
Who was the oppenent what the score was L 68-60? | CREATE TABLE table_17104539_10 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_17104539_10 WHERE score = "L 68-60" |
What tournament was after 2009? | CREATE TABLE table_name_8 (tournament VARCHAR, year INTEGER) | SELECT tournament FROM table_name_8 WHERE year > 2009 |
Name the colors for north canton | CREATE TABLE table_26466528_1 (colors VARCHAR, location VARCHAR) | SELECT colors FROM table_26466528_1 WHERE location = "North Canton" |
What amount of prize money was there when the rank was less than 7, there were more than 6 events, and the country was Fiji? | CREATE TABLE table_name_94 (prize_money___$__ VARCHAR, country VARCHAR, rank VARCHAR, events VARCHAR) | SELECT prize_money___$__ FROM table_name_94 WHERE rank < 7 AND events > 6 AND country = "fiji" |
What is Partner, when Surface is Hard, and when Score is 6–3, 7–6(0)? | CREATE TABLE table_name_94 (partner VARCHAR, surface VARCHAR, score VARCHAR) | SELECT partner FROM table_name_94 WHERE surface = "hard" AND score = "6–3, 7–6(0)" |
What is the result on Saturday when it's रविवार ravivār on Sunday and मंगळवार mangaḷavār on Tuesday? | CREATE TABLE table_name_41 (saturday_shani__saturn_ VARCHAR, sunday_surya__the_sun_ VARCHAR, tuesday_mangala__mars_ VARCHAR) | SELECT saturday_shani__saturn_ FROM table_name_41 WHERE sunday_surya__the_sun_ = "रविवार ravivār" AND tuesday_mangala__mars_ = "मंगळवार mangaḷavār" |
The candidates Charles Fisher (DR) 65.1% W. Jones (F) 34.9% is for what incumbent? | CREATE TABLE table_2668336_17 (incumbent VARCHAR, candidates VARCHAR) | SELECT incumbent FROM table_2668336_17 WHERE candidates = "Charles Fisher (DR) 65.1% W. Jones (F) 34.9%" |
How many schools founded in 2006? | CREATE TABLE table_2076522_2 (accreditation VARCHAR, founded VARCHAR) | SELECT COUNT(accreditation) FROM table_2076522_2 WHERE founded = 2006 |
Who presented their credentials at an unknown date? | CREATE TABLE table_name_11 (name VARCHAR, presentation_of_credentials VARCHAR) | SELECT name FROM table_name_11 WHERE presentation_of_credentials = "unknown" |
Which city is Lawrenceburg school, with an IHSAA football class of aaa and less than 676 enrollments, located in? | CREATE TABLE table_name_84 (city VARCHAR, school VARCHAR, ihsaa_football_class VARCHAR, enrollment VARCHAR) | SELECT city FROM table_name_84 WHERE ihsaa_football_class = "aaa" AND enrollment < 676 AND school = "lawrenceburg" |
What pick was roger holdinsky? | CREATE TABLE table_name_26 (pick VARCHAR, player VARCHAR) | SELECT pick FROM table_name_26 WHERE player = "roger holdinsky" |
Can you tell me the Game that has the Opponent of miami heat? | CREATE TABLE table_name_19 (game VARCHAR, opponent VARCHAR) | SELECT game FROM table_name_19 WHERE opponent = "miami heat" |
Who is the player from Sweden from a round after 3? | CREATE TABLE table_name_77 (player VARCHAR, nationality VARCHAR, round VARCHAR) | SELECT player FROM table_name_77 WHERE nationality = "sweden" AND round > 3 |
What is the lowest league goals that have 0 as the FA Cup Apps, with 1 (3) as totals apps? | CREATE TABLE table_name_46 (league_goals INTEGER, fa_cup_apps VARCHAR, total_apps VARCHAR) | SELECT MIN(league_goals) FROM table_name_46 WHERE fa_cup_apps = "0" AND total_apps = "1 (3)" |
When did 6.09 million people in the US see the original airing of an episode of the show? | CREATE TABLE table_23242933_2 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) | SELECT original_air_date FROM table_23242933_2 WHERE us_viewers__millions_ = "6.09" |
What is the total of apps for Keith Treacy? | CREATE TABLE table_name_37 (apps INTEGER, name VARCHAR) | SELECT SUM(apps) FROM table_name_37 WHERE name = "keith treacy" |
how many wiaa classifications does fort vancouver high school have? | CREATE TABLE table_22058547_1 (wiaa_classification VARCHAR, high_school VARCHAR) | SELECT COUNT(wiaa_classification) FROM table_22058547_1 WHERE high_school = "Fort Vancouver" |
What's the average of shows that had a timeslot rank greater that 3 but still had a smaller viewership less than 4.87? | CREATE TABLE table_name_29 (share INTEGER, viewers__m_ VARCHAR, timeslot VARCHAR) | SELECT AVG(share) FROM table_name_29 WHERE RANK(timeslot) > 3 AND viewers__m_ < 4.87 |
How many games are held after season 2007? | CREATE TABLE game (season INTEGER) | SELECT COUNT(*) FROM game WHERE season > 2007 |
Which tournament was held after 1966? | CREATE TABLE table_name_73 (tournament VARCHAR, year INTEGER) | SELECT tournament FROM table_name_73 WHERE year > 1966 |
What is the Southbridge when the CPU support was athlon, athlonxp, duron( socketa ), alpha21264? | CREATE TABLE table_name_56 (southbridge VARCHAR, cpu_support VARCHAR) | SELECT southbridge FROM table_name_56 WHERE cpu_support = "athlon, athlonxp, duron( socketa ), alpha21264" |
When 1462/63 was the elected what was the no.? | CREATE TABLE table_1827690_4 (no VARCHAR, elected VARCHAR) | SELECT no FROM table_1827690_4 WHERE elected = "1462/63" |
Which date has the tom gullikson butch walts final, and who was the runner-up? | CREATE TABLE table_name_74 (date VARCHAR, outcome VARCHAR, opponents_in_the_final VARCHAR) | SELECT date FROM table_name_74 WHERE outcome = "runner-up" AND opponents_in_the_final = "tom gullikson butch walts" |
Find the number and averaged salary of all instructors who are in the department with the highest budget. | CREATE TABLE department (dept_name VARCHAR, budget VARCHAR); CREATE TABLE instructor (salary INTEGER, dept_name VARCHAR) | SELECT AVG(T1.salary), COUNT(*) FROM instructor AS T1 JOIN department AS T2 ON T1.dept_name = T2.dept_name ORDER BY T2.budget DESC LIMIT 1 |
who was the trofeo fast team in stage 10? | CREATE TABLE table_name_32 (trofeo_fast_team VARCHAR, stage VARCHAR) | SELECT trofeo_fast_team FROM table_name_32 WHERE stage = "10" |
What is the lowest number of places for Sherri Baier / Robin Cowan when ranked lower than 1? | CREATE TABLE table_name_70 (places INTEGER, name VARCHAR, rank VARCHAR) | SELECT MIN(places) FROM table_name_70 WHERE name = "sherri baier / robin cowan" AND rank < 1 |
Name the date for when the home/away is away and the opponent is bayhawks | CREATE TABLE table_name_81 (date VARCHAR, home_away VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_81 WHERE home_away = "away" AND opponent = "bayhawks" |
What is the score of the away team that played richmond? | CREATE TABLE table_name_27 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_27 WHERE home_team = "richmond" |
Which Position has a Round larger than 14, and an Overall smaller than 419? | CREATE TABLE table_name_70 (position VARCHAR, round VARCHAR, overall VARCHAR) | SELECT position FROM table_name_70 WHERE round > 14 AND overall < 419 |
How many different countries are all the swimmers from? | CREATE TABLE swimmer (nationality VARCHAR) | SELECT COUNT(DISTINCT nationality) FROM swimmer |
Who was the runner up in the konica san jose classic Tournament? | CREATE TABLE table_name_60 (runner_up VARCHAR, tournament VARCHAR) | SELECT runner_up FROM table_name_60 WHERE tournament = "konica san jose classic" |
How much is the GDP for an area of 116? | CREATE TABLE table_name_26 (gdp__ppp__$m_usd VARCHAR, area__km²_ VARCHAR) | SELECT gdp__ppp__$m_usd FROM table_name_26 WHERE area__km²_ = "116" |
What is Ido Kozikaro's position? | CREATE TABLE table_12962773_2 (position VARCHAR, player VARCHAR) | SELECT position FROM table_12962773_2 WHERE player = "Ido Kozikaro" |
WHAT IS THE CARRIER FOR 4.7.0.208 VERSION? | CREATE TABLE table_name_25 (carrier VARCHAR, package_version VARCHAR) | SELECT carrier FROM table_name_25 WHERE package_version = "4.7.0.208" |
List records for game 29. | CREATE TABLE table_27734286_6 (record VARCHAR, game VARCHAR) | SELECT record FROM table_27734286_6 WHERE game = 29 |
What is the ranking of the movie made at Walt Disney Pictures? | CREATE TABLE table_name_50 (rank VARCHAR, studio VARCHAR) | SELECT rank FROM table_name_50 WHERE studio = "walt disney pictures" |
What is the language spoken by the largest percentage of people in each country? | CREATE TABLE countrylanguage (LANGUAGE VARCHAR, CountryCode VARCHAR, Percentage INTEGER) | SELECT LANGUAGE, CountryCode, MAX(Percentage) FROM countrylanguage GROUP BY CountryCode |
Which Year has a Group of césar awards, and a Result of nominated, and an Award of the best actress, and a Film of 8 women (8 femmes)? | CREATE TABLE table_name_41 (year INTEGER, film VARCHAR, award VARCHAR, group VARCHAR, result VARCHAR) | SELECT AVG(year) FROM table_name_41 WHERE group = "césar awards" AND result = "nominated" AND award = "best actress" AND film = "8 women (8 femmes)" |
плоцкая губерния governs an area with what area (in thousand km 2)? | CREATE TABLE table_11614581_3 (area VARCHAR, _in_thousands_of_km_2 VARCHAR, name_in_russian VARCHAR) | SELECT area, _in_thousands_of_km_2 FROM table_11614581_3 WHERE name_in_russian = "Плоцкая губерния" |
Which Venue has a Result of 5-1, and a Score of 1-0? | CREATE TABLE table_name_72 (venue VARCHAR, result VARCHAR, score VARCHAR) | SELECT venue FROM table_name_72 WHERE result = "5-1" AND score = "1-0" |
What's the G.A. when there were 2 losses and Scotland played? | CREATE TABLE table_name_33 (ga VARCHAR, losses VARCHAR, team VARCHAR) | SELECT ga FROM table_name_33 WHERE losses = "2" AND team = "scotland" |
What is the original artist that has 11 as the order number? | CREATE TABLE table_name_69 (original_artist VARCHAR, order__number VARCHAR) | SELECT original_artist FROM table_name_69 WHERE order__number = "11" |
What species has more than 2,030 genes? | CREATE TABLE table_name_22 (species VARCHAR, genes INTEGER) | SELECT species FROM table_name_22 WHERE genes > 2 OFFSET 030 |
What is the lowest enrollment at the pioneer school? | CREATE TABLE table_name_39 (enrollment INTEGER, school VARCHAR) | SELECT MIN(enrollment) FROM table_name_39 WHERE school = "pioneer" |
Who got high assists for the game played on February 9? | CREATE TABLE table_10812293_6 (high_assists VARCHAR, date VARCHAR) | SELECT high_assists FROM table_10812293_6 WHERE date = "February 9" |
What is the name of the customer that has purchased the most items? | CREATE TABLE order_items (order_id VARCHAR, order_quantity INTEGER); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR) | SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id GROUP BY t1.customer_name ORDER BY SUM(t3.order_quantity) DESC LIMIT 1 |
Name the number of won for goals for being 274 | CREATE TABLE table_2509505_1 (won VARCHAR, goals_for VARCHAR) | SELECT COUNT(won) FROM table_2509505_1 WHERE goals_for = 274 |
How man players checked out at 84? | CREATE TABLE table_24549777_1 (player VARCHAR, high_checkout VARCHAR) | SELECT COUNT(player) FROM table_24549777_1 WHERE high_checkout = 84 |
What is the fewest amendments sponsored associated with 150 bills originally cosponsored and over 247 bills cosponsored? | CREATE TABLE table_name_52 (all_amendments_sponsored INTEGER, bills_originally_cosponsored VARCHAR, all_bills_cosponsored VARCHAR) | SELECT MIN(all_amendments_sponsored) FROM table_name_52 WHERE bills_originally_cosponsored = 150 AND all_bills_cosponsored > 247 |
What percentage of free/reduced lunch are there when the hispanic percentage is 3.7? | CREATE TABLE table_14754471_1 (free_reduced_lunch___percentage_ VARCHAR, hispanic___percentage_ VARCHAR) | SELECT free_reduced_lunch___percentage_ FROM table_14754471_1 WHERE hispanic___percentage_ = "3.7" |
What is the total laps when manufacturer of gilera has time of 40:19.910 and grid is larger than 3? | CREATE TABLE table_name_86 (laps INTEGER, grid VARCHAR, manufacturer VARCHAR, time VARCHAR) | SELECT SUM(laps) FROM table_name_86 WHERE manufacturer = "gilera" AND time = "40:19.910" AND grid > 3 |
Tell me the highest PI GP with pick # greater than 159 and reg GP more than 0 | CREATE TABLE table_name_97 (pl_gp INTEGER, pick__number VARCHAR, reg_gp VARCHAR) | SELECT MAX(pl_gp) FROM table_name_97 WHERE pick__number > 159 AND reg_gp > 0 |
Name the candidates for illinois 15 | CREATE TABLE table_1341672_14 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_1341672_14 WHERE district = "Illinois 15" |
What is the total number of gold medals for the skater with less than 3 bronze medals, more than 0 silver medals and a rank smaller than 11? | CREATE TABLE table_name_17 (gold VARCHAR, silver VARCHAR, bronze VARCHAR, rank VARCHAR) | SELECT COUNT(gold) FROM table_name_17 WHERE bronze < 3 AND rank < 11 AND silver > 0 |
What is the date that the Institution of Lynn University was founded on? | CREATE TABLE table_name_69 (founded VARCHAR, institution VARCHAR) | SELECT founded FROM table_name_69 WHERE institution = "lynn university" |
How many Ints have a Rating smaller than 87, and Yards larger than 4? | CREATE TABLE table_name_19 (int INTEGER, rating VARCHAR, yards VARCHAR) | SELECT AVG(int) FROM table_name_19 WHERE rating < 87 AND yards > 4 |
Who is the visitor of the game on March 7? | CREATE TABLE table_name_48 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_48 WHERE date = "march 7" |
What is the highest round with a pick# of 9, overll less than 468, and position of defensive back? | CREATE TABLE table_name_77 (round INTEGER, overall VARCHAR, pick__number VARCHAR, position VARCHAR) | SELECT MAX(round) FROM table_name_77 WHERE pick__number = 9 AND position = "defensive back" AND overall < 468 |
What's the to Iran with fewer than 9 survivors, more than 3 damaged, and an ussr an-26 aircraft? | CREATE TABLE table_name_9 (to_iran INTEGER, damaged VARCHAR, survived VARCHAR, aircraft VARCHAR) | SELECT AVG(to_iran) FROM table_name_9 WHERE survived < 9 AND aircraft = "ussr an-26" AND damaged > 3 |
How many cuts did the player who earned 210408 Euro make? | CREATE TABLE table_28540609_2 (cuts_made VARCHAR, earnings__€_ VARCHAR) | SELECT cuts_made FROM table_28540609_2 WHERE earnings__€_ = 210408 |
Name the number of players from arizona | CREATE TABLE table_15621965_10 (player VARCHAR, school_club_team VARCHAR) | SELECT COUNT(player) FROM table_15621965_10 WHERE school_club_team = "Arizona" |
What is the average of points for 8th place with draw more than 8? | CREATE TABLE table_name_55 (points INTEGER, place VARCHAR, draw VARCHAR) | SELECT AVG(points) FROM table_name_55 WHERE place = "8th" AND draw > 8 |
Which 2007 has a Country or territory of china, and a 2002 smaller than 670,099? | CREATE TABLE table_name_96 (country_or_territory VARCHAR) | SELECT MIN(2007) FROM table_name_96 WHERE country_or_territory = "china" AND 2002 < 670 OFFSET 099 |
Which name has Years of 1–8, a Decile of 9, and a Roll smaller than 141? | CREATE TABLE table_name_20 (name VARCHAR, roll VARCHAR, years VARCHAR, decile VARCHAR) | SELECT name FROM table_name_20 WHERE years = "1–8" AND decile = 9 AND roll < 141 |
What is the least points for class 125cc with 1 win earlier than 1961? | CREATE TABLE table_name_57 (points INTEGER, year VARCHAR, class VARCHAR, wins VARCHAR) | SELECT MIN(points) FROM table_name_57 WHERE class = "125cc" AND wins = 1 AND year < 1961 |
What is the fewest gold medals for the nation with 4 silvers and more than 4 bronze? | CREATE TABLE table_name_4 (gold INTEGER, silver VARCHAR, bronze VARCHAR) | SELECT MIN(gold) FROM table_name_4 WHERE silver = 4 AND bronze > 4 |
Name the score for december 5 | CREATE TABLE table_name_36 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_36 WHERE date = "december 5" |
How many goals when more than 10 games played? | CREATE TABLE table_name_79 (goals_for INTEGER, played INTEGER) | SELECT AVG(goals_for) FROM table_name_79 WHERE played > 10 |
Name the Place of seve ballesteros? | CREATE TABLE table_name_35 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_35 WHERE player = "seve ballesteros" |
Which Bronze has a Nation of spain? | CREATE TABLE table_name_99 (bronze INTEGER, nation VARCHAR) | SELECT MAX(bronze) FROM table_name_99 WHERE nation = "spain" |
What attendance has Washington redskins as the opponent? | CREATE TABLE table_name_89 (attendance VARCHAR, opponent VARCHAR) | SELECT attendance FROM table_name_89 WHERE opponent = "washington redskins" |
What are the birth date and birth place of the body builder with the highest total points? | CREATE TABLE body_builder (People_ID VARCHAR, Total VARCHAR); CREATE TABLE people (Birth_Date VARCHAR, Birth_Place VARCHAR, People_ID VARCHAR) | SELECT T2.Birth_Date, T2.Birth_Place FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Total DESC LIMIT 1 |
What is Finish, when Country is "South Africa"? | CREATE TABLE table_name_54 (finish VARCHAR, country VARCHAR) | SELECT finish FROM table_name_54 WHERE country = "south africa" |
What is Robert Allenby's average to par score? | CREATE TABLE table_name_88 (to_par INTEGER, player VARCHAR) | SELECT AVG(to_par) FROM table_name_88 WHERE player = "robert allenby" |
Which driver drove a Ferrari in the 2007 European Grand Prix with a grid less than 3? | CREATE TABLE table_name_78 (driver VARCHAR, constructor VARCHAR, grid VARCHAR) | SELECT driver FROM table_name_78 WHERE constructor = "ferrari" AND grid < 3 |
What is the repeat date of the episode that aired 22/12/1968? | CREATE TABLE table_13403120_1 (repeatairdate_s_ VARCHAR, originalairdate VARCHAR) | SELECT repeatairdate_s_ FROM table_13403120_1 WHERE originalairdate = "22/12/1968" |
Who was the cover model in the 7-86 issue? | CREATE TABLE table_1566848_7 (cover_model VARCHAR, date VARCHAR) | SELECT cover_model FROM table_1566848_7 WHERE date = "7-86" |
Which 2012 has a 2009 smaller than 3.38? | CREATE TABLE table_name_33 (Id VARCHAR) | SELECT AVG(2012) FROM table_name_33 WHERE 2009 < 3.38 |
Name the Mountain Peak which has a Rank of 62? | CREATE TABLE table_name_2 (mountain_peak VARCHAR, rank VARCHAR) | SELECT mountain_peak FROM table_name_2 WHERE rank = 62 |
What is the average year Rich Beem had a to par less than 17? | CREATE TABLE table_name_20 (year_won INTEGER, player VARCHAR, to_par VARCHAR) | SELECT AVG(year_won) FROM table_name_20 WHERE player = "rich beem" AND to_par < 17 |
How many different team captains does the club Sliven 2000 have? | CREATE TABLE table_23214833_1 (team_captain VARCHAR, club VARCHAR) | SELECT COUNT(team_captain) FROM table_23214833_1 WHERE club = "Sliven 2000" |
When segment b is dining room tables what is segment d? | CREATE TABLE table_15187735_5 (segment_d VARCHAR, segment_b VARCHAR) | SELECT segment_d FROM table_15187735_5 WHERE segment_b = "Dining Room Tables" |
How much Gold has a Silver smaller than 14, and a Rank larger than 8, and a Bronze of 3? | CREATE TABLE table_name_80 (gold VARCHAR, bronze VARCHAR, silver VARCHAR, rank VARCHAR) | SELECT COUNT(gold) FROM table_name_80 WHERE silver < 14 AND rank > 8 AND bronze = 3 |
How many people attended the game that ended 4-6? | CREATE TABLE table_name_15 (attendance VARCHAR, score VARCHAR) | SELECT COUNT(attendance) FROM table_name_15 WHERE score = "4-6" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.