answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT minister FROM table_name_35 WHERE term_start = "4 may 2006" | CREATE TABLE table_name_35 (minister VARCHAR, term_start VARCHAR) | Whose term started on 4 May 2006? |
SELECT MIN(bronze) FROM table_name_71 WHERE gold < 2 AND rank = "29" AND total > 3 | CREATE TABLE table_name_71 (bronze INTEGER, total VARCHAR, gold VARCHAR, rank VARCHAR) | What's the number of bronze when they are ranked 29, had a total more than 3 and less than 2 golds? |
SELECT MAX(bronze) FROM table_name_51 WHERE silver < 2 AND total > 4 AND rank = "33" | CREATE TABLE table_name_51 (bronze INTEGER, rank VARCHAR, silver VARCHAR, total VARCHAR) | What's the bronze medal count for Rank 33 when the silver count was less than 2 and the total was more than 4? |
SELECT SUM(silver) FROM table_name_45 WHERE bronze < 5 AND gold > 0 AND rank = "22" | CREATE TABLE table_name_45 (silver INTEGER, rank VARCHAR, bronze VARCHAR, gold VARCHAR) | How many silver for rank 22 when gold count was more than 0 and Bronze count was less than 5? |
SELECT MAX(bronze) FROM table_name_64 WHERE nation = "south africa (rsa)" AND total > 16 | CREATE TABLE table_name_64 (bronze INTEGER, nation VARCHAR, total VARCHAR) | What's the bronze count for South Africa (RSA) with a total more than 16? |
SELECT MIN(election) FROM table_name_29 WHERE president = "leonardo marras" AND inhabitants < 227 OFFSET 063 | CREATE TABLE table_name_29 (election INTEGER, president VARCHAR, inhabitants VARCHAR) | What was the lowest election result for President Leonardo Marras with an area smaller than 227,063 people? |
SELECT party FROM table_name_33 WHERE president = "stefano baccelli" | CREATE TABLE table_name_33 (party VARCHAR, president VARCHAR) | What is the party affiliation for President Stefano Baccelli? |
SELECT AVG(election) FROM table_name_50 WHERE province = "grosseto" AND established < 1766 | CREATE TABLE table_name_50 (election INTEGER, province VARCHAR, established VARCHAR) | What is the average election result for the province of Grosseto from 1766 and prior? |
SELECT COUNT(all_bills_cosponsored) FROM table_name_80 WHERE all_amendments_sponsored < 15 AND all_bills_sponsored = 6 AND all_amendments_cosponsored < 0 | CREATE TABLE table_name_80 (all_bills_cosponsored VARCHAR, all_amendments_cosponsored VARCHAR, all_amendments_sponsored VARCHAR, all_bills_sponsored VARCHAR) | What is the total number of all bills co-sponsored associated with all amendments sponsored under 15, all bills sponsored of 6, and 0 amendments cosponsored? |
SELECT MIN(all_amendments_sponsored) FROM table_name_52 WHERE bills_originally_cosponsored = 150 AND all_bills_cosponsored > 247 | CREATE TABLE table_name_52 (all_amendments_sponsored INTEGER, bills_originally_cosponsored VARCHAR, all_bills_cosponsored VARCHAR) | What is the fewest amendments sponsored associated with 150 bills originally cosponsored and over 247 bills cosponsored? |
SELECT MAX(all_bills_cosponsored) FROM table_name_22 WHERE all_bills_sponsored < 24 AND all_amendments_sponsored < 16 | CREATE TABLE table_name_22 (all_bills_cosponsored INTEGER, all_bills_sponsored VARCHAR, all_amendments_sponsored VARCHAR) | What is the highest number of bills cosponsored associated with under 24 bills sponsored and under 16 amendments sponsored? |
SELECT MAX(all_amendments_cosponsored) FROM table_name_25 WHERE amendments_originally_cosponsored = 53 AND all_bills_sponsored > 54 | CREATE TABLE table_name_25 (all_amendments_cosponsored INTEGER, amendments_originally_cosponsored VARCHAR, all_bills_sponsored VARCHAR) | What is the highest number of amendments cosponsored associated with 53 amendments originally cosponsored and over 54 bills sponsored? |
SELECT all_bills_sponsored FROM table_name_57 WHERE bills_originally_cosponsored > 113 AND all_amendments_cosponsored < 47 | CREATE TABLE table_name_57 (all_bills_sponsored VARCHAR, bills_originally_cosponsored VARCHAR, all_amendments_cosponsored VARCHAR) | What is the number of bills sponsored associated with over 113 bills originally cosponsored and under 47 amendments cosponsored? |
SELECT COUNT(lane) FROM table_name_88 WHERE heat = 1 AND nationality = "uzbekistan" | CREATE TABLE table_name_88 (lane VARCHAR, heat VARCHAR, nationality VARCHAR) | What is the Lane of the swimmer from Uzbekistan in Heat 1? |
SELECT station FROM table_name_18 WHERE frequency = "873khz" | CREATE TABLE table_name_18 (station VARCHAR, frequency VARCHAR) | Which station has a frequency of 873khz? |
SELECT transmitter_location FROM table_name_87 WHERE station = "voice of vietnam" | CREATE TABLE table_name_87 (transmitter_location VARCHAR, station VARCHAR) | Where is the transmitter located for the station voice of vietnam |
SELECT station FROM table_name_79 WHERE country_of_origin = "china" AND frequency = "684khz" | CREATE TABLE table_name_79 (station VARCHAR, country_of_origin VARCHAR, frequency VARCHAR) | Which station is from China and has a frequency of 684khz? |
SELECT tally FROM table_name_76 WHERE opposition = "westmeath" | CREATE TABLE table_name_76 (tally VARCHAR, opposition VARCHAR) | Name the Tally of an Opposition of westmeath? |
SELECT horizontal_bar FROM table_name_18 WHERE pommel_horse = "n/a" AND position < 27 AND parallel_bars = "15.800" | CREATE TABLE table_name_18 (horizontal_bar VARCHAR, parallel_bars VARCHAR, pommel_horse VARCHAR, position VARCHAR) | What is the horizontal bar score with a pommel horse of n/a, and the position is less than 27, and the parallel bars score is 15.800? |
SELECT floor FROM table_name_1 WHERE position < 21 AND total < 81.2 AND pommel_horse = "13.925" | CREATE TABLE table_name_1 (floor VARCHAR, pommel_horse VARCHAR, position VARCHAR, total VARCHAR) | What is the score of the floor when the position is less than 21, and less than 81.2 total, and the pommel horse score is 13.925? |
SELECT gymnast FROM table_name_83 WHERE floor = "14.800" | CREATE TABLE table_name_83 (gymnast VARCHAR, floor VARCHAR) | Who is the gymnast with a floor score of 14.800? |
SELECT horizontal_bar FROM table_name_60 WHERE pommel_horse = "15.250" | CREATE TABLE table_name_60 (horizontal_bar VARCHAR, pommel_horse VARCHAR) | What horizontal bar score also has a pommel horse score of 15.250? |
SELECT AVG(total) FROM table_name_8 WHERE parallel_bars = "14.625" | CREATE TABLE table_name_8 (total INTEGER, parallel_bars VARCHAR) | With a parallel bars score of 14.625 what is the average total? |
SELECT COUNT(rank) FROM table_name_21 WHERE time = "3:43.491" | CREATE TABLE table_name_21 (rank VARCHAR, time VARCHAR) | What is the Rank of the Athletes with a Time of 3:43.491? |
SELECT notes FROM table_name_41 WHERE country = "germany" | CREATE TABLE table_name_41 (notes VARCHAR, country VARCHAR) | What are the Notes of the Athletes from Germany? |
SELECT COUNT(rank) FROM table_name_65 WHERE country = "ukraine" | CREATE TABLE table_name_65 (rank VARCHAR, country VARCHAR) | What is the Rank of the Athletes from Ukraine? |
SELECT location FROM table_name_13 WHERE winning_skip = "sherry middaugh" | CREATE TABLE table_name_13 (location VARCHAR, winning_skip VARCHAR) | What location did Sherry Middaugh win in? |
SELECT event FROM table_name_11 WHERE winning_skip = "patti lank" | CREATE TABLE table_name_11 (event VARCHAR, winning_skip VARCHAR) | What event did Patti Lank have the winning skip? |
SELECT date FROM table_name_68 WHERE runner_up_skip = "binia feltscher-beeli" | CREATE TABLE table_name_68 (date VARCHAR, runner_up_skip VARCHAR) | What date shows Binia Feltscher-Beeli as the runner-up skip? |
SELECT runner_up_skip FROM table_name_61 WHERE winning_skip = "julie reddick" | CREATE TABLE table_name_61 (runner_up_skip VARCHAR, winning_skip VARCHAR) | What person was the runner-up skip when Julie Reddick was the winning skip? |
SELECT yellow_109_percentage FROM table_name_94 WHERE brazil_100_percentage = "0,43407" | CREATE TABLE table_name_94 (yellow_109_percentage VARCHAR, brazil_100_percentage VARCHAR) | What's the Yellow fertility rate when Brazil is 0,43407? |
SELECT SUM(area__km_2__) FROM table_name_59 WHERE population__2011_ = 110 | CREATE TABLE table_name_59 (area__km_2__ INTEGER, population__2011_ VARCHAR) | What is the sum of the area in km with a population of 110 in 2011? |
SELECT AVG(population__2006_) FROM table_name_14 WHERE population__2011_ > 5 AND area__km_2__ = 5.84 | CREATE TABLE table_name_14 (population__2006_ INTEGER, population__2011_ VARCHAR, area__km_2__ VARCHAR) | What is the average population in 2006 that has more than 5 people in 2011 and an area 5.84km? |
SELECT MIN(lane) FROM table_name_67 WHERE react = 0.216 | CREATE TABLE table_name_67 (lane INTEGER, react VARCHAR) | What is the lowest lane with a 0.216 react? |
SELECT SUM(rank) FROM table_name_87 WHERE lane < 2 | CREATE TABLE table_name_87 (rank INTEGER, lane INTEGER) | What is the total rank for the lane before 2? |
SELECT genre FROM table_name_29 WHERE year = 2007 | CREATE TABLE table_name_29 (genre VARCHAR, year VARCHAR) | What genre is the game from the year 2007? |
SELECT game FROM table_name_39 WHERE platform_s_ = "playstation 3" AND year < 2009 | CREATE TABLE table_name_39 (game VARCHAR, platform_s_ VARCHAR, year VARCHAR) | What is the Game that came out before the year 2009 for the Playstation 3? |
SELECT MIN(year) FROM table_name_90 WHERE game = "the legend of zelda: twilight princess" | CREATE TABLE table_name_90 (year INTEGER, game VARCHAR) | What is the earliest year that had the Legend of Zelda: Twilight Princess game? |
SELECT opponent FROM table_name_70 WHERE date = "november 15, 1981" | CREATE TABLE table_name_70 (opponent VARCHAR, date VARCHAR) | Who was the opponent on November 15, 1981? |
SELECT MAX(debut_year) FROM table_name_95 WHERE player = "noel carroll" AND games < 12 | CREATE TABLE table_name_95 (debut_year INTEGER, player VARCHAR, games VARCHAR) | Which Debut year has a Player of noel carroll, and Games smaller than 12? |
SELECT MIN(goals) FROM table_name_4 WHERE player = "noel carroll" | CREATE TABLE table_name_4 (goals INTEGER, player VARCHAR) | Which Goals have a Player of noel carroll? |
SELECT SUM(debut_year) FROM table_name_39 WHERE years_at_club = "1950–1951" AND games > 14 | CREATE TABLE table_name_39 (debut_year INTEGER, years_at_club VARCHAR, games VARCHAR) | How many debut years have Years at club of 1950–1951, and Games larger than 14? |
SELECT title FROM table_name_85 WHERE label = "origianal sound entertainment" | CREATE TABLE table_name_85 (title VARCHAR, label VARCHAR) | Which title has origianal sound entertainment as its label? |
SELECT MAX(year_of_release) FROM table_name_71 WHERE title = "greatest hits" | CREATE TABLE table_name_71 (year_of_release INTEGER, title VARCHAR) | What was the latest year of release for the greatest hits title? |
SELECT label FROM table_name_39 WHERE country_of_release = "eu" | CREATE TABLE table_name_39 (label VARCHAR, country_of_release VARCHAR) | When the country of release is EU, what is the label name? |
SELECT MAX(latitude) FROM table_name_24 WHERE township = "kingsley" AND geo_id > 3803942820 | CREATE TABLE table_name_24 (latitude INTEGER, township VARCHAR, geo_id VARCHAR) | what is the highest latitude when the township is kingsley and the geo id is higher than 3803942820? |
SELECT AVG(latitude) FROM table_name_57 WHERE water__sqmi_ = 0.058 AND ansi_code < 1759683 | CREATE TABLE table_name_57 (latitude INTEGER, water__sqmi_ VARCHAR, ansi_code VARCHAR) | what is the latitude when water (sqmi) is 0.058 and the ansi code is less than 1759683? |
SELECT MAX(geo_id) FROM table_name_1 WHERE longitude = -98.435797 AND land___sqmi__ < 36.039 | CREATE TABLE table_name_1 (geo_id INTEGER, longitude VARCHAR, land___sqmi__ VARCHAR) | what is the geo id when the longitude is -98.435797 and the land (sqmi) is less than 36.039? |
SELECT MIN(year_joined) FROM table_name_93 WHERE mascot = "pioneers" | CREATE TABLE table_name_93 (year_joined INTEGER, mascot VARCHAR) | Name the lowest Year Joined which has a Mascot of pioneers? |
SELECT ihsaa_class FROM table_name_32 WHERE mascot = "pioneers" | CREATE TABLE table_name_32 (ihsaa_class VARCHAR, mascot VARCHAR) | Name the IHSAA Class of Mascot of pioneers? |
SELECT ihsaa_class FROM table_name_8 WHERE county = "55 morgan" AND school = "mooresville" | CREATE TABLE table_name_8 (ihsaa_class VARCHAR, county VARCHAR, school VARCHAR) | Name the IHSAA Class of 55 morgan and a School of mooresville? |
SELECT location FROM table_name_35 WHERE mascot = "quakers" | CREATE TABLE table_name_35 (location VARCHAR, mascot VARCHAR) | where is Mascot of quakers? |
SELECT ihsaa_class FROM table_name_2 WHERE school = "decatur central" | CREATE TABLE table_name_2 (ihsaa_class VARCHAR, school VARCHAR) | What kind of IHSAA Class has a School of decatur central? |
SELECT studio_s_ FROM table_name_57 WHERE year < 2004 AND director = "peter lord nick park" | CREATE TABLE table_name_57 (studio_s_ VARCHAR, year VARCHAR, director VARCHAR) | What studio had the director Peter Lord Nick Park before 2004? |
SELECT studio_s_ FROM table_name_92 WHERE year = 2007 AND director = "paul greengrass" | CREATE TABLE table_name_92 (studio_s_ VARCHAR, year VARCHAR, director VARCHAR) | What studio did Paul Greengrass direct in 2007? |
SELECT SUM(a_score) FROM table_name_1 WHERE b_score > 9.15 AND position = "2nd" | CREATE TABLE table_name_1 (a_score INTEGER, b_score VARCHAR, position VARCHAR) | What is the A score when the B score is more than 9.15 and the gymnast was in the 2nd position? |
SELECT quantity FROM table_name_20 WHERE year_s__of_manufacture = "1900" AND class = "mc" | CREATE TABLE table_name_20 (quantity VARCHAR, year_s__of_manufacture VARCHAR, class VARCHAR) | what is the quantity when the year of manufacture is 1900 and the class is mc? |
SELECT class FROM table_name_96 WHERE quantity = 4 | CREATE TABLE table_name_96 (class VARCHAR, quantity VARCHAR) | what is the class when the quantity is 4? |
SELECT opponent FROM table_name_89 WHERE week = 8 | CREATE TABLE table_name_89 (opponent VARCHAR, week VARCHAR) | Who were the opponents on Week 8? |
SELECT change__12_11_ FROM table_name_8 WHERE city = "agadir" | CREATE TABLE table_name_8 (change__12_11_ VARCHAR, city VARCHAR) | When the city is agadir what is the change (12/11)? |
SELECT catalog_number FROM table_name_30 WHERE a_side = "venus demilo" | CREATE TABLE table_name_30 (catalog_number VARCHAR, a_side VARCHAR) | What is the catalog number of Venus Demilo's A-side? |
SELECT year FROM table_name_46 WHERE b_side = "just squeeze me" | CREATE TABLE table_name_46 (year VARCHAR, b_side VARCHAR) | What year did the B-Side of Just Squeeze Me come out? |
SELECT label FROM table_name_92 WHERE catalog_number = "817" | CREATE TABLE table_name_92 (label VARCHAR, catalog_number VARCHAR) | What label has the 817 catalog? |
SELECT a_side FROM table_name_75 WHERE b_side = "it never entered my mind, part 2" | CREATE TABLE table_name_75 (a_side VARCHAR, b_side VARCHAR) | What is the A-side for it Never Entered My Mind, Part 2? |
SELECT a_side FROM table_name_87 WHERE catalog_number = "902" | CREATE TABLE table_name_87 (a_side VARCHAR, catalog_number VARCHAR) | What is the A-side for catalog 902? |
SELECT class FROM table_name_10 WHERE type = "a1 bm" | CREATE TABLE table_name_10 (class VARCHAR, type VARCHAR) | What is the class of the a1 bm type? |
SELECT quantity FROM table_name_5 WHERE class = "aw" | CREATE TABLE table_name_5 (quantity VARCHAR, class VARCHAR) | What is the quantity of the aw class? |
SELECT class FROM table_name_6 WHERE quantity = "1" | CREATE TABLE table_name_6 (class VARCHAR, quantity VARCHAR) | What is the class with 1 quantity? |
SELECT railway_number_s_ FROM table_name_3 WHERE class = "aw" | CREATE TABLE table_name_3 (railway_number_s_ VARCHAR, class VARCHAR) | What is the railway number of the aw class? |
SELECT game FROM table_name_80 WHERE record = "31-15" | CREATE TABLE table_name_80 (game VARCHAR, record VARCHAR) | What was the game when the record was 31-15? |
SELECT date FROM table_name_2 WHERE score = "w 106-100" | CREATE TABLE table_name_2 (date VARCHAR, score VARCHAR) | What was the date of the game with a score of W 106-100? |
SELECT speed FROM table_name_26 WHERE rank = "1" | CREATE TABLE table_name_26 (speed VARCHAR, rank VARCHAR) | What is the speed for rank 1? |
SELECT team FROM table_name_92 WHERE rank = "ret" AND rider = "frank a applebee" | CREATE TABLE table_name_92 (team VARCHAR, rank VARCHAR, rider VARCHAR) | What team has a Rank Ret, and rider Frank A Applebee? |
SELECT internet_explorer FROM table_name_91 WHERE chrome = "29.07%" | CREATE TABLE table_name_91 (internet_explorer VARCHAR, chrome VARCHAR) | What internet explorer has 29.07% for the chrome? |
SELECT other_mozilla FROM table_name_71 WHERE safari = "9.41%" | CREATE TABLE table_name_71 (other_mozilla VARCHAR, safari VARCHAR) | What is the other mozilla that has 9.41% for the safari? |
SELECT other_mozilla FROM table_name_80 WHERE period = "january 2010" | CREATE TABLE table_name_80 (other_mozilla VARCHAR, period VARCHAR) | What other mozilla has January 2010 as the period? |
SELECT internet_explorer FROM table_name_31 WHERE safari = "7.89%" AND chrome = "8.22%" | CREATE TABLE table_name_31 (internet_explorer VARCHAR, safari VARCHAR, chrome VARCHAR) | What internet explorer has 7.89% as the safari, and 8.22% as the chrome? |
SELECT period FROM table_name_66 WHERE other_mozilla = "0.25%" | CREATE TABLE table_name_66 (period VARCHAR, other_mozilla VARCHAR) | What period has 0.25% as the other mozilla? |
SELECT socket FROM table_name_75 WHERE release_price___usd__ = "$378" AND turbo = "6/6/8/9" | CREATE TABLE table_name_75 (socket VARCHAR, release_price___usd__ VARCHAR, turbo VARCHAR) | Which socket goes with the item with release price of $378 and turbo of 6/6/8/9? |
SELECT l2_cache FROM table_name_65 WHERE model_number = "core i7-2635qm" | CREATE TABLE table_name_65 (l2_cache VARCHAR, model_number VARCHAR) | What is the L2 cache for the core i7-2635QM? |
SELECT release_price___usd__ FROM table_name_96 WHERE gpu_frequency = "standard power, embedded" | CREATE TABLE table_name_96 (release_price___usd__ VARCHAR, gpu_frequency VARCHAR) | What is the release price for the GPU frequency of standard power, embedded? |
SELECT socket FROM table_name_40 WHERE turbo = "8/8/10/11" | CREATE TABLE table_name_40 (socket VARCHAR, turbo VARCHAR) | What is the socked when the turbo is 8/8/10/11? |
SELECT round FROM table_name_42 WHERE record = "1-0" | CREATE TABLE table_name_42 (round VARCHAR, record VARCHAR) | Which round did the bout that led to a 1-0 record end in? |
SELECT time FROM table_name_73 WHERE lane < 2 AND nationality = "spain" | CREATE TABLE table_name_73 (time VARCHAR, lane VARCHAR, nationality VARCHAR) | Which Time has a Lane smaller than 2, and a Nationality of spain? |
SELECT COUNT(heat) FROM table_name_39 WHERE name = "miguel molina" | CREATE TABLE table_name_39 (heat VARCHAR, name VARCHAR) | How many Heats have a Name of miguel molina? |
SELECT league FROM table_name_46 WHERE fa_cup = "qr4" AND fa_trophy = "qf" | CREATE TABLE table_name_46 (league VARCHAR, fa_cup VARCHAR, fa_trophy VARCHAR) | what is the league when the fa cup is qr4 and the fa trophy is qf? |
SELECT fa_trophy FROM table_name_66 WHERE leading_scorer = "lee gregory (8)" | CREATE TABLE table_name_66 (fa_trophy VARCHAR, leading_scorer VARCHAR) | what is the fa trophy when the leading scorer is lee gregory (8)? |
SELECT year FROM table_name_81 WHERE position = "1/22 promoted" AND leading_scorer = "james dean (27)" | CREATE TABLE table_name_81 (year VARCHAR, position VARCHAR, leading_scorer VARCHAR) | what is the year when the position is 1/22 promoted and the leading scorer is james dean (27)? |
SELECT tie_no FROM table_name_52 WHERE home_team = "altrincham" | CREATE TABLE table_name_52 (tie_no VARCHAR, home_team VARCHAR) | When the Altrincham was the home team what was the tie no? |
SELECT tie_no FROM table_name_77 WHERE home_team = "crawley town" | CREATE TABLE table_name_77 (tie_no VARCHAR, home_team VARCHAR) | Crawley Town as the home team has what as the tie no? |
SELECT nationality FROM table_name_47 WHERE rank > 2 AND time = "55.77" | CREATE TABLE table_name_47 (nationality VARCHAR, rank VARCHAR, time VARCHAR) | What is the nationality of the swimmer with a rank over 2 with a time of 55.77? |
SELECT MIN(heat) FROM table_name_51 WHERE nationality = "czech republic" AND rank > 41 | CREATE TABLE table_name_51 (heat INTEGER, nationality VARCHAR, rank VARCHAR) | What is the earliest heat with a finisher from the Czech Republic and a rank over 41? |
SELECT COUNT(heat) FROM table_name_38 WHERE name = "gregor tait" AND lane > 6 | CREATE TABLE table_name_38 (heat VARCHAR, name VARCHAR, lane VARCHAR) | What is the total number of heats with a finisher named Gregor Tait in lanes over 6? |
SELECT time FROM table_name_47 WHERE rank = 40 | CREATE TABLE table_name_47 (time VARCHAR, rank VARCHAR) | What is the time of the swimmer in rank 40? |
SELECT series FROM table_name_35 WHERE director = "norm mccabe" AND title = "tokio jokio" | CREATE TABLE table_name_35 (series VARCHAR, director VARCHAR, title VARCHAR) | From what series was Tokio Jokio, directed by Norm McCabe? |
SELECT release_date FROM table_name_71 WHERE title = "inki and the minah bird" | CREATE TABLE table_name_71 (release_date VARCHAR, title VARCHAR) | When was Inki and the Minah Bird released? |
SELECT series FROM table_name_66 WHERE title = "peck up your troubles" | CREATE TABLE table_name_66 (series VARCHAR, title VARCHAR) | From what series is Peck Up Your Troubles? |
SELECT SUM(civil_liberties) FROM table_name_78 WHERE political_rights = 6 AND president = "yoweri museveni" AND year = 1993 | CREATE TABLE table_name_78 (civil_liberties INTEGER, year VARCHAR, political_rights VARCHAR, president VARCHAR) | When the president was Yoweri Museveni, and the year was 1993, with rank of 6 under political rights, what was the total of civil liberties? |
SELECT AVG(year) FROM table_name_39 WHERE status = "not free" AND civil_liberties < 7 AND political_rights < 6 | CREATE TABLE table_name_39 (year INTEGER, political_rights VARCHAR, status VARCHAR, civil_liberties VARCHAR) | What is the year average when not free was the status, and less than 7 was the civil liberties, and less than 6 political rights? |
SELECT MIN(political_rights) FROM table_name_54 WHERE year = 1976 | CREATE TABLE table_name_54 (political_rights INTEGER, year VARCHAR) | What is the least political rights rank in 1976? |
Subsets and Splits