answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT grid FROM table_name_57 WHERE time_retired = "accident"
What is the grid value which has Time/Retired value of accident?
CREATE TABLE table_name_57 (grid VARCHAR, time_retired VARCHAR)
SELECT MIN(top_10) FROM table_name_79 WHERE events = 1 AND cuts_made > 0
For events with values of exactly 1, and 0 cuts made, what is the fewest number of top-10s?
CREATE TABLE table_name_79 (top_10 INTEGER, events VARCHAR, cuts_made VARCHAR)
SELECT MIN(rank) FROM table_name_50 WHERE event = "2012"
What's the lowest rank of a player who played in 2012?
CREATE TABLE table_name_50 (rank INTEGER, event VARCHAR)
SELECT grand_finaldate FROM table_11236195_5 WHERE losingteam = "St. George-Illawarra Dragons"
What was the date that the st. george-illawarra dragons lost?
CREATE TABLE table_11236195_5 (grand_finaldate VARCHAR, losingteam VARCHAR)
SELECT player FROM table_18042409_1 WHERE alma_mater = "Wilfrid Laurier University"
List the plats that attended Wilfrid Laurier University.
CREATE TABLE table_18042409_1 (player VARCHAR, alma_mater VARCHAR)
SELECT SUM(laps) FROM table_name_36 WHERE grid = 16
What's the number of laps for 16 grids?
CREATE TABLE table_name_36 (laps INTEGER, grid VARCHAR)
SELECT score FROM table_name_25 WHERE date = "november 1"
What was the score for the game on November 1?
CREATE TABLE table_name_25 (score VARCHAR, date VARCHAR)
SELECT COUNT(swimsuit) FROM table_11674683_2 WHERE delegate = "Israel"
Name the number of swimsuit for israel
CREATE TABLE table_11674683_2 (swimsuit VARCHAR, delegate VARCHAR)
SELECT SUM(points) FROM table_name_93 WHERE played < 12
What is the total amount of points when the played number was less than 12?
CREATE TABLE table_name_93 (points INTEGER, played INTEGER)
SELECT COUNT(ties) FROM table_name_98 WHERE losses < 3
What is the total number of ties a team with less than 3 losses have?
CREATE TABLE table_name_98 (ties VARCHAR, losses INTEGER)
SELECT submitting_country FROM table_12842068_1 WHERE original_title = "Miehen työ"
What country submitted miehen työ?
CREATE TABLE table_12842068_1 (submitting_country VARCHAR, original_title VARCHAR)
SELECT rider FROM table_name_31 WHERE rounds = "7" AND motorcycle = "ducati 999 rs"
Who is riding the Ducati 999 RS in Round 7?
CREATE TABLE table_name_31 (rider VARCHAR, rounds VARCHAR, motorcycle VARCHAR)
SELECT COUNT(avg_g) FROM table_name_62 WHERE att_cmp_int = "1–1–0" AND effic > 394
Avg/G that has a Att-Cmp-Int of 1–1–0, and an Effic larger than 394 is what total?
CREATE TABLE table_name_62 (avg_g VARCHAR, att_cmp_int VARCHAR, effic VARCHAR)
SELECT championship_game FROM table_name_29 WHERE conference = "big eight"
Tell me the championship game for big eight
CREATE TABLE table_name_29 (championship_game VARCHAR, conference VARCHAR)
SELECT status FROM table_name_66 WHERE date = "21/08/1999"
What status is on 21/08/1999?
CREATE TABLE table_name_66 (status VARCHAR, date VARCHAR)
SELECT evening_gown FROM table_17088705_2 WHERE swimsuit = "8.988"
Evening gown scores of participants with 8.988 swimsuit score
CREATE TABLE table_17088705_2 (evening_gown VARCHAR, swimsuit VARCHAR)
SELECT novelty FROM table_name_40 WHERE status = "valid" AND location = "mongolia" AND name = "prenocephale"
What is the novel that has a valid status, located in Mongolia, and named Prenocephale?
CREATE TABLE table_name_40 (novelty VARCHAR, name VARCHAR, status VARCHAR, location VARCHAR)
SELECT AVG(position) FROM table_name_54 WHERE points < 13 AND goals_ + __ > -12
What is the average position of Eesti Põlevkivi Jõhvi when they had less than 13 points and worse than a -12 goal differential?
CREATE TABLE table_name_54 (position INTEGER, points VARCHAR, goals_ VARCHAR, __ VARCHAR)
SELECT tournament FROM table_name_9 WHERE score = "2–6 6–4 [10–8]"
Which Tournament has a score of 2–6 6–4 [10–8]?
CREATE TABLE table_name_9 (tournament VARCHAR, score VARCHAR)
SELECT 2005 FROM table_name_37 WHERE 2010 = "grand slam tournaments"
What is the 2005 value for the 2010 grand slam tournaments?
CREATE TABLE table_name_37 (Id VARCHAR)
SELECT MAX(points_for) FROM table_15607589_2 WHERE date = "October 11"
Name the number of points for october 11
CREATE TABLE table_15607589_2 (points_for INTEGER, date VARCHAR)
SELECT COUNT(no_in_series) FROM table_27462177_1 WHERE written_by = "Eve Weston"
How many episodes did Eve Weston write?
CREATE TABLE table_27462177_1 (no_in_series VARCHAR, written_by VARCHAR)
SELECT result FROM table_name_66 WHERE date = "2007-04-14"
Who won on 2007-04-14
CREATE TABLE table_name_66 (result VARCHAR, date VARCHAR)
SELECT south_dakota FROM table_name_17 WHERE oklahoma = "bush"
What South Dakota has Bush of Oklahoma?
CREATE TABLE table_name_17 (south_dakota VARCHAR, oklahoma VARCHAR)
SELECT party FROM table_1341604_11 WHERE district = "Georgia 4"
Name the party of georgia 4
CREATE TABLE table_1341604_11 (party VARCHAR, district VARCHAR)
SELECT season FROM table_name_18 WHERE agg = "4–1" AND opponent = "rapid wien"
Which Season has an Agg of 4–1, and an Opponent of rapid wien?
CREATE TABLE table_name_18 (season VARCHAR, agg VARCHAR, opponent VARCHAR)
SELECT COUNT(*), sex FROM people WHERE weight > 85 GROUP BY sex
how many people are there whose weight is higher than 85 for each gender?
CREATE TABLE people (sex VARCHAR, weight INTEGER)
SELECT score_in_the_final FROM table_name_48 WHERE partner = "tomas behrend"
What is Partner Tomas Behrend's Score in the final?
CREATE TABLE table_name_48 (score_in_the_final VARCHAR, partner VARCHAR)
SELECT nupowr_167 FROM table_3002894_4 WHERE model = "Maker"
When maker is the model what is the nupowr 167?
CREATE TABLE table_3002894_4 (nupowr_167 VARCHAR, model VARCHAR)
SELECT home FROM table_name_61 WHERE visitor = "ottawa senators" AND score = "2–3"
which Home has a Visitor of ottawa senators and a Score of 2–3?
CREATE TABLE table_name_61 (home VARCHAR, visitor VARCHAR, score VARCHAR)
SELECT COUNT(2010) FROM table_name_9 WHERE 2007 > 4.6 AND 2006 = 8.2
How many 2010s have a 2007 greater than 4.6, and 8.2 as a 2006?
CREATE TABLE table_name_9 (Id VARCHAR)
SELECT city FROM table_name_58 WHERE country = "india" AND airport = "sardar vallabhbhai patel international airport"
What is the city in India with an airport named Sardar Vallabhbhai Patel International Airport?
CREATE TABLE table_name_58 (city VARCHAR, country VARCHAR, airport VARCHAR)
SELECT score FROM table_name_7 WHERE loss = "wegman (2-6)"
What was the score of the game that had a loss of Wegman (2-6)?
CREATE TABLE table_name_7 (score VARCHAR, loss VARCHAR)
SELECT country FROM table_name_4 WHERE name = "polák"
Name the country with polák
CREATE TABLE table_name_4 (country VARCHAR, name VARCHAR)
SELECT home_team FROM table_name_5 WHERE venue = "glenferrie oval"
What home team plays at glenferrie oval?
CREATE TABLE table_name_5 (home_team VARCHAR, venue VARCHAR)
SELECT length FROM table_17918238_1 WHERE maximum_diameter = "450 mm"
What is the length for a diameter totaling 450 mm?
CREATE TABLE table_17918238_1 (length VARCHAR, maximum_diameter VARCHAR)
SELECT home_team FROM table_name_17 WHERE venue = "windy hill"
Can you tell me the Home team that has a Venue of Windy Hill?
CREATE TABLE table_name_17 (home_team VARCHAR, venue VARCHAR)
SELECT tie_no FROM table_name_52 WHERE home_team = "portsmouth"
what is the tie number that has Portsmouth Home team
CREATE TABLE table_name_52 (tie_no VARCHAR, home_team VARCHAR)
SELECT MIN(overs) FROM table_name_29 WHERE team = "chennai super kings" AND best_bowling = "2/17" AND economy_rate < 5.92
What is the lowest overs of the Chennai Super Kings when the Economy Rate is less than 5.92 with a Best Bowling number of 2/17?
CREATE TABLE table_name_29 (overs INTEGER, economy_rate VARCHAR, team VARCHAR, best_bowling VARCHAR)
SELECT mon_24_aug FROM table_23465864_5 WHERE fri_28_aug = "23' 22.25 96.864mph"
What is every value for Monday August 24 if Friday August 28 is 23' 22.25 96.864mph?
CREATE TABLE table_23465864_5 (mon_24_aug VARCHAR, fri_28_aug VARCHAR)
SELECT laps FROM table_name_17 WHERE grid > 11 AND bike = "honda cbr1000rr" AND time = "+42.633"
How many laps did the rider with a grid larger than 11, a Honda cbr1000rr bike, and a time of +42.633?
CREATE TABLE table_name_17 (laps VARCHAR, time VARCHAR, grid VARCHAR, bike VARCHAR)
SELECT COUNT(week) FROM table_name_4 WHERE result = "l 21-19"
Which Week has a Result of l 21-19?
CREATE TABLE table_name_4 (week VARCHAR, result VARCHAR)
SELECT weight FROM table_name_63 WHERE born = "1980"
What is the weight of the person born in 1980?
CREATE TABLE table_name_63 (weight VARCHAR, born VARCHAR)
SELECT COUNT(villains) FROM table_23170118_2 WHERE episode_number = "3 (13)"
How many villains were in episode 3 (13)?
CREATE TABLE table_23170118_2 (villains VARCHAR, episode_number VARCHAR)
SELECT MIN(year) FROM table_name_36 WHERE genre = "action-adventure"
Which year is the lowest for genre of action-adventure?
CREATE TABLE table_name_36 (year INTEGER, genre VARCHAR)
SELECT date FROM table_name_57 WHERE golden_tickets = 26
What was the date when there were 26 golden tickets?
CREATE TABLE table_name_57 (date VARCHAR, golden_tickets VARCHAR)
SELECT DISTINCT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.advisor = 1121
List the clubs that have at least a member with advisor "1121".
CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubname VARCHAR, clubid VARCHAR); CREATE TABLE student (stuid VARCHAR, advisor VARCHAR)
SELECT parent FROM table_name_96 WHERE order = 6
Who was the parent on the order of 6?
CREATE TABLE table_name_96 (parent VARCHAR, order VARCHAR)
SELECT crowd FROM table_name_9 WHERE ground = "colonial stadium" AND home_team = "hawthorn"
How much is the crowd attending at colonial stadium where Hawthorn plays?
CREATE TABLE table_name_9 (crowd VARCHAR, ground VARCHAR, home_team VARCHAR)
SELECT AVG(ticket_price), MIN(ticket_price), MAX(ticket_price) FROM exhibition WHERE YEAR < 2009
Show the average, minimum, and maximum ticket prices for exhibitions for all years before 2009.
CREATE TABLE exhibition (ticket_price INTEGER, YEAR INTEGER)
SELECT us_viewers__millions_ FROM table_17482534_1 WHERE written_by = "Warren Lieberstein & Halsted Sullivan"
How many viewers did the episode written by Warren Lieberstein & Halsted Sullivan have?
CREATE TABLE table_17482534_1 (us_viewers__millions_ VARCHAR, written_by VARCHAR)
SELECT MIN(matches) FROM table_name_42 WHERE goals > 36
What is the lowest match for goals larger than 36?
CREATE TABLE table_name_42 (matches INTEGER, goals INTEGER)
SELECT nation FROM table_name_26 WHERE bronze < 17 AND gold < 16
What is the Nation, when the number of Bronze is less than 17, and when the number of Gold is less than 16?
CREATE TABLE table_name_26 (nation VARCHAR, bronze VARCHAR, gold VARCHAR)
SELECT height FROM table_name_96 WHERE club = "oakville gymnastics club"
What is the height for the Oakville Gymnastics Club?
CREATE TABLE table_name_96 (height VARCHAR, club VARCHAR)
SELECT result FROM table_name_63 WHERE week < 4 AND record = "1-0"
What is the result when the record was 1-0 and it was earlier than week 4?
CREATE TABLE table_name_63 (result VARCHAR, week VARCHAR, record VARCHAR)
SELECT T1.city FROM city AS T1 JOIN hosting_city AS T2 ON T1.city_id = T2.host_city WHERE T2.year > 2010
Find the cities which were once a host city after 2010?
CREATE TABLE city (city VARCHAR, city_id VARCHAR); CREATE TABLE hosting_city (host_city VARCHAR, year INTEGER)
SELECT pick__number FROM table_2897457_3 WHERE nhl_team = "New Jersey Devils"
What is the pick # when the new jersey devils is the nhl team?
CREATE TABLE table_2897457_3 (pick__number VARCHAR, nhl_team VARCHAR)
SELECT MIN(round) FROM table_name_57 WHERE position = "defensive back" AND player = "corey chavous"
Name the Round which has a Position of defensive back and corey chavous?
CREATE TABLE table_name_57 (round INTEGER, position VARCHAR, player VARCHAR)
SELECT record FROM table_name_20 WHERE date = "march 18"
What is the record of the game on March 18?
CREATE TABLE table_name_20 (record VARCHAR, date VARCHAR)
SELECT original_air_date FROM table_15824796_5 WHERE season__number = 4
What is the original airdate when the season number is 4?
CREATE TABLE table_15824796_5 (original_air_date VARCHAR, season__number VARCHAR)
SELECT COUNT(podiums) FROM table_10420426_1 WHERE season = "2010" AND series = "Campionato Italiano Superstars"
What is the number of podiums for season 2010 for campionato italiano superstars.
CREATE TABLE table_10420426_1 (podiums VARCHAR, season VARCHAR, series VARCHAR)
SELECT MIN(grid) FROM table_name_39 WHERE driver = "louis rosier" AND laps > 78
what is the grid when the driver is louis rosier and the laps is more than 78?
CREATE TABLE table_name_39 (grid INTEGER, driver VARCHAR, laps VARCHAR)
SELECT result FROM table_1342013_12 WHERE incumbent = "Leo E. Allen"
What was the result when Leo E. Allen was elected?
CREATE TABLE table_1342013_12 (result VARCHAR, incumbent VARCHAR)
SELECT SUM(bronze) FROM table_name_89 WHERE silver > 2 AND rank > 6
What is the sum of the bronze medals when there were more than 2 silver medals and a rank larger than 6?
CREATE TABLE table_name_89 (bronze INTEGER, silver VARCHAR, rank VARCHAR)
SELECT season FROM table_name_21 WHERE staffel_e = "stahl riesa"
Which season has a Staffel E of Stahl Riesa?
CREATE TABLE table_name_21 (season VARCHAR, staffel_e VARCHAR)
SELECT player FROM table_name_46 WHERE total = 272
Who has a total of 272?
CREATE TABLE table_name_46 (player VARCHAR, total VARCHAR)
SELECT away_team FROM table_name_68 WHERE tie_no = "1"
What is the Away team of Tie no 1?
CREATE TABLE table_name_68 (away_team VARCHAR, tie_no VARCHAR)
SELECT stuffit FROM table_name_75 WHERE gzip = "yes" AND iso_cd_image = "no" AND lha_lzh = "no"
What is the Stuffit ability that has a gzip of yes, ISO/CD images of no and LHA/LZH of no?
CREATE TABLE table_name_75 (stuffit VARCHAR, lha_lzh VARCHAR, gzip VARCHAR, iso_cd_image VARCHAR)
SELECT service_charge FROM table_name_42 WHERE designation = "12-pdr light"
What is the service chage of the boat howitzers with a 12-pdr light destination?
CREATE TABLE table_name_42 (service_charge VARCHAR, designation VARCHAR)
SELECT date FROM table_name_14 WHERE venue = "lancaster park , christchurch"
WHICH Date has a Venue of lancaster park , christchurch?
CREATE TABLE table_name_14 (date VARCHAR, venue VARCHAR)
SELECT COUNT(played) FROM table_17366952_1 WHERE team = "Lancaster City"
How many times did the Lancaster City team play?
CREATE TABLE table_17366952_1 (played VARCHAR, team VARCHAR)
SELECT pts_bns FROM table_27940569_1 WHERE driver = "Kurt Busch"
How many points and bonuses did Kurt Busch get?
CREATE TABLE table_27940569_1 (pts_bns VARCHAR, driver VARCHAR)
SELECT opponent FROM table_name_2 WHERE date = "september 4"
What team did the home team play on September 4?
CREATE TABLE table_name_2 (opponent VARCHAR, date VARCHAR)
SELECT written_by FROM table_21831229_3 WHERE no_in_series = 31
Who wrote episode 31 in the series?
CREATE TABLE table_21831229_3 (written_by VARCHAR, no_in_series VARCHAR)
SELECT type FROM table_name_85 WHERE course = "turin to monza"
Which type has turin to monza as a course?
CREATE TABLE table_name_85 (type VARCHAR, course VARCHAR)
SELECT record FROM table_name_60 WHERE opponent = "@ blue jays" AND loss = "lyon (5-4)"
Opponent of @ blue jays, and a Loss of lyon (5-4) had what opponent?
CREATE TABLE table_name_60 (record VARCHAR, opponent VARCHAR, loss VARCHAR)
SELECT eruptions FROM table_name_51 WHERE location = "pacific ring of fire" AND volcanic_explosivity_index = "6" AND country = "peru"
Which Eruptions have a Location of pacific ring of fire, and a Volcanic Explosivity Index of 6, and a Country of peru?
CREATE TABLE table_name_51 (eruptions VARCHAR, country VARCHAR, location VARCHAR, volcanic_explosivity_index VARCHAR)
SELECT SUM(points) FROM table_name_69 WHERE season = 2007
What is total amount of points for the 2007 season?
CREATE TABLE table_name_69 (points INTEGER, season VARCHAR)
SELECT SUM(league) FROM table_name_96 WHERE player = "m patrick maria" AND total < 0
How many league cups for m patrick maria with 0 total?
CREATE TABLE table_name_96 (league INTEGER, player VARCHAR, total VARCHAR)
SELECT AVG(season) FROM table_name_14 WHERE f_laps = 1 AND poles < 0
What is the average Season, when F/Laps is 1, and when Poles is less than 0?
CREATE TABLE table_name_14 (season INTEGER, f_laps VARCHAR, poles VARCHAR)
SELECT COUNT(us_air_date) FROM table_18424435_5 WHERE directed_by = "Jim Donovan"
How many air dates where directed by jim donovan?
CREATE TABLE table_18424435_5 (us_air_date VARCHAR, directed_by VARCHAR)
SELECT date FROM table_name_35 WHERE record = "26–14–9"
What was the date the record became 26–14–9?
CREATE TABLE table_name_35 (date VARCHAR, record VARCHAR)
SELECT tournament FROM table_name_13 WHERE 2006 = "a" AND 2011 = "1r"
What is the tournament with a 2006 value of A and a 2011 value of 1r?
CREATE TABLE table_name_13 (tournament VARCHAR)
SELECT opponent FROM table_name_14 WHERE date = "december 16, 1989"
What was the opponent on December 16, 1989?
CREATE TABLE table_name_14 (opponent VARCHAR, date VARCHAR)
SELECT college FROM table_name_94 WHERE player = "lance moore category:articles with hcards"
What college has Lance Moore Category:articles with hcards?
CREATE TABLE table_name_94 (college VARCHAR, player VARCHAR)
SELECT player FROM table_name_67 WHERE college = "east" AND pick = 3
What is the Pick 3 Player from East College?
CREATE TABLE table_name_67 (player VARCHAR, college VARCHAR, pick VARCHAR)
SELECT SUM(max_speed__km_h_) FROM table_name_22 WHERE quantity_built = "8+4" AND year_built < 1971
What is the max speed of the unit with an 8+4 quantity built before 1971?
CREATE TABLE table_name_22 (max_speed__km_h_ INTEGER, quantity_built VARCHAR, year_built VARCHAR)
SELECT name, openning_year FROM cinema ORDER BY openning_year DESC
Show all the cinema names and opening years in descending order of opening year.
CREATE TABLE cinema (name VARCHAR, openning_year VARCHAR)
SELECT AVG(prom__m_) FROM table_name_75 WHERE height__m_ > 733 AND class = "hewitt" AND peak = "kirk fell east top"
What is the average prom (m) when the height (m) is more than 733, the class is Hewitt, and the peak is Kirk Fell East Top?
CREATE TABLE table_name_75 (prom__m_ INTEGER, peak VARCHAR, height__m_ VARCHAR, class VARCHAR)
SELECT COUNT(stage_wins) FROM table_name_41 WHERE finishes > 1 AND podiums < 1 AND driver = "federico villagra" AND starts < 8
What's the number of stage wins for Federico Villagra having more than 1 finish, less than 8 starts and less than 1 podium?
CREATE TABLE table_name_41 (stage_wins VARCHAR, starts VARCHAR, driver VARCHAR, finishes VARCHAR, podiums VARCHAR)
SELECT min_press___mbar__ FROM table_name_15 WHERE storm_name = "adrian"
what is the minimum force of storm Adrian
CREATE TABLE table_name_15 (min_press___mbar__ VARCHAR, storm_name VARCHAR)
SELECT class FROM table_name_48 WHERE points < 89 AND team = "honda" AND year > 1987
Which class has fewer than 89 points and the Honda team later than 1987?
CREATE TABLE table_name_48 (class VARCHAR, year VARCHAR, points VARCHAR, team VARCHAR)
SELECT car_plates__since_1937_ FROM table_11654169_1 WHERE capital = "Wilno"
List all car plates in the capital of Wilno since the year of 1937.
CREATE TABLE table_11654169_1 (car_plates__since_1937_ VARCHAR, capital VARCHAR)
SELECT date FROM table_name_57 WHERE game < 58 AND team = "boston"
WHAT DATE HAD A GAME SMALLER THAN 58, AND FROM BOSTON?
CREATE TABLE table_name_57 (date VARCHAR, game VARCHAR, team VARCHAR)
SELECT MIN(draws) FROM table_name_98 WHERE wins < 15 AND against = 1228
What's the lowest number of draws when the wins are less than 15, and against is 1228?
CREATE TABLE table_name_98 (draws INTEGER, wins VARCHAR, against VARCHAR)
SELECT date FROM table_26267607_2 WHERE winning_team = "Abt Sportsline" AND pole_position = "Mattias Ekström" AND circuit = "circuit Ricardo Tormo , Valencia"
On what date is the winning team Abt Sportsline and pole position Mattias Ekström in the Circuit Ricardo Tormo , Valencia?
CREATE TABLE table_26267607_2 (date VARCHAR, circuit VARCHAR, winning_team VARCHAR, pole_position VARCHAR)
SELECT T2.Party FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID WHERE T1.Committee = "Appropriations" INTERSECT SELECT T2.Party FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID WHERE T1.Committee = "Economic Matters"
What are the names of parties that have both delegates on "Appropriations" committee and
CREATE TABLE election (Party VARCHAR, Committee VARCHAR); CREATE TABLE party (Party VARCHAR, Party_ID VARCHAR)
SELECT time FROM table_name_75 WHERE method = "tko (doctor stoppage)" AND record = "9-0"
What was the time of the match with a record of 9-0 and used the tko (doctor stoppage) method?
CREATE TABLE table_name_75 (time VARCHAR, method VARCHAR, record VARCHAR)
SELECT SUM(serial_no) FROM table_name_22 WHERE headquartered_city = "narowal city"
What is the sum of the serial numbers for narowal city?
CREATE TABLE table_name_22 (serial_no INTEGER, headquartered_city VARCHAR)
SELECT SUM(rank) FROM table_name_90 WHERE bronze < 1 AND gold = 1 AND total < 1
Name the sum of rank for bronze less than 1 and gold of 1 with total less than 1
CREATE TABLE table_name_90 (rank INTEGER, total VARCHAR, bronze VARCHAR, gold VARCHAR)