question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
Which Tikhak has a Yonguk of wu¹ti¹? | CREATE TABLE table_name_77 (tikhak VARCHAR, yonguk VARCHAR) | SELECT tikhak FROM table_name_77 WHERE yonguk = "wu¹ti¹" |
Find the buildings which have rooms with capacity more than 50. | CREATE TABLE classroom (building VARCHAR, capacity INTEGER) | SELECT DISTINCT building FROM classroom WHERE capacity > 50 |
With which kind of payment method were the least number of payments processed? | CREATE TABLE Payments (Payment_Method_Code VARCHAR) | SELECT Payment_Method_Code FROM Payments GROUP BY Payment_Method_Code ORDER BY COUNT(*) LIMIT 1 |
What is the location and what was the attendance on those days when the score was 3-5-1? | CREATE TABLE table_27537870_3 (location_attendance VARCHAR, record VARCHAR) | SELECT location_attendance FROM table_27537870_3 WHERE record = "3-5-1" |
What is the total population in the city/town of Arendal? | CREATE TABLE table_157826_1 (population VARCHAR, city_town VARCHAR) | SELECT COUNT(population) FROM table_157826_1 WHERE city_town = "Arendal" |
how many times was the catalog number cal05 / 0091037137357? | CREATE TABLE table_27303975_3 (title VARCHAR, catalog_number VARCHAR) | SELECT COUNT(title) FROM table_27303975_3 WHERE catalog_number = "CAL05 / 0091037137357" |
What is Local Location, when Resident Country is "Belgium", and when Mission is "Poland"? | CREATE TABLE table_name_68 (local_location VARCHAR, resident_country VARCHAR, mission VARCHAR) | SELECT local_location FROM table_name_68 WHERE resident_country = "belgium" AND mission = "poland" |
Name the 2001 with 2007 of sf | CREATE TABLE table_name_2 (Id VARCHAR) | SELECT 2001 FROM table_name_2 WHERE 2007 = "sf" |
which Streak has a Location/Attendance of staples center, and a Score of 67–89? | CREATE TABLE table_name_1 (streak VARCHAR, location_attendance VARCHAR, score VARCHAR) | SELECT streak FROM table_name_1 WHERE location_attendance = "staples center" AND score = "67–89" |
What is the division record for Woodbridge? | CREATE TABLE table_name_78 (division_record VARCHAR, school VARCHAR) | SELECT division_record FROM table_name_78 WHERE school = "woodbridge" |
Who had a lane number smaller than 7 and a time of 2:19.86? | CREATE TABLE table_name_32 (name VARCHAR, lane VARCHAR, time VARCHAR) | SELECT name FROM table_name_32 WHERE lane < 7 AND time = "2:19.86" |
Which year had a toleman tg183 chassis? | CREATE TABLE table_name_36 (year VARCHAR, chassis VARCHAR) | SELECT COUNT(year) FROM table_name_36 WHERE chassis = "toleman tg183" |
What is the total number of population in the year 2005 where the population density 35.9 (/km 2)? | CREATE TABLE table_1480455_1 (population__2005_ VARCHAR, population_density___km_2__ VARCHAR) | SELECT COUNT(population__2005_) FROM table_1480455_1 WHERE population_density___km_2__ = "35.9" |
What is the average Year Named, when Latitude is 37.9N, and when Diameter (km) is greater than 76? | CREATE TABLE table_name_70 (year_named INTEGER, latitude VARCHAR, diameter__km_ VARCHAR) | SELECT AVG(year_named) FROM table_name_70 WHERE latitude = "37.9n" AND diameter__km_ > 76 |
Killeen Rate of 511.6, and a Texas Rate smaller than 314.4 is the lowest reported offenses? | CREATE TABLE table_name_96 (reported_offenses INTEGER, killeen_rate VARCHAR, texas_rate VARCHAR) | SELECT MIN(reported_offenses) FROM table_name_96 WHERE killeen_rate = 511.6 AND texas_rate < 314.4 |
What was the number of others votes in Columbia county? | CREATE TABLE table_20693870_1 (others_number INTEGER, county VARCHAR) | SELECT MIN(others_number) FROM table_20693870_1 WHERE county = "Columbia" |
When dydek (8) has the highest rebounds who has the highest amount of points? | CREATE TABLE table_18904831_6 (high_points VARCHAR, high_rebounds VARCHAR) | SELECT high_points FROM table_18904831_6 WHERE high_rebounds = "Dydek (8)" |
Name the dominant religion of srpska crnja | CREATE TABLE table_2562572_37 (dominant_religion__2002_ VARCHAR, settlement VARCHAR) | SELECT dominant_religion__2002_ FROM table_2562572_37 WHERE settlement = "Srpska Crnja" |
Who won silver in 1982? | CREATE TABLE table_name_15 (silver VARCHAR, year VARCHAR) | SELECT silver FROM table_name_15 WHERE year = 1982 |
How many episodes directed by david carson? | CREATE TABLE table_25604014_5 (no_in_season VARCHAR, directed_by VARCHAR) | SELECT COUNT(no_in_season) FROM table_25604014_5 WHERE directed_by = "David Carson" |
What is the grid of car no. 3? | CREATE TABLE table_name_17 (grid VARCHAR, car_no VARCHAR) | SELECT grid FROM table_name_17 WHERE car_no = "3" |
Which game site(s) had record of 2-2? | CREATE TABLE table_name_58 (game_site VARCHAR, record VARCHAR) | SELECT game_site FROM table_name_58 WHERE record = "2-2" |
Which Thursday has a Wednesday of 星期三 xingqisen? | CREATE TABLE table_name_51 (thursday VARCHAR, wednesday VARCHAR) | SELECT thursday FROM table_name_51 WHERE wednesday = "星期三 xingqisen" |
What is south melbourne's scores when they are the away team? | CREATE TABLE table_name_32 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_32 WHERE away_team = "south melbourne" |
How much is the GDP for a population density of 254.7? | CREATE TABLE table_name_7 (gdp__ppp__$m_usd VARCHAR, population_density__per_km²_ VARCHAR) | SELECT gdp__ppp__$m_usd FROM table_name_7 WHERE population_density__per_km²_ = "254.7" |
Which Copa Libertadores 1996 has a Team of estudiantes? | CREATE TABLE table_name_10 (copa_libertadores_1996 VARCHAR, team VARCHAR) | SELECT copa_libertadores_1996 FROM table_name_10 WHERE team = "estudiantes" |
How many field goals are there that have 8 touchdowns and more than 49 points? | CREATE TABLE table_name_91 (field_goals INTEGER, touchdowns VARCHAR, points VARCHAR) | SELECT SUM(field_goals) FROM table_name_91 WHERE touchdowns = 8 AND points > 49 |
What competition has a Result of 1–2? | CREATE TABLE table_name_73 (competition VARCHAR, result VARCHAR) | SELECT competition FROM table_name_73 WHERE result = "1–2" |
Which player is pick 64? | CREATE TABLE table_2897457_4 (player VARCHAR, pick__number VARCHAR) | SELECT player FROM table_2897457_4 WHERE pick__number = 64 |
How many scores have a Place of t5? | CREATE TABLE table_name_2 (score VARCHAR, place VARCHAR) | SELECT COUNT(score) FROM table_name_2 WHERE place = "t5" |
What College/Junior/Club Team (League) has a round of 3? | CREATE TABLE table_name_32 (college_junior_club_team__league_ VARCHAR, round VARCHAR) | SELECT college_junior_club_team__league_ FROM table_name_32 WHERE round = 3 |
What was the rank # for opponent AT Baylor? | CREATE TABLE table_name_27 (rank_number VARCHAR, opponent_number VARCHAR) | SELECT rank_number FROM table_name_27 WHERE opponent_number = "at baylor" |
How many seasons have a production code of 204? | CREATE TABLE table_16581695_3 (no_in_season VARCHAR, production_code VARCHAR) | SELECT COUNT(no_in_season) FROM table_16581695_3 WHERE production_code = 204 |
Please show the different statuses, ordered by the number of cities that have each. | CREATE TABLE city (Status VARCHAR) | SELECT Status FROM city GROUP BY Status ORDER BY COUNT(*) |
What round was the player drafted from mississippi valley state? | CREATE TABLE table_name_83 (round VARCHAR, college VARCHAR) | SELECT round FROM table_name_83 WHERE college = "mississippi valley state" |
What is the number that is the lowest overall for the College of Baylor? | CREATE TABLE table_name_44 (overall INTEGER, college VARCHAR) | SELECT MIN(overall) FROM table_name_44 WHERE college = "baylor" |
What is the maximum number of 1st places for the country with exactly 1 third place? | CREATE TABLE table_2876467_3 (first_place INTEGER, third_place VARCHAR) | SELECT MAX(first_place) FROM table_2876467_3 WHERE third_place = 1 |
What is the lowest Stls, when Rebs is greater than 8.6? | CREATE TABLE table_name_27 (stls INTEGER, rebs INTEGER) | SELECT MIN(stls) FROM table_name_27 WHERE rebs > 8.6 |
Tell me the club with a replacement of alberto malesani | CREATE TABLE table_name_8 (club VARCHAR, replacement VARCHAR) | SELECT club FROM table_name_8 WHERE replacement = "alberto malesani" |
What is the Opponents from the final with a Tournament that is puebla? | CREATE TABLE table_name_44 (opponents_in_the_final VARCHAR, tournament VARCHAR) | SELECT opponents_in_the_final FROM table_name_44 WHERE tournament = "puebla" |
Name the season for spvgg bayreuth and fsv salmrohr | CREATE TABLE table_14242137_4 (season VARCHAR, oberliga_bayern VARCHAR, oberliga_südwest VARCHAR) | SELECT season FROM table_14242137_4 WHERE oberliga_bayern = "SpVgg Bayreuth" AND oberliga_südwest = "FSV Salmrohr" |
What was the vote swing for the general election of the 12th lok sabha? | CREATE TABLE table_149330_1 (votes_swing VARCHAR, general_election VARCHAR) | SELECT votes_swing FROM table_149330_1 WHERE general_election = "12th Lok Sabha" |
Which IHSAA Class has a Location of linton? | CREATE TABLE table_name_83 (ihsaa_class VARCHAR, location VARCHAR) | SELECT ihsaa_class FROM table_name_83 WHERE location = "linton" |
Who had a date of 19-02-2003? | CREATE TABLE table_name_23 (player VARCHAR, date VARCHAR) | SELECT player FROM table_name_23 WHERE date = "19-02-2003" |
How many rounds were on July 10? | CREATE TABLE table_21808535_1 (round VARCHAR, date VARCHAR) | SELECT COUNT(round) FROM table_21808535_1 WHERE date = "July 10" |
Which female challengers featured in episode 28? | CREATE TABLE table_24051050_1 (challengers__female_ VARCHAR, episode VARCHAR) | SELECT challengers__female_ FROM table_24051050_1 WHERE episode = 28 |
Show all artist name, age, and country ordered by the yeared they joined. | CREATE TABLE artist (name VARCHAR, age VARCHAR, country VARCHAR, Year_Join VARCHAR) | SELECT name, age, country FROM artist ORDER BY Year_Join |
What is the Result of the game with an Attendance of 64,104? | CREATE TABLE table_name_25 (result VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_25 WHERE attendance = "64,104" |
What regular season result had an average attendance bigger than 3,170? | CREATE TABLE table_name_67 (reg_season VARCHAR, avg_attendance INTEGER) | SELECT reg_season FROM table_name_67 WHERE avg_attendance > 3 OFFSET 170 |
What is the release date of vhs super callanetics? | CREATE TABLE table_name_96 (release_date VARCHAR, format VARCHAR, title VARCHAR) | SELECT release_date FROM table_name_96 WHERE format = "vhs" AND title = "super callanetics" |
What's the average Week with the Result l 23–3? | CREATE TABLE table_name_49 (week INTEGER, result VARCHAR) | SELECT AVG(week) FROM table_name_49 WHERE result = "l 23–3" |
What was the opponent on December 16, 1989? | CREATE TABLE table_name_14 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_14 WHERE date = "december 16, 1989" |
What subject has a plural of am(ô)ra (we)? | CREATE TABLE table_name_56 (subject INTEGER, plural VARCHAR) | SELECT AVG(subject) FROM table_name_56 WHERE plural = "am(ô)ra (we)" |
Which round's position is according to official website? | CREATE TABLE table_name_30 (round VARCHAR, position VARCHAR) | SELECT round FROM table_name_30 WHERE position = "according to official website" |
What was the final score for the game played against @ Milwaukee? | CREATE TABLE table_name_39 (score VARCHAR, team VARCHAR) | SELECT score FROM table_name_39 WHERE team = "@ milwaukee" |
What Player has a Place of t10, a Country of united states, and a Score of 67-73=140? | CREATE TABLE table_name_54 (player VARCHAR, place VARCHAR, country VARCHAR, score VARCHAR) | SELECT player FROM table_name_54 WHERE place = "t10" AND country = "united states" AND score = 67 - 73 = 140 |
What is the length (AA) of the animal whose NCBI accession number is CAM15594.1? | CREATE TABLE table_26957063_3 (length__aa_ INTEGER, ncbi_accession_number VARCHAR) | SELECT MIN(length__aa_) FROM table_26957063_3 WHERE ncbi_accession_number = "CAM15594.1" |
Which Bronze has a Total of 4, and a Gold smaller than 1? | CREATE TABLE table_name_34 (bronze INTEGER, total VARCHAR, gold VARCHAR) | SELECT MIN(bronze) FROM table_name_34 WHERE total = 4 AND gold < 1 |
How many totals had a silver larger than 2? | CREATE TABLE table_name_16 (total VARCHAR, silver INTEGER) | SELECT COUNT(total) FROM table_name_16 WHERE silver > 2 |
What is the away team with a 4 tie no.? | CREATE TABLE table_name_57 (away_team VARCHAR, tie_no VARCHAR) | SELECT away_team FROM table_name_57 WHERE tie_no = "4" |
What is the Director for the episode titled “some lapse of time”? | CREATE TABLE table_name_85 (director VARCHAR, title VARCHAR) | SELECT director FROM table_name_85 WHERE title = "“some lapse of time”" |
What year was the startup for the Project Named of taq taq ph 2? | CREATE TABLE table_name_51 (year_startup VARCHAR, project_name VARCHAR) | SELECT year_startup FROM table_name_51 WHERE project_name = "taq taq ph 2" |
What date was Movistar accredited? | CREATE TABLE table_name_6 (date VARCHAR, network_brand_name VARCHAR) | SELECT date FROM table_name_6 WHERE network_brand_name = "movistar" |
Name the opponent which has a home/away of home and date of july 27 | CREATE TABLE table_name_9 (opponent VARCHAR, home_away VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_9 WHERE home_away = "home" AND date = "july 27" |
In which club is Ledley King a captain? | CREATE TABLE table_name_3 (club VARCHAR, captain VARCHAR) | SELECT club FROM table_name_3 WHERE captain = "ledley king" |
What played has 247 as the points? | CREATE TABLE table_name_63 (played VARCHAR, points_for VARCHAR) | SELECT played FROM table_name_63 WHERE points_for = "247" |
What is the notes of the transmission on channel bbc four and a time of 22:30? | CREATE TABLE table_name_15 (notes VARCHAR, channel VARCHAR, time VARCHAR) | SELECT notes FROM table_name_15 WHERE channel = "bbc four" AND time = "22:30" |
What was the final score when the opponent was Atlético Choloma? | CREATE TABLE table_name_40 (final_score VARCHAR, opponent VARCHAR) | SELECT final_score FROM table_name_40 WHERE opponent = "atlético choloma" |
What is the most points when the entrant was Jaguar racing earlier than 2001? | CREATE TABLE table_name_25 (points INTEGER, entrant VARCHAR, year VARCHAR) | SELECT MAX(points) FROM table_name_25 WHERE entrant = "jaguar racing" AND year < 2001 |
What is the party of the california 35 district? | CREATE TABLE table_name_4 (party VARCHAR, district VARCHAR) | SELECT party FROM table_name_4 WHERE district = "california 35" |
who is the champion where semi-finalist #2 is na and location is morrisville, nc | CREATE TABLE table_11214772_1 (champion VARCHAR, semi_finalist__number2 VARCHAR, location VARCHAR) | SELECT champion FROM table_11214772_1 WHERE semi_finalist__number2 = "NA" AND location = "Morrisville, NC" |
How many times did Ken Wright expired in North Western? | CREATE TABLE table_name_52 (term_expires VARCHAR, province VARCHAR, name VARCHAR) | SELECT COUNT(term_expires) FROM table_name_52 WHERE province = "north western" AND name = "ken wright" |
What is the customer id with most number of cards, and how many does he have? | CREATE TABLE Customers_cards (customer_id VARCHAR) | SELECT customer_id, COUNT(*) FROM Customers_cards GROUP BY customer_id ORDER BY COUNT(*) DESC LIMIT 1 |
what's the party with opponent being marcy kaptur (d) 75.3% randy whitman (r) 24.7% | CREATE TABLE table_1341522_38 (party VARCHAR, opponent VARCHAR) | SELECT party FROM table_1341522_38 WHERE opponent = "Marcy Kaptur (D) 75.3% Randy Whitman (R) 24.7%" |
What is his lowest number of wins? | CREATE TABLE table_2216245_2 (wins INTEGER) | SELECT MIN(wins) FROM table_2216245_2 |
What is the nickname of the college established in 1773? | CREATE TABLE table_name_65 (nickname VARCHAR, established VARCHAR) | SELECT nickname FROM table_name_65 WHERE established = 1773 |
What's the year of the Chassis surtees ts19? | CREATE TABLE table_name_80 (year VARCHAR, chassis VARCHAR) | SELECT year FROM table_name_80 WHERE chassis = "surtees ts19" |
List the publisher of the publication with the highest price. | CREATE TABLE publication (Publisher VARCHAR, Price VARCHAR) | SELECT Publisher FROM publication ORDER BY Price DESC LIMIT 1 |
Which team has a location attendance of Air Canada Centre 19,800 with a record of 41–33? | CREATE TABLE table_name_53 (team VARCHAR, location_attendance VARCHAR, record VARCHAR) | SELECT team FROM table_name_53 WHERE location_attendance = "air canada centre 19,800" AND record = "41–33" |
On what date was Portland on the road for Game 2? | CREATE TABLE table_name_95 (date VARCHAR, road_team VARCHAR, game VARCHAR) | SELECT date FROM table_name_95 WHERE road_team = "portland" AND game = "game 2" |
What was the Last Performance when the status is current cast, and a Name of noah parets? | CREATE TABLE table_name_16 (last_performance VARCHAR, status VARCHAR, name VARCHAR) | SELECT last_performance FROM table_name_16 WHERE status = "current cast" AND name = "noah parets" |
What's was the location for fight against Liam Mccarty? | CREATE TABLE table_name_46 (location VARCHAR, opponent VARCHAR) | SELECT location FROM table_name_46 WHERE opponent = "liam mccarty" |
Which airport's IATA is pen? | CREATE TABLE table_name_31 (airport VARCHAR, iata VARCHAR) | SELECT airport FROM table_name_31 WHERE iata = "pen" |
Who is the mixed doubled on the tour korea super series? | CREATE TABLE table_27753492_2 (mixed_doubles VARCHAR, tour VARCHAR) | SELECT mixed_doubles FROM table_27753492_2 WHERE tour = "Korea Super Series" |
How many were in attendance during week 12? | CREATE TABLE table_name_78 (attendance VARCHAR, week VARCHAR) | SELECT attendance FROM table_name_78 WHERE week = 12 |
what is the total number of games played when the goals for is less than 30? | CREATE TABLE table_name_8 (games_played VARCHAR, goals_for INTEGER) | SELECT COUNT(games_played) FROM table_name_8 WHERE goals_for < 30 |
Which Hereditary peers have a Total of 1? | CREATE TABLE table_name_15 (hereditary_peers VARCHAR, total VARCHAR) | SELECT hereditary_peers FROM table_name_15 WHERE total = 1 |
Find the names and publication dates of all catalogs that have catalog level number greater than 5. | CREATE TABLE catalogs (catalog_name VARCHAR, date_of_publication VARCHAR, catalog_id VARCHAR); CREATE TABLE catalog_structure (catalog_id VARCHAR) | SELECT t1.catalog_name, t1.date_of_publication FROM catalogs AS t1 JOIN catalog_structure AS t2 ON t1.catalog_id = t2.catalog_id WHERE catalog_level_number > 5 |
Who was the sports agent who finished 9th? | CREATE TABLE table_name_61 (name VARCHAR, finish VARCHAR, occupation VARCHAR) | SELECT name FROM table_name_61 WHERE finish = "9th" AND occupation = "sports agent" |
what's the total number of report with date 29 april | CREATE TABLE table_1140080_2 (report VARCHAR, date VARCHAR) | SELECT COUNT(report) FROM table_1140080_2 WHERE date = "29 April" |
Which Played has a Position larger than 5, a Points larger than 0, and a Drawn smaller than 0? | CREATE TABLE table_name_26 (played INTEGER, drawn VARCHAR, position VARCHAR, points VARCHAR) | SELECT MAX(played) FROM table_name_26 WHERE position > 5 AND points > 0 AND drawn < 0 |
Which of the Canterbury has a Central District of 276* M.D. Crowe & P.S. Briasco V (C) 1986/87? | CREATE TABLE table_name_67 (canterbury VARCHAR, central_districts VARCHAR) | SELECT canterbury FROM table_name_67 WHERE central_districts = "276* m.d. crowe & p.s. briasco v (c) 1986/87" |
Name the ryusuke taguchi for Jushin Liger of liger (9:57) | CREATE TABLE table_name_53 (ryusuke_taguchi VARCHAR, jushin_liger VARCHAR) | SELECT ryusuke_taguchi FROM table_name_53 WHERE jushin_liger = "liger (9:57)" |
what is the game when on november 27? | CREATE TABLE table_name_26 (game INTEGER, november VARCHAR) | SELECT SUM(game) FROM table_name_26 WHERE november = 27 |
When 0 - 1 barbiero 78' is the score how many measurements of attendance are there? | CREATE TABLE table_21377473_7 (attendance VARCHAR, score VARCHAR) | SELECT COUNT(attendance) FROM table_21377473_7 WHERE score = "0 - 1 Barbiero 78'" |
What is the qual 2 with a 1:10.949 best? | CREATE TABLE table_name_65 (qual_2 VARCHAR, best VARCHAR) | SELECT qual_2 FROM table_name_65 WHERE best = "1:10.949" |
What's the inception for the country with 25.5 billion USD in assets and an abbreviation of psf? | CREATE TABLE table_name_47 (inception VARCHAR, assets_us$billion VARCHAR, abbreviation VARCHAR) | SELECT inception FROM table_name_47 WHERE assets_us$billion = "25.5" AND abbreviation = "psf" |
Give me the minimum number of people in 1991 with 92.5% of Slovenes in 1991. | CREATE TABLE table_10798421_1 (number_of_people_1991 INTEGER, percent_of_slovenes_1991 VARCHAR) | SELECT MIN(number_of_people_1991) FROM table_10798421_1 WHERE percent_of_slovenes_1991 = "92.5%" |
Who was the director of the king's speech? | CREATE TABLE table_name_77 (director VARCHAR, original_title VARCHAR) | SELECT director FROM table_name_77 WHERE original_title = "the king's speech" |
When was the note a vocals and the album north (original motion picture soundtrack)? | CREATE TABLE table_name_62 (year VARCHAR, note VARCHAR, album VARCHAR) | SELECT year FROM table_name_62 WHERE note = "vocals" AND album = "north (original motion picture soundtrack)" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.