question
stringlengths
12
243
context
stringlengths
45
517
answer
stringlengths
32
484
How many 3rd ru does Canada have?
columns: - name: country type: VARCHAR table: table_17522854_6
SELECT COUNT(3 AS rd_ru) FROM table_17522854_6 WHERE country = "Canada"
Which event had 4th place and took place in the year 2007?
columns: - name: event type: VARCHAR - name: position type: VARCHAR - name: year type: VARCHAR table: table_name_76
SELECT event FROM table_name_76 WHERE position = "4th" AND year = 2007
What catalog had an Epic Records label in CD format?
columns: - name: catalog type: VARCHAR - name: label type: VARCHAR - name: format type: VARCHAR table: table_name_16
SELECT catalog FROM table_name_16 WHERE label = "epic records" AND format = "cd"
What are the notes for South Africa?
columns: - name: notes type: VARCHAR - name: country type: VARCHAR table: table_name_8
SELECT notes FROM table_name_8 WHERE country = "south africa"
When david ashburn richard westbrook is the gt3 winner and 1 is the round what is the length?
columns: - name: length type: VARCHAR - name: round type: VARCHAR - name: gt3_winner type: VARCHAR table: table_30062172_3
SELECT length FROM table_30062172_3 WHERE round = 1 AND gt3_winner = "David Ashburn Richard Westbrook"
What time was the acc team #17 wake forest?
columns: - name: time type: VARCHAR - name: acc_team type: VARCHAR table: table_21330550_2
SELECT time FROM table_21330550_2 WHERE acc_team = "#17 Wake Forest"
What's the against when there were more than 2 losses, more than 3 wins, and draws more than 0?
columns: - name: against type: INTEGER - name: draws type: VARCHAR - name: losses type: VARCHAR - name: wins type: VARCHAR table: table_name_86
SELECT AVG(against) FROM table_name_86 WHERE losses > 2 AND wins > 3 AND draws > 0
how many drumsets of drumstand (oftenoptional) with hd-1/3stand and tom-tom pads is 3xcloth-head are
columns: - name: drumset_name type: VARCHAR - name: drumstand__oftenoptional_ type: VARCHAR - name: tom_tom_pads type: VARCHAR table: table_2889300_6
SELECT COUNT(drumset_name) FROM table_2889300_6 WHERE drumstand__oftenoptional_ = "HD-1/3Stand" AND tom_tom_pads = "3xCloth-Head"
What was the week 12 standing for the housemate that nominated Deepak P Rahul in week 1 and Amit Carol in week 3?
columns: - name: Final type: VARCHAR - name: week_1 type: VARCHAR - name: week_3 type: VARCHAR table: table_name_8
SELECT Final AS week_12 FROM table_name_8 WHERE week_1 = "deepak p rahul" AND week_3 = "amit carol"
What home team played when there was an attendance of 568?
columns: - name: home_team type: VARCHAR - name: attendance type: VARCHAR table: table_name_53
SELECT home_team FROM table_name_53 WHERE attendance = "568"
What is Arkansas State's total pick number with an overal lower than 242?
columns: - name: pick__number type: VARCHAR - name: college type: VARCHAR - name: overall type: VARCHAR table: table_name_96
SELECT COUNT(pick__number) FROM table_name_96 WHERE college = "arkansas state" AND overall < 242
What season was the Formula BMW USA in?
columns: - name: season type: VARCHAR - name: series type: VARCHAR table: table_name_87
SELECT season FROM table_name_87 WHERE series = "formula bmw usa"
Who was the champion that drove the car with the Ford engine in 1971?
columns: - name: champion type: VARCHAR - name: engine type: VARCHAR - name: season type: VARCHAR table: table_name_28
SELECT champion FROM table_name_28 WHERE engine = "ford" AND season = "1971"
When 17 is the number in series who is the director?
columns: - name: directed_by type: VARCHAR - name: no_in_series type: VARCHAR table: table_2409041_2
SELECT directed_by FROM table_2409041_2 WHERE no_in_series = 17
What is the average laps for a grid larger than 2, for a ferrari that got in an accident?
columns: - name: laps type: INTEGER - name: constructor type: VARCHAR - name: grid type: VARCHAR - name: time_retired type: VARCHAR table: table_name_87
SELECT AVG(laps) FROM table_name_87 WHERE grid > 2 AND time_retired = "accident" AND constructor = "ferrari"
What position did pick 36 play?
columns: - name: position type: VARCHAR - name: pick type: VARCHAR table: table_name_45
SELECT position FROM table_name_45 WHERE pick = 36
What displacement & configuration does the car model Panamera 4s have?
columns: - name: displacement_ type: VARCHAR - name: _configuration type: VARCHAR - name: car_model type: VARCHAR table: table_name_68
SELECT displacement_ & _configuration FROM table_name_68 WHERE car_model = "panamera 4s"
What was the high points when the team was Washington?
columns: - name: high_points type: VARCHAR - name: team type: VARCHAR table: table_27755603_10
SELECT high_points FROM table_27755603_10 WHERE team = "Washington"
When aaron afflalo (9) has the highest amount of rebounds what is the score?
columns: - name: score type: VARCHAR - name: high_rebounds type: VARCHAR table: table_23285849_10
SELECT score FROM table_23285849_10 WHERE high_rebounds = "Aaron Afflalo (9)"
Which Year named has a Name of nuptadi planitia, and a Diameter (km) larger than 1,200.0?
columns: - name: year_named type: INTEGER - name: name type: VARCHAR - name: diameter__km_ type: VARCHAR table: table_name_84
SELECT MIN(year_named) FROM table_name_84 WHERE name = "nuptadi planitia" AND diameter__km_ > 1 OFFSET 200.0
What is the competition on October 15, 2008?
columns: - name: competition type: VARCHAR - name: date type: VARCHAR table: table_name_37
SELECT competition FROM table_name_37 WHERE date = "october 15, 2008"
What is the Date of the match with Partner Steffi Graf with a Score in Final of 4–6, 1–6?
columns: - name: date type: VARCHAR - name: score_in_final type: VARCHAR - name: partner type: VARCHAR table: table_name_26
SELECT date FROM table_name_26 WHERE score_in_final = "4–6, 1–6" AND partner = "steffi graf"
Dallas Burn's draft pick was which position?
columns: - name: position type: VARCHAR - name: team type: VARCHAR table: table_26141160_2
SELECT position FROM table_26141160_2 WHERE team = "Dallas Burn"
What is the PCI-express with a ddr2 memory and a nforce 520 model?
columns: - name: pci_express type: VARCHAR - name: memory type: VARCHAR - name: model type: VARCHAR table: table_name_80
SELECT pci_express FROM table_name_80 WHERE memory = "ddr2" AND model = "nforce 520"
Which venue had a score of 734-5d?
columns: - name: venue type: VARCHAR - name: score type: VARCHAR table: table_name_8
SELECT venue FROM table_name_8 WHERE score = "734-5d"
Where was the game with a 13-5 record played, and in front of how many people?
columns: - name: location_attendance type: VARCHAR - name: record type: VARCHAR table: table_18894744_6
SELECT location_attendance FROM table_18894744_6 WHERE record = "13-5"
What was the home team's score when they played at Lake Oval?
columns: - name: home_team type: VARCHAR - name: venue type: VARCHAR table: table_name_96
SELECT home_team AS score FROM table_name_96 WHERE venue = "lake oval"
What is the total react number with a time less than 20.05 and a lane less than 6?
columns: - name: react type: VARCHAR - name: time type: VARCHAR - name: lane type: VARCHAR table: table_name_53
SELECT COUNT(react) FROM table_name_53 WHERE time < 20.05 AND lane < 6
What is the place with a 71-72-70=213 score?
columns: - name: place type: VARCHAR - name: score type: VARCHAR table: table_name_28
SELECT place FROM table_name_28 WHERE score = 71 - 72 - 70 = 213
What is the name of episode # 10a?
columns: - name: title type: VARCHAR - name: no_in_series type: VARCHAR table: table_2701851_2
SELECT title FROM table_2701851_2 WHERE no_in_series = "10a"
Which Extra points 1 point is the lowest one that has a Player of walter shaw?
columns: - name: extra_points_1_point type: INTEGER - name: player type: VARCHAR table: table_name_95
SELECT MIN(extra_points_1_point) FROM table_name_95 WHERE player = "walter shaw"
WHAT IS THE AWAY WITH HOME AT 2-2?
columns: - name: away type: VARCHAR - name: home type: VARCHAR table: table_name_15
SELECT away FROM table_name_15 WHERE home = "2-2"
What is every event date on Sunday with a starting time of 9:30 am?
columns: - name: event_date type: VARCHAR - name: event_day type: VARCHAR - name: starting_time type: VARCHAR table: table_28003469_1
SELECT event_date FROM table_28003469_1 WHERE event_day = "Sunday" AND starting_time = "9:30 am"
Which city is Naples Airport located in?
columns: - name: city type: VARCHAR - name: airport type: VARCHAR table: table_name_27
SELECT city FROM table_name_27 WHERE airport = "naples airport"
what is the year that the position was 1st in paris?
columns: - name: year type: VARCHAR - name: position type: VARCHAR - name: venue type: VARCHAR table: table_name_26
SELECT year FROM table_name_26 WHERE position = "1st" AND venue = "paris"
Which Against has Losses smaller than 5, and a Wimmera FL of warrack eagles, and Draws smaller than 0?
columns: - name: against type: INTEGER - name: draws type: VARCHAR - name: losses type: VARCHAR - name: wimmera_fl type: VARCHAR table: table_name_68
SELECT AVG(against) FROM table_name_68 WHERE losses < 5 AND wimmera_fl = "warrack eagles" AND draws < 0
Who did Clinton appoint as a Chief Judge?
columns: - name: chief_judge type: VARCHAR - name: appointed_by type: VARCHAR table: table_name_2
SELECT chief_judge FROM table_name_2 WHERE appointed_by = "clinton"
What is the average games that were drawn with ERSC Amberg as name and less than 14 points?
columns: - name: drawn type: INTEGER - name: name type: VARCHAR - name: points type: VARCHAR table: table_name_32
SELECT AVG(drawn) FROM table_name_32 WHERE name = "ersc amberg" AND points < 14
Name the song choice for michael jackson
columns: - name: song_choice type: VARCHAR - name: original_artist type: VARCHAR table: table_19508635_1
SELECT song_choice FROM table_19508635_1 WHERE original_artist = "Michael Jackson"
What circuit was after round 2 in Victoria?
columns: - name: circuit type: VARCHAR - name: round type: VARCHAR - name: state_territory type: VARCHAR table: table_name_64
SELECT circuit FROM table_name_64 WHERE round > 2 AND state_territory = "victoria"
Name the accrediatation for southeast technical institute
columns: - name: accreditation type: VARCHAR - name: school type: VARCHAR table: table_2076557_2
SELECT accreditation FROM table_2076557_2 WHERE school = "Southeast Technical Institute"
If the team is Billy Ballew Motorsports, what is the race time?
columns: - name: race_time type: VARCHAR - name: team type: VARCHAR table: table_2260452_1
SELECT race_time FROM table_2260452_1 WHERE team = "Billy Ballew Motorsports"
The episode with the no. 54, directed by Charles Haid, is written by who?
columns: - name: written_by type: VARCHAR - name: directed_by type: VARCHAR - name: 'no' type: VARCHAR table: table_26561509_1
SELECT written_by FROM table_26561509_1 WHERE directed_by = "Charles Haid" AND no = 54
What is the total number of Years that has the Group, Method Fest Independent Film Festival?
columns: - name: year type: VARCHAR - name: group type: VARCHAR table: table_name_45
SELECT COUNT(year) FROM table_name_45 WHERE group = "method fest independent film festival"
How many people attended the game against away team Cambridge City?
columns: - name: attendance type: VARCHAR - name: away_team type: VARCHAR table: table_name_98
SELECT attendance FROM table_name_98 WHERE away_team = "cambridge city"
What was the status of joon-hyung park 박준형?
columns: - name: status type: VARCHAR - name: name type: VARCHAR table: table_name_58
SELECT status FROM table_name_58 WHERE name = "joon-hyung park 박준형"
What was the date of birth of a republican member of the United States House of Representatives who held the term of 1863-1865?
columns: - name: date_of_birth type: VARCHAR - name: party type: VARCHAR - name: house_term type: VARCHAR table: table_name_80
SELECT date_of_birth FROM table_name_80 WHERE party = "republican" AND house_term = "1863-1865"
How much Quantity has a Type of 1′c1′ h2t?
columns: - name: quantity type: VARCHAR - name: type type: VARCHAR table: table_name_11
SELECT COUNT(quantity) FROM table_name_11 WHERE type = "1′c1′ h2t"
How many laps had a constructor of toyota and a Time/Retired of +13.409?
columns: - name: laps type: VARCHAR - name: constructor type: VARCHAR - name: time_retired type: VARCHAR table: table_name_3
SELECT COUNT(laps) FROM table_name_3 WHERE constructor = "toyota" AND time_retired = "+13.409"
What is the rider when the grid is 21?
columns: - name: rider type: VARCHAR - name: grid type: VARCHAR table: table_name_35
SELECT rider FROM table_name_35 WHERE grid = 21
Who is the opponent of game 75?
columns: - name: opponent type: VARCHAR - name: game type: VARCHAR table: table_name_44
SELECT opponent FROM table_name_44 WHERE game = 75
What school is in Jeromesville?
columns: - name: location type: VARCHAR - name: school type: VARCHAR table: table_24935743_2
SELECT location FROM table_24935743_2 WHERE school = "Jeromesville"
Who is the player from round 13 that plays center?
columns: - name: player type: VARCHAR - name: round type: VARCHAR - name: position type: VARCHAR table: table_name_47
SELECT player FROM table_name_47 WHERE round = 13 AND position = "center"
What is the part 3 with *hegait in part 2?
columns: - name: part_3 type: VARCHAR - name: part_2 type: VARCHAR table: table_name_31
SELECT part_3 FROM table_name_31 WHERE part_2 = "*hegait"
What is Larry Centers' average number when there were less than 600 yards?
columns: - name: number type: INTEGER - name: player type: VARCHAR - name: yards type: VARCHAR table: table_name_23
SELECT AVG(number) FROM table_name_23 WHERE player = "larry centers" AND yards < 600
Which is the total number of evening gowns for swimsui less than 9.36 and average less than 9.23?
columns: - name: evening_gown type: VARCHAR - name: swimsuit type: VARCHAR - name: average type: VARCHAR table: table_name_57
SELECT COUNT(evening_gown) FROM table_name_57 WHERE swimsuit < 9.36 AND average < 9.23
Who won the game where the Challenge Leader is ACC (2-1)?
columns: - name: winner type: VARCHAR - name: challenge_leader type: VARCHAR table: table_1672976_6
SELECT winner FROM table_1672976_6 WHERE challenge_leader = "ACC (2-1)"
In what year did the #14 FitzBradshaw Racing compete?
columns: - name: year type: VARCHAR - name: team_s_ type: VARCHAR table: table_1909647_2
SELECT year FROM table_1909647_2 WHERE team_s_ = "#14 FitzBradshaw Racing"
What's the 2008 of the US Open when 2010 was 2R and 2011 was 1R?
columns: - name: tournament type: VARCHAR table: table_name_17
SELECT 2008 FROM table_name_17 WHERE 2011 = "1r" AND 2010 = "2r" AND tournament = "us open"
What was Dick Hyland's conv?
columns: - name: conv type: VARCHAR - name: player type: VARCHAR table: table_name_37
SELECT conv FROM table_name_37 WHERE player = "dick hyland"
What were the finishes by David Graham with totals lower than 292?
columns: - name: finish type: VARCHAR - name: total type: VARCHAR - name: player type: VARCHAR table: table_name_19
SELECT finish FROM table_name_19 WHERE total = 292 AND player = "david graham"
A player was moved to celtic had an end of what date?
columns: - name: end_date type: VARCHAR - name: to_club type: VARCHAR table: table_name_99
SELECT end_date FROM table_name_99 WHERE to_club = "celtic"
Name the total number of year to april for ebit being 24.5
columns: - name: year_to_april type: VARCHAR - name: "ebit__\xA3m_" type: VARCHAR table: table_18304259_1
SELECT COUNT(year_to_april) FROM table_18304259_1 WHERE ebit__£m_ = "24.5"
What is the GDP $IDB in Istanbul?
columns: - name: gdp_in_$id_b type: VARCHAR - name: city type: VARCHAR table: table_name_42
SELECT gdp_in_$id_b FROM table_name_42 WHERE city = "istanbul"
which is the biggest number of episode in the season, when the director of the episode was Constantine Makris?
columns: - name: no_in_season type: INTEGER - name: directed_by type: VARCHAR table: table_23117208_3
SELECT MAX(no_in_season) FROM table_23117208_3 WHERE directed_by = "Constantine Makris"
What's the tie number when the away team was Mansfield Town?
columns: - name: tie_no type: VARCHAR - name: away_team type: VARCHAR table: table_name_3
SELECT tie_no FROM table_name_3 WHERE away_team = "mansfield town"
What was the away team for the New Zealand breakers?
columns: - name: report type: VARCHAR - name: away_team type: VARCHAR table: table_name_59
SELECT report FROM table_name_59 WHERE away_team = "new zealand breakers"
Who is every vacator with reason for change as resigned December 31, 1959?
columns: - name: vacator type: VARCHAR - name: reason_for_change type: VARCHAR table: table_2159571_2
SELECT vacator FROM table_2159571_2 WHERE reason_for_change = "Resigned December 31, 1959"
How many different outcomes of the French Championships were there?
columns: - name: outcome type: VARCHAR - name: championship type: VARCHAR table: table_2201724_2
SELECT COUNT(outcome) FROM table_2201724_2 WHERE championship = "French championships"
What is the highest rank of the day with a gross of $38,916 and more than 6 screens?
columns: - name: rank type: INTEGER - name: gross type: VARCHAR - name: screens type: VARCHAR table: table_name_27
SELECT MAX(rank) FROM table_name_27 WHERE gross = "$38,916" AND screens > 6
What is the spoofed title for Parks and Recreation with an issue larger than 509?
columns: - name: spoofed_title type: VARCHAR - name: issue type: VARCHAR - name: actual_title type: VARCHAR table: table_name_43
SELECT spoofed_title FROM table_name_43 WHERE issue > 509 AND actual_title = "parks and recreation"
How many candidates were there in the year of 1987?
columns: - name: number_of_candidates type: VARCHAR - name: year type: VARCHAR table: table_19698421_1
SELECT number_of_candidates FROM table_19698421_1 WHERE year = "1987"
What team appointed a manager on 12 June?
columns: - name: team type: VARCHAR - name: date_of_appointment type: VARCHAR table: table_17327458_1
SELECT team FROM table_17327458_1 WHERE date_of_appointment = "12 June"
What week was themed disco?
columns: - name: week__number type: VARCHAR - name: theme type: VARCHAR table: table_21501511_1
SELECT week__number FROM table_21501511_1 WHERE theme = "Disco"
How many engines are there for model 97H00?
columns: - name: engine type: VARCHAR - name: model_designation type: VARCHAR table: table_20866024_4
SELECT COUNT(engine) FROM table_20866024_4 WHERE model_designation = "97H00"
Which lowest goals for number had a played number of less than 34?
columns: - name: goals_for type: INTEGER - name: played type: INTEGER table: table_name_95
SELECT MIN(goals_for) FROM table_name_95 WHERE played < 34
What is the total of bronze medals from nations with more than 16 total medals and ranks larger than 3?
columns: - name: bronze type: VARCHAR - name: total type: VARCHAR - name: rank type: VARCHAR table: table_name_68
SELECT COUNT(bronze) FROM table_name_68 WHERE total = 16 AND rank > 3
Who was the original Japanese cast if Sean Barrett acted on the English (Manga UK) version?
columns: - name: original_japanese type: VARCHAR - name: english___manga_uk__ type: VARCHAR table: table_2160215_1
SELECT original_japanese FROM table_2160215_1 WHERE english___manga_uk__ = "Sean Barrett"
how many parts does detroit red wings person urban nordin play
columns: - name: position type: VARCHAR - name: nhl_team type: VARCHAR - name: player type: VARCHAR table: table_2850912_8
SELECT COUNT(position) FROM table_2850912_8 WHERE nhl_team = "Detroit Red Wings" AND player = "Urban Nordin"
Which Years in Orlando has a Player of bo outlaw?
columns: - name: years_in_orlando type: VARCHAR - name: player type: VARCHAR table: table_name_54
SELECT years_in_orlando FROM table_name_54 WHERE player = "bo outlaw"
When 4 is the week what is the location?
columns: - name: location type: VARCHAR - name: week type: VARCHAR table: table_24136365_2
SELECT location FROM table_24136365_2 WHERE week = 4
What was the score of the game on December 11?
columns: - name: score type: VARCHAR - name: date type: VARCHAR table: table_17360840_6
SELECT score FROM table_17360840_6 WHERE date = "December 11"
What is every trigram when direction is Northwest?
columns: - name: trigram type: VARCHAR - name: direction type: VARCHAR table: table_23406517_2
SELECT trigram FROM table_23406517_2 WHERE direction = "Northwest"
What was the final score for the match held on April 11, 2007?
columns: - name: score type: VARCHAR - name: date type: VARCHAR table: table_name_68
SELECT score FROM table_name_68 WHERE date = "april 11, 2007"
Name the venue for march 28, 2008
columns: - name: venue type: VARCHAR - name: date type: VARCHAR table: table_name_47
SELECT venue FROM table_name_47 WHERE date = "march 28, 2008"
What is Chris Riley's Money?
columns: - name: money___$__ type: VARCHAR - name: player type: VARCHAR table: table_name_46
SELECT money___$__ FROM table_name_46 WHERE player = "chris riley"
Which Entrepreneur(s) have mixalbum?
columns: - name: entrepreneur_s_ type: VARCHAR - name: company_or_product_name type: VARCHAR table: table_name_69
SELECT entrepreneur_s_ FROM table_name_69 WHERE company_or_product_name = "mixalbum"
For how many games on December 19 is there information on who scored the most rebounds?
columns: - name: high_rebounds type: VARCHAR - name: date type: VARCHAR table: table_27755603_7
SELECT COUNT(high_rebounds) FROM table_27755603_7 WHERE date = "December 19"
Name the record for new orleans
columns: - name: record type: VARCHAR - name: team type: VARCHAR table: table_17355408_4
SELECT record FROM table_17355408_4 WHERE team = "New Orleans"
what's the pts with poles being smaller than 1.0 and motorcycle being aprilia and class being 250cc
columns: - name: pts type: VARCHAR - name: class type: VARCHAR - name: poles type: VARCHAR - name: motorcycle type: VARCHAR table: table_14139408_1
SELECT pts FROM table_14139408_1 WHERE poles < 1.0 AND motorcycle = "Aprilia" AND class = "250cc"
Which team was played against in game 4?
columns: - name: team type: VARCHAR - name: game type: VARCHAR table: table_name_40
SELECT team FROM table_name_40 WHERE game = 4
How much Ekstraklasa has a Total smaller than 3?
columns: - name: ekstraklasa type: INTEGER - name: total type: INTEGER table: table_name_98
SELECT SUM(ekstraklasa) FROM table_name_98 WHERE total < 3
Name the segment c for pottery
columns: - name: segment_c type: VARCHAR - name: segment_b type: VARCHAR table: table_15187735_3
SELECT segment_c FROM table_15187735_3 WHERE segment_b = "Pottery"
What was the result on October 8, 1985?
columns: - name: result type: VARCHAR - name: date type: VARCHAR table: table_name_58
SELECT result FROM table_name_58 WHERE date = "october 8, 1985"
What is the largest Attendance with a Loss of darling (0–1)?
columns: - name: attendance type: INTEGER - name: loss type: VARCHAR table: table_name_35
SELECT MAX(attendance) FROM table_name_35 WHERE loss = "darling (0–1)"
Which event has a year of 2000?
columns: - name: event type: VARCHAR - name: year type: VARCHAR table: table_name_72
SELECT event FROM table_name_72 WHERE year = 2000
How many times was there a class A winner when Gregory-Portland was the class AAAA?
columns: - name: class_a type: VARCHAR - name: class_aAAA type: VARCHAR - name: Gregory type: VARCHAR - name: Portland type: VARCHAR table: table_14603057_2
SELECT COUNT(class_a) FROM table_14603057_2 WHERE class_aAAA = Gregory - Portland
How many games were played when the loss is less than 5 and points greater than 41?
columns: - name: played type: INTEGER - name: lost type: VARCHAR - name: points type: VARCHAR table: table_name_85
SELECT SUM(played) FROM table_name_85 WHERE lost < 5 AND points > 41
What is the Time/Retired with over 56 laps and a grid of 5?
columns: - name: time_retired type: VARCHAR - name: laps type: VARCHAR - name: grid type: VARCHAR table: table_name_6
SELECT time_retired FROM table_name_6 WHERE laps > 56 AND grid = 5
What's the smallest area in Russia that is ranked 23 with a population more than 522,800?
columns: - name: "area__km\xB2_" type: INTEGER - name: population type: VARCHAR - name: country type: VARCHAR - name: rank type: VARCHAR table: table_name_21
SELECT MIN(area__km²_) FROM table_name_21 WHERE country = "russia" AND rank = 23 AND population > 522 OFFSET 800