question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
Provide me with the names of all the villages (German) that has 76.3% of Slovenes in 1951. | CREATE TABLE table_10798421_1 (village__german_ VARCHAR, percent_of_slovenes_1951 VARCHAR) | SELECT village__german_ FROM table_10798421_1 WHERE percent_of_slovenes_1951 = "76.3%" |
Who plays the right wing position? | CREATE TABLE table_name_66 (player VARCHAR, position VARCHAR) | SELECT player FROM table_name_66 WHERE position = "right wing" |
What is the letter for the Brisish ɒ? | CREATE TABLE table_name_74 (letter VARCHAR, british VARCHAR) | SELECT letter FROM table_name_74 WHERE british = "ɒ" |
How many exhibitions have a attendance more than 100 or have a ticket price below 10? | CREATE TABLE exhibition_record (exhibition_id VARCHAR, attendance VARCHAR); CREATE TABLE exhibition (exhibition_id VARCHAR, ticket_price VARCHAR) | SELECT COUNT(*) FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id = T2.exhibition_id WHERE T1.attendance > 100 OR T2.ticket_price < 10 |
What is the PCI-express with a ddr2 memory and a nforce 520 model? | CREATE TABLE table_name_80 (pci_express VARCHAR, memory VARCHAR, model VARCHAR) | SELECT pci_express FROM table_name_80 WHERE memory = "ddr2" AND model = "nforce 520" |
Name the average attendance from june 11 | CREATE TABLE table_name_50 (attendance INTEGER, date VARCHAR) | SELECT AVG(attendance) FROM table_name_50 WHERE date = "june 11" |
if the peak is 9, how many weeks was it in the top 10? | CREATE TABLE table_26400041_2 (weeks_in_top_10 INTEGER, peak VARCHAR) | SELECT MAX(weeks_in_top_10) FROM table_26400041_2 WHERE peak = 9 |
For each state, find the total account balance of customers whose credit score is above 100. | CREATE TABLE customer (state VARCHAR, acc_bal INTEGER, credit_score INTEGER) | SELECT SUM(acc_bal), state FROM customer WHERE credit_score > 100 GROUP BY state |
What team has brad miller (8) as the high assists? | CREATE TABLE table_name_76 (team VARCHAR, high_assists VARCHAR) | SELECT team FROM table_name_76 WHERE high_assists = "brad miller (8)" |
Which party has a net gain/loss of -2? | CREATE TABLE table_name_19 (party VARCHAR, net_gain_loss VARCHAR) | SELECT party FROM table_name_19 WHERE net_gain_loss = "-2" |
which station is located in edmonton | CREATE TABLE table_1397655_1 (station VARCHAR, city VARCHAR) | SELECT station FROM table_1397655_1 WHERE city = "Edmonton" |
What region is on 11 August 2008? | CREATE TABLE table_name_4 (region VARCHAR, date VARCHAR) | SELECT region FROM table_name_4 WHERE date = "11 august 2008" |
What was the record after game 37? | CREATE TABLE table_name_70 (record VARCHAR, game VARCHAR) | SELECT record FROM table_name_70 WHERE game = 37 |
Which artist has the most albums? | CREATE TABLE ALBUM (ArtistId VARCHAR); CREATE TABLE ARTIST (Name VARCHAR, ArtistId VARCHAR) | SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId GROUP BY T2.Name ORDER BY COUNT(*) DESC LIMIT 1 |
What is the label of the album titled 與你相逢 and released in 1994? | CREATE TABLE table_name_63 (label_s_ VARCHAR, year_of_release VARCHAR, title VARCHAR) | SELECT label_s_ FROM table_name_63 WHERE year_of_release = 1994 AND title = "與你相逢" |
What was the record at the game that had a loss of Brandon (4–8)? | CREATE TABLE table_name_86 (record VARCHAR, loss VARCHAR) | SELECT record FROM table_name_86 WHERE loss = "brandon (4–8)" |
What is the location where Denny Hulme was the driver? | CREATE TABLE table_name_54 (location VARCHAR, driver VARCHAR) | SELECT location FROM table_name_54 WHERE driver = "denny hulme" |
Show the name of storms which don't have affected region in record. | CREATE TABLE affected_region (name VARCHAR, storm_id VARCHAR); CREATE TABLE storm (name VARCHAR, storm_id VARCHAR) | SELECT name FROM storm WHERE NOT storm_id IN (SELECT storm_id FROM affected_region) |
Name the date for game 8 | CREATE TABLE table_21091157_1 (date VARCHAR, game VARCHAR) | SELECT date FROM table_21091157_1 WHERE game = 8 |
What's the choice score of the player who weights 303lb (137kg)? | CREATE TABLE table_20861261_4 (choice INTEGER, weight VARCHAR) | SELECT MIN(choice) FROM table_20861261_4 WHERE weight = "303lb (137kg)" |
What country in Kunlong in? | CREATE TABLE table_name_46 (country VARCHAR, location VARCHAR) | SELECT country FROM table_name_46 WHERE location = "kunlong" |
Can you tell me the Gold that has the Silver of south korea, and the Year of 1986? | CREATE TABLE table_name_39 (gold VARCHAR, silver VARCHAR, year VARCHAR) | SELECT gold FROM table_name_39 WHERE silver = "south korea" AND year = 1986 |
How much freedom can did the people of Guinea experience in 2013? | CREATE TABLE table_1604579_2 (freedom_in_the_world_2013 VARCHAR, country VARCHAR) | SELECT freedom_in_the_world_2013 FROM table_1604579_2 WHERE country = "Guinea" |
What position did the CFL player drafted out of college of toronto in 2007 play? | CREATE TABLE table_name_22 (position VARCHAR, college VARCHAR) | SELECT position FROM table_name_22 WHERE college = "toronto" |
Where is the City of Douala? | CREATE TABLE table_name_59 (country VARCHAR, city VARCHAR) | SELECT country FROM table_name_59 WHERE city = "douala" |
when points for was points for what was the points? | CREATE TABLE table_name_86 (points VARCHAR, points_for VARCHAR) | SELECT points FROM table_name_86 WHERE points_for = "points for" |
What is the Record of the 3000 M? | CREATE TABLE table_name_15 (record VARCHAR, event VARCHAR) | SELECT record FROM table_name_15 WHERE event = "3000 m" |
What was the host city of the 8th edition in the the host country of Croatia? | CREATE TABLE table_26669939_1 (host_city VARCHAR, host_country VARCHAR, edition VARCHAR) | SELECT host_city FROM table_26669939_1 WHERE host_country = "Croatia" AND edition = "8th" |
who is the mascot of the county 78 switzerland? | CREATE TABLE table_name_91 (mascot VARCHAR, county VARCHAR) | SELECT mascot FROM table_name_91 WHERE county = "78 switzerland" |
How many people participated in the Rasmussen Reports poll on October 13, 2010? | CREATE TABLE table_name_61 (sample_size VARCHAR, poll_source VARCHAR, date_s__administered VARCHAR) | SELECT sample_size FROM table_name_61 WHERE poll_source = "rasmussen reports" AND date_s__administered = "october 13, 2010" |
What is the tournament on July 29 hosted by SK Brann? | CREATE TABLE table_name_5 (tournament VARCHAR, host VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_5 WHERE host = "sk brann" AND date = "july 29" |
How many points are there when the lost is 26? | CREATE TABLE table_1166259_1 (points VARCHAR, lost VARCHAR) | SELECT points FROM table_1166259_1 WHERE lost = 26 |
What was the score on April 22? | CREATE TABLE table_name_53 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_53 WHERE date = "april 22" |
What Winning driver has a Winning constructor of sunbeam? | CREATE TABLE table_name_43 (winning_driver VARCHAR, winning_constructor VARCHAR) | SELECT winning_driver FROM table_name_43 WHERE winning_constructor = "sunbeam" |
What record has detroit as the home and mtl. maroons as the visitor? | CREATE TABLE table_name_99 (record VARCHAR, home VARCHAR, visitor VARCHAR) | SELECT record FROM table_name_99 WHERE home = "detroit" AND visitor = "mtl. maroons" |
What is the Draw for skra warszawa? | CREATE TABLE table_name_5 (draw VARCHAR, team VARCHAR) | SELECT draw FROM table_name_5 WHERE team = "skra warszawa" |
How many silver medals had a rank of 3 with bronze larger than 0? | CREATE TABLE table_name_90 (silver VARCHAR, rank VARCHAR, bronze VARCHAR) | SELECT COUNT(silver) FROM table_name_90 WHERE rank = 3 AND bronze > 0 |
What is the number of total offense when the opponentis Penn State? | CREATE TABLE table_28697228_4 (total_offense INTEGER, opponent VARCHAR) | SELECT MAX(total_offense) FROM table_28697228_4 WHERE opponent = "Penn State" |
What is the Event with a Time that is 3:06? | CREATE TABLE table_name_85 (event VARCHAR, time VARCHAR) | SELECT event FROM table_name_85 WHERE time = "3:06" |
What was the Score at the Auckland, New Zealand Tournament? | CREATE TABLE table_name_7 (score VARCHAR, tournament VARCHAR) | SELECT score FROM table_name_7 WHERE tournament = "auckland, new zealand" |
What are the average laps for jackie stewart? | CREATE TABLE table_name_77 (laps INTEGER, driver VARCHAR) | SELECT AVG(laps) FROM table_name_77 WHERE driver = "jackie stewart" |
Find the titles of items whose rating is higher than the average review rating of all items. | CREATE TABLE review (rating INTEGER); CREATE TABLE item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rating INTEGER) | SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rating > (SELECT AVG(rating) FROM review) |
What did the Dallara chassis with a 5 start in 2006 finish? | CREATE TABLE table_name_91 (finish VARCHAR, year VARCHAR, chassis VARCHAR, start VARCHAR) | SELECT finish FROM table_name_91 WHERE chassis = "dallara" AND start = "5" AND year = 2006 |
What is IATA, when City is "Alexandria"? | CREATE TABLE table_name_62 (iata VARCHAR, city VARCHAR) | SELECT iata FROM table_name_62 WHERE city = "alexandria" |
What is the date where Guatemala is the Away team? | CREATE TABLE table_name_44 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_44 WHERE away_team = "guatemala" |
Can you tell me the average Average that has the Rank larger than 4, and the Player of dean minors? | CREATE TABLE table_name_77 (average INTEGER, rank VARCHAR, player VARCHAR) | SELECT AVG(average) FROM table_name_77 WHERE rank > 4 AND player = "dean minors" |
In what Venue was the Result 1-3? | CREATE TABLE table_name_16 (venue VARCHAR, result VARCHAR) | SELECT venue FROM table_name_16 WHERE result = "1-3" |
What is the current income inequality for the country of Seychelles? | CREATE TABLE table_name_15 (income_inequality_1994_2011__latest_available_ VARCHAR, country VARCHAR) | SELECT income_inequality_1994_2011__latest_available_ FROM table_name_15 WHERE country = "seychelles" |
how many revised hepburn when english is roman characters | CREATE TABLE table_26263954_1 (revised_hepburn VARCHAR, english VARCHAR) | SELECT revised_hepburn FROM table_26263954_1 WHERE english = "Roman characters" |
What is the least amount of Silver medals that have more than 3 Bronze? | CREATE TABLE table_name_39 (silver INTEGER, bronze INTEGER) | SELECT MIN(silver) FROM table_name_39 WHERE bronze > 3 |
What is the average maximum height of a shell that travels for more than 16.3 seconds at 55° and has a maximum velocity of 2200 ft/s? | CREATE TABLE table_name_19 (max_height__ft_ INTEGER, time_to_ft__m__at_55°__seconds_ VARCHAR, m_v_ft_s VARCHAR) | SELECT AVG(max_height__ft_) FROM table_name_19 WHERE time_to_ft__m__at_55°__seconds_ > 16.3 AND m_v_ft_s = 2200 |
Who was the home team when the attendance was more than 20,283? | CREATE TABLE table_name_5 (home_team VARCHAR, crowd INTEGER) | SELECT home_team FROM table_name_5 WHERE crowd > 20 OFFSET 283 |
When has a Score of 0–1, and a Tie no of 3? | CREATE TABLE table_name_12 (date VARCHAR, score VARCHAR, tie_no VARCHAR) | SELECT date FROM table_name_12 WHERE score = "0–1" AND tie_no = "3" |
Name the george bush for ronald reagan of 43% | CREATE TABLE table_name_59 (george_h_w_bush VARCHAR, ronald_reagan VARCHAR) | SELECT george_h_w_bush FROM table_name_59 WHERE ronald_reagan = "43%" |
who were the semifinalists for the tournament in montreal? | CREATE TABLE table_name_95 (semifinalists VARCHAR, tournament VARCHAR) | SELECT semifinalists FROM table_name_95 WHERE tournament = "montreal" |
What is the total number of people who could stay in the modern rooms in this inn? | CREATE TABLE Rooms (maxOccupancy INTEGER, decor VARCHAR) | SELECT SUM(maxOccupancy) FROM Rooms WHERE decor = 'modern' |
What is the Place associated with Cuba? | CREATE TABLE table_name_49 (place VARCHAR, nation VARCHAR) | SELECT place FROM table_name_49 WHERE nation = "cuba" |
What's the February for the game against the Montreal Canadiens? | CREATE TABLE table_name_88 (february INTEGER, opponent VARCHAR) | SELECT SUM(february) FROM table_name_88 WHERE opponent = "montreal canadiens" |
What is the geographical region for hometown Imbert? | CREATE TABLE table_name_1 (geographical_regions VARCHAR, hometown VARCHAR) | SELECT geographical_regions FROM table_name_1 WHERE hometown = "imbert" |
What is the ICAO when the IATA shows cts? | CREATE TABLE table_name_72 (icao VARCHAR, iata VARCHAR) | SELECT icao FROM table_name_72 WHERE iata = "cts" |
Who had fewer goals than 4 during the years of 1996–13? | CREATE TABLE table_name_76 (goals INTEGER, ranking VARCHAR, years VARCHAR) | SELECT MIN(goals) FROM table_name_76 WHERE ranking < 4 AND years = "1996–13" |
Which gender has a Decile of 8, an Area of taradale, and Years of 1–13? | CREATE TABLE table_name_90 (gender VARCHAR, years VARCHAR, decile VARCHAR, area VARCHAR) | SELECT gender FROM table_name_90 WHERE decile = 8 AND area = "taradale" AND years = "1–13" |
Which event is a win by an opponent of Nicolas Smith, with the round marked n/a? | CREATE TABLE table_name_24 (event VARCHAR, opponent VARCHAR, res VARCHAR, round VARCHAR) | SELECT event FROM table_name_24 WHERE res = "win" AND round = "n/a" AND opponent = "nicolas smith" |
What is the category and typical buying price of the product with name "cumin"? | CREATE TABLE products (product_category_code VARCHAR, typical_buying_price VARCHAR, product_name VARCHAR) | SELECT product_category_code, typical_buying_price FROM products WHERE product_name = "cumin" |
When north american record is the world record who is the denis nizhegorodov ( rus )? | CREATE TABLE table_24059973_3 (denis_nizhegorodov___rus__ VARCHAR, world_record VARCHAR) | SELECT denis_nizhegorodov___rus__ FROM table_24059973_3 WHERE world_record = "North American record" |
How many against on the date of 08/06/1985? | CREATE TABLE table_name_64 (against INTEGER, date VARCHAR) | SELECT SUM(against) FROM table_name_64 WHERE date = "08/06/1985" |
Which circuit did Jim Clark win in 1962? | CREATE TABLE table_name_38 (circuit VARCHAR, winning_driver VARCHAR, year VARCHAR) | SELECT circuit FROM table_name_38 WHERE winning_driver = "jim clark" AND year = "1962" |
what's the date of birth with end of term being 2april1969 | CREATE TABLE table_12134383_1 (date_of_birth VARCHAR, end_of_term VARCHAR) | SELECT date_of_birth FROM table_12134383_1 WHERE end_of_term = "2April1969" |
What is the detail of the location UK Gallery? | CREATE TABLE LOCATIONS (Other_Details VARCHAR, Location_Name VARCHAR) | SELECT Other_Details FROM LOCATIONS WHERE Location_Name = "UK Gallery" |
When the team is ypiranga-sp what is the number of won games? | CREATE TABLE table_15405904_1 (won INTEGER, team VARCHAR) | SELECT MIN(won) FROM table_15405904_1 WHERE team = "Ypiranga-SP" |
How often are the Olympic games hosted? | CREATE TABLE table_name_74 (year INTEGER, tournament VARCHAR) | SELECT AVG(year) FROM table_name_74 WHERE tournament = "olympic games" |
Where is scott starr from? | CREATE TABLE table_11677691_6 (hometown VARCHAR, player VARCHAR) | SELECT hometown FROM table_11677691_6 WHERE player = "Scott Starr" |
what is the lowest round2 when round5 is 71 and round4 is more than 64? | CREATE TABLE table_name_88 (round2 INTEGER, round5 VARCHAR, round4 VARCHAR) | SELECT MIN(round2) FROM table_name_88 WHERE round5 = 71 AND round4 > 64 |
What is the Location Attendance, when High Points is "D. McKey (24)", and when Score is "L 96-105"? | CREATE TABLE table_name_55 (location_attendance VARCHAR, high_points VARCHAR, score VARCHAR) | SELECT location_attendance FROM table_name_55 WHERE high_points = "d. mckey (24)" AND score = "l 96-105" |
Which Year started is the highest one that has a Current car of arctic sun, and a Number of cars smaller than 1? | CREATE TABLE table_name_38 (year_started INTEGER, current_car VARCHAR, number_of_cars VARCHAR) | SELECT MAX(year_started) FROM table_name_38 WHERE current_car = "arctic sun" AND number_of_cars < 1 |
What is the company that made the chassis for the entrant danka arrows yamaha? | CREATE TABLE table_name_19 (chassis VARCHAR, entrant VARCHAR) | SELECT chassis FROM table_name_19 WHERE entrant = "danka arrows yamaha" |
Which class starts after 1939 and has a road number smaller than 3508? | CREATE TABLE table_name_9 (class VARCHAR, year VARCHAR, road_number VARCHAR) | SELECT class FROM table_name_9 WHERE year > 1939 AND road_number < 3508 |
Find the number of rooms that do not have any reservation. | CREATE TABLE rooms (roomid VARCHAR, room VARCHAR); CREATE TABLE reservations (roomid VARCHAR, room VARCHAR) | SELECT COUNT(*) FROM rooms WHERE NOT roomid IN (SELECT DISTINCT room FROM reservations) |
What is the Winning Score of the Tournament with Jack Nicklaus as Runner(s)-up? | CREATE TABLE table_name_15 (winning_score VARCHAR, runner_s__up VARCHAR) | SELECT winning_score FROM table_name_15 WHERE runner_s__up = "jack nicklaus" |
What's the sum of Quantity for the Class of 1928 of CI-30? | CREATE TABLE table_name_1 (quantity INTEGER, class_from_1928 VARCHAR) | SELECT SUM(quantity) FROM table_name_1 WHERE class_from_1928 = "ci-30" |
Who ihad the highest points and what was the number when the record was 11-40? | CREATE TABLE table_13619053_7 (high_points VARCHAR, record VARCHAR) | SELECT high_points FROM table_13619053_7 WHERE record = "11-40" |
What is the maximum memory speed for frequencies between 2.93-3.2ghz? | CREATE TABLE table_24018112_1 (max_memory_speed VARCHAR, frequency VARCHAR) | SELECT max_memory_speed FROM table_24018112_1 WHERE frequency = "2.93-3.2GHz" |
How many fault status codes are recorded in the fault log parts table? | CREATE TABLE Fault_Log_Parts (fault_status VARCHAR) | SELECT DISTINCT fault_status FROM Fault_Log_Parts |
How many votes did Southern England cast whilst Northern Ireland cast 3? | CREATE TABLE table_10128185_2 (southern_england VARCHAR, northern_ireland VARCHAR) | SELECT southern_england FROM table_10128185_2 WHERE northern_ireland = 3 |
Where did Croatia lead? | CREATE TABLE table_name_1 (lead VARCHAR, nation VARCHAR) | SELECT lead FROM table_name_1 WHERE nation = "croatia" |
What was the score in the game on November 21? | CREATE TABLE table_27733909_5 (score VARCHAR, date VARCHAR) | SELECT score FROM table_27733909_5 WHERE date = "November 21" |
What are the least Top-5 finish when the events are greater than 18? | CREATE TABLE table_name_82 (top_5 INTEGER, events INTEGER) | SELECT MIN(top_5) FROM table_name_82 WHERE events > 18 |
Who had the high rebounds in the game with a final score of w 140-108? | CREATE TABLE table_17382360_9 (high_rebounds VARCHAR, score VARCHAR) | SELECT high_rebounds FROM table_17382360_9 WHERE score = "W 140-108" |
Who is the company Investing Dragons, or tiny box? | CREATE TABLE table_name_21 (investing_dragon_s_ VARCHAR, company_or_product_name VARCHAR) | SELECT investing_dragon_s_ FROM table_name_21 WHERE company_or_product_name = "tiny box" |
List the names of wrestlers and the teams in elimination in descending order of days held. | CREATE TABLE elimination (Team VARCHAR, Wrestler_ID VARCHAR); CREATE TABLE wrestler (Name VARCHAR, Wrestler_ID VARCHAR, Days_held VARCHAR) | SELECT T2.Name, T1.Team FROM elimination AS T1 JOIN wrestler AS T2 ON T1.Wrestler_ID = T2.Wrestler_ID ORDER BY T2.Days_held DESC |
What is the season for no award given for rookie of the year? | CREATE TABLE table_13082900_1 (season VARCHAR, rookie_of_the_year VARCHAR) | SELECT season FROM table_13082900_1 WHERE rookie_of_the_year = "No award given" |
What is the largest number of consecutive starts for jason gildon? | CREATE TABLE table_28606933_7 (consecutive_starts INTEGER, player VARCHAR) | SELECT MAX(consecutive_starts) FROM table_28606933_7 WHERE player = "Jason Gildon" |
How many different transcriptions are there for the Thai name พฤษภาคม? | CREATE TABLE table_20354_5 (transcription VARCHAR, thai_name VARCHAR) | SELECT COUNT(transcription) FROM table_20354_5 WHERE thai_name = "พฤษภาคม" |
What is the region of the release of a CD with catalog 32xa-119? | CREATE TABLE table_name_58 (region VARCHAR, format VARCHAR, catalog VARCHAR) | SELECT region FROM table_name_58 WHERE format = "cd" AND catalog = "32xa-119" |
What country do the Winnipeg Jets come from? | CREATE TABLE table_2679061_7 (nationality VARCHAR, nhl_team VARCHAR) | SELECT nationality FROM table_2679061_7 WHERE nhl_team = "Winnipeg Jets" |
What was the smallest crowd at a home game of carlton? | CREATE TABLE table_name_93 (crowd INTEGER, home_team VARCHAR) | SELECT MIN(crowd) FROM table_name_93 WHERE home_team = "carlton" |
If round of 32 is sawatvilay phimmasone ( lao ) w pts 9-7, what was the event? | CREATE TABLE table_26335424_86 (event VARCHAR, round_of_32 VARCHAR) | SELECT event FROM table_26335424_86 WHERE round_of_32 = "Sawatvilay Phimmasone ( LAO ) W PTS 9-7" |
Which Studio has a Rank smaller than 3, and a Director of adrian lyne? | CREATE TABLE table_name_71 (studio VARCHAR, rank VARCHAR, director VARCHAR) | SELECT studio FROM table_name_71 WHERE rank < 3 AND director = "adrian lyne" |
In what city is the United Spirit Arena located? | CREATE TABLE table_name_20 (city VARCHAR, venue VARCHAR) | SELECT city FROM table_name_20 WHERE venue = "united spirit arena" |
What is the Notes of the Country with a Rank of 4? | CREATE TABLE table_name_31 (notes VARCHAR, rank VARCHAR) | SELECT notes FROM table_name_31 WHERE rank = 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.