question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
List the names of representatives that have not participated in elections listed here. | CREATE TABLE election (Name VARCHAR, Representative_ID VARCHAR); CREATE TABLE representative (Name VARCHAR, Representative_ID VARCHAR) | SELECT Name FROM representative WHERE NOT Representative_ID IN (SELECT Representative_ID FROM election) |
What is the lowest result for Christian Malcolm with a reaction time greater than 0.185 and a lane higher than 3? | CREATE TABLE table_name_66 (result INTEGER, lane VARCHAR, reaction_time VARCHAR, name VARCHAR) | SELECT MIN(result) FROM table_name_66 WHERE reaction_time > 0.185 AND name = "christian malcolm" AND lane > 3 |
Name the english translation of giefdu mier socka bond | CREATE TABLE table_13003460_1 (english_translation VARCHAR, the_icelandic_of_the_glossary VARCHAR) | SELECT english_translation FROM table_13003460_1 WHERE the_icelandic_of_the_glossary = "giefdu mier socka bond" |
Give me a list of id and status of orders which belong to the customer named "Jeramie". | CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE orders (order_id VARCHAR, order_status VARCHAR, customer_id VARCHAR) | SELECT T2.order_id, T2.order_status FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T1.customer_name = "Jeramie" |
Name the project with length overall being 25 and name of levante | CREATE TABLE table_name_40 (project VARCHAR, length_overall_in_meters__without_bowsprit_ VARCHAR, name VARCHAR) | SELECT project FROM table_name_40 WHERE length_overall_in_meters__without_bowsprit_ = 25 AND name = "levante" |
What are all the dates with a score of 203 (-13)? | CREATE TABLE table_11622829_1 (date VARCHAR, score VARCHAR) | SELECT date FROM table_11622829_1 WHERE score = "203 (-13)" |
What round has an attendance of 12,127? | CREATE TABLE table_name_55 (round VARCHAR, attendance VARCHAR) | SELECT round FROM table_name_55 WHERE attendance = "12,127" |
How many wins for team with 1800 Against and more than 0 byes? | CREATE TABLE table_name_64 (wins INTEGER, against VARCHAR, draws VARCHAR) | SELECT MAX(wins) FROM table_name_64 WHERE against = 1800 AND draws > 0 |
If in english it is heart, what is it in hebrew? | CREATE TABLE table_26919_7 (hebrew VARCHAR, english VARCHAR) | SELECT hebrew FROM table_26919_7 WHERE english = "heart" |
What team had Pick 2? | CREATE TABLE table_name_27 (team VARCHAR, pick VARCHAR) | SELECT team FROM table_name_27 WHERE pick = "2" |
What is the bore of the boat howitzers with a 12-pdr heavy designation? | CREATE TABLE table_name_8 (bore VARCHAR, designation VARCHAR) | SELECT bore FROM table_name_8 WHERE designation = "12-pdr heavy" |
What is the catalog with an LP Format and under the Simply Vinyl label? | CREATE TABLE table_name_62 (catalog VARCHAR, format VARCHAR, label VARCHAR) | SELECT catalog FROM table_name_62 WHERE format = "lp" AND label = "simply vinyl" |
How many goals have a Result of 12 – 0? | CREATE TABLE table_name_33 (goals VARCHAR, result VARCHAR) | SELECT goals FROM table_name_33 WHERE result = "12 – 0" |
What driver won in the xv grand prix de l'albigeois in a vehicle by ferrari? | CREATE TABLE table_name_95 (winning_driver VARCHAR, constructor VARCHAR, race_name VARCHAR) | SELECT winning_driver FROM table_name_95 WHERE constructor = "ferrari" AND race_name = "xv grand prix de l'albigeois" |
Show ids for all templates not used by any document. | CREATE TABLE Documents (template_id VARCHAR); CREATE TABLE Templates (template_id VARCHAR) | SELECT template_id FROM Templates EXCEPT SELECT template_id FROM Documents |
Which is located in Angola and entered service in 1988? | CREATE TABLE table_name_98 (name VARCHAR, location VARCHAR, entered_service VARCHAR) | SELECT name FROM table_name_98 WHERE location = "angola" AND entered_service = "1988" |
How many entries are shown for entered at 21:09? | CREATE TABLE table_29692554_2 (entered VARCHAR, time VARCHAR) | SELECT COUNT(entered) FROM table_29692554_2 WHERE time = "21:09" |
What event had 1 round and a record of 6-2? | CREATE TABLE table_name_9 (event VARCHAR, round VARCHAR, record VARCHAR) | SELECT event FROM table_name_9 WHERE round = 1 AND record = "6-2" |
Show the id and details of the investor that has the largest number of transactions. | CREATE TABLE TRANSACTIONS (investor_id VARCHAR); CREATE TABLE INVESTORS (Investor_details VARCHAR, investor_id VARCHAR) | SELECT T2.investor_id, T1.Investor_details FROM INVESTORS AS T1 JOIN TRANSACTIONS AS T2 ON T1.investor_id = T2.investor_id GROUP BY T2.investor_id ORDER BY COUNT(*) DESC LIMIT 1 |
What are the id and address of the shops which have a happy hour in May? | CREATE TABLE shop (address VARCHAR, shop_id VARCHAR); CREATE TABLE happy_hour (shop_id VARCHAR) | SELECT t1.address, t1.shop_id FROM shop AS t1 JOIN happy_hour AS t2 ON t1.shop_id = t2.shop_id WHERE MONTH = 'May' |
How many project staff worked as leaders or started working before '1989-04-24 23:51:54'? | CREATE TABLE Project_Staff (role_code VARCHAR, date_from VARCHAR) | SELECT COUNT(*) FROM Project_Staff WHERE role_code = 'leader' OR date_from < '1989-04-24 23:51:54' |
What is the average laps for a grid larger than 2, for a ferrari that got in an accident? | CREATE TABLE table_name_87 (laps INTEGER, constructor VARCHAR, grid VARCHAR, time_retired VARCHAR) | SELECT AVG(laps) FROM table_name_87 WHERE grid > 2 AND time_retired = "accident" AND constructor = "ferrari" |
WHAT ARE THE RACES WHEN FLAPS ARE ZERO, PODIUMS ARE LARGER THAN 0, SEASON IS 2008, AND POLE SMALLER THAN 1? | CREATE TABLE table_name_93 (races INTEGER, pole VARCHAR, season VARCHAR, flaps VARCHAR, podiums VARCHAR) | SELECT SUM(races) FROM table_name_93 WHERE flaps = 0 AND podiums > 0 AND season = "2008" AND pole < 1 |
What is the lowest draw number for the song ranked 6th with more than 43 points? | CREATE TABLE table_name_22 (draw INTEGER, points VARCHAR, rank VARCHAR) | SELECT MIN(draw) FROM table_name_22 WHERE points > 43 AND rank = "6th" |
Who was the home captain at Sabina Park? | CREATE TABLE table_name_89 (home_captain VARCHAR, venue VARCHAR) | SELECT home_captain FROM table_name_89 WHERE venue = "sabina park" |
What is the age of the oldest dog? | CREATE TABLE Dogs (age INTEGER) | SELECT MAX(age) FROM Dogs |
On what date was My Lord What a Mornin' recorded? | CREATE TABLE table_name_55 (recording_date VARCHAR, title VARCHAR) | SELECT recording_date FROM table_name_55 WHERE title = "my lord what a mornin'" |
who is the actor for shortland street for the years 1993–1999, 2001–2003, 2007, 2009—? | CREATE TABLE table_name_31 (actor VARCHAR, soap_opera VARCHAR, years VARCHAR) | SELECT actor FROM table_name_31 WHERE soap_opera = "shortland street" AND years = "1993–1999, 2001–2003, 2007, 2009—" |
What was the Area (km²) when the Population (2011) was 8574, and the Population density was larger than 381.4? | CREATE TABLE table_name_21 (area__km²_ INTEGER, population__2011_ VARCHAR, population_density VARCHAR) | SELECT AVG(area__km²_) FROM table_name_21 WHERE population__2011_ = 8574 AND population_density > 381.4 |
Name the writers for 46 in series | CREATE TABLE table_26702078_1 (writer_s_ VARCHAR, no_in_series VARCHAR) | SELECT writer_s_ FROM table_26702078_1 WHERE no_in_series = 46 |
What title episode did Paris Barclay direct? | CREATE TABLE table_20726262_2 (title VARCHAR, directedby VARCHAR) | SELECT title FROM table_20726262_2 WHERE directedby = "Paris Barclay" |
Name the poles for 2011 | CREATE TABLE table_15327489_1 (poles VARCHAR, year VARCHAR) | SELECT poles FROM table_15327489_1 WHERE year = 2011 |
What is the points total for the team with points average more than 34, 1984 score more than 37 and N/A in 1982? | CREATE TABLE table_name_99 (total_points VARCHAR, points_average VARCHAR) | SELECT COUNT(total_points) FROM table_name_99 WHERE 1982 = "n/a" AND points_average > 34 AND 1984 > 37 |
Catalog Nebdj068 was released when? | CREATE TABLE table_name_26 (date VARCHAR, catalog VARCHAR) | SELECT date FROM table_name_26 WHERE catalog = "nebdj068" |
Which Games↑ is the lowest one that has a Position of wlb? | CREATE TABLE table_name_88 (games INTEGER, position VARCHAR) | SELECT MIN(games) AS ↑ FROM table_name_88 WHERE position = "wlb" |
Who had the overall pick of 72? | CREATE TABLE table_name_36 (name VARCHAR, overall VARCHAR) | SELECT name FROM table_name_36 WHERE overall = 72 |
How many general elections that have won smaller than 23 with candidates larger than 108? | CREATE TABLE table_name_95 (general_election VARCHAR, _number_of_seats_won VARCHAR, _number_of_candidates VARCHAR) | SELECT COUNT(general_election) FROM table_name_95 WHERE _number_of_seats_won < 23 AND _number_of_candidates > 108 |
Which Year is the highest one that has a Next Highest Spender of aarp, and a US Cham Spending of $39,805,000, and a US Cham Rank larger than 1? | CREATE TABLE table_name_16 (year INTEGER, us_cham_rank VARCHAR, next_highest_spender VARCHAR, us_cham_spending VARCHAR) | SELECT MAX(year) FROM table_name_16 WHERE next_highest_spender = "aarp" AND us_cham_spending = "$39,805,000" AND us_cham_rank > 1 |
What is the last transcript release date? | CREATE TABLE Transcripts (transcript_date VARCHAR) | SELECT transcript_date FROM Transcripts ORDER BY transcript_date DESC LIMIT 1 |
What was the crowd size at Victoria Park? | CREATE TABLE table_name_18 (crowd VARCHAR, venue VARCHAR) | SELECT crowd FROM table_name_18 WHERE venue = "victoria park" |
How many opponents were there when the record was 6-0? | CREATE TABLE table_21197135_1 (opponent VARCHAR, record VARCHAR) | SELECT COUNT(opponent) FROM table_21197135_1 WHERE record = "6-0" |
What is the Time with a Ground that is humber college north? | CREATE TABLE table_name_7 (time VARCHAR, ground VARCHAR) | SELECT time FROM table_name_7 WHERE ground = "humber college north" |
What is the highest week that has espn 8:30pm as the TV time? | CREATE TABLE table_name_74 (week INTEGER, tv_time VARCHAR) | SELECT MAX(week) FROM table_name_74 WHERE tv_time = "espn 8:30pm" |
In what municipality were there 757.5 people per km2? | CREATE TABLE table_216776_2 (municipality VARCHAR, pop_density__per_km²_ VARCHAR) | SELECT municipality FROM table_216776_2 WHERE pop_density__per_km²_ = "757.5" |
What is the previous team of the player with 4 NBA years and a pick less than 16? | CREATE TABLE table_name_12 (previous_team VARCHAR, pick VARCHAR, nba_years_ VARCHAR, a_ VARCHAR) | SELECT previous_team FROM table_name_12 WHERE nba_years_[a_] = "4" AND pick < 16 |
What year did a short course have a time of 7:51.80? | CREATE TABLE table_name_24 (year_set VARCHAR, long_course_short_course VARCHAR, time VARCHAR) | SELECT COUNT(year_set) FROM table_name_24 WHERE long_course_short_course = "short course" AND time = "7:51.80" |
Who directed the film that Avie Luthra received an award for? | CREATE TABLE table_name_63 (director_s_ VARCHAR, recipient VARCHAR) | SELECT director_s_ FROM table_name_63 WHERE recipient = "avie luthra" |
Name the centennial for location | CREATE TABLE table_15977768_1 (centennial VARCHAR, information VARCHAR) | SELECT centennial FROM table_15977768_1 WHERE information = "Location" |
The year 1972 has what written in Height column? | CREATE TABLE table_name_40 (height VARCHAR, year VARCHAR) | SELECT height FROM table_name_40 WHERE year = 1972 |
What is the average year for releases on Friday and weeks larger than 2 days? | CREATE TABLE table_name_28 (year INTEGER, day_in_release VARCHAR, day_of_week VARCHAR) | SELECT AVG(year) FROM table_name_28 WHERE day_in_release = "friday" AND day_of_week > 2 |
What construction completed is named nelson tunnel/commodore waste rock? | CREATE TABLE table_name_76 (construction_completed VARCHAR, name VARCHAR) | SELECT construction_completed FROM table_name_76 WHERE name = "nelson tunnel/commodore waste rock" |
I want the D 45 and D 42 of r 22 | CREATE TABLE table_name_58 (d_45 VARCHAR, d_42 VARCHAR) | SELECT d_45 FROM table_name_58 WHERE d_42 = "r 22" |
What is the production code for episode 15 in season 3? | CREATE TABLE table_16581695_4 (production_code VARCHAR, no_in_season VARCHAR) | SELECT production_code FROM table_16581695_4 WHERE no_in_season = "15" |
What is the country of player dale douglass, who has a t8 place? | CREATE TABLE table_name_75 (country VARCHAR, place VARCHAR, player VARCHAR) | SELECT country FROM table_name_75 WHERE place = "t8" AND player = "dale douglass" |
What is the name of the race won by driver Carlos Reutemann? | CREATE TABLE table_name_72 (race_name VARCHAR, winning_driver VARCHAR) | SELECT race_name FROM table_name_72 WHERE winning_driver = "carlos reutemann" |
What is the total number of total viewers with a share of 18.8% and a weekly ranking under 16? | CREATE TABLE table_name_84 (total_viewers VARCHAR, share VARCHAR, bbc_one_weekly_ranking VARCHAR) | SELECT COUNT(total_viewers) FROM table_name_84 WHERE share = "18.8%" AND bbc_one_weekly_ranking < 16 |
What average Reg GP has a pick # larger than 210? | CREATE TABLE table_name_84 (reg_gp INTEGER, pick__number INTEGER) | SELECT AVG(reg_gp) FROM table_name_84 WHERE pick__number > 210 |
What is the date of the game at Arrowhead Stadium? | CREATE TABLE table_17848578_1 (date VARCHAR, game_site VARCHAR) | SELECT date FROM table_17848578_1 WHERE game_site = "Arrowhead Stadium" |
What shows for 2009 when the 2012 is 1R? | CREATE TABLE table_name_5 (Id VARCHAR) | SELECT 2009 FROM table_name_5 WHERE 2012 = "1r" |
Show all main industry for all companies. | CREATE TABLE company (main_industry VARCHAR) | SELECT DISTINCT main_industry FROM company |
What was Reid's rolex ranking in the year that her money list rank was 3? | CREATE TABLE table_29506171_2 (rolex_ranking INTEGER, money_list_rank VARCHAR) | SELECT MAX(rolex_ranking) FROM table_29506171_2 WHERE money_list_rank = "3" |
Who ran in the race for Jack Brooks' seat? | CREATE TABLE table_1341865_45 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1341865_45 WHERE incumbent = "Jack Brooks" |
Which Gold has a Total of 721? | CREATE TABLE table_name_18 (gold INTEGER, total VARCHAR) | SELECT AVG(gold) FROM table_name_18 WHERE total = 721 |
What is the planet associated with the direction of south? | CREATE TABLE table_14850099_18 (planet VARCHAR, cardinal_direction VARCHAR) | SELECT planet FROM table_14850099_18 WHERE cardinal_direction = "South" |
How many Goals Against have a Position of 4? | CREATE TABLE table_name_40 (goals_against VARCHAR, position VARCHAR) | SELECT COUNT(goals_against) FROM table_name_40 WHERE position = 4 |
How many years have a Record of 73-65? | CREATE TABLE table_name_74 (year VARCHAR, record VARCHAR) | SELECT COUNT(year) FROM table_name_74 WHERE record = "73-65" |
Makio Inoue dubbed on which character? | CREATE TABLE table_2160215_1 (character VARCHAR, original_japanese VARCHAR) | SELECT character FROM table_2160215_1 WHERE original_japanese = "Makio Inoue" |
What was the number of music directors where the suresh wadkar co singer of bhayanak? | CREATE TABLE table_11827596_4 (music_director VARCHAR, co_singer VARCHAR, film_name VARCHAR) | SELECT COUNT(music_director) FROM table_11827596_4 WHERE co_singer = "Suresh Wadkar" AND film_name = "Bhayanak" |
What is the willow canyon of Stallion? | CREATE TABLE table_11340432_1 (willow_canyon VARCHAR, shadow_ridge VARCHAR) | SELECT willow_canyon FROM table_11340432_1 WHERE shadow_ridge = "Stallion" |
Whose address of operation was the Echirax Concession? | CREATE TABLE table_13150274_1 (client VARCHAR, area_of_operation VARCHAR) | SELECT client FROM table_13150274_1 WHERE area_of_operation = "EchiraX Concession" |
When did the earliest tournament happened? | CREATE TABLE table_27611593_5 (year INTEGER) | SELECT MIN(year) FROM table_27611593_5 |
Name the total number for number in series that got 3.62 viewers | CREATE TABLE table_18569389_1 (no_in_series VARCHAR, us_viewers__million_ VARCHAR) | SELECT COUNT(no_in_series) FROM table_18569389_1 WHERE us_viewers__million_ = "3.62" |
What is the average horsepower of the cars before 1980? | CREATE TABLE CARS_DATA (horsepower INTEGER, YEAR INTEGER) | SELECT AVG(horsepower) FROM CARS_DATA WHERE YEAR < 1980 |
What is the Score on July 18 that has Record of 41-51? | CREATE TABLE table_name_71 (score VARCHAR, date VARCHAR, record VARCHAR) | SELECT score FROM table_name_71 WHERE date = "july 18" AND record = "41-51" |
What building in Louisville had more than 35 floors? | CREATE TABLE table_name_56 (name VARCHAR, city VARCHAR, floors VARCHAR) | SELECT name FROM table_name_56 WHERE city = "louisville" AND floors > 35 |
Find the minimum salary for the departments whose average salary is above the average payment of all instructors. | CREATE TABLE instructor (dept_name VARCHAR, salary INTEGER) | SELECT MIN(salary), dept_name FROM instructor GROUP BY dept_name HAVING AVG(salary) > (SELECT AVG(salary) FROM instructor) |
What is the lowest week number for the game that was at milwaukee county stadium? | CREATE TABLE table_name_18 (week INTEGER, game_site VARCHAR) | SELECT MIN(week) FROM table_name_18 WHERE game_site = "milwaukee county stadium" |
Show all artist names and the year joined who are not from United States. | CREATE TABLE artist (name VARCHAR, year_join VARCHAR, country VARCHAR) | SELECT name, year_join FROM artist WHERE country <> 'United States' |
What is the position of the team with more than 16 losses and an against greater than 74? | CREATE TABLE table_name_43 (position INTEGER, lost VARCHAR, against VARCHAR) | SELECT SUM(position) FROM table_name_43 WHERE lost > 16 AND against > 74 |
Name the Round that has Res of win and an Opponent of demian maia? | CREATE TABLE table_name_15 (round INTEGER, res VARCHAR, opponent VARCHAR) | SELECT SUM(round) FROM table_name_15 WHERE res = "win" AND opponent = "demian maia" |
Which Regular Season Champion(s) has a Record of 9–0, and a Tournament Champion of north carolina? | CREATE TABLE table_name_16 (regular_season_champion_s_ VARCHAR, record VARCHAR, tournament_champion VARCHAR) | SELECT regular_season_champion_s_ FROM table_name_16 WHERE record = "9–0" AND tournament_champion = "north carolina" |
what is the total when bronze is 0 and the nation is hungary? | CREATE TABLE table_name_58 (total INTEGER, bronze VARCHAR, nation VARCHAR) | SELECT MAX(total) FROM table_name_58 WHERE bronze = 0 AND nation = "hungary" |
Which tournament has a 2011 of 1r? | CREATE TABLE table_name_88 (tournament VARCHAR) | SELECT tournament FROM table_name_88 WHERE 2011 = "1r" |
What is the field stability of Cyanogen Bromide that has an effectiveness of 9? | CREATE TABLE table_name_5 (field_stability VARCHAR, agent VARCHAR, effectiveness_as_blood_agent VARCHAR) | SELECT COUNT(field_stability) FROM table_name_5 WHERE agent = "cyanogen bromide" AND effectiveness_as_blood_agent > 9 |
What is the average Game, when Team is "Milwaukee"? | CREATE TABLE table_name_78 (game INTEGER, team VARCHAR) | SELECT AVG(game) FROM table_name_78 WHERE team = "milwaukee" |
Which Republican has a District of 10? | CREATE TABLE table_name_26 (republican VARCHAR, district VARCHAR) | SELECT republican FROM table_name_26 WHERE district = 10 |
What was the score when Flavia Pennetta won the championship? | CREATE TABLE table_name_67 (score VARCHAR, champion VARCHAR) | SELECT score FROM table_name_67 WHERE champion = "flavia pennetta" |
How man values for bronze occur when gold is less than 1, rank is greater than 15, and total is greater than 1? | CREATE TABLE table_name_9 (bronze VARCHAR, total VARCHAR, gold VARCHAR, rank VARCHAR) | SELECT COUNT(bronze) FROM table_name_9 WHERE gold < 1 AND rank > 15 AND total > 1 |
What is the date of elevation for the Cardinal elevated by Nicholas III to the title of Cardinal-Deacon of S. Eustachio? | CREATE TABLE table_name_7 (elevated VARCHAR, elevator VARCHAR, cardinalatial_order_and_title VARCHAR) | SELECT elevated FROM table_name_7 WHERE elevator = "nicholas iii" AND cardinalatial_order_and_title = "cardinal-deacon of s. eustachio" |
What is Player, when Country is "United States", when Place is "T10", and when Score is "68-71=139"? | CREATE TABLE table_name_51 (player VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR) | SELECT player FROM table_name_51 WHERE country = "united states" AND place = "t10" AND score = 68 - 71 = 139 |
What is the Years for Jazz Club at Oregon State? | CREATE TABLE table_name_46 (years_for_jazz VARCHAR, school_club_team VARCHAR) | SELECT years_for_jazz FROM table_name_46 WHERE school_club_team = "oregon state" |
Which Laps have a Time of +39.476, and a Grid larger than 11? | CREATE TABLE table_name_15 (laps INTEGER, time VARCHAR, grid VARCHAR) | SELECT AVG(laps) FROM table_name_15 WHERE time = "+39.476" AND grid > 11 |
Who had the most rebounds in the game at the Mohegan Sun Arena that led to a 24-7 record? | CREATE TABLE table_name_75 (high_rebounds VARCHAR, location VARCHAR, record VARCHAR) | SELECT high_rebounds FROM table_name_75 WHERE location = "mohegan sun arena" AND record = "24-7" |
What is the Name of the player with less than 342 Block, less than 87 Weight and Height more than 187? | CREATE TABLE table_name_50 (name VARCHAR, height VARCHAR, block VARCHAR, weight VARCHAR) | SELECT name FROM table_name_50 WHERE block < 342 AND weight < 87 AND height > 187 |
For the country that holds a rank of 2, in the Mr. International Competition, what is the total number of competitors listed as 2nd runner ups? | CREATE TABLE table_20325360_2 (rank VARCHAR) | SELECT COUNT(2 AS nd_runner_up) FROM table_20325360_2 WHERE rank = 2 |
Find the name of persons who are friends with Bob. | CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR); CREATE TABLE Person (name VARCHAR) | SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend = 'Bob' |
What is the number of votes when Ron Paul is the candidate with less than 0 counties? | CREATE TABLE table_name_28 (votes VARCHAR, candidate VARCHAR, counties VARCHAR) | SELECT COUNT(votes) FROM table_name_28 WHERE candidate = "ron paul" AND counties < 0 |
Which Attendance that has a Venue of ryavallen? | CREATE TABLE table_name_66 (attendance VARCHAR, venue VARCHAR) | SELECT attendance FROM table_name_66 WHERE venue = "ryavallen" |
Who was the opposition for the player who has a total of 10 points? | CREATE TABLE table_name_72 (opposition VARCHAR, total VARCHAR) | SELECT opposition FROM table_name_72 WHERE total = 10 |
Tell me the constructor for Grid more than 4 and drivers being heinz-harald frentzen | CREATE TABLE table_name_57 (constructor VARCHAR, grid VARCHAR, driver VARCHAR) | SELECT constructor FROM table_name_57 WHERE grid > 4 AND driver = "heinz-harald frentzen" |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.