answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT name FROM table_name_87 WHERE market_value__bn$_ < 5.59 AND rank > 39 AND assets__bn$_ > 27.46 | Which company had a market value less than $5.59 billion, assets greater than $27.46 billion, and a rank above 39? | CREATE TABLE table_name_87 (name VARCHAR, assets__bn$_ VARCHAR, market_value__bn$_ VARCHAR, rank VARCHAR) |
SELECT competition FROM table_name_89 WHERE venue = "kuala lumpur" AND result = "4-0" AND date = "july 26, 1977" | On July 26, 1977, what competition played at the venue of Kuala Lumpur, resulted in 4-0? | CREATE TABLE table_name_89 (competition VARCHAR, date VARCHAR, venue VARCHAR, result VARCHAR) |
SELECT cerclis_id FROM table_name_74 WHERE proposed = "12/30/1982" AND partially_deleted = "05/01/2003" | what is the cerclis ID when the site was proposed on 12/30/1982 and was partially deleted on 05/01/2003? | CREATE TABLE table_name_74 (cerclis_id VARCHAR, proposed VARCHAR, partially_deleted VARCHAR) |
SELECT COUNT(pommel_horse) FROM table_name_52 WHERE total < 230.019 AND team = "china (chn)" AND vault < 38.437 | How many pommel horses have a Total smaller than 230.019, a Team of china (chn), and a Vault smaller than 38.437? | CREATE TABLE table_name_52 (pommel_horse VARCHAR, vault VARCHAR, total VARCHAR, team VARCHAR) |
SELECT SUM(county) FROM table_name_54 WHERE total = 2 AND city = 0 AND town < 1 | How many counties have 2 as the total, 0 as the city with a town less than 1? | CREATE TABLE table_name_54 (county INTEGER, town VARCHAR, total VARCHAR, city VARCHAR) |
SELECT production_code FROM table_29391888_1 WHERE original_air_date = "May15,2000" | What is the production code for the episode whose original air date was May15,2000? | CREATE TABLE table_29391888_1 (production_code VARCHAR, original_air_date VARCHAR) |
SELECT high_rebounds FROM table_17288825_6 WHERE team = "@ New Orleans" | When @ new orleans is the team who has the highest amount of rebounds? | CREATE TABLE table_17288825_6 (high_rebounds VARCHAR, team VARCHAR) |
SELECT date_and_time FROM table_1233808_2 WHERE competition = "Mithras Cup 2nd Rd (2nd Leg)" | For the competition Mithras Cup 2nd Rd (2nd Leg), what is the date and time? | CREATE TABLE table_1233808_2 (date_and_time VARCHAR, competition VARCHAR) |
SELECT sat_27_aug FROM table_30058355_7 WHERE thurs_25_aug = "23' 56.90 94.528mph" | What is every entry for Saturday August 27 when the entry for Thursday August 25 is 23' 56.90 94.528mph? | CREATE TABLE table_30058355_7 (sat_27_aug VARCHAR, thurs_25_aug VARCHAR) |
SELECT notes FROM table_12562214_1 WHERE date__from_ = "12 August 1897" | what are the notes for date (from) 12 august 1897? | CREATE TABLE table_12562214_1 (notes VARCHAR, date__from_ VARCHAR) |
SELECT COUNT(total_number_of_students) FROM table_142950_1 WHERE vice_chancellor = "Professor Edward Acton" | How many members have professor edward acton as vice-chancellor? | CREATE TABLE table_142950_1 (total_number_of_students VARCHAR, vice_chancellor VARCHAR) |
SELECT AVG(overall) FROM table_name_34 WHERE pick < 5 | Which average overall has a Pick smaller than 5? | CREATE TABLE table_name_34 (overall INTEGER, pick INTEGER) |
SELECT team FROM table_name_41 WHERE best = "1:25.602" | What Team had a 1:25.602 Best? | CREATE TABLE table_name_41 (team VARCHAR, best VARCHAR) |
SELECT previous_conference FROM table_name_49 WHERE school = "whiting" | Which conference held at School of whiting? | CREATE TABLE table_name_49 (previous_conference VARCHAR, school VARCHAR) |
SELECT state_represented FROM table_10644188_3 WHERE name = "Ted Stevens" | What is the state of Ted Stevens? | CREATE TABLE table_10644188_3 (state_represented VARCHAR, name VARCHAR) |
SELECT episode FROM table_27208311_1 WHERE writer = "Barry Purchese" | What is every episode with Barry Purchese as the writer? | CREATE TABLE table_27208311_1 (episode VARCHAR, writer VARCHAR) |
SELECT decision FROM table_name_56 WHERE visitor = "canadiens" | What was the decision of the Lightning game when the Canadiens were the away team? | CREATE TABLE table_name_56 (decision VARCHAR, visitor VARCHAR) |
SELECT COUNT(player) FROM table_27922491_8 WHERE wickets = 12 | How many players had 12 wickets? | CREATE TABLE table_27922491_8 (player VARCHAR, wickets VARCHAR) |
SELECT COUNT(province) FROM table_29012710_1 WHERE number_of_dairy_cows = 13000 | what is the most number where cattle is 13000 | CREATE TABLE table_29012710_1 (province VARCHAR, number_of_dairy_cows VARCHAR) |
SELECT director FROM table_name_7 WHERE prod_code = "40811-005" | Who directed the episode with production code 40811-005? | CREATE TABLE table_name_7 (director VARCHAR, prod_code VARCHAR) |
SELECT result FROM table_name_70 WHERE date = "december 12" | What is Result, when Date is "December 12"? | CREATE TABLE table_name_70 (result VARCHAR, date VARCHAR) |
SELECT COUNT(yds_att) FROM table_name_10 WHERE net_yds = 1818 AND rank > 1 | What is the total number of Yds/Att where Net Yds was 1818, and Rank was larger than 1? | CREATE TABLE table_name_10 (yds_att VARCHAR, net_yds VARCHAR, rank VARCHAR) |
SELECT chief_judge FROM table_name_42 WHERE appointed_by = "reagan category:articles with hcards" | Which Chief Judge has Appointed by of reagan category:articles with hcards? | CREATE TABLE table_name_42 (chief_judge VARCHAR, appointed_by VARCHAR) |
SELECT MAX(season) FROM table_25740774_1 WHERE podiums > 2.0 | What is the season with podiums more than 2.0? | CREATE TABLE table_25740774_1 (season INTEGER, podiums INTEGER) |
SELECT _percentage_of_popular_vote FROM table_name_53 WHERE _number_of_seats_available = 90 | What is the percentage of the popular vote when there were 90 seats available? | CREATE TABLE table_name_53 (_percentage_of_popular_vote VARCHAR, _number_of_seats_available VARCHAR) |
SELECT Party FROM representative WHERE State = "New York" INTERSECT SELECT Party FROM representative WHERE State = "Pennsylvania" | Show the parties that have both representatives in New York state and representatives in Pennsylvania state. | CREATE TABLE representative (Party VARCHAR, State VARCHAR) |
SELECT opponent FROM table_name_30 WHERE result = "w 23-7" | What was the Opponent in the game with a Result of W 23-7? | CREATE TABLE table_name_30 (opponent VARCHAR, result VARCHAR) |
SELECT nba_draft FROM table_name_4 WHERE hometown = "kingston, pa" | What is the NBA draft result of the player from Kingston, PA? | CREATE TABLE table_name_4 (nba_draft VARCHAR, hometown VARCHAR) |
SELECT 1991 FROM table_name_25 WHERE 1999 = "14" | What's the 1991 when 1999 is 14? | CREATE TABLE table_name_25 (Id VARCHAR) |
SELECT AVG(attendance) FROM table_name_97 WHERE week = 4 | What is the average attendance at a week 4 game? | CREATE TABLE table_name_97 (attendance INTEGER, week VARCHAR) |
SELECT SUM(roll) FROM table_name_11 WHERE area = "waikaka" | What is the sum of the roll with an area of Waikaka? | CREATE TABLE table_name_11 (roll INTEGER, area VARCHAR) |
SELECT away_team AS score FROM table_name_26 WHERE away_team = "collingwood" | What is the Away Team Score of the Collingwood Home Team? | CREATE TABLE table_name_26 (away_team VARCHAR) |
SELECT constructor FROM table_name_48 WHERE grand_prix = "brazilian grand prix" | What is the constructor for Brazilian Grand Prix? | CREATE TABLE table_name_48 (constructor VARCHAR, grand_prix VARCHAR) |
SELECT MIN(market_value__billion_) AS $_ FROM table_name_2 WHERE headquarters = "usa" AND rank > 3 AND assets__billion_$_ > 208.34 AND company = "jpmorgan chase" | What is the lowest market value (billion $) with a headquarter of usa , and the rank larger than 3, assets (billion$) larger than 208.34, and the company jpmorgan chase? | CREATE TABLE table_name_2 (market_value__billion_ INTEGER, company VARCHAR, assets__billion_$_ VARCHAR, headquarters VARCHAR, rank VARCHAR) |
SELECT sail_number FROM table_14882588_3 WHERE yacht = "Yendys" | What are all sail numbers for the yacht Yendys? | CREATE TABLE table_14882588_3 (sail_number VARCHAR, yacht VARCHAR) |
SELECT 2010 FROM table_name_66 WHERE 2011 = "grand slam tournaments" | What is the 2010 of the Grand Slam Tournaments in 2011? | CREATE TABLE table_name_66 (Id VARCHAR) |
SELECT MAX(bronze) FROM table_name_51 WHERE silver < 2 AND total > 4 AND rank = "33" | What's the bronze medal count for Rank 33 when the silver count was less than 2 and the total was more than 4? | CREATE TABLE table_name_51 (bronze INTEGER, rank VARCHAR, silver VARCHAR, total VARCHAR) |
SELECT SUM(floors) FROM table_name_52 WHERE name = "st. joseph church" | What is the sum of Floors at st. joseph church? | CREATE TABLE table_name_52 (floors INTEGER, name VARCHAR) |
SELECT points_for FROM table_name_22 WHERE drawn = "1" AND try_bonus = "16" | What points have 1 for drawn, and 16 as a try bonus? | CREATE TABLE table_name_22 (points_for VARCHAR, drawn VARCHAR, try_bonus VARCHAR) |
SELECT MAX(laps) FROM table_name_73 WHERE rider = "garry mccoy" | What's the highest amount of laps Garry Mccoy drove? | CREATE TABLE table_name_73 (laps INTEGER, rider VARCHAR) |
SELECT frequency FROM table_name_42 WHERE city_of_license = "belleville" | what is the frequency when the city of license is belleville? | CREATE TABLE table_name_42 (frequency VARCHAR, city_of_license VARCHAR) |
SELECT date FROM table_name_99 WHERE winner = "universitario" AND season > 1943 | What is the date for the winner Universitario after the 1943 season? | CREATE TABLE table_name_99 (date VARCHAR, winner VARCHAR, season VARCHAR) |
SELECT COUNT(avg_start) FROM table_2387790_2 WHERE avg_finish = "11.7" | How many years did he have an average finish of 11.7? | CREATE TABLE table_2387790_2 (avg_start VARCHAR, avg_finish VARCHAR) |
SELECT venue FROM table_name_20 WHERE year = 1967 | Which venue hosted a race in 1967? | CREATE TABLE table_name_20 (venue VARCHAR, year VARCHAR) |
SELECT others_number FROM table_20750731_1 WHERE mccain_number = 4730 | Name the Others# when McCain# is 4730. | CREATE TABLE table_20750731_1 (others_number VARCHAR, mccain_number VARCHAR) |
SELECT co_drivers FROM table_name_76 WHERE year < 2010 AND laps < 326 | Who are the co-drivers before 2010 with under 326 laps? | CREATE TABLE table_name_76 (co_drivers VARCHAR, year VARCHAR, laps VARCHAR) |
SELECT score FROM table_name_51 WHERE date = "january 23" | What was the score on January 23? | CREATE TABLE table_name_51 (score VARCHAR, date VARCHAR) |
SELECT score FROM table_name_49 WHERE away_team = "arsenal" | What was the score when Arsenal was the away team? | CREATE TABLE table_name_49 (score VARCHAR, away_team VARCHAR) |
SELECT centerfold_model FROM table_name_96 WHERE interview_subject = "josé napoleón duarte" | Who was the Centerfold model in the issue in which the Interview subject was José Napoleón Duarte? | CREATE TABLE table_name_96 (centerfold_model VARCHAR, interview_subject VARCHAR) |
SELECT medal FROM table_name_73 WHERE name = "fatuma roba category:articles with hcards" | What is the medal named fatuma roba category:articles with hcards for? | CREATE TABLE table_name_73 (medal VARCHAR, name VARCHAR) |
SELECT AVG(against) FROM table_name_67 WHERE draws = 0 AND losses = 16 | What shows for against when draws are 0, and losses are 16? | CREATE TABLE table_name_67 (against INTEGER, draws VARCHAR, losses VARCHAR) |
SELECT MAX(prev) FROM table_name_4 WHERE rank = 9 AND rating < 2746 | What is the highest prev that has 9 as the rank, with a rating less than 2746? | CREATE TABLE table_name_4 (prev INTEGER, rank VARCHAR, rating VARCHAR) |
SELECT MAX(crowd) FROM table_name_54 WHERE venue = "moorabbin oval" | What is the highest number of people that attended a game at Moorabbin Oval? | CREATE TABLE table_name_54 (crowd INTEGER, venue VARCHAR) |
SELECT COUNT(clean_) & _jerk FROM table_name_8 WHERE total__kg_ = 200 AND snatch > 95 | What is the sum of the weight that all weightlifters managed to clean and jerk, among weightlifters who had a snatch of more than 95 and a Total of more than 200? | CREATE TABLE table_name_8 (_jerk VARCHAR, clean_ VARCHAR, total__kg_ VARCHAR, snatch VARCHAR) |
SELECT score FROM table_name_23 WHERE visitor = "mavericks" | What was the score when the mavericks were visitors? | CREATE TABLE table_name_23 (score VARCHAR, visitor VARCHAR) |
SELECT champion__seed_ FROM table_name_1 WHERE score = "79–75 ot" | What was the Champion of the Tournament with a Score of 79–75 OT? | CREATE TABLE table_name_1 (champion__seed_ VARCHAR, score VARCHAR) |
SELECT AVG(goals) FROM table_name_94 WHERE matches = 644 AND rank > 3 | How many goals on average had 644 matches and a rank bigger than 3? | CREATE TABLE table_name_94 (goals INTEGER, matches VARCHAR, rank VARCHAR) |
SELECT district FROM table_1342359_5 WHERE party = "Democratic" | what's the districtwith party being democratic | CREATE TABLE table_1342359_5 (district VARCHAR, party VARCHAR) |
SELECT country FROM table_name_99 WHERE director = "dariush mehrjui" | Where is the director Dariush Mehrjui from? | CREATE TABLE table_name_99 (country VARCHAR, director VARCHAR) |
SELECT rank FROM table_name_22 WHERE name = "tricia flores" | What rank does Tricia Flores have? | CREATE TABLE table_name_22 (rank VARCHAR, name VARCHAR) |
SELECT COUNT(city) FROM table_12896884_1 WHERE enrollment = 19082 | How many cities have an enrollment of 19082? | CREATE TABLE table_12896884_1 (city VARCHAR, enrollment VARCHAR) |
SELECT COUNT(result) FROM table_17848578_1 WHERE game_site = "Atlanta-Fulton County Stadium" | How many results are there when the game was at the Atlanta-Fulton county stadium? | CREATE TABLE table_17848578_1 (result VARCHAR, game_site VARCHAR) |
SELECT melbourne FROM table_name_49 WHERE adelaide = "no" AND auckland = "yes" AND gold_coast = "no" | Name the melbourne for adelaide of no with auckland of yes and gold coast of yes | CREATE TABLE table_name_49 (melbourne VARCHAR, gold_coast VARCHAR, adelaide VARCHAR, auckland VARCHAR) |
SELECT MAX(attendance) FROM table_21436373_10 | What is the maximal number of people that attended any of these games? | CREATE TABLE table_21436373_10 (attendance INTEGER) |
SELECT model FROM table_name_7 WHERE digital = "dvb-t (cx22702)" AND tuner = "thomson dtt75105" | I want the model for digital of dvb-t (cx22702) and tuner of thomson dtt75105 | CREATE TABLE table_name_7 (model VARCHAR, digital VARCHAR, tuner VARCHAR) |
SELECT geust FROM table_name_45 WHERE result = "0:9" | What is Geust, when Result is 0:9? | CREATE TABLE table_name_45 (geust VARCHAR, result VARCHAR) |
SELECT result FROM table_name_74 WHERE date = "november 27, 1994" | What was the score of the Chiefs November 27, 1994 game? | CREATE TABLE table_name_74 (result VARCHAR, date VARCHAR) |
SELECT location FROM table_name_76 WHERE event = "kage kombat 16" | Where was the event Kage Kombat 16? | CREATE TABLE table_name_76 (location VARCHAR, event VARCHAR) |
SELECT remarks FROM table_211791_1 WHERE nato_reporting_name = "SAWHOUSE" | Name the remarks for sawhouse | CREATE TABLE table_211791_1 (remarks VARCHAR, nato_reporting_name VARCHAR) |
SELECT region FROM table_25042332_26 WHERE none = "0.6%" | Which region has 0.6% none? | CREATE TABLE table_25042332_26 (region VARCHAR, none VARCHAR) |
SELECT score FROM table_name_10 WHERE date = "november 3" | What is the score for the November 3 game? | CREATE TABLE table_name_10 (score VARCHAR, date VARCHAR) |
SELECT nominated_work FROM table_name_29 WHERE result = "nominated" AND award = "drama league award" AND year < 2007 | What was the nominated work, nominated for the drama league award before 2007? | CREATE TABLE table_name_29 (nominated_work VARCHAR, year VARCHAR, result VARCHAR, award VARCHAR) |
SELECT district FROM table_1341522_36 WHERE incumbent = "Bill Hefner" | To what district does Bill Hefner belong? | CREATE TABLE table_1341522_36 (district VARCHAR, incumbent VARCHAR) |
SELECT almalı__qax_ FROM table_name_81 WHERE malax = "qaxingiloy" | What is the Almali village with the Malax village qaxingiloy? | CREATE TABLE table_name_81 (almalı__qax_ VARCHAR, malax VARCHAR) |
SELECT nationality FROM table_name_92 WHERE result = "4.50" | What was the nationality of the athlete with a final result of 4.50? | CREATE TABLE table_name_92 (nationality VARCHAR, result VARCHAR) |
SELECT runner_s__up FROM table_name_19 WHERE margin_of_victory = "3 strokes" AND winning_score = –6(65 - 70 - 70 - 69 = 274) | Who is runner-up where the winning score is –6 (65-70-70-69=274) and the margin of victory is 3 strokes? | CREATE TABLE table_name_19 (runner_s__up VARCHAR, margin_of_victory VARCHAR, winning_score VARCHAR) |
SELECT title FROM table_name_71 WHERE featuring = "leela" AND series_sorted = "4s/b" | what is the title when the featuring is leela and series sorted is 4s/b? | CREATE TABLE table_name_71 (title VARCHAR, featuring VARCHAR, series_sorted VARCHAR) |
SELECT player FROM table_name_2 WHERE position = "f" | What players have a position of F? | CREATE TABLE table_name_2 (player VARCHAR, position VARCHAR) |
SELECT round FROM table_name_43 WHERE race = "int. adac preis von zweibrücken" | What shows for round when the race was Int. Adac Preis Von Zweibrücken? | CREATE TABLE table_name_43 (round VARCHAR, race VARCHAR) |
SELECT MIN(bronze) FROM table_name_70 WHERE gold = 1 AND silver < 0 | What is the lowest number of bronze medals for a country with less than 1 gold and 0 silver? | CREATE TABLE table_name_70 (bronze INTEGER, gold VARCHAR, silver VARCHAR) |
SELECT site FROM table_name_26 WHERE game = "game 2" | Name the site for game of game 2 | CREATE TABLE table_name_26 (site VARCHAR, game VARCHAR) |
SELECT COUNT(points) FROM table_name_72 WHERE constructor = "citroën total world rally team" AND wins < 7 | what is the total number of points when the constructor is citroën total world rally team and the wins is less than 7? | CREATE TABLE table_name_72 (points VARCHAR, constructor VARCHAR, wins VARCHAR) |
SELECT position FROM table_name_98 WHERE player = "denard walker" | What position does Denard Walker play? | CREATE TABLE table_name_98 (position VARCHAR, player VARCHAR) |
SELECT rank FROM table_name_85 WHERE country = "croatia" | What is Croatia's rank? | CREATE TABLE table_name_85 (rank VARCHAR, country VARCHAR) |
SELECT date FROM table_name_54 WHERE week > 4 AND opponent = "new york giants" | On what date was the game where is was later than Week 4 of the season and the opponent was the New York Giants? | CREATE TABLE table_name_54 (date VARCHAR, week VARCHAR, opponent VARCHAR) |
SELECT performer_4 FROM table_name_76 WHERE performer_1 = "greg proops" AND date = "25 august 1995" | Performer 1 of greg proops, and a Date of 25 august 1995 is what performer 4? | CREATE TABLE table_name_76 (performer_4 VARCHAR, performer_1 VARCHAR, date VARCHAR) |
SELECT player FROM table_name_76 WHERE country = "south africa" | Which player(s) is from South Africa? | CREATE TABLE table_name_76 (player VARCHAR, country VARCHAR) |
SELECT result FROM table_name_43 WHERE week > 6 AND opponent = "buffalo bills" | What is the result when the week is greater than 6 and the Buffalo Bills are the opponent? | CREATE TABLE table_name_43 (result VARCHAR, week VARCHAR, opponent VARCHAR) |
SELECT born_in FROM table_name_36 WHERE former_experience = "commissioner of health" | When was the delegate who has previous experience as a commissioner of health born? | CREATE TABLE table_name_36 (born_in VARCHAR, former_experience VARCHAR) |
SELECT affiliation FROM table_name_48 WHERE institution = "southern illinois university edwardsville" | What is Southern Illinois University Edwardsville's affiliation? | CREATE TABLE table_name_48 (affiliation VARCHAR, institution VARCHAR) |
SELECT builder FROM table_name_30 WHERE fleet_series = "s057-s061" | Which builder has a fleet series of s057-s061? | CREATE TABLE table_name_30 (builder VARCHAR, fleet_series VARCHAR) |
SELECT player FROM table_10015132_14 WHERE years_in_toronto = "1995-96" | Who played in the Toronto Raptors from 1995-96? | CREATE TABLE table_10015132_14 (player VARCHAR, years_in_toronto VARCHAR) |
SELECT location FROM table_name_8 WHERE tournament = "singapore charity shield" | Where was the Singapore Charity Shield tournament played? | CREATE TABLE table_name_8 (location VARCHAR, tournament VARCHAR) |
SELECT SUM(wins) FROM table_name_59 WHERE team = "mv agusta" AND points > 10 AND year > 1957 | How many wins for team mv agusta, over 10 points, and after 1957? | CREATE TABLE table_name_59 (wins INTEGER, year VARCHAR, team VARCHAR, points VARCHAR) |
SELECT final_round FROM table_name_59 WHERE members = "chris webber" | What was the final round value for member Chris Webber? | CREATE TABLE table_name_59 (final_round VARCHAR, members VARCHAR) |
SELECT isbn FROM table_2950964_5 WHERE title = "The Ring Of Steel" | The Ring of Steel possesses what ISBN? | CREATE TABLE table_2950964_5 (isbn VARCHAR, title VARCHAR) |
SELECT away_team FROM table_name_74 WHERE home_team = "richmond" | I want to see the away team the has a home team of richmond | CREATE TABLE table_name_74 (away_team VARCHAR, home_team VARCHAR) |
SELECT tournament FROM table_name_15 WHERE runner_up = "vijay singh" | In which tournament was vijay singh a runner-up? | CREATE TABLE table_name_15 (tournament VARCHAR, runner_up VARCHAR) |
SELECT score FROM table_name_74 WHERE attendance = "23 january 1999" AND tie_no = "6" | Which Score has an Attendance of 23 january 1999, and a Tie # of 6? | CREATE TABLE table_name_74 (score VARCHAR, attendance VARCHAR, tie_no VARCHAR) |
SELECT host FROM table_name_19 WHERE premiere = "13 january 2009" | Tell me the 13 january 2009 host | CREATE TABLE table_name_19 (host VARCHAR, premiere VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.