question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
How many providers have a destination of Blackpool? | CREATE TABLE table_3005999_1 (provider VARCHAR, destination VARCHAR) | SELECT COUNT(provider) FROM table_3005999_1 WHERE destination = "Blackpool" |
What Place has a To par of –4? | CREATE TABLE table_name_92 (place VARCHAR, to_par VARCHAR) | SELECT place FROM table_name_92 WHERE to_par = "–4" |
What was Geelong's score when they were the away team? | CREATE TABLE table_name_62 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_62 WHERE away_team = "geelong" |
Which tournament had a qf in 2011? | CREATE TABLE table_name_26 (tournament VARCHAR) | SELECT tournament FROM table_name_26 WHERE 2011 = "qf" |
What championship had a margin of playoff 2? | CREATE TABLE table_13026799_1 (championship VARCHAR, margin VARCHAR) | SELECT championship FROM table_13026799_1 WHERE margin = "Playoff 2" |
Give me a list of cities whose temperature in Mar is lower than that in Dec and which have never been host cities. | CREATE TABLE city (city VARCHAR, city_id VARCHAR); CREATE TABLE hosting_city (host_city VARCHAR); CREATE TABLE temperature (city_id VARCHAR, Mar INTEGER, Dec VARCHAR) | SELECT T1.city FROM city AS T1 JOIN temperature AS T2 ON T1.city_id = T2.city_id WHERE T2.Mar < T2.Dec EXCEPT SELECT T3.city FROM city AS T3 JOIN hosting_city AS T4 ON T3.city_id = T4.host_city |
Which year was the vessel Deva built as a Panamax DNV class ship? | CREATE TABLE table_name_54 (built INTEGER, vessel_name VARCHAR, class VARCHAR, type VARCHAR) | SELECT SUM(built) FROM table_name_54 WHERE class = "dnv" AND type = "panamax" AND vessel_name = "deva" |
Who was the home team when the Tie no was 7? | CREATE TABLE table_name_60 (home_team VARCHAR, tie_no VARCHAR) | SELECT home_team FROM table_name_60 WHERE tie_no = "7" |
What are the first and last name of the faculty who has the most students? | CREATE TABLE Student (advisor VARCHAR); CREATE TABLE Faculty (fname VARCHAR, lname VARCHAR, FacID VARCHAR) | SELECT T1.fname, T1.lname FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID = T2.advisor GROUP BY T1.FacID ORDER BY COUNT(*) DESC LIMIT 1 |
What is the most number of families in regions where average family size is 2.7? | CREATE TABLE table_16048129_5 (number_of_families INTEGER, average_family_size VARCHAR) | SELECT MAX(number_of_families) FROM table_16048129_5 WHERE average_family_size = "2.7" |
What was the result of the election featuring andrew stevenson (j) 100%? | CREATE TABLE table_2668243_25 (result VARCHAR, candidates VARCHAR) | SELECT result FROM table_2668243_25 WHERE candidates = "Andrew Stevenson (J) 100%" |
Name the most first elected | CREATE TABLE table_2668352_11 (first_elected INTEGER) | SELECT MAX(first_elected) FROM table_2668352_11 |
What is the L2 Cache for Model Number nano u3400 with an Idle Power of 100mw? | CREATE TABLE table_name_10 (l2_cache VARCHAR, idle_power VARCHAR, model_number VARCHAR) | SELECT l2_cache FROM table_name_10 WHERE idle_power = "100mw" AND model_number = "nano u3400" |
What was the team where Darren Collison (7) scored high assists? | CREATE TABLE table_27756164_11 (team VARCHAR, high_assists VARCHAR) | SELECT team FROM table_27756164_11 WHERE high_assists = "Darren Collison (7)" |
Show all artist names who didn't have an exhibition in 2004. | CREATE TABLE exhibition (artist_id VARCHAR, year VARCHAR); CREATE TABLE artist (name VARCHAR); CREATE TABLE artist (name VARCHAR, artist_id VARCHAR) | SELECT name FROM artist EXCEPT SELECT T2.name FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id = T2.artist_id WHERE T1.year = 2004 |
How many percentages (2006) are there for the population whose mother tongue is French? | CREATE TABLE table_2328113_1 (percentage__2006_ VARCHAR, mother_tongue VARCHAR) | SELECT COUNT(percentage__2006_) FROM table_2328113_1 WHERE mother_tongue = "French" |
For delegate is gaines, tawanna p. tawanna gaines, please specify all the party. | CREATE TABLE table_27050336_7 (party VARCHAR, delegate VARCHAR) | SELECT party FROM table_27050336_7 WHERE delegate = "Gaines, Tawanna P. Tawanna Gaines" |
What was the rank when the opponent was Wisconsin (played at Wisconsin)? | CREATE TABLE table_name_23 (rank__number VARCHAR, opponent_number VARCHAR) | SELECT rank__number FROM table_name_23 WHERE opponent_number = "at wisconsin" |
On the date April 11, what is the total game number? | CREATE TABLE table_name_4 (game VARCHAR, date VARCHAR) | SELECT COUNT(game) FROM table_name_4 WHERE date = "april 11" |
Was there a starter when 3 touchdowns were scored? | CREATE TABLE table_14342592_7 (starter VARCHAR, touchdowns VARCHAR) | SELECT starter FROM table_14342592_7 WHERE touchdowns = 3 |
What is the reunion weight of the contestant who lost 74.4 lbs at the finale? | CREATE TABLE table_28654454_5 (reunion_weight VARCHAR, lbs_lost_finale VARCHAR) | SELECT reunion_weight FROM table_28654454_5 WHERE lbs_lost_finale = "74.4" |
What is the sum of silver medals won for rank 7? | CREATE TABLE table_name_30 (silver INTEGER, rank VARCHAR) | SELECT SUM(silver) FROM table_name_30 WHERE rank = "7" |
Who is the trainer of the winner skylighter? | CREATE TABLE table_name_5 (trainer VARCHAR, winner VARCHAR) | SELECT trainer FROM table_name_5 WHERE winner = "skylighter" |
Which event is in the 1952 summer olympics? | CREATE TABLE table_name_57 (event VARCHAR, olympics VARCHAR) | SELECT event FROM table_name_57 WHERE olympics = "1952 summer olympics" |
Which area has a Decile of 9, and a Roll of 31? | CREATE TABLE table_name_98 (area VARCHAR, decile VARCHAR, roll VARCHAR) | SELECT area FROM table_name_98 WHERE decile = 9 AND roll = 31 |
what is the average drawn when the points is more than 15, lost is 1 and played is less than 14? | CREATE TABLE table_name_22 (drawn INTEGER, played VARCHAR, points VARCHAR, lost VARCHAR) | SELECT AVG(drawn) FROM table_name_22 WHERE points > 15 AND lost = 1 AND played < 14 |
Name the reporters for 2003 | CREATE TABLE table_22514845_2 (reporters VARCHAR, year VARCHAR) | SELECT reporters FROM table_22514845_2 WHERE year = 2003 |
What district has 98 constituencies? | CREATE TABLE table_name_54 (district VARCHAR, constituency_number VARCHAR) | SELECT district FROM table_name_54 WHERE constituency_number = "98" |
Which Country has Wins larger than 2, and a Rank of 2, and a Name of federico bahamontes? | CREATE TABLE table_name_90 (country VARCHAR, name VARCHAR, wins VARCHAR, rank VARCHAR) | SELECT country FROM table_name_90 WHERE wins > 2 AND rank = 2 AND name = "federico bahamontes" |
What was the loss of the Mariners game when they had a record of 22-35? | CREATE TABLE table_name_96 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_96 WHERE record = "22-35" |
What is Date, when Opponents In The Final, is Maria-Fernanda Alves Stéphanie Dubois? | CREATE TABLE table_name_59 (date VARCHAR, opponents_in_the_final VARCHAR) | SELECT date FROM table_name_59 WHERE opponents_in_the_final = "maria-fernanda alves stéphanie dubois" |
What was the standing when goal against were 279? | CREATE TABLE table_2259285_1 (standing VARCHAR, goals_against VARCHAR) | SELECT standing FROM table_2259285_1 WHERE goals_against = 279 |
What is the sum of all the crowds that watched North Melbourne at home? | CREATE TABLE table_name_74 (crowd INTEGER, home_team VARCHAR) | SELECT SUM(crowd) FROM table_name_74 WHERE home_team = "north melbourne" |
What is the highest pick number for player don barber? | CREATE TABLE table_2679061_6 (pick__number INTEGER, player VARCHAR) | SELECT MAX(pick__number) FROM table_2679061_6 WHERE player = "Don Barber" |
Name the number of record for 12 cowboys points | CREATE TABLE table_22815259_1 (record VARCHAR, cowboys_points VARCHAR) | SELECT COUNT(record) FROM table_22815259_1 WHERE cowboys_points = 12 |
Which episode was the last written by chris hawkshaw this season? | CREATE TABLE table_name_72 (no_in_season INTEGER, written_by VARCHAR) | SELECT MAX(no_in_season) FROM table_name_72 WHERE written_by = "chris hawkshaw" |
What are the average number of played with goals of less than 43, more than 9 draws, a higher position than 17 and 30-8 points? | CREATE TABLE table_name_64 (played INTEGER, points VARCHAR, position VARCHAR, goals_for VARCHAR, draws VARCHAR) | SELECT AVG(played) FROM table_name_64 WHERE goals_for < 43 AND draws > 9 AND position > 17 AND points = "30-8" |
Which championship had a score in the final of 3–6, 6–4, 5–7? | CREATE TABLE table_name_79 (championship VARCHAR, score_in_the_final VARCHAR) | SELECT championship FROM table_name_79 WHERE score_in_the_final = "3–6, 6–4, 5–7" |
What is Ateneo de Manila's PBA Team? | CREATE TABLE table_name_96 (pba_team VARCHAR, college VARCHAR) | SELECT pba_team FROM table_name_96 WHERE college = "ateneo de manila" |
What is the division in the season with 13 tms and pos smaller than 8? | CREATE TABLE table_name_36 (division VARCHAR, tms VARCHAR, pos VARCHAR) | SELECT COUNT(division) FROM table_name_36 WHERE tms = 13 AND pos < 8 |
What is the average latitude for townships in Dickey county with water under 2.106 sqmi and population under 95? | CREATE TABLE table_name_15 (latitude INTEGER, pop__2010_ VARCHAR, water__sqmi_ VARCHAR, county VARCHAR) | SELECT AVG(latitude) FROM table_name_15 WHERE water__sqmi_ < 2.106 AND county = "dickey" AND pop__2010_ < 95 |
Name the total number of Laps for year of 1961 | CREATE TABLE table_name_48 (laps VARCHAR, year VARCHAR) | SELECT COUNT(laps) FROM table_name_48 WHERE year = "1961" |
What was the max mach when the maximum speed was 3887? | CREATE TABLE table_221315_3 (max_mach VARCHAR, max_speed__mph_ VARCHAR) | SELECT max_mach FROM table_221315_3 WHERE max_speed__mph_ = 3887 |
Which player from A-League 39 (110) has the highest games per goal? | CREATE TABLE table_name_34 (games_per_goal INTEGER, a_league VARCHAR) | SELECT MAX(games_per_goal) FROM table_name_34 WHERE a_league = "39 (110)" |
What is the number of totals that have silvers under 2, bronzes over 0, and golds over 1? | CREATE TABLE table_name_57 (total VARCHAR, gold VARCHAR, silver VARCHAR, bronze VARCHAR) | SELECT COUNT(total) FROM table_name_57 WHERE silver < 2 AND bronze > 0 AND gold > 1 |
Name the number of parish for vilnes kyrkje | CREATE TABLE table_178399_1 (parish__prestegjeld_ VARCHAR, church_name VARCHAR) | SELECT COUNT(parish__prestegjeld_) FROM table_178399_1 WHERE church_name = "Vilnes kyrkje" |
What is the Paper Type with an Illustration with martin dee, ubc public affairs? | CREATE TABLE table_name_51 (paper_type VARCHAR, illustration VARCHAR) | SELECT paper_type FROM table_name_51 WHERE illustration = "martin dee, ubc public affairs" |
What is the density of the place with an area of 1512? | CREATE TABLE table_2847477_2 (density INTEGER, area VARCHAR) | SELECT MAX(density) FROM table_2847477_2 WHERE area = 1512 |
Who was the visitor on October 31? | CREATE TABLE table_name_75 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_75 WHERE date = "october 31" |
How many years in office were served by the person who assumed the office on October 4, 1886? | CREATE TABLE table_name_23 (years_in_office VARCHAR, assumed_office VARCHAR) | SELECT years_in_office FROM table_name_23 WHERE assumed_office = "october 4, 1886" |
What was the date of the Paco Rabanne Open de France? | CREATE TABLE table_name_95 (date VARCHAR, tournament VARCHAR) | SELECT date FROM table_name_95 WHERE tournament = "paco rabanne open de france" |
what is 1977 when 1978 is 4.1? | CREATE TABLE table_name_84 (Id VARCHAR) | SELECT 1977 FROM table_name_84 WHERE 1978 = "4.1" |
What team played Geelong at their away game? | CREATE TABLE table_name_59 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_59 WHERE away_team = "geelong" |
What's the total number of signicand with ~34.0 decimal digits and more than 128 total bits? | CREATE TABLE table_name_41 (significand VARCHAR, number_of_decimal_digits VARCHAR, total_bits VARCHAR) | SELECT COUNT(significand) FROM table_name_41 WHERE number_of_decimal_digits = "~34.0" AND total_bits > 128 |
Name the accrediatation for southeast technical institute | CREATE TABLE table_2076557_2 (accreditation VARCHAR, school VARCHAR) | SELECT accreditation FROM table_2076557_2 WHERE school = "Southeast Technical Institute" |
What is the premiere rating for a Chinese title of 野蠻奶奶大戰戈師奶, and a Peak smaller than 41? | CREATE TABLE table_name_59 (premiere INTEGER, chinese_title VARCHAR, peak VARCHAR) | SELECT SUM(premiere) FROM table_name_59 WHERE chinese_title = "野蠻奶奶大戰戈師奶" AND peak < 41 |
What RECNet has 40 watts of power and temagami as the city of license? | CREATE TABLE table_name_20 (recnet VARCHAR, power VARCHAR, city_of_license VARCHAR) | SELECT recnet FROM table_name_20 WHERE power = "40 watts" AND city_of_license = "temagami" |
what is the weight of a shot that is xx-inch? | CREATE TABLE table_name_51 (weight_of_shot VARCHAR, designation__bore_ VARCHAR) | SELECT weight_of_shot FROM table_name_51 WHERE designation__bore_ = "xx-inch" |
Which Architecture and modelling has a Unit test of no, and a Projects templates of limited? | CREATE TABLE table_name_5 (architecture_and_modelling VARCHAR, unit_test VARCHAR, projects_templates VARCHAR) | SELECT architecture_and_modelling FROM table_name_5 WHERE unit_test = "no" AND projects_templates = "limited" |
what was the location for charlotte? | CREATE TABLE table_27722734_10 (location_attendance VARCHAR, team VARCHAR) | SELECT location_attendance FROM table_27722734_10 WHERE team = "Charlotte" |
For which song was the score 6.5 + 6.0 + 6.0 + 5.5 = 24.0? | CREATE TABLE table_name_25 (song VARCHAR, score VARCHAR) | SELECT song FROM table_name_25 WHERE score = 6.5 + 6.0 + 6.0 + 5.5 = 24.0 |
During what years did athletes who attended school in Minnesota play for the Grizzlies? | CREATE TABLE table_16494599_10 (years_for_grizzlies VARCHAR, school_club_team VARCHAR) | SELECT years_for_grizzlies FROM table_16494599_10 WHERE school_club_team = "Minnesota" |
what is the highest gold when the nation is total and the total is less than 24? | CREATE TABLE table_name_8 (gold INTEGER, nation VARCHAR) | SELECT MAX(gold) FROM table_name_8 WHERE nation = "total" AND "total" < 24 |
List the type of the services in alphabetical order. | CREATE TABLE services (service_type_code VARCHAR) | SELECT service_type_code FROM services ORDER BY service_type_code |
What is the highest number of tourism receipts in 2011 US $ per capita with 19.4 % of GDP in 2003 tourism receipts and less than 655 US $ per arrival in 2011 tourism receipts? | CREATE TABLE table_name_99 (tourism_receipts__2011___us INTEGER, tourism_receipts__2003___as__percentage_of_gdp_ VARCHAR, tourism_receipts__2011___us$_per_arrival_ VARCHAR) | SELECT MAX(tourism_receipts__2011___us) AS $_per_capita_ FROM table_name_99 WHERE tourism_receipts__2003___as__percentage_of_gdp_ = "19.4" AND tourism_receipts__2011___us$_per_arrival_ < 655 |
When fixed route is the type of fare how much is the 31-day pass? | CREATE TABLE table_20803241_1 (day_pass VARCHAR, type_of_fare VARCHAR) | SELECT 31 - day_pass FROM table_20803241_1 WHERE type_of_fare = "Fixed Route" |
Name the D 47 when it has a D 48 of d 49 and D 42 of r 42 | CREATE TABLE table_name_35 (d_47 VARCHAR, d_48 VARCHAR, d_42 VARCHAR) | SELECT d_47 FROM table_name_35 WHERE d_48 = "d 49" AND d_42 = "r 42" |
What is the highest Car with more than 155 yards? | CREATE TABLE table_name_56 (car INTEGER, yards INTEGER) | SELECT MAX(car) FROM table_name_56 WHERE yards > 155 |
For the model/engine of 1.8 Duratec HE, what is the torque? | CREATE TABLE table_1212189_1 (torque__nm__rpm VARCHAR, model_engine VARCHAR) | SELECT torque__nm__rpm FROM table_1212189_1 WHERE model_engine = "1.8 Duratec HE" |
What chng has a rank greater than 6, with 12 as a prev? | CREATE TABLE table_name_55 (chng VARCHAR, rank VARCHAR, prev VARCHAR) | SELECT chng FROM table_name_55 WHERE rank > 6 AND prev = 12 |
What is the 2005 that has a grand slam tournaments in 2007? | CREATE TABLE table_name_52 (Id VARCHAR) | SELECT 2005 FROM table_name_52 WHERE 2007 = "grand slam tournaments" |
Name the party for yvette clarke (d) 90.6% hugh carr (r) 9.4% | CREATE TABLE table_19753079_35 (party VARCHAR, candidates VARCHAR) | SELECT party FROM table_19753079_35 WHERE candidates = "Yvette Clarke (D) 90.6% Hugh Carr (R) 9.4%" |
What is the Partner with Opponents in the final with roy emerson rod laver, with Date smaller than 1975? | CREATE TABLE table_name_31 (partner VARCHAR, opponents_in_the_final VARCHAR, date VARCHAR) | SELECT partner FROM table_name_31 WHERE opponents_in_the_final = "roy emerson rod laver" AND date < 1975 |
With a score of 70, this player's name is listed as what? | CREATE TABLE table_name_27 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_27 WHERE score = 70 |
What is the first name of each student enrolled in class ACCT-211? | CREATE TABLE student (stu_fname VARCHAR, stu_num VARCHAR); CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR); CREATE TABLE enroll (class_code VARCHAR, stu_num VARCHAR) | SELECT T3.stu_fname FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code = T2.class_code JOIN student AS T3 ON T2.stu_num = T3.stu_num WHERE T1.crs_code = 'ACCT-211' |
Who is team e when Aaron Solloway is team D? | CREATE TABLE table_name_94 (team_e VARCHAR, team_d VARCHAR) | SELECT team_e FROM table_name_94 WHERE team_d = "aaron solloway" |
How many years did aivaras kvedarauskas juozas spelveris participate in the men's doubles? | CREATE TABLE table_15001753_1 (year VARCHAR, mens_doubles VARCHAR) | SELECT COUNT(year) FROM table_15001753_1 WHERE mens_doubles = "Aivaras Kvedarauskas Juozas Spelveris" |
Which Years have a Character of dr trevor stewart? | CREATE TABLE table_name_54 (years VARCHAR, character VARCHAR) | SELECT years FROM table_name_54 WHERE character = "dr trevor stewart" |
What points has points for as points for? | CREATE TABLE table_name_25 (points VARCHAR, points_for VARCHAR) | SELECT points FROM table_name_25 WHERE points_for = "points for" |
What is the antiparticle symbol with a rest mess (mev/c2) of .47 ± .33? | CREATE TABLE table_name_16 (antiparticle_symbol VARCHAR, rest_mass___mev___c_2__ VARCHAR) | SELECT antiparticle_symbol FROM table_name_16 WHERE rest_mass___mev___c_2__ = ".47 ± .33" |
Who are the champions that have won at Aguas Buenas, Puerto Rico? | CREATE TABLE table_1272033_1 (champion_s_ VARCHAR, location VARCHAR) | SELECT champion_s_ FROM table_1272033_1 WHERE location = "Aguas Buenas, Puerto Rico" |
What is the Inns of 435 Runs? | CREATE TABLE table_name_80 (inns VARCHAR, runs VARCHAR) | SELECT inns FROM table_name_80 WHERE runs = 435 |
What is the away team at corio oval? | CREATE TABLE table_name_26 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_26 WHERE venue = "corio oval" |
For the game where the away team was North Melbourne, what was the venue? | CREATE TABLE table_name_7 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_7 WHERE away_team = "north melbourne" |
Show the name, role code, and date of birth for the employee with name 'Armani'. | CREATE TABLE Employees (employee_name VARCHAR, role_code VARCHAR, date_of_birth VARCHAR, employee_Name VARCHAR) | SELECT employee_name, role_code, date_of_birth FROM Employees WHERE employee_Name = 'Armani' |
What tv season year had 14.54 million viewers? | CREATE TABLE table_27553627_2 (tv_season VARCHAR, viewers__in_millions_ VARCHAR) | SELECT tv_season FROM table_27553627_2 WHERE viewers__in_millions_ = "14.54" |
Name the total number in attendance for when the bulls visited | CREATE TABLE table_name_50 (attendance VARCHAR, visitor VARCHAR) | SELECT COUNT(attendance) FROM table_name_50 WHERE visitor = "bulls" |
Who was the opponent on December 17, 1995? | CREATE TABLE table_name_58 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_58 WHERE date = "december 17, 1995" |
What is the average Total, when the value for Silver is less than 1, when the value for Gold is 0, when the Nation is Switzerland, and when the value for Bronze is 2? | CREATE TABLE table_name_8 (total INTEGER, bronze VARCHAR, nation VARCHAR, silver VARCHAR, gold VARCHAR) | SELECT AVG(total) FROM table_name_8 WHERE silver < 1 AND gold = 0 AND nation = "switzerland" AND bronze < 2 |
What was the time/retired of car number 6. | CREATE TABLE table_name_93 (time_retired VARCHAR, car_no VARCHAR) | SELECT time_retired FROM table_name_93 WHERE car_no = "6" |
How many people were in the crowd at Victoria Park? | CREATE TABLE table_name_97 (crowd VARCHAR, venue VARCHAR) | SELECT COUNT(crowd) FROM table_name_97 WHERE venue = "victoria park" |
Can you tell me the lowest Ends Lost that has the Locale of norway, and the Blank Ends larger than 17? | CREATE TABLE table_name_95 (ends_lost INTEGER, locale VARCHAR, blank_ends VARCHAR) | SELECT MIN(ends_lost) FROM table_name_95 WHERE locale = "norway" AND blank_ends > 17 |
Find the first names of students whose first names contain letter "a". | CREATE TABLE STUDENT (Fname VARCHAR) | SELECT DISTINCT Fname FROM STUDENT WHERE Fname LIKE '%a%' |
What is the average rating for a Flyde that has a Burnley less than 0? | CREATE TABLE table_name_57 (fylde INTEGER, burnley INTEGER) | SELECT AVG(fylde) FROM table_name_57 WHERE burnley < 0 |
How many losses did the Golden rivers of hay have? | CREATE TABLE table_name_2 (losses INTEGER, golden_rivers VARCHAR) | SELECT AVG(losses) FROM table_name_2 WHERE golden_rivers = "hay" |
What is the wins when there are 5 losses, and against is more than 1205? | CREATE TABLE table_name_33 (wins INTEGER, losses VARCHAR, against VARCHAR) | SELECT MAX(wins) FROM table_name_33 WHERE losses = 5 AND against > 1205 |
What is the total number of wins of the central murray of koondrook-barham, which has more than 0 draws? | CREATE TABLE table_name_70 (wins VARCHAR, central_murray VARCHAR, draws VARCHAR) | SELECT COUNT(wins) FROM table_name_70 WHERE central_murray = "koondrook-barham" AND draws > 0 |
How many drivers drove 300 laps at average speed of 103.594? | CREATE TABLE table_2175858_1 (driver VARCHAR, laps VARCHAR, average_speed__mph_ VARCHAR) | SELECT COUNT(driver) FROM table_2175858_1 WHERE laps = "300" AND average_speed__mph_ = "103.594" |
What is the area of the city with a density of 8,546.1? | CREATE TABLE table_name_92 (area_km² VARCHAR, density__hab_km²_ VARCHAR) | SELECT area_km² FROM table_name_92 WHERE density__hab_km²_ = "8,546.1" |
Show the most common builder of railways. | CREATE TABLE railway (Builder VARCHAR) | SELECT Builder FROM railway GROUP BY Builder ORDER BY COUNT(*) DESC LIMIT 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.