question
stringlengths 12
243
| answer
stringlengths 18
557
| context
stringlengths 27
489
|
---|---|---|
How many picks have charley sanders as the name, with a round greater than 22? | SELECT SUM(pick) FROM table_name_78 WHERE name = "charley sanders" AND round > 22 | CREATE TABLE table_name_78 (pick INTEGER, name VARCHAR, round VARCHAR) |
What Premier League Manager has an Adidas sponsor and a Newcastle United club? | SELECT manager FROM table_name_52 WHERE manufacturer = "adidas" AND club = "newcastle united" | CREATE TABLE table_name_52 (manager VARCHAR, manufacturer VARCHAR, club VARCHAR) |
Which District has a First elected of 1858, and a Result of retired republican gain, and an Incumbent of william millward? | SELECT district FROM table_name_2 WHERE first_elected = 1858 AND result = "retired republican gain" AND incumbent = "william millward" | CREATE TABLE table_name_2 (district VARCHAR, incumbent VARCHAR, first_elected VARCHAR, result VARCHAR) |
Which Date has a Runner(s)-up of fred funk? | SELECT date FROM table_name_55 WHERE runner_s__up = "fred funk" | CREATE TABLE table_name_55 (date VARCHAR, runner_s__up VARCHAR) |
What school is nicknamed the panthers? | SELECT school FROM table_24935743_2 WHERE nickname = "Panthers" | CREATE TABLE table_24935743_2 (school VARCHAR, nickname VARCHAR) |
What is the model of the engine d5244 t7? | SELECT model_name FROM table_1147701_5 WHERE engine_code = "D5244 T7" | CREATE TABLE table_1147701_5 (model_name VARCHAR, engine_code VARCHAR) |
Which Natural change has a Crude death rate (per 1000) larger than 9, and Deaths of 40 399? | SELECT natural_change FROM table_name_88 WHERE crude_death_rate__per_1000_ > 9 AND deaths = "40 399" | CREATE TABLE table_name_88 (natural_change VARCHAR, crude_death_rate__per_1000_ VARCHAR, deaths VARCHAR) |
Which parishes have the highworth railroad? | SELECT parish FROM table_16226584_1 WHERE name = "Highworth" | CREATE TABLE table_16226584_1 (parish VARCHAR, name VARCHAR) |
What is the highest amount of group legs won when the prize money was £21,850? | SELECT MAX(Winners) AS group_legs_won FROM table_24334163_1 WHERE total_money_won = "£21,850" | CREATE TABLE table_24334163_1 (Winners INTEGER, total_money_won VARCHAR) |
What was the To par for United States golfer fred couples? | SELECT to_par FROM table_name_17 WHERE country = "united states" AND player = "fred couples" | CREATE TABLE table_name_17 (to_par VARCHAR, country VARCHAR, player VARCHAR) |
What is the symbol for Windpower in China? | SELECT wind_power__wp_ FROM table_11347578_1 WHERE country = "China" | CREATE TABLE table_11347578_1 (wind_power__wp_ VARCHAR, country VARCHAR) |
What is the region 1 date for series 4 | SELECT region_1 FROM table_15823956_1 WHERE series = "4" | CREATE TABLE table_15823956_1 (region_1 VARCHAR, series VARCHAR) |
What is the score when the attendance shows TBC, and Sidley United was the opponent? | SELECT score FROM table_name_81 WHERE attendance = "tbc" AND opponent = "sidley united" | CREATE TABLE table_name_81 (score VARCHAR, attendance VARCHAR, opponent VARCHAR) |
What country is Relax-Gam from? | SELECT country FROM table_name_83 WHERE team = "relax-gam" | CREATE TABLE table_name_83 (country VARCHAR, team VARCHAR) |
What is Date, when Record is "1-1"? | SELECT date FROM table_name_25 WHERE record = "1-1" | CREATE TABLE table_name_25 (date VARCHAR, record VARCHAR) |
Who has a Construction of 1873, foochow navy yard? | SELECT characters FROM table_name_33 WHERE construction = "1873, foochow navy yard" | CREATE TABLE table_name_33 (characters VARCHAR, construction VARCHAR) |
Name the gdp world rank for asian rank being 20 | SELECT gdp_world_rank FROM table_2249029_1 WHERE asian_rank = 20 | CREATE TABLE table_2249029_1 (gdp_world_rank VARCHAR, asian_rank VARCHAR) |
Which venue has a Result of draw? | SELECT venue FROM table_name_92 WHERE result = "draw" | CREATE TABLE table_name_92 (venue VARCHAR, result VARCHAR) |
Show the names of phones that have total number of stocks bigger than 2000, in descending order of the total number of stocks. | SELECT T2.Name FROM phone_market AS T1 JOIN phone AS T2 ON T1.Phone_ID = T2.Phone_ID GROUP BY T2.Name HAVING SUM(T1.Num_of_stock) >= 2000 ORDER BY SUM(T1.Num_of_stock) DESC | CREATE TABLE phone_market (Phone_ID VARCHAR, Num_of_stock INTEGER); CREATE TABLE phone (Name VARCHAR, Phone_ID VARCHAR) |
How many products have the characteristic named "hot"? | SELECT COUNT(*) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id WHERE t3.characteristic_name = "hot" | CREATE TABLE products (product_id VARCHAR); CREATE TABLE CHARACTERISTICS (characteristic_id VARCHAR, characteristic_name VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR) |
Which player has 0 goals, 1 tries, 4 points, and plays in the Prop position? | SELECT player FROM table_name_19 WHERE goals = 0 AND tries = 1 AND points = 4 AND position = "prop" | CREATE TABLE table_name_19 (player VARCHAR, position VARCHAR, points VARCHAR, goals VARCHAR, tries VARCHAR) |
What is the number of games for Shlomi Avrahami? | SELECT COUNT(games) FROM table_name_75 WHERE name = "shlomi avrahami" | CREATE TABLE table_name_75 (games VARCHAR, name VARCHAR) |
What is Notes, when Gold is "Thierry Gueorgiou", when Year is before 2008, and when Bronze is "Valentin Novikov"? | SELECT notes FROM table_name_70 WHERE gold = "thierry gueorgiou" AND year < 2008 AND bronze = "valentin novikov" | CREATE TABLE table_name_70 (notes VARCHAR, bronze VARCHAR, gold VARCHAR, year VARCHAR) |
Name the average votes for one london | SELECT AVG(votes) FROM table_name_22 WHERE party = "one london" | CREATE TABLE table_name_22 (votes INTEGER, party VARCHAR) |
What date was the game played at the Delta Center? | SELECT date FROM table_name_9 WHERE location = "delta center" | CREATE TABLE table_name_9 (date VARCHAR, location VARCHAR) |
On which date is there a performance of more than 8.22.72? | SELECT date FROM table_name_9 WHERE performance = "8.22.72" | CREATE TABLE table_name_9 (date VARCHAR, performance VARCHAR) |
What is the title of every song, and how many weeks was each song at #1 for One Direction? | SELECT song_s__—_weeks FROM table_19542477_9 WHERE artist_s_ = "One Direction" | CREATE TABLE table_19542477_9 (song_s__—_weeks VARCHAR, artist_s_ VARCHAR) |
what is the average league cup goals when the league cup apps is 4, league goals is less than 4, fa cup apps is 1 and total apps is 35? | SELECT AVG(league_cup_goals) FROM table_name_98 WHERE league_cup_apps = 4 AND league_goals < 4 AND fa_cup_apps = "1" AND total_apps = "35" | CREATE TABLE table_name_98 (league_cup_goals INTEGER, total_apps VARCHAR, fa_cup_apps VARCHAR, league_cup_apps VARCHAR, league_goals VARCHAR) |
Name of xue hanqin has what highest term ending? | SELECT MAX(term_ending) FROM table_name_89 WHERE name = "xue hanqin" | CREATE TABLE table_name_89 (term_ending INTEGER, name VARCHAR) |
Which nation had a time of 48.38? | SELECT nation FROM table_name_9 WHERE time__sec_ = 48.38 | CREATE TABLE table_name_9 (nation VARCHAR, time__sec_ VARCHAR) |
What Willingshain is Kirchheim 1,126? | SELECT willingshain FROM table_name_71 WHERE kirchheim = "1,126" | CREATE TABLE table_name_71 (willingshain VARCHAR, kirchheim VARCHAR) |
Who is in December when November has Alexus Winston? | SELECT december FROM table_name_32 WHERE november = "alexus winston" | CREATE TABLE table_name_32 (december VARCHAR, november VARCHAR) |
What s the episode number in the season that was written by Nancy Oliver? | SELECT MAX(no_in_season) FROM table_2182654_6 WHERE written_by = "Nancy Oliver" | CREATE TABLE table_2182654_6 (no_in_season INTEGER, written_by VARCHAR) |
What was the name listed for the royal house of jiang and a title of duke? | SELECT name FROM table_name_96 WHERE title = "duke" AND royal_house = "jiang" | CREATE TABLE table_name_96 (name VARCHAR, title VARCHAR, royal_house VARCHAR) |
What number of wickets were there when the average was 22.66? | SELECT MAX(wickets) FROM table_16570286_4 WHERE average = "22.66" | CREATE TABLE table_16570286_4 (wickets INTEGER, average VARCHAR) |
What are the networks whose version of the show includes the judges batuhan zeynioğlu piatti murat bozok erol kaynar? | SELECT network FROM table_28190363_1 WHERE judges = "Batuhan Zeynioğlu Piatti Murat Bozok Erol Kaynar" | CREATE TABLE table_28190363_1 (network VARCHAR, judges VARCHAR) |
what is the location attendance when the series is 4-3? | SELECT location_attendance FROM table_name_38 WHERE series = "4-3" | CREATE TABLE table_name_38 (location_attendance VARCHAR, series VARCHAR) |
What is the pick# from South Dakota college? | SELECT pick__number FROM table_name_23 WHERE college = "south dakota" | CREATE TABLE table_name_23 (pick__number VARCHAR, college VARCHAR) |
What is the highest Week for october 12, 2008? | SELECT MAX(week) FROM table_name_67 WHERE date = "october 12, 2008" | CREATE TABLE table_name_67 (week INTEGER, date VARCHAR) |
What is Road Team, when Result is "74-71"? | SELECT road_team FROM table_name_36 WHERE result = "74-71" | CREATE TABLE table_name_36 (road_team VARCHAR, result VARCHAR) |
What are the dates of birth of entrepreneurs with investor "Simon Woodroffe" or "Peter Jones"? | SELECT T2.Date_of_Birth FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Investor = "Simon Woodroffe" OR T1.Investor = "Peter Jones" | CREATE TABLE entrepreneur (People_ID VARCHAR, Investor VARCHAR); CREATE TABLE people (Date_of_Birth VARCHAR, People_ID VARCHAR) |
WHAT ARE THE RACES FOR 2010 WITH FLAPS LARGER THAN 6? | SELECT MAX(races) FROM table_name_27 WHERE season = "2010" AND flaps > 6 | CREATE TABLE table_name_27 (races INTEGER, season VARCHAR, flaps VARCHAR) |
Show the investors shared by entrepreneurs that requested more than 140000 and entrepreneurs that requested less than 120000. | SELECT Investor FROM entrepreneur WHERE Money_Requested > 140000 INTERSECT SELECT Investor FROM entrepreneur WHERE Money_Requested < 120000 | CREATE TABLE entrepreneur (Investor VARCHAR, Money_Requested INTEGER) |
What institution(s) are located in wilkes-barre, pennsylvania? | SELECT institution FROM table_261906_2 WHERE location = "Wilkes-Barre, Pennsylvania" | CREATE TABLE table_261906_2 (institution VARCHAR, location VARCHAR) |
Name the total number of swimsuits for evening gowns less than 8.21 and average of 8.453 with interview less than 9.09 | SELECT COUNT(swimsuit) FROM table_name_54 WHERE interview < 9.09 AND evening_gown < 8.21 AND average = 8.453 | CREATE TABLE table_name_54 (swimsuit VARCHAR, average VARCHAR, interview VARCHAR, evening_gown VARCHAR) |
How many students attend course English? | SELECT COUNT(*) FROM courses AS T1 JOIN student_course_attendance AS T2 ON T1.course_id = T2.course_id WHERE T1.course_name = "English" | CREATE TABLE student_course_attendance (course_id VARCHAR); CREATE TABLE courses (course_id VARCHAR, course_name VARCHAR) |
List the maximum scores of the team Boston Red Stockings when the team won in postseason? | SELECT MAX(T1.wins) FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' | CREATE TABLE team (team_id_br VARCHAR, name VARCHAR); CREATE TABLE postseason (wins INTEGER, team_id_winner VARCHAR) |
What is the lowest position for driver Kyle Busch? | SELECT MIN(pos) FROM table_name_94 WHERE driver = "kyle busch" | CREATE TABLE table_name_94 (pos INTEGER, driver VARCHAR) |
Name the director for maya vision international ltd | SELECT director_s_ FROM table_name_81 WHERE recipient = "maya vision international ltd" | CREATE TABLE table_name_81 (director_s_ VARCHAR, recipient VARCHAR) |
Whatis the total number of half marathon (mens) that represented kazakhstan? | SELECT COUNT(Half) AS marathon__mens_ FROM table_11391954_3 WHERE country = "Kazakhstan" | CREATE TABLE table_11391954_3 (Half VARCHAR, country VARCHAR) |
What is Opponents, when Partner is Vitalia Diatchenko? | SELECT opponents FROM table_name_60 WHERE partner = "vitalia diatchenko" | CREATE TABLE table_name_60 (opponents VARCHAR, partner VARCHAR) |
Which Player has a CFL Team of montreal alouettes (via hamilton via winnipeg)? | SELECT player FROM table_name_23 WHERE cfl_team = "montreal alouettes (via hamilton via winnipeg)" | CREATE TABLE table_name_23 (player VARCHAR, cfl_team VARCHAR) |
Name the district for carolyn mccarthy | SELECT district FROM table_1341423_32 WHERE incumbent = "Carolyn McCarthy" | CREATE TABLE table_1341423_32 (district VARCHAR, incumbent VARCHAR) |
What is the lowest age of an astronaut named Stu Roosa? | SELECT MIN(age_on_mission) FROM table_name_81 WHERE name = "stu roosa" | CREATE TABLE table_name_81 (age_on_mission INTEGER, name VARCHAR) |
Winchester Community school, which plays IHSAA class AA football, is located where? | SELECT location FROM table_name_99 WHERE ihsaa_football_class = "aa" AND school = "winchester community" | CREATE TABLE table_name_99 (location VARCHAR, ihsaa_football_class VARCHAR, school VARCHAR) |
What was the conference record for the Pandas when they were first in the standings in the 2003-04 season? | SELECT conf_record FROM table_27069503_2 WHERE standings = "First" AND season = "2003-04" | CREATE TABLE table_27069503_2 (conf_record VARCHAR, standings VARCHAR, season VARCHAR) |
What was the method in round 1 of the UFC 20 event? | SELECT method FROM table_name_87 WHERE round = 1 AND event = "ufc 20" | CREATE TABLE table_name_87 (method VARCHAR, round VARCHAR, event VARCHAR) |
What is the club or province of Girvan Dempsey, who has 74 caps? | SELECT club_province FROM table_name_3 WHERE caps = 74 AND player = "girvan dempsey" | CREATE TABLE table_name_3 (club_province VARCHAR, caps VARCHAR, player VARCHAR) |
What club got 239 points against? | SELECT club FROM table_13564702_4 WHERE points_against = "239" | CREATE TABLE table_13564702_4 (club VARCHAR, points_against VARCHAR) |
How many games were there in the 1966 season? | SELECT MAX(game) FROM table_20849830_1 | CREATE TABLE table_20849830_1 (game INTEGER) |
What is Director, when Primary Language(s) is "Azerbaijani", and when Original Title is "Buta"? | SELECT director FROM table_name_90 WHERE primary_language_s_ = "azerbaijani" AND original_title = "buta" | CREATE TABLE table_name_90 (director VARCHAR, primary_language_s_ VARCHAR, original_title VARCHAR) |
Which country had a place of t1, as well as a score of 72-68-70-73=283? | SELECT country FROM table_name_38 WHERE place = "t1" AND score = 72 - 68 - 70 - 73 = 283 | CREATE TABLE table_name_38 (country VARCHAR, place VARCHAR, score VARCHAR) |
What was the competition on October 21, 2003? | SELECT competition FROM table_name_83 WHERE date = "october 21, 2003" | CREATE TABLE table_name_83 (competition VARCHAR, date VARCHAR) |
What is the low point total for arrows a22 chassis? | SELECT MIN(points) FROM table_name_3 WHERE chassis = "arrows a22" | CREATE TABLE table_name_3 (points INTEGER, chassis VARCHAR) |
What is the cyrillic name for the settlement with the population of 5414? | SELECT cyrillic_name_other_names FROM table_2562572_9 WHERE population__2011_ = 5414 | CREATE TABLE table_2562572_9 (cyrillic_name_other_names VARCHAR, population__2011_ VARCHAR) |
What amount is the junior high school where the gender is male and the specification is minimum diameter of sakigawa? | SELECT junior_high_school__12_15_yrs_ FROM table_13555999_1 WHERE gender = "Male" AND specification = "Minimum diameter of sakigawa" | CREATE TABLE table_13555999_1 (junior_high_school__12_15_yrs_ VARCHAR, gender VARCHAR, specification VARCHAR) |
Who was the finalist for the tournament in berlin? | SELECT finalist FROM table_name_14 WHERE tournament = "berlin" | CREATE TABLE table_name_14 (finalist VARCHAR, tournament VARCHAR) |
Name the average year for result of nominated | SELECT AVG(year) FROM table_name_47 WHERE result = "nominated" | CREATE TABLE table_name_47 (year INTEGER, result VARCHAR) |
what is the date when the venue is junction oval? | SELECT date FROM table_name_47 WHERE venue = "junction oval" | CREATE TABLE table_name_47 (date VARCHAR, venue VARCHAR) |
Who was the partner for the jazz piece in the bottom three? | SELECT partner FROM table_name_40 WHERE style = "jazz" AND results = "bottom three" | CREATE TABLE table_name_40 (partner VARCHAR, style VARCHAR, results VARCHAR) |
What is the lowest Top-25, when Events is 10, and when Wins is greater than 0? | SELECT MIN(top_25) FROM table_name_31 WHERE events = 10 AND wins > 0 | CREATE TABLE table_name_31 (top_25 INTEGER, events VARCHAR, wins VARCHAR) |
what are the air dates for episodes with the production code 08-02-214 | SELECT original_air_date FROM table_16390576_3 WHERE production_code = "08-02-214" | CREATE TABLE table_16390576_3 (original_air_date VARCHAR, production_code VARCHAR) |
What is the result for game 5? | SELECT result FROM table_name_65 WHERE game = "game 5" | CREATE TABLE table_name_65 (result VARCHAR, game VARCHAR) |
What is the lowest number of wins where the byes are less than 0? | SELECT MIN(wins) FROM table_name_15 WHERE byes < 0 | CREATE TABLE table_name_15 (wins INTEGER, byes INTEGER) |
If the US Open tournament had 2r in 2012, what was it in 2010? | SELECT 2010 FROM table_name_84 WHERE 2012 = "2r" AND tournament = "us open" | CREATE TABLE table_name_84 (tournament VARCHAR) |
What was the total number of Top Division Titles where the year founded was prior to 1975 and the location was in Chaguaramas? | SELECT SUM(top_division_titles) FROM table_name_90 WHERE founded < 1975 AND location = "chaguaramas" | CREATE TABLE table_name_90 (top_division_titles INTEGER, founded VARCHAR, location VARCHAR) |
Which U15 4th Quad had a U15 3rd Quad of BBC and U15 6th Quad of GT? | SELECT u15_4th_quad FROM table_name_68 WHERE u15_3rd_quad = "bbc" AND u15_6th_quad = "gt" | CREATE TABLE table_name_68 (u15_4th_quad VARCHAR, u15_3rd_quad VARCHAR, u15_6th_quad VARCHAR) |
who received gold when silver is wolfgang eibeck austria (aut)? | SELECT gold FROM table_name_42 WHERE silver = "wolfgang eibeck austria (aut)" | CREATE TABLE table_name_42 (gold VARCHAR, silver VARCHAR) |
Which class has *alanaz as Part 4? | SELECT class FROM table_name_62 WHERE part_4 = "*alanaz" | CREATE TABLE table_name_62 (class VARCHAR, part_4 VARCHAR) |
Find the last name of students who is either female (sex is F) and living in the city of code BAL or male (sex is M) and in age of below 20. | SELECT lname FROM student WHERE sex = 'F' AND city_code = 'BAL' UNION SELECT lname FROM student WHERE sex = 'M' AND age < 20 | CREATE TABLE student (lname VARCHAR, sex VARCHAR, city_code VARCHAR, age VARCHAR) |
What is the Sr. number of Banikhet Dalhouse Khajiar? | SELECT MAX(sr_no) FROM table_26036389_1 WHERE name_of_road = "Banikhet Dalhouse Khajiar" | CREATE TABLE table_26036389_1 (sr_no INTEGER, name_of_road VARCHAR) |
What's the original NFL team when the POS is S and college is Georgia Tech? | SELECT original_nfl_team FROM table_name_31 WHERE pos = "s" AND college = "georgia tech" | CREATE TABLE table_name_31 (original_nfl_team VARCHAR, pos VARCHAR, college VARCHAR) |
What is the fewest number of top-5s for events with more than 1 win? | SELECT MIN(top_5) FROM table_name_90 WHERE wins > 1 | CREATE TABLE table_name_90 (top_5 INTEGER, wins INTEGER) |
Name the ERP W with a frequency mhz more than 93.3 and city license of washington, georgia | SELECT erp_w FROM table_name_19 WHERE frequency_mhz > 93.3 AND city_of_license = "washington, georgia" | CREATE TABLE table_name_19 (erp_w VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR) |
What character did Vicky Versavel play for 13 years? | SELECT character FROM table_name_93 WHERE duration = "13 years" AND actor = "vicky versavel" | CREATE TABLE table_name_93 (character VARCHAR, duration VARCHAR, actor VARCHAR) |
For each station, return its longitude and the average duration of trips that started from the station. | SELECT T1.name, T1.long, AVG(T2.duration) FROM station AS T1 JOIN trip AS T2 ON T1.id = T2.start_station_id GROUP BY T2.start_station_id | CREATE TABLE station (name VARCHAR, long VARCHAR, id VARCHAR); CREATE TABLE trip (duration INTEGER, start_station_id VARCHAR) |
Which venue was fouded before 2000 for basketball? | SELECT venue FROM table_name_31 WHERE founded < 2000 AND sport = "basketball" | CREATE TABLE table_name_31 (venue VARCHAR, founded VARCHAR, sport VARCHAR) |
Which race did Mercedes win? | SELECT name FROM table_name_19 WHERE winning_constructor = "mercedes" | CREATE TABLE table_name_19 (name VARCHAR, winning_constructor VARCHAR) |
How many times did district of Columbia receive a score for evening gown? | SELECT COUNT(evening_gown) FROM table_12094300_1 WHERE state = "District of Columbia" | CREATE TABLE table_12094300_1 (evening_gown VARCHAR, state VARCHAR) |
Which Score has a Home of quebec nordiques on april 16? | SELECT score FROM table_name_83 WHERE home = "quebec nordiques" AND date = "april 16" | CREATE TABLE table_name_83 (score VARCHAR, home VARCHAR, date VARCHAR) |
Who directed the episode with production code ca303? | SELECT directed_by FROM table_25740548_4 WHERE production_code = "CA303" | CREATE TABLE table_25740548_4 (directed_by VARCHAR, production_code VARCHAR) |
What is the week 14 (final) dec 7 standing with Florida (6-1) on week 8 Oct 26? | SELECT week_14__final__dec_7 FROM table_name_97 WHERE week_8_oct_26 = "florida (6-1)" | CREATE TABLE table_name_97 (week_14__final__dec_7 VARCHAR, week_8_oct_26 VARCHAR) |
What shows for Southbridge when the Model number is amd-640 chipset? | SELECT southbridge FROM table_name_7 WHERE model = "amd-640 chipset" | CREATE TABLE table_name_7 (southbridge VARCHAR, model VARCHAR) |
Find the student first and last names and grade points of all enrollments. | SELECT T3.Fname, T3.LName, T2.gradepoint FROM ENROLLED_IN AS T1 JOIN GRADECONVERSION AS T2 JOIN STUDENT AS T3 ON T1.Grade = T2.lettergrade AND T1.StuID = T3.StuID | CREATE TABLE ENROLLED_IN (Grade VARCHAR, StuID VARCHAR); CREATE TABLE STUDENT (Fname VARCHAR, LName VARCHAR, StuID VARCHAR); CREATE TABLE GRADECONVERSION (gradepoint VARCHAR, lettergrade VARCHAR) |
Is there a Position for Notes 53.96? | SELECT position FROM table_name_82 WHERE notes = "53.96" | CREATE TABLE table_name_82 (position VARCHAR, notes VARCHAR) |
What was the highest position when the wins were higher than 4 and the points were lower than 11? | SELECT MAX(position) FROM table_name_28 WHERE wins = 4 AND points < 11 | CREATE TABLE table_name_28 (position INTEGER, wins VARCHAR, points VARCHAR) |
Which Rank has a Gold larger than 1, and a Bronze of 4, and a Silver smaller than 1? | SELECT MAX(rank) FROM table_name_90 WHERE gold > 1 AND bronze = 4 AND silver < 1 | CREATE TABLE table_name_90 (rank INTEGER, silver VARCHAR, gold VARCHAR, bronze VARCHAR) |
Who is the Driver that has a Laps smaller than 498, less than 58 points, a car number bigger than 22 and who has won $93,514? | SELECT driver FROM table_name_15 WHERE laps < 498 AND points < 58 AND car__number > 22 AND winnings = "$93,514" | CREATE TABLE table_name_15 (driver VARCHAR, winnings VARCHAR, car__number VARCHAR, laps VARCHAR, points VARCHAR) |
What was the theme when the issue price was $508.95? | SELECT theme FROM table_name_72 WHERE issue_price = "$508.95" | CREATE TABLE table_name_72 (theme VARCHAR, issue_price VARCHAR) |
What is the highest run ratio Japan, which has less than 58 runs and 5 wins, have? | SELECT MAX(run_ratio) FROM table_name_36 WHERE runs_allowed < 58 AND wins = 5 AND team = "japan" | CREATE TABLE table_name_36 (run_ratio INTEGER, team VARCHAR, runs_allowed VARCHAR, wins VARCHAR) |
Subsets and Splits