context
stringlengths 0
489
| instruction
stringlengths 16
244
| response
stringlengths 38
557
|
---|---|---|
CREATE TABLE table_name_28 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR) | What is Score, when Country is "United States", when Place is "T9", and when Player is "Jay Hebert"? | SELECT score FROM table_name_28 WHERE country = "united states" AND place = "t9" AND player = "jay hebert" |
CREATE TABLE table_name_90 (pada_4 VARCHAR, pada_1 VARCHAR) | What kind of Pada 4 has a Pada 1 of खी ju/khi? | SELECT pada_4 FROM table_name_90 WHERE pada_1 = "खी ju/khi" |
CREATE TABLE table_name_30 (date VARCHAR, record VARCHAR) | Which Date has a Record of 3-4? | SELECT date FROM table_name_30 WHERE record = "3-4" |
CREATE TABLE table_name_24 (record VARCHAR, opponent VARCHAR) | What is the record for opponent Anna Barone? | SELECT record FROM table_name_24 WHERE opponent = "anna barone" |
CREATE TABLE table_name_29 (location VARCHAR, opponent VARCHAR) | What is the location of the match with Aron Lofton as the opponent? | SELECT location FROM table_name_29 WHERE opponent = "aron lofton" |
CREATE TABLE table_name_60 (method VARCHAR, round VARCHAR, time VARCHAR) | What is the method of the match with 1 round and a time of 1:58? | SELECT method FROM table_name_60 WHERE round = 1 AND time = "1:58" |
CREATE TABLE table_name_84 (location VARCHAR, event VARCHAR) | In which location did the Meca World Vale Tudo 6 event happen? | SELECT location FROM table_name_84 WHERE event = "meca world vale tudo 6" |
CREATE TABLE table_name_24 (school_club_team VARCHAR, player VARCHAR) | What school/club did gerald wilkins attend? | SELECT school_club_team FROM table_name_24 WHERE player = "gerald wilkins" |
CREATE TABLE table_name_46 (wins VARCHAR, class VARCHAR, year VARCHAR) | Which Wins have a Class of 500cc, and a Year smaller than 1975? | SELECT wins FROM table_name_46 WHERE class = "500cc" AND year < 1975 |
CREATE TABLE table_name_44 (date VARCHAR, loss VARCHAR) | Name the date for loss of ruffin (3-5) | SELECT date FROM table_name_44 WHERE loss = "ruffin (3-5)" |
CREATE TABLE table_name_98 (model_number VARCHAR, multiplier VARCHAR, front_side_bus VARCHAR, l2_cache VARCHAR) | Which Model number has a Front Side Bus of 100mhz, a L2-Cache of 64kib and a Multiplier of 8.5×? | SELECT model_number FROM table_name_98 WHERE front_side_bus = "100mhz" AND l2_cache = "64kib" AND multiplier = "8.5×" |
CREATE TABLE table_name_79 (finalists VARCHAR, tournament VARCHAR) | What is Finalists, when Tournament is Miami? | SELECT finalists FROM table_name_79 WHERE tournament = "miami" |
CREATE TABLE table_name_80 (undecided VARCHAR, source VARCHAR, murray VARCHAR) | What is the undecided percentage of the poll from Suffolk University with Murray at 11%? | SELECT undecided FROM table_name_80 WHERE source = "suffolk university" AND murray = "11%" |
CREATE TABLE table_name_36 (county VARCHAR, median_household_income VARCHAR) | What County has a Median household income of $46,872? | SELECT county FROM table_name_36 WHERE median_household_income = "$46,872" |
CREATE TABLE table_name_20 (position VARCHAR, played VARCHAR, points VARCHAR, lost VARCHAR) | What is the total number of positions having points over 2, more than 4 losses, and under 10 matches played? | SELECT COUNT(position) FROM table_name_20 WHERE points > 2 AND lost > 4 AND played < 10 |
CREATE TABLE table_name_79 (player VARCHAR, country VARCHAR, to_par VARCHAR) | What is Player, when Country is "United States", and when To Par is "WD"? | SELECT player FROM table_name_79 WHERE country = "united states" AND to_par = "wd" |
CREATE TABLE table_name_70 (civil_liberties_2011 VARCHAR, political_rights_2010 VARCHAR, political_rights_2011 VARCHAR) | What is the total number of civil liberties 2011 values having 2010 political rights values under 3 and 2011 political rights values under 1? | SELECT COUNT(civil_liberties_2011) FROM table_name_70 WHERE political_rights_2010 < 3 AND political_rights_2011 < 1 |
CREATE TABLE table_name_84 (preliminary INTEGER, interview VARCHAR, average VARCHAR) | What is the sum of Preliminary scores where the interview score is 9.654 and the average score is lower than 9.733? | SELECT SUM(preliminary) FROM table_name_84 WHERE interview = 9.654 AND average < 9.733 |
CREATE TABLE table_name_21 (consider VARCHAR, candidate VARCHAR, poll_source VARCHAR, oppose VARCHAR) | What percentage of people said they would consider Rudy Giuliani as a candidate according to the Newsweek poll that showed 32% opposed him? | SELECT consider FROM table_name_21 WHERE poll_source = "newsweek poll" AND oppose = "32%" AND candidate = "rudy giuliani" |
CREATE TABLE table_name_68 (borough_or_census_area VARCHAR, median_household_income VARCHAR) | Which borough or census area has a $59,596 median household income? | SELECT borough_or_census_area FROM table_name_68 WHERE median_household_income = "$59,596" |
CREATE TABLE table_name_96 (area__km_2__ INTEGER, rank VARCHAR, municipality VARCHAR, province VARCHAR, status VARCHAR) | What is the highest Area (KM 2) for the Province of Ontario, that has the Status of Town, a Municipality of Minto, and a Rank that's smaller than 84? | SELECT MAX(area__km_2__) FROM table_name_96 WHERE province = "ontario" AND status = "town" AND municipality = "minto" AND rank < 84 |
CREATE TABLE table_name_73 (partner VARCHAR, outcome VARCHAR, date VARCHAR) | What is Partner, when Outcome is Winner, and when Date is 12 October 2003? | SELECT partner FROM table_name_73 WHERE outcome = "winner" AND date = "12 october 2003" |
CREATE TABLE table_name_8 (opponents VARCHAR, partner VARCHAR) | What is Opponents, when Partner is Mervana Jugić-Salkić? | SELECT opponents FROM table_name_8 WHERE partner = "mervana jugić-salkić" |
CREATE TABLE table_name_4 (rebounds INTEGER, minutes_played VARCHAR, games_played VARCHAR) | What is the average Rebounds, when Minutes Played is "113", and when Games Played is greater than "18"? | SELECT AVG(rebounds) FROM table_name_4 WHERE minutes_played = 113 AND games_played > 18 |
CREATE TABLE table_name_40 (pick INTEGER, college VARCHAR, overall VARCHAR) | What is the highest Pick, when College is "Syracuse", and when Overall is less than 18? | SELECT MAX(pick) FROM table_name_40 WHERE college = "syracuse" AND overall < 18 |
CREATE TABLE table_name_90 (title VARCHAR, name VARCHAR) | What is the title for david campbell mulford? | SELECT title FROM table_name_90 WHERE name = "david campbell mulford" |
CREATE TABLE table_name_12 (size_of_rest_bit_field VARCHAR, leading_bits VARCHAR, start_address VARCHAR) | What is the size of the rest bit field when the leading bits are more than 110 and the start address is 224.0.0.0? | SELECT size_of_rest_bit_field FROM table_name_12 WHERE leading_bits > 110 AND start_address = "224.0.0.0" |
CREATE TABLE table_name_14 (goals_against VARCHAR, points_1 VARCHAR, goals_for VARCHAR) | When the Points 1 were 44 and the Goals For were larger than 65, what was the total number of Goals Against? | SELECT COUNT(goals_against) FROM table_name_14 WHERE points_1 = 44 AND goals_for > 65 |
CREATE TABLE table_name_18 (date__from_ VARCHAR, traction_type VARCHAR, location VARCHAR) | what is the date for traction type electric with calgary location? | SELECT date__from_ FROM table_name_18 WHERE traction_type = "electric" AND location = "calgary" |
CREATE TABLE table_name_61 (gold VARCHAR, nation VARCHAR, total VARCHAR, bronze VARCHAR) | What is the total number of golds having a total of 1, bronzes of 0, and from West Germany? | SELECT COUNT(gold) FROM table_name_61 WHERE total = 1 AND bronze < 1 AND nation = "west germany" |
CREATE TABLE table_name_8 (high_assists VARCHAR, location_attendance VARCHAR) | Who had the high assists when the game was at American Airlines Center 20,223? | SELECT high_assists FROM table_name_8 WHERE location_attendance = "american airlines center 20,223" |
CREATE TABLE table_name_28 (total_passengers VARCHAR, annual_change VARCHAR, rank VARCHAR) | What is the total number of Total Passengers when the annual change is 28.8% and the rank is less than 8? | SELECT COUNT(total_passengers) FROM table_name_28 WHERE annual_change = "28.8%" AND rank < 8 |
CREATE TABLE table_name_49 (total_passengers INTEGER, annual_change VARCHAR, rank VARCHAR) | What is the highest Total Passengers when the annual change is 18.3%, and the rank is less than 11? | SELECT MAX(total_passengers) FROM table_name_49 WHERE annual_change = "18.3%" AND rank < 11 |
CREATE TABLE table_name_96 (score VARCHAR, date VARCHAR, venue VARCHAR) | Which Score has a Date of october 8, 2005, and a Venue of estadio alfonso lastras, san luis potosí, mexico? | SELECT score FROM table_name_96 WHERE date = "october 8, 2005" AND venue = "estadio alfonso lastras, san luis potosí, mexico" |
CREATE TABLE table_name_45 (competition VARCHAR, venue VARCHAR, goal VARCHAR) | Which Competition has a Venue of estadio alfonso lastras, san luis potosí, mexico, and a Goal larger than 15? | SELECT competition FROM table_name_45 WHERE venue = "estadio alfonso lastras, san luis potosí, mexico" AND goal > 15 |
CREATE TABLE table_name_27 (operating_system_version VARCHAR, memory___ram__ VARCHAR) | Which operating system has 1GB (mobile ddr) memory (RAM)? | SELECT operating_system_version FROM table_name_27 WHERE memory___ram__ = "1gb (mobile ddr)" |
CREATE TABLE table_name_90 (location__numbersites__global_local_ VARCHAR, software VARCHAR, ipv6_address VARCHAR) | What is the location for the software of BIND and an IPv6 address of 2001:503:c27::2:30? | SELECT location__numbersites__global_local_ FROM table_name_90 WHERE software = "bind" AND ipv6_address = "2001:503:c27::2:30" |
CREATE TABLE table_name_95 (all_time INTEGER, amateur_era VARCHAR, first_title VARCHAR, last_title VARCHAR) | What is the lowest All-Time, when First Title is before 1974, when Last Title is "1933", and when Amateur Era is greater than 2? | SELECT MIN(all_time) FROM table_name_95 WHERE first_title < 1974 AND last_title = 1933 AND amateur_era > 2 |
CREATE TABLE table_name_59 (location VARCHAR, founded VARCHAR, team_nickname VARCHAR) | What is the location of the team nicknamed Broncos, which was founded after 1889? | SELECT location FROM table_name_59 WHERE founded > 1889 AND team_nickname = "broncos" |
CREATE TABLE table_name_15 (membership INTEGER, _percentage_lds VARCHAR, branches VARCHAR) | What is the average membership with 3.33% LDS and less than 47 branches? | SELECT AVG(membership) FROM table_name_15 WHERE _percentage_lds = "3.33%" AND branches < 47 |
CREATE TABLE table_name_23 (nicd VARCHAR, type VARCHAR) | What is NiCd, when Type is "Capacity under 500mA constant Drain"? | SELECT nicd FROM table_name_23 WHERE type = "capacity under 500ma constant drain" |
CREATE TABLE table_name_33 (date VARCHAR, margin_of_victory VARCHAR, winning_score VARCHAR) | Which Date has a Margin of victory of 5 strokes, and a Winning score of −13 (67-73-64-63=267)? | SELECT date FROM table_name_33 WHERE margin_of_victory = "5 strokes" AND winning_score = −13(67 - 73 - 64 - 63 = 267) |
CREATE TABLE table_name_63 (population_density INTEGER, population__2011_ VARCHAR, change___percentage_ VARCHAR, county VARCHAR) | What is the Population density that has a Change (%) higher than 10.4, and a Population (2011) less than 8574, in the County of Queens? | SELECT AVG(population_density) FROM table_name_63 WHERE change___percentage_ > 10.4 AND county = "queens" AND population__2011_ < 8574 |
CREATE TABLE table_name_25 (grid INTEGER, bike VARCHAR, rider VARCHAR) | What is Fonsi Nieto's average grid when he's riding a Suzuki GSX-R1000? | SELECT AVG(grid) FROM table_name_25 WHERE bike = "suzuki gsx-r1000" AND rider = "fonsi nieto" |
CREATE TABLE table_name_2 (population__2011_ VARCHAR, area__km²_ VARCHAR, change___percentage_ VARCHAR, population__2006_ VARCHAR, population_density VARCHAR) | What was the Population (2011) when the Population (2006) was less than 7083, and the Population density less than 342.8, and the Change (%) of 5, and an Area (km²) larger than 4.5? | SELECT COUNT(population__2011_) FROM table_name_2 WHERE population__2006_ < 7083 AND population_density < 342.8 AND change___percentage_ = 5 AND area__km²_ > 4.5 |
CREATE TABLE table_name_93 (population_density INTEGER, population__2011_ VARCHAR, population__2006_ VARCHAR, county VARCHAR, area__km²_ VARCHAR) | In the County of Prince, what was the highest Population density when the Area (km²) was larger than 3.02, and the Population (2006) was larger than 786, and the Population (2011) was smaller than 1135? | SELECT MAX(population_density) FROM table_name_93 WHERE county = "prince" AND area__km²_ > 3.02 AND population__2006_ > 786 AND population__2011_ < 1135 |
CREATE TABLE table_name_12 (drawn INTEGER, against VARCHAR, lost VARCHAR, points VARCHAR) | What is the highest Drawn when the lost is 7 and the points are more than 4, and the against is less than 22? | SELECT MAX(drawn) FROM table_name_12 WHERE lost = 7 AND points > 4 AND against < 22 |
CREATE TABLE table_name_49 (club VARCHAR) | Which 2007–08 season has a Club of genoa c.f.c.? | SELECT 2007 AS _08_season FROM table_name_49 WHERE club = "genoa c.f.c." |
CREATE TABLE table_name_80 (avg_finish INTEGER, poles INTEGER) | What is the sum of value for average finish with poles less than 0? | SELECT SUM(avg_finish) FROM table_name_80 WHERE poles < 0 |
CREATE TABLE table_name_34 (starts INTEGER, wins VARCHAR, position VARCHAR) | What is the average start with wins larger than 0 and 32nd position? | SELECT AVG(starts) FROM table_name_34 WHERE wins > 0 AND position = "32nd" |
CREATE TABLE table_name_19 (specific_impulse__s_ VARCHAR, scenario VARCHAR) | What is the specific impulse for the engine with a scenario of sr-71 at mach 3.2 (wet)? | SELECT specific_impulse__s_ FROM table_name_19 WHERE scenario = "sr-71 at mach 3.2 (wet)" |
CREATE TABLE table_name_66 (specific_impulse__s_ INTEGER, sfc_in_lb__lbf·h_ VARCHAR, effective_exhaust_velocity__m_s_ VARCHAR) | what is the average specific impulse for engines that have a SFC in lb/(lbf·h) of 7.95, and a Effective exhaust velocity (m/s) larger than 4,423 | SELECT AVG(specific_impulse__s_) FROM table_name_66 WHERE sfc_in_lb__lbf·h_ = 7.95 AND effective_exhaust_velocity__m_s_ > 4 OFFSET 423 |
CREATE TABLE table_name_71 (language VARCHAR, television_service VARCHAR, content VARCHAR, hdtv VARCHAR) | What is Language, when Content is Sport, when HDTV is No, and when Television Service is ESPN America? | SELECT language FROM table_name_71 WHERE content = "sport" AND hdtv = "no" AND television_service = "espn america" |
CREATE TABLE table_name_46 (novelty VARCHAR, authors VARCHAR, notes VARCHAR) | What is the Novelty of the dinosaur that was named by the Author, Zhiming, and whose Notes are, "carcharodontosaurid"? | SELECT novelty FROM table_name_46 WHERE authors = "zhiming" AND notes = "carcharodontosaurid" |
CREATE TABLE table_name_6 (player VARCHAR, place VARCHAR, score VARCHAR) | Who scored 74-70-67=211 and placed t5? | SELECT player FROM table_name_6 WHERE place = "t5" AND score = 74 - 70 - 67 = 211 |
CREATE TABLE table_name_72 (against VARCHAR, losses VARCHAR, byes VARCHAR) | What is the number listed under against when there were less than 13 losses and less than 2 byes? | SELECT COUNT(against) FROM table_name_72 WHERE losses < 13 AND byes < 2 |
CREATE TABLE table_name_7 (public_debt__percentage_of_gdp__2013_q1_ INTEGER, member_state_sorted_by_gdp VARCHAR, gdp_per_capita_in_ppp_us$__2012_ VARCHAR) | What is the average public debt % of GDP in 2013 Q1 of the country with a member slate sorted by GDP of Czech Republic and a GDP per capita in PPP US dollars in 2012 greater than 27,191? | SELECT AVG(public_debt__percentage_of_gdp__2013_q1_) FROM table_name_7 WHERE member_state_sorted_by_gdp = "czech republic" AND gdp_per_capita_in_ppp_us$__2012_ > 27 OFFSET 191 |
CREATE TABLE table_name_74 (inflation__percentage_annual__2012_ INTEGER, public_debt__percentage_of_gdp__2013_q1_ VARCHAR, gdp__percentage_of_eu__2012_ VARCHAR) | What is the largest inflation % annual in 2012 of the country with a public debt % of GDP in 2013 Q1 greater than 88.2 and a GDP % of EU in 2012 of 2.9%? | SELECT MAX(inflation__percentage_annual__2012_) FROM table_name_74 WHERE public_debt__percentage_of_gdp__2013_q1_ > 88.2 AND gdp__percentage_of_eu__2012_ = "2.9%" |
CREATE TABLE table_name_72 (record VARCHAR, game VARCHAR) | Can you tell me the Record that has the Game of 19? | SELECT record FROM table_name_72 WHERE game = 19 |
CREATE TABLE table_name_16 (location_attendance VARCHAR, record VARCHAR) | What is the Location and Attendance with a Record of 21–22? | SELECT location_attendance FROM table_name_16 WHERE record = "21–22" |
CREATE TABLE table_name_60 (position INTEGER, lost INTEGER) | What is the position when lost is less than 7? | SELECT AVG(position) FROM table_name_60 WHERE lost < 7 |
CREATE TABLE table_name_56 (bronze INTEGER, nation VARCHAR, gold VARCHAR) | What is the lowest Bronze with a Nation of egypt (egy) and with a Gold that is smaller than 2? | SELECT MIN(bronze) FROM table_name_56 WHERE nation = "egypt (egy)" AND gold < 2 |
CREATE TABLE table_name_96 (episode__number INTEGER, viewers VARCHAR, share VARCHAR, rank VARCHAR) | What is the average Episode # with a share of 9, and #35 is rank and less than 8.21 viewers? | SELECT AVG(episode__number) FROM table_name_96 WHERE share = 9 AND rank = "#35" AND viewers < 8.21 |
CREATE TABLE table_name_33 (website VARCHAR, ofsted VARCHAR, locality VARCHAR) | What website has an Ofsted less than 106478 in Atherton? | SELECT website FROM table_name_33 WHERE ofsted < 106478 AND locality = "atherton" |
CREATE TABLE table_name_78 (league INTEGER, venue VARCHAR, club VARCHAR) | Which League championship is the lowest one that has a Venue of penn state ice pavilion, and a Club of penn state nittany lions men's ice hockey? | SELECT MIN(league) AS championships FROM table_name_78 WHERE venue = "penn state ice pavilion" AND club = "penn state nittany lions men's ice hockey" |
CREATE TABLE table_name_40 (date VARCHAR, competition VARCHAR, venue VARCHAR) | What date has 2006 fifa world cup qualification as the competition, and alamodome, san antonio, united States as the venue? | SELECT date FROM table_name_40 WHERE competition = "2006 fifa world cup qualification" AND venue = "alamodome, san antonio, united states" |
CREATE TABLE table_name_21 (sign VARCHAR, latin_motto VARCHAR) | Which astrological sign has the Latin motto of Vita? | SELECT sign FROM table_name_21 WHERE latin_motto = "vita" |
CREATE TABLE table_name_54 (location VARCHAR, opponent VARCHAR) | what is the location when the opponent is aleksandr pitchkounov? | SELECT location FROM table_name_54 WHERE opponent = "aleksandr pitchkounov" |
CREATE TABLE table_name_53 (date VARCHAR, result VARCHAR) | What is the date of the game with a result of W 13-10? | SELECT date FROM table_name_53 WHERE result = "w 13-10" |
CREATE TABLE table_name_28 (to_par VARCHAR, player VARCHAR, total VARCHAR) | What is the total number of To Par, when Player is "Julius Boros", and when Total is greater than 295? | SELECT COUNT(to_par) FROM table_name_28 WHERE player = "julius boros" AND total > 295 |
CREATE TABLE table_name_34 (total INTEGER, rank VARCHAR, gold VARCHAR) | What is the lowest total when the rank is 14 and the gold medals is larger than 0? | SELECT MIN(total) FROM table_name_34 WHERE rank = "14" AND gold > 0 |
CREATE TABLE table_name_58 (rank VARCHAR, water_park VARCHAR) | what is 2011 when the rank is less than 8 and the water park is ocean world? | SELECT SUM(2011) FROM table_name_58 WHERE rank < 8 AND water_park = "ocean world" |
CREATE TABLE table_name_71 (area VARCHAR, _percentage_hindu VARCHAR) | What area shows % Hindu of statistics from the bbc in depth report.? | SELECT area FROM table_name_71 WHERE _percentage_hindu = "statistics from the bbc in depth report." |
CREATE TABLE table_name_43 (main_span_feet VARCHAR, main_span_metres VARCHAR, rank VARCHAR, year_opened VARCHAR, country VARCHAR) | What is the main span feet from opening year of 1936 in the United States with a rank greater than 47 and 421 main span metres? | SELECT main_span_feet FROM table_name_43 WHERE year_opened = 1936 AND country = "united states" AND rank > 47 AND main_span_metres = "421" |
CREATE TABLE table_name_67 (opponent VARCHAR, location_attendance VARCHAR) | What is Opponent, when Location/Attendance is "Mellon Arena - 17,132"? | SELECT opponent FROM table_name_67 WHERE location_attendance = "mellon arena - 17,132" |
CREATE TABLE table_name_8 (driving_wheels VARCHAR, original_ner_class VARCHAR) | What driving wheels are on the m1 original NER class? | SELECT driving_wheels FROM table_name_8 WHERE original_ner_class = "m1" |
CREATE TABLE table_name_34 (m_r_romaja VARCHAR, capital VARCHAR) | What is the M-R Romaja for the province having a capital of Cheongju? | SELECT m_r_romaja FROM table_name_34 WHERE capital = "cheongju" |
CREATE TABLE table_name_77 (total INTEGER, to_par VARCHAR, player VARCHAR) | If the player is Corey Pavin when he had a To par of over 7, what was the sum of his totals? | SELECT SUM(total) FROM table_name_77 WHERE to_par > 7 AND player = "corey pavin" |
CREATE TABLE table_name_90 (year VARCHAR, position VARCHAR, name VARCHAR) | In what year of school is the forward Iman McFarland? | SELECT year FROM table_name_90 WHERE position = "forward" AND name = "iman mcfarland" |
CREATE TABLE table_name_9 (score VARCHAR, opponent VARCHAR) | what is the score when the opponent is fernando vicente? | SELECT score FROM table_name_9 WHERE opponent = "fernando vicente" |
CREATE TABLE table_name_95 (league_goals INTEGER, league_apps VARCHAR, league_cup_goals VARCHAR) | What is the league goals when the league cup goals is less than 0 and 16 (1) league apps? | SELECT AVG(league_goals) FROM table_name_95 WHERE league_apps = "16 (1)" AND league_cup_goals < 0 |
CREATE TABLE table_name_13 (league_cup_apps VARCHAR, total_apps VARCHAR, position VARCHAR, league_goals VARCHAR) | What is the league cup apps when the league goals are greater than 3, there are 30 (2) total apps, and has a position of mf? | SELECT league_cup_apps FROM table_name_13 WHERE position = "mf" AND league_goals > 3 AND total_apps = "30 (2)" |
CREATE TABLE table_name_60 (points INTEGER, rank VARCHAR) | What is the lowest points when the ranking is 1st? | SELECT MIN(points) FROM table_name_60 WHERE rank = "1st" |
CREATE TABLE table_name_77 (league_cup INTEGER, total VARCHAR, fa_cup VARCHAR, premier_league VARCHAR) | What is the highest league cup with more than 0 FA cups, a premier league less than 34 and a total of 11? | SELECT MAX(league_cup) FROM table_name_77 WHERE fa_cup > 0 AND premier_league < 34 AND total = 11 |
CREATE TABLE table_name_81 (area__in_km²_ INTEGER, markatal INTEGER) | What is the average Area (in km²), when Markatal is less than 0? | SELECT AVG(area__in_km²_) FROM table_name_81 WHERE markatal < 0 |
CREATE TABLE table_name_69 (markatal INTEGER, municipality VARCHAR, inhabitants_per_km² VARCHAR) | What is the highest Markatal, when Municipality is Leirvík, and when Inhabitants Per Km² is greater than 79? | SELECT MAX(markatal) FROM table_name_69 WHERE municipality = "leirvík" AND inhabitants_per_km² > 79 |
CREATE TABLE table_name_57 (population INTEGER, municipality VARCHAR, markatal VARCHAR, inhabitants_per_km² VARCHAR) | What is the sum of Population, when Markatal is greater than 48, when Inhabitants Per Km² is greater than 24, and when Municipality is Runavík? | SELECT SUM(population) FROM table_name_57 WHERE markatal > 48 AND inhabitants_per_km² > 24 AND municipality = "runavík" |
CREATE TABLE table_name_53 (season VARCHAR, wins VARCHAR, loses VARCHAR, competition VARCHAR) | How many seasons have Losses larger than 1, and a Competition of fiba europe cup, and Wins smaller than 4? | SELECT COUNT(season) FROM table_name_53 WHERE loses > 1 AND competition = "fiba europe cup" AND wins < 4 |
CREATE TABLE table_name_81 (year INTEGER, result VARCHAR) | In what Year was the Result of the game 16-14? | SELECT MAX(year) FROM table_name_81 WHERE result = "16-14" |
CREATE TABLE table_name_83 (tie_no VARCHAR, home_team VARCHAR) | What is home team Chelsea's Tie no? | SELECT tie_no FROM table_name_83 WHERE home_team = "chelsea" |
CREATE TABLE table_name_92 (Id VARCHAR) | What in 2007 has a 2010 of qf, and a 2012 of w? | SELECT 2007 FROM table_name_92 WHERE 2010 = "qf" AND 2012 = "w" |
CREATE TABLE table_name_28 (away VARCHAR, time VARCHAR) | What is the Away with a Time that is 14:00? | SELECT away FROM table_name_28 WHERE time = "14:00" |
CREATE TABLE table_name_35 (score VARCHAR, date VARCHAR) | What is the Score with a Date that is 2008-06-28? | SELECT score FROM table_name_35 WHERE date = "2008-06-28" |
CREATE TABLE table_name_90 (points VARCHAR, tries_for VARCHAR) | What is Points, when Tries For is "correct as of 00:00 11 June 2008"? | SELECT points FROM table_name_90 WHERE tries_for = "correct as of 00:00 11 june 2008" |
CREATE TABLE table_name_60 (class VARCHAR, number_at_lincoln VARCHAR, wheel_arrangement VARCHAR) | Which Class has a Number at Lincoln smaller than 1 and a Wheel Arrangement of 0-6-0? | SELECT class FROM table_name_60 WHERE number_at_lincoln < 1 AND wheel_arrangement = "0-6-0" |
CREATE TABLE table_name_85 (high_points VARCHAR, location_attendance VARCHAR) | At Time Warner Cable Arena 12,096, what was the high points? | SELECT high_points FROM table_name_85 WHERE location_attendance = "time warner cable arena 12,096" |
CREATE TABLE table_name_94 (partner VARCHAR, score VARCHAR, outcome VARCHAR, year VARCHAR) | Who was the Partner that was a winner, a Year smaller than 1993, and a Score of 6–4, 6–2? | SELECT partner FROM table_name_94 WHERE outcome = "winner" AND year < 1993 AND score = "6–4, 6–2" |
CREATE TABLE table_name_24 (population VARCHAR, english_name VARCHAR) | how many subdivisions have an English Name of jiyang? | SELECT COUNT(population) FROM table_name_24 WHERE english_name = "jiyang" |
CREATE TABLE table_name_72 (power__kw_ VARCHAR, frequency VARCHAR) | What is the Power (kW) for the station with a frequency of 95.1mhz? | SELECT power__kw_ FROM table_name_72 WHERE frequency = "95.1mhz" |
CREATE TABLE table_name_31 (callsign VARCHAR, branding VARCHAR) | What is the Callsign for the station with the branding 93dot5 home radio Cagayan De Oro? | SELECT callsign FROM table_name_31 WHERE branding = "93dot5 home radio cagayan de oro" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.