answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT COUNT(total) FROM table_name_9 WHERE championship < 2 AND league_cup > 1 | What i the total number of championships less than 2, and a league cup larger than 1? | CREATE TABLE table_name_9 (total VARCHAR, championship VARCHAR, league_cup VARCHAR) |
SELECT total FROM table_name_26 WHERE years = "1953–1964" | What is the Total for 1953–1964? | CREATE TABLE table_name_26 (total VARCHAR, years VARCHAR) |
SELECT iata FROM table_name_62 WHERE city = "alexandria" | What is IATA, when City is "Alexandria"? | CREATE TABLE table_name_62 (iata VARCHAR, city VARCHAR) |
SELECT COUNT(draws) FROM table_name_26 WHERE goals_for < 56 AND position = 10 AND goals_against < 45 | How many draws have goals for less than 56, 10 as the postion, with goals against less than 45? | CREATE TABLE table_name_26 (draws VARCHAR, goals_against VARCHAR, goals_for VARCHAR, position VARCHAR) |
SELECT date FROM table_name_33 WHERE competition = "fai cup" AND runners_up = "derry city f.c." | What date did the Fai Cup with Derry City F.C. as runners-up take place? | CREATE TABLE table_name_33 (date VARCHAR, competition VARCHAR, runners_up VARCHAR) |
SELECT nationality FROM table_name_82 WHERE position = "small forward" | What is the nationality of the person who played small forward? | CREATE TABLE table_name_82 (nationality VARCHAR, position VARCHAR) |
SELECT region FROM table_name_20 WHERE format = "cd album" AND label = "kemado records" AND catalog = "kem 071" | Which Region has a Format of cd album, and a Label of kemado records, and a Catalog of kem 071? | CREATE TABLE table_name_20 (region VARCHAR, catalog VARCHAR, format VARCHAR, label VARCHAR) |
SELECT surface FROM table_name_90 WHERE score = "6-1 7-5" | What was the surface of the game that resulted in a final score of 6-1 7-5? | CREATE TABLE table_name_90 (surface VARCHAR, score VARCHAR) |
SELECT date FROM table_name_89 WHERE home_team = "melbourne" | What was the Date of the game of the Home team of melbourne? | CREATE TABLE table_name_89 (date VARCHAR, home_team VARCHAR) |
SELECT date FROM table_name_71 WHERE event = "ept copenhagen" | What is the Date for the Event ept copenhagen? | CREATE TABLE table_name_71 (date VARCHAR, event VARCHAR) |
SELECT kind_of_the_song FROM table_name_66 WHERE singer = "miriam yeung" | Which type of song did miriam yeung sing? | CREATE TABLE table_name_66 (kind_of_the_song VARCHAR, singer VARCHAR) |
SELECT MIN(attendance) FROM table_name_31 WHERE opponent = "green bay packers" | What was the lowest attendance when the Green Bay Packers played? | CREATE TABLE table_name_31 (attendance INTEGER, opponent VARCHAR) |
SELECT COUNT(win__percentage) FROM table_name_73 WHERE name = "tony rice" AND wins < 28 | Which Win % has a Name of tony rice, and Wins smaller than 28? | CREATE TABLE table_name_73 (win__percentage VARCHAR, name VARCHAR, wins VARCHAR) |
SELECT attendance FROM table_name_72 WHERE date = "4 january 2004" | Name the attendance for 4 january 2004 | CREATE TABLE table_name_72 (attendance VARCHAR, date VARCHAR) |
SELECT pick FROM table_name_72 WHERE round = "8" AND nationality = "usa" AND draft = 2000 | What is the pick for round 8 with a USA nationality in the 2000 draft? | CREATE TABLE table_name_72 (pick VARCHAR, draft VARCHAR, round VARCHAR, nationality VARCHAR) |
SELECT attendance FROM table_name_54 WHERE result = "l 29–23" | Which Attendance has a Result of l 29–23? | CREATE TABLE table_name_54 (attendance VARCHAR, result VARCHAR) |
SELECT SUM(gold) FROM table_name_24 WHERE silver = 2 AND total < 7 | What is the total number of gold medals won by nations that won 2 silver medals but fewer than 7 in total? | CREATE TABLE table_name_24 (gold INTEGER, silver VARCHAR, total VARCHAR) |
SELECT MIN(championship) FROM table_name_69 WHERE fa_cup = 0 AND league_cup = 1 | What is the smallest championship when the FA Cup is 0 and the League Cup is 1? | CREATE TABLE table_name_69 (championship INTEGER, fa_cup VARCHAR, league_cup VARCHAR) |
SELECT kannada_name_ಕನ್ನಡ FROM table_201400_2 WHERE tamil_name_தமிழ் = "Anusham அனுஷம்" | what is kannada name ಕನ್ನಡ of tamil name தமிழ் anusham அனுஷம் | CREATE TABLE table_201400_2 (kannada_name_ಕನ್ನಡ VARCHAR, tamil_name_தமிழ் VARCHAR) |
SELECT album_s_ FROM table_23667534_1 WHERE song_s__title = "My Chariot" | What album was the song My Chariot on? | CREATE TABLE table_23667534_1 (album_s_ VARCHAR, song_s__title VARCHAR) |
SELECT MIN(played) FROM table_name_14 WHERE drawn > 0 AND percentage = "12.50%" AND lost < 3 | What is the lowest number of matches played that has more than 0 draws, a percentage of 12.50%, and fewer than 3 losses? | CREATE TABLE table_name_14 (played INTEGER, lost VARCHAR, drawn VARCHAR, percentage VARCHAR) |
SELECT MIN(sex_ratio__child_) FROM table_10710364_2 WHERE work_participation___percentage_ = "31.3%" | What is the lowest child sex ratio in groups where employment is 31.3%? | CREATE TABLE table_10710364_2 (sex_ratio__child_ INTEGER, work_participation___percentage_ VARCHAR) |
SELECT MAX(episode) FROM table_name_65 WHERE segment_c = "wood flutes" | What is the highest episode of Wood Flutes segment c? | CREATE TABLE table_name_65 (episode INTEGER, segment_c VARCHAR) |
SELECT MAX(s_b_share) FROM table_206419_3 WHERE percent_of_votes = "2.55" | What is the s B share for the shareholder that has 2.55 percent of votes? | CREATE TABLE table_206419_3 (s_b_share INTEGER, percent_of_votes VARCHAR) |
SELECT set_1 FROM table_name_75 WHERE set_3 = "15–4" AND set_2 = "15–7" | What was the Set 1 game score when Set 3 game score was 15–4, and a Set 2 game score was 15–7? | CREATE TABLE table_name_75 (set_1 VARCHAR, set_3 VARCHAR, set_2 VARCHAR) |
SELECT AVG(total) FROM table_name_8 WHERE nation = "cuba" AND bronze > 1 | What average total has cuba as the nation, and a bronze greater than 1? | CREATE TABLE table_name_8 (total INTEGER, nation VARCHAR, bronze VARCHAR) |
SELECT margin_of_victory FROM table_name_66 WHERE winning_score = –9(69 - 72 - 68 - 70 = 279) | When the Winning score was –9 (69-72-68-70=279), what was the Margin of victory? | CREATE TABLE table_name_66 (margin_of_victory VARCHAR, winning_score VARCHAR) |
SELECT MIN(population__2002_) FROM table_2562572_5 WHERE population__2011_ = 9564 | Name the least population for 2002 for 2011 being 9564 | CREATE TABLE table_2562572_5 (population__2002_ INTEGER, population__2011_ VARCHAR) |
SELECT country FROM table_name_6 WHERE place = "t5" | Which country placed t5? | CREATE TABLE table_name_6 (country VARCHAR, place VARCHAR) |
SELECT AVG(losses) FROM table_name_78 WHERE draws = 0 AND byes < 0 | What is the average number of losses for teams with 0 draws and 0 byes? | CREATE TABLE table_name_78 (losses INTEGER, draws VARCHAR, byes VARCHAR) |
SELECT release_price___usd__ FROM table_23028629_2 WHERE model_number = "Core i5-650" | What is every release price(USD) for model number core i5-650? | CREATE TABLE table_23028629_2 (release_price___usd__ VARCHAR, model_number VARCHAR) |
SELECT type FROM table_1183842_1 WHERE nickname = "Fighting Knights" | The fighting knights has what type of nickname? | CREATE TABLE table_1183842_1 (type VARCHAR, nickname VARCHAR) |
SELECT t2.catalog_level_name FROM catalog_contents AS t1 JOIN catalog_structure AS t2 ON t1.catalog_level_number = t2.catalog_level_number ORDER BY t1.price_in_dollars LIMIT 1 | What is the level name of the cheapest catalog (in USD)? | CREATE TABLE catalog_structure (catalog_level_name VARCHAR, catalog_level_number VARCHAR); CREATE TABLE catalog_contents (catalog_level_number VARCHAR, price_in_dollars VARCHAR) |
SELECT AVG(num_employees) FROM department WHERE ranking BETWEEN 10 AND 15 | What is the average number of employees of the departments whose rank is between 10 and 15? | CREATE TABLE department (num_employees INTEGER, ranking INTEGER) |
SELECT skip FROM table_name_66 WHERE country = "norway" | What skip has norway as the country? | CREATE TABLE table_name_66 (skip VARCHAR, country VARCHAR) |
SELECT position FROM table_name_87 WHERE player = "rich manning" | What position did Rich Manning play? | CREATE TABLE table_name_87 (position VARCHAR, player VARCHAR) |
SELECT utah FROM table_name_80 WHERE texas = "humphrey" | What's the value for utah when texas is humphrey? | CREATE TABLE table_name_80 (utah VARCHAR, texas VARCHAR) |
SELECT visitor FROM table_name_35 WHERE date = "april 29" | Who visited on April 29? | CREATE TABLE table_name_35 (visitor VARCHAR, date VARCHAR) |
SELECT label FROM table_name_89 WHERE release_date = 1982 AND country = "us" | Who made a release in the US in 1982? | CREATE TABLE table_name_89 (label VARCHAR, release_date VARCHAR, country VARCHAR) |
SELECT COUNT(mens_doubles) FROM table_28138035_33 WHERE mens_singles = "Ma Long" | How many times has Ma Long won the men's singles? | CREATE TABLE table_28138035_33 (mens_doubles VARCHAR, mens_singles VARCHAR) |
SELECT winners_from_previous_round FROM table_28039032_1 WHERE round = "Semi finals" | How many winners from previous round were there in the semi finals? | CREATE TABLE table_28039032_1 (winners_from_previous_round VARCHAR, round VARCHAR) |
SELECT semifinalists FROM table_name_21 WHERE tournament = "miami" | Who was the semifinalist at the tournament in miami? | CREATE TABLE table_name_21 (semifinalists VARCHAR, tournament VARCHAR) |
SELECT COUNT(yes_votes) FROM table_256286_41 WHERE no_votes < 299939.1619948521 AND _percentage_yes = "66.49%" | What is the aggregate number of yes votes where no votes is littler than 299939.1619948521 and % yes is 66.49% | CREATE TABLE table_256286_41 (yes_votes VARCHAR, no_votes VARCHAR, _percentage_yes VARCHAR) |
SELECT athlete FROM table_name_26 WHERE semifinal = "did not advance" AND event = "light heavyweight –81 kg" | For the light heavyweight –81 kg event that did not advance to semifinal, who was the athlete? | CREATE TABLE table_name_26 (athlete VARCHAR, semifinal VARCHAR, event VARCHAR) |
SELECT surface FROM table_name_15 WHERE date = "july 15, 1984" | On July 15, 1984 what surface was used? | CREATE TABLE table_name_15 (surface VARCHAR, date VARCHAR) |
SELECT date_of_vacancy FROM table_18522916_5 WHERE date_of_appointment = "29 December 2008" | Name the date of vacancy for 29 december 2008 being date of appointment | CREATE TABLE table_18522916_5 (date_of_vacancy VARCHAR, date_of_appointment VARCHAR) |
SELECT team__league_ FROM table_name_23 WHERE reg_gp < 52 AND pick__number = 130 | What team played under 52 Reg GP, and picked 130? | CREATE TABLE table_name_23 (team__league_ VARCHAR, reg_gp VARCHAR, pick__number VARCHAR) |
SELECT opponents_in_the_final FROM table_name_9 WHERE partner = "simon aspelin" | In the final, who are the opponents of partner Simon Aspelin? | CREATE TABLE table_name_9 (opponents_in_the_final VARCHAR, partner VARCHAR) |
SELECT result FROM table_name_28 WHERE venue = "as-salt" | What was the result of the game held at the As-Salt venue? | CREATE TABLE table_name_28 (result VARCHAR, venue VARCHAR) |
SELECT replaced_by FROM table_name_51 WHERE date_of_vacancy = "1 september 2008" | who is the replacement when the date of vacancy is 1 september 2008? | CREATE TABLE table_name_51 (replaced_by VARCHAR, date_of_vacancy VARCHAR) |
SELECT rr_romaja FROM table_name_85 WHERE hangul_chosongul = "강원도" AND capital = "wonsan" | What is the RR Romaja for the province that has Hangul of 강원도 and capital of Wonsan? | CREATE TABLE table_name_85 (rr_romaja VARCHAR, hangul_chosongul VARCHAR, capital VARCHAR) |
SELECT engine FROM table_name_24 WHERE chassis = "reynard 01i" AND drivers = "casey mears" | What engine did Casey Mears use on the Reynard 01i Chassis? | CREATE TABLE table_name_24 (engine VARCHAR, chassis VARCHAR, drivers VARCHAR) |
SELECT AVG(total) FROM table_name_4 WHERE nation = "ethiopia (eth)" AND rank > 9 | What is the average Total with a Nation of ethiopia (eth) and a Rank that is larger than 9? | CREATE TABLE table_name_4 (total INTEGER, nation VARCHAR, rank VARCHAR) |
SELECT pick__number FROM table_2897457_8 WHERE position = "Defence" AND nhl_team = "Boston Bruins" | What pick number was the Boston Bruins selection for defence? | CREATE TABLE table_2897457_8 (pick__number VARCHAR, position VARCHAR, nhl_team VARCHAR) |
SELECT written_by FROM table_29747178_2 WHERE directed_by = "Bob Berlinger" | Who is the writer when the director is bob berlinger? | CREATE TABLE table_29747178_2 (written_by VARCHAR, directed_by VARCHAR) |
SELECT Num_of_Audience FROM festival_detail WHERE YEAR = 2008 OR YEAR = 2010 | Show the number of audience in year 2008 or 2010. | CREATE TABLE festival_detail (Num_of_Audience VARCHAR, YEAR VARCHAR) |
SELECT Customer_Phone, Customer_Email_Address FROM CUSTOMERS WHERE Customer_Name = "Harold" | What are the phone and email for customer Harold? | CREATE TABLE CUSTOMERS (Customer_Phone VARCHAR, Customer_Email_Address VARCHAR, Customer_Name VARCHAR) |
SELECT MIN(game) FROM table_name_58 WHERE record = "26-24-9" | What is the lowest game number when the record was 26-24-9? | CREATE TABLE table_name_58 (game INTEGER, record VARCHAR) |
SELECT type FROM table_name_62 WHERE averaging_time = "1-hour" AND standard = "0.12 ppm (235 μg/m³)" | what is the type when the averaging time is 1-hour and the standard is 0.12 ppm (235 μg/m³)? | CREATE TABLE table_name_62 (type VARCHAR, averaging_time VARCHAR, standard VARCHAR) |
SELECT title FROM table_28195971_1 WHERE directed_by = "David Solomon" AND written_by = "Marti Noxon" | What are the title(s) of episodes directed by david solomon and written by marti noxon? | CREATE TABLE table_28195971_1 (title VARCHAR, directed_by VARCHAR, written_by VARCHAR) |
SELECT AVG(opened) FROM table_name_19 WHERE manufacturer = "vekoma" | Which average Opened has a Manufacturer of vekoma? | CREATE TABLE table_name_19 (opened INTEGER, manufacturer VARCHAR) |
SELECT nationality FROM table_name_86 WHERE name = "assyrian" | Which Nationality has a Name of assyrian? | CREATE TABLE table_name_86 (nationality VARCHAR, name VARCHAR) |
SELECT postcodedistrict FROM table_name_76 WHERE location = "eden park" | What is the name of the Post code district that is in Eden Park? | CREATE TABLE table_name_76 (postcodedistrict VARCHAR, location VARCHAR) |
SELECT first_season FROM table_18752986_1 WHERE home_ground_s_ = "Hillcrest Reserve" | What is the dates where Hillcrest Reserve is the home grounds? | CREATE TABLE table_18752986_1 (first_season VARCHAR, home_ground_s_ VARCHAR) |
SELECT SUM(december) FROM table_name_59 WHERE opponent = "vancouver canucks" AND game < 33 | What is the sum for December against the vancouver canucks earlier than game 33? | CREATE TABLE table_name_59 (december INTEGER, opponent VARCHAR, game VARCHAR) |
SELECT MAX(prominence__ft_) FROM table_name_18 WHERE prominence__m_ < 103 | What is the highest prominence in ft of the peak with a prominence in m less than 103? | CREATE TABLE table_name_18 (prominence__ft_ INTEGER, prominence__m_ INTEGER) |
SELECT away_team AS score FROM table_name_85 WHERE away_team = "richmond" | What was the score of the away team when Richmond played? | CREATE TABLE table_name_85 (away_team VARCHAR) |
SELECT exited FROM table_14345690_5 WHERE celebrity = "Vic Reeves" | What is the exited day where the celebrity is vic reeves? | CREATE TABLE table_14345690_5 (exited VARCHAR, celebrity VARCHAR) |
SELECT date FROM table_name_55 WHERE margin_of_victory = "playoff" AND runner_s__up = "yueh-chyn huang" | Which date was the event that Yani won in a playoff over Yueh-Chyn Huang? | CREATE TABLE table_name_55 (date VARCHAR, margin_of_victory VARCHAR, runner_s__up VARCHAR) |
SELECT T3.Name FROM repair_assignment AS T1 JOIN machine AS T2 ON T1.machine_id = T2.machine_id JOIN technician AS T3 ON T1.technician_ID = T3.technician_ID ORDER BY T2.quality_rank | Show names of technicians in ascending order of quality rank of the machine they are assigned. | CREATE TABLE repair_assignment (machine_id VARCHAR, technician_ID VARCHAR); CREATE TABLE machine (machine_id VARCHAR, quality_rank VARCHAR); CREATE TABLE technician (Name VARCHAR, technician_ID VARCHAR) |
SELECT county FROM table_name_81 WHERE ihsaa_football_class = "a" AND size < 301 | What county has a school with less than 301 students and plays IHSAA class A football? | CREATE TABLE table_name_81 (county VARCHAR, ihsaa_football_class VARCHAR, size VARCHAR) |
SELECT COUNT(directed_by) FROM table_23097214_1 WHERE season__number = 3 | How many directors directed episode 3 of the season? | CREATE TABLE table_23097214_1 (directed_by VARCHAR, season__number VARCHAR) |
SELECT MIN(_number) FROM table_15647838_3 WHERE location = "Atlanta, GA" AND opponent = "Georgia Bulldogs" | What is the lowest # in Atlanta, GA with the Georgia Bulldogs as an opponent? | CREATE TABLE table_15647838_3 (_number INTEGER, location VARCHAR, opponent VARCHAR) |
SELECT name FROM artist WHERE NOT artist_id IN (SELECT artist_id FROM exhibition) | Show names for artists without any exhibition. | CREATE TABLE artist (name VARCHAR, artist_id VARCHAR); CREATE TABLE exhibition (name VARCHAR, artist_id VARCHAR) |
SELECT MAX(grid) FROM table_name_8 WHERE time = "retirement" AND bike = "suzuki gsx-r1000 k7" | Which suzuki gsx-r1000 k7 has the highest time of retirement? | CREATE TABLE table_name_8 (grid INTEGER, time VARCHAR, bike VARCHAR) |
SELECT john_b_anderson FROM table_name_21 WHERE phil_crane = "0%" AND ronald_reagan = "43%" | Name the john b. anderson for ronald reagan of 43% and phil crane of 0% | CREATE TABLE table_name_21 (john_b_anderson VARCHAR, phil_crane VARCHAR, ronald_reagan VARCHAR) |
SELECT country FROM table_name_73 WHERE money___$__ = "playoff" AND score = 66 - 67 - 70 - 67 = 270 | What is the country of the player with playoff money and a score of 66-67-70-67=270? | CREATE TABLE table_name_73 (country VARCHAR, money___$__ VARCHAR, score VARCHAR) |
SELECT T1.first_name, T1.last_name, SUM(T2.total) FROM customers AS T1 JOIN invoices AS T2 ON T2.customer_id = T1.id GROUP BY T1.id ORDER BY SUM(T2.total) DESC LIMIT 10 | List the top 10 customers by total gross sales. List customers' first and last name and total gross sales. | CREATE TABLE invoices (total INTEGER, customer_id VARCHAR); CREATE TABLE customers (first_name VARCHAR, last_name VARCHAR, id VARCHAR) |
SELECT record FROM table_name_72 WHERE opponent = "st. louis cardinals" | What is the record for the opponent St. Louis Cardinals? | CREATE TABLE table_name_72 (record VARCHAR, opponent VARCHAR) |
SELECT school_name FROM school ORDER BY enrollment LIMIT 1 | List the name of the school with the smallest enrollment. | CREATE TABLE school (school_name VARCHAR, enrollment VARCHAR) |
SELECT general_classification FROM table_name_97 WHERE young_rider_classification = "roman kreuziger" AND points_classification = "fabian cancellara" | Name the general classification with roman kreuziger and points classification of fabian cancellara | CREATE TABLE table_name_97 (general_classification VARCHAR, young_rider_classification VARCHAR, points_classification VARCHAR) |
SELECT place FROM table_name_13 WHERE to_par = "–2" AND player = "johnny miller" | With a To par of –2, what is Johnny Miller's Place? | CREATE TABLE table_name_13 (place VARCHAR, to_par VARCHAR, player VARCHAR) |
SELECT Headquarters FROM company GROUP BY Headquarters HAVING COUNT(*) >= 2 | Show the headquarters that have at least two companies. | CREATE TABLE company (Headquarters VARCHAR) |
SELECT MIN(first_elected) FROM table_name_38 WHERE results = "re-elected" AND incumbent = "lincoln davis" | What is the lowest First Elected, when Results is "Re-elected", and when Incumbent is "Lincoln Davis"? | CREATE TABLE table_name_38 (first_elected INTEGER, results VARCHAR, incumbent VARCHAR) |
SELECT AVG(grid) FROM table_name_69 WHERE laps < 14 AND driver = "reine wisell" | What is the average grid when the laps are smaller than 14 and Reine Wisell is the driver? | CREATE TABLE table_name_69 (grid INTEGER, laps VARCHAR, driver VARCHAR) |
SELECT high_rebounds FROM table_name_7 WHERE date = "january 3" | Who had the most rebounds on January 3? | CREATE TABLE table_name_7 (high_rebounds VARCHAR, date VARCHAR) |
SELECT DISTINCT fault_status FROM Fault_Log_Parts | How many fault status codes are recorded in the fault log parts table? | CREATE TABLE Fault_Log_Parts (fault_status VARCHAR) |
SELECT set_1 FROM table_name_90 WHERE date = "jun 26" AND set_2 = "25-16" | What is the set 1 for the date jun 26, and a set 2 of 25-16? | CREATE TABLE table_name_90 (set_1 VARCHAR, date VARCHAR, set_2 VARCHAR) |
SELECT format FROM table_name_3 WHERE catalog = "nebcd058" | What s the format for the catalog nebcd058? | CREATE TABLE table_name_3 (format VARCHAR, catalog VARCHAR) |
SELECT record FROM table_17080868_8 WHERE high_points = "Corey Maggette (25)" | All high points were record by corey maggette (25). | CREATE TABLE table_17080868_8 (record VARCHAR, high_points VARCHAR) |
SELECT MIN(year) FROM table_name_9 WHERE runner_up = "guillermo vilas" | When was the earliest year that Guillermo Vilas was the runner-up? | CREATE TABLE table_name_9 (year INTEGER, runner_up VARCHAR) |
SELECT MAX(SLM) AS number FROM table_name_26 WHERE built > 1895 | What locomotive built after 1895 has the highest SLM number? | CREATE TABLE table_name_26 (SLM INTEGER, built INTEGER) |
SELECT aggressive_rider FROM table_25580292_13 WHERE sprint_classification = "André Greipel" AND mountains_classification = "Timothy Roe" | Who was the aggressive rider when the sprint classification was andré greipel and mountains classification was timothy roe? | CREATE TABLE table_25580292_13 (aggressive_rider VARCHAR, sprint_classification VARCHAR, mountains_classification VARCHAR) |
SELECT T2.pName FROM tryout AS T1 JOIN player AS T2 ON T1.pID = T2.pID WHERE T1.cName = (SELECT cName FROM college ORDER BY enr DESC LIMIT 1) | Find the name of the tryout players who are from the college with largest size. | CREATE TABLE college (cName VARCHAR, enr VARCHAR); CREATE TABLE tryout (pID VARCHAR, cName VARCHAR); CREATE TABLE player (pName VARCHAR, pID VARCHAR) |
SELECT MIN(rank) FROM table_name_57 WHERE country = "australia" | What is the lowest ranking team in Australia? | CREATE TABLE table_name_57 (rank INTEGER, country VARCHAR) |
SELECT name FROM table_name_22 WHERE field = "mokai" | What is the Name of the power station in the Field of Mokai? | CREATE TABLE table_name_22 (name VARCHAR, field VARCHAR) |
SELECT AVG(games) FROM table_name_22 WHERE drawn > 1 | What games have more than 1 draw? | CREATE TABLE table_name_22 (games INTEGER, drawn INTEGER) |
SELECT college_junior_club_team__league_ FROM table_name_66 WHERE player = "louis leblanc" | What college did Louis LeBlanc attend? | CREATE TABLE table_name_66 (college_junior_club_team__league_ VARCHAR, player VARCHAR) |
SELECT writer_s_ FROM table_25800134_13 WHERE airdate = "October 14, 1968" | Who was the writer of the episode that originally aired on October 14, 1968? | CREATE TABLE table_25800134_13 (writer_s_ VARCHAR, airdate VARCHAR) |
SELECT trofeo_fast_team FROM table_name_57 WHERE stage = "10" | who is the trofeo fast team in stage 10? | CREATE TABLE table_name_57 (trofeo_fast_team VARCHAR, stage VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.