instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: Name the Wins which has a Class of 350cc, and a Year smaller than 1973? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (wins INTEGER, class VARCHAR, year VARCHAR) | SELECT SUM(wins) FROM table_name_42 WHERE class = "350cc" AND year < 1973 |
Write a SQL query that answers the following question: How many Points has Wins larger than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (points VARCHAR, wins INTEGER) | SELECT COUNT(points) FROM table_name_24 WHERE wins > 0 |
Write a SQL query that answers the following question: What kind of Spike has a Name of mia jerkov category:articles with hcards? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (spike VARCHAR, name VARCHAR) | SELECT spike FROM table_name_27 WHERE name = "mia jerkov category:articles with hcards" |
Write a SQL query that answers the following question: Name the 2013 club which has a Name of ana grbac category:articles with hcards? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (name VARCHAR) | SELECT 2013 AS _club FROM table_name_62 WHERE name = "ana grbac category:articles with hcards" |
Write a SQL query that answers the following question: Name the Spike which has a Name of senna ušić-jogunica category:articles with hcards? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (spike VARCHAR, name VARCHAR) | SELECT spike FROM table_name_84 WHERE name = "senna ušić-jogunica category:articles with hcards" |
Write a SQL query that answers the following question: What was the Overall number for the player with a position of C and a round greater than 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (overall INTEGER, round VARCHAR, position VARCHAR) | SELECT SUM(overall) FROM table_name_58 WHERE round > 7 AND position = "c" |
Write a SQL query that answers the following question: What was the Overall number that is the lowest, and has a pick greater than 9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (overall INTEGER, pick INTEGER) | SELECT MIN(overall) FROM table_name_86 WHERE pick > 9 |
Write a SQL query that answers the following question: Which team after 2008, with less than 2 podium finished and more than 0 FLAPS, had the lowest numberof races? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (races INTEGER, season VARCHAR, podiums VARCHAR, flaps VARCHAR) | SELECT MIN(races) FROM table_name_67 WHERE podiums < 2 AND flaps > 0 AND season > 2008 |
Write a SQL query that answers the following question: what is the points when the entrant is brabham racing organisation, the year is 1964 and the chassis is brabham bt7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (points VARCHAR, chassis VARCHAR, entrant VARCHAR, year VARCHAR) | SELECT points FROM table_name_17 WHERE entrant = "brabham racing organisation" AND year = 1964 AND chassis = "brabham bt7" |
Write a SQL query that answers the following question: who is the entrant when the points is 42 (45) and the chassis is brabham bt20? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (entrant VARCHAR, points VARCHAR, chassis VARCHAR) | SELECT entrant FROM table_name_25 WHERE points = "42 (45)" AND chassis = "brabham bt20" |
Write a SQL query that answers the following question: how many times is the chassis brabham bt33? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (year VARCHAR, chassis VARCHAR) | SELECT COUNT(year) FROM table_name_79 WHERE chassis = "brabham bt33" |
Write a SQL query that answers the following question: Who was the winner in 2013? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (stage VARCHAR, year VARCHAR) | SELECT stage AS winner FROM table_name_48 WHERE year = 2013 |
Write a SQL query that answers the following question: Who was the opponent at Ullevi? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (opponents VARCHAR, venue VARCHAR) | SELECT opponents FROM table_name_22 WHERE venue = "ullevi" |
Write a SQL query that answers the following question: When was Göteborg the opponent with a score of 3-1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (date VARCHAR, opponents VARCHAR, score VARCHAR) | SELECT date FROM table_name_9 WHERE opponents = "göteborg" AND score = "3-1" |
Write a SQL query that answers the following question: Which Finish had a To par of +10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (finish VARCHAR, to_par VARCHAR) | SELECT finish FROM table_name_89 WHERE to_par = "+10" |
Write a SQL query that answers the following question: Which years was there a To par of +1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (year_s__won VARCHAR, to_par VARCHAR) | SELECT year_s__won FROM table_name_45 WHERE to_par = "+1" |
Write a SQL query that answers the following question: What were Sébastien Bourdais' lowest points when there were less than 63 laps? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (points INTEGER, driver VARCHAR, laps VARCHAR) | SELECT MIN(points) FROM table_name_16 WHERE driver = "sébastien bourdais" AND laps < 63 |
Write a SQL query that answers the following question: What is Position, when Event is 60 m, and when Venue is Budapest , Hungary? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (position VARCHAR, event VARCHAR, venue VARCHAR) | SELECT position FROM table_name_40 WHERE event = "60 m" AND venue = "budapest , hungary" |
Write a SQL query that answers the following question: What is Event, when Position is 6th, and when Year is after 2006? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (event VARCHAR, position VARCHAR, year VARCHAR) | SELECT event FROM table_name_97 WHERE position = "6th" AND year > 2006 |
Write a SQL query that answers the following question: What is the average Year, when Position is 9th, when Event is 100 m, and when Venue is Munich, Germany? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (year INTEGER, venue VARCHAR, position VARCHAR, event VARCHAR) | SELECT AVG(year) FROM table_name_66 WHERE position = "9th" AND event = "100 m" AND venue = "munich, germany" |
Write a SQL query that answers the following question: What is the Event, when Year is 2002, and when Competition is European Indoor Championships? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (event VARCHAR, year VARCHAR, competition VARCHAR) | SELECT event FROM table_name_6 WHERE year = 2002 AND competition = "european indoor championships" |
Write a SQL query that answers the following question: What is Nation, when Bronze is 1, when Gold is greater than 0, and when Rank is 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (nation VARCHAR, rank VARCHAR, bronze VARCHAR, gold VARCHAR) | SELECT nation FROM table_name_11 WHERE bronze = 1 AND gold > 0 AND rank = "2" |
Write a SQL query that answers the following question: What is the average Total, when Bronze is greater than 0, when Silver is greater than 0, when Gold is greater than 2, and when Nation is Soviet Union? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (total INTEGER, nation VARCHAR, gold VARCHAR, bronze VARCHAR, silver VARCHAR) | SELECT AVG(total) FROM table_name_75 WHERE bronze > 0 AND silver > 0 AND gold > 2 AND nation = "soviet union" |
Write a SQL query that answers the following question: What is the average Gold, when Nation is Yugoslavia, and when Silver is greater than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (gold INTEGER, nation VARCHAR, silver VARCHAR) | SELECT AVG(gold) FROM table_name_28 WHERE nation = "yugoslavia" AND silver > 0 |
Write a SQL query that answers the following question: What is the average Bronze, when Total is 4, and when Silver is less than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (bronze INTEGER, total VARCHAR, silver VARCHAR) | SELECT AVG(bronze) FROM table_name_36 WHERE total = 4 AND silver < 2 |
Write a SQL query that answers the following question: What is the aggregate for the tie with a team 2 of Irtysh? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (agg VARCHAR, team_2 VARCHAR) | SELECT agg FROM table_name_58 WHERE team_2 = "irtysh" |
Write a SQL query that answers the following question: What was the aggregate in the match with a team 1 of Dinamo Minsk? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (agg VARCHAR, team_1 VARCHAR) | SELECT agg FROM table_name_27 WHERE team_1 = "dinamo minsk" |
Write a SQL query that answers the following question: What is the Java EE compatibility of the 5.2.4 edition? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (java_ee_compatibility VARCHAR, edition VARCHAR) | SELECT java_ee_compatibility FROM table_name_97 WHERE edition = "5.2.4" |
Write a SQL query that answers the following question: What is the release date for Eclipse Foundation? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (release_date VARCHAR, vendor VARCHAR) | SELECT release_date FROM table_name_43 WHERE vendor = "eclipse foundation" |
Write a SQL query that answers the following question: Which Oracle Corporation product has a Java EE compatibility of 1.4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (product VARCHAR, java_ee_compatibility VARCHAR, vendor VARCHAR) | SELECT product FROM table_name_80 WHERE java_ee_compatibility = "1.4" AND vendor = "oracle corporation" |
Write a SQL query that answers the following question: Which edition released on 2007-06-07 has a Java EE compatibility of 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (edition VARCHAR, java_ee_compatibility VARCHAR, release_date VARCHAR) | SELECT edition FROM table_name_4 WHERE java_ee_compatibility = "5" AND release_date = "2007-06-07" |
Write a SQL query that answers the following question: When was Glassfish released? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (release_date VARCHAR, product VARCHAR) | SELECT release_date FROM table_name_15 WHERE product = "glassfish" |
Write a SQL query that answers the following question: Which licence has a release date of 2009-08? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (license VARCHAR, release_date VARCHAR) | SELECT license FROM table_name_23 WHERE release_date = "2009-08" |
Write a SQL query that answers the following question: WHO ARE THE SEMIFINALISTS FOR TOURNAMENT OF PARIS? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (semifinalists VARCHAR, tournament VARCHAR) | SELECT semifinalists FROM table_name_28 WHERE tournament = "paris" |
Write a SQL query that answers the following question: WHO WAS THE SEMIFINALISTS FOR THE HAMBURG TOURNAMENT? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (semifinalists VARCHAR, tournament VARCHAR) | SELECT semifinalists FROM table_name_82 WHERE tournament = "hamburg" |
Write a SQL query that answers the following question: Which opponent had a round of SF? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (opponent VARCHAR, round VARCHAR) | SELECT opponent FROM table_name_45 WHERE round = "sf" |
Write a SQL query that answers the following question: What was the result when the opponent was Celtic? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_55 WHERE opponent = "celtic" |
Write a SQL query that answers the following question: What was the result for round r3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (result VARCHAR, round VARCHAR) | SELECT result FROM table_name_10 WHERE round = "r3" |
Write a SQL query that answers the following question: How many times have Central Crossing won the OCC Championship? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (occ_championships INTEGER, school VARCHAR) | SELECT SUM(occ_championships) FROM table_name_96 WHERE school = "central crossing" |
Write a SQL query that answers the following question: How many rounds is the fight against Michael Chavez? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (round INTEGER, opponent VARCHAR) | SELECT AVG(round) FROM table_name_46 WHERE opponent = "michael chavez" |
Write a SQL query that answers the following question: What date was the match where Daniel Gimeno-Traver's partner was pere riba? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (date VARCHAR, partner VARCHAR) | SELECT date FROM table_name_26 WHERE partner = "pere riba" |
Write a SQL query that answers the following question: Ashley Grimes had what to club? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (to_club VARCHAR, player VARCHAR) | SELECT to_club FROM table_name_26 WHERE player = "ashley grimes" |
Write a SQL query that answers the following question: Who had a transfer fee of released and played the position of DF? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (player VARCHAR, transfer_fee VARCHAR, pos VARCHAR) | SELECT player FROM table_name_30 WHERE transfer_fee = "released" AND pos = "df" |
Write a SQL query that answers the following question: When was the exit date KiatPrawut Saiwaeo who had a transfer fee of released? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (exit_date VARCHAR, transfer_fee VARCHAR, player VARCHAR) | SELECT exit_date FROM table_name_50 WHERE transfer_fee = "released" AND player = "kiatprawut saiwaeo" |
Write a SQL query that answers the following question: What was the date that a player went to the club Doncaster Rovers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (exit_date VARCHAR, to_club VARCHAR) | SELECT exit_date FROM table_name_14 WHERE to_club = "doncaster rovers" |
Write a SQL query that answers the following question: Teerasil Dangda who had a to club of released plays what position? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (pos VARCHAR, to_club VARCHAR, player VARCHAR) | SELECT pos FROM table_name_76 WHERE to_club = "released" AND player = "teerasil dangda" |
Write a SQL query that answers the following question: What was the average points for someone who has played more than 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (points INTEGER, played INTEGER) | SELECT AVG(points) FROM table_name_67 WHERE played > 10 |
Write a SQL query that answers the following question: What is L2 Cache, when Model Number is Pentium II 350? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (l2_cache VARCHAR, model_number VARCHAR) | SELECT l2_cache FROM table_name_54 WHERE model_number = "pentium ii 350" |
Write a SQL query that answers the following question: What is Mult, when Model Number is Pentium II 450? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (mult VARCHAR, model_number VARCHAR) | SELECT mult FROM table_name_85 WHERE model_number = "pentium ii 450" |
Write a SQL query that answers the following question: What is Frequency, when Model Number is Pentium II 400? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (frequency VARCHAR, model_number VARCHAR) | SELECT frequency FROM table_name_59 WHERE model_number = "pentium ii 400" |
Write a SQL query that answers the following question: What is Socket, when Voltage is 2.0V, and when Model Number is Pentium II 333? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (socket VARCHAR, voltage VARCHAR, model_number VARCHAR) | SELECT socket FROM table_name_64 WHERE voltage = "2.0v" AND model_number = "pentium ii 333" |
Write a SQL query that answers the following question: What is Model Number, when Voltage is 2.0V, and when Frequency is 350 mhz? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (model_number VARCHAR, voltage VARCHAR, frequency VARCHAR) | SELECT model_number FROM table_name_2 WHERE voltage = "2.0v" AND frequency = "350 mhz" |
Write a SQL query that answers the following question: How many attended during the game with a score of 80-94? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (attendance INTEGER, score VARCHAR) | SELECT SUM(attendance) FROM table_name_52 WHERE score = "80-94" |
Write a SQL query that answers the following question: What is the U.S. rap ranking in 2000 of the U.S. 105 single? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (us VARCHAR, year VARCHAR) | SELECT us AS Rap FROM table_name_44 WHERE year = 2000 AND us = "105" |
Write a SQL query that answers the following question: For the game ending with a score of 28-43, what is the listed as the final record? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (record VARCHAR, score VARCHAR) | SELECT record FROM table_name_86 WHERE score = "28-43" |
Write a SQL query that answers the following question: For the game showing a final record of 0-5, what was the attendance level? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (attendance VARCHAR, record VARCHAR) | SELECT attendance FROM table_name_95 WHERE record = "0-5" |
Write a SQL query that answers the following question: For the game where the opponent is listed as At Los Angeles Rams, what was the final score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_65 WHERE opponent = "at los angeles rams" |
Write a SQL query that answers the following question: What was the result for the game with final record listed as 0-1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (result VARCHAR, record VARCHAR) | SELECT result FROM table_name_66 WHERE record = "0-1" |
Write a SQL query that answers the following question: Which player has fewer than 3 rounds and the position of (g)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (player VARCHAR, round VARCHAR, position VARCHAR) | SELECT player FROM table_name_73 WHERE round < 3 AND position = "(g)" |
Write a SQL query that answers the following question: How many rounds does Colby Robak have with a position of (d)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (round VARCHAR, position VARCHAR, player VARCHAR) | SELECT round FROM table_name_20 WHERE position = "(d)" AND player = "colby robak" |
Write a SQL query that answers the following question: Which College/Junior/Club Team (league) does Matthew Bartkowski play for? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (college_junior_club_team__league_ VARCHAR, player VARCHAR) | SELECT college_junior_club_team__league_ FROM table_name_31 WHERE player = "matthew bartkowski" |
Write a SQL query that answers the following question: What date was the game when the liberty had a record of 12-9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_63 WHERE record = "12-9" |
Write a SQL query that answers the following question: What was the record for the game that had a score of 105-72? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (record VARCHAR, score VARCHAR) | SELECT record FROM table_name_45 WHERE score = "105-72" |
Write a SQL query that answers the following question: What was the date of the game where the record was 4-4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_56 WHERE record = "4-4" |
Write a SQL query that answers the following question: Who was the away team when Manchester United played at home on 10 February 1951? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (away_team VARCHAR, date VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_91 WHERE date = "10 february 1951" AND home_team = "manchester united" |
Write a SQL query that answers the following question: Which tie did Huddersfield Town play as an away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_87 WHERE away_team = "huddersfield town" |
Write a SQL query that answers the following question: What is the Country of T6 Place Player Ben Crenshaw? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (country VARCHAR, place VARCHAR, player VARCHAR) | SELECT country FROM table_name_57 WHERE place = "t6" AND player = "ben crenshaw" |
Write a SQL query that answers the following question: What is the Money of the Player with a To par of +3 and Score of 76-69-69-69=283? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (money___ INTEGER, to_par VARCHAR, score VARCHAR) | SELECT MAX(money___) AS $__ FROM table_name_67 WHERE to_par = "+3" AND score = 76 - 69 - 69 - 69 = 283 |
Write a SQL query that answers the following question: What is the score of the game before January 22 with a 30-7-7 record? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (score VARCHAR, january VARCHAR, record VARCHAR) | SELECT score FROM table_name_54 WHERE january < 22 AND record = "30-7-7" |
Write a SQL query that answers the following question: What is the sum of the games before January 19 with a 27-6-6 record? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (game INTEGER, january VARCHAR, record VARCHAR) | SELECT SUM(game) FROM table_name_11 WHERE january < 19 AND record = "27-6-6" |
Write a SQL query that answers the following question: What is the Frequency, when the Voltage is 3.3 V? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (frequency VARCHAR, voltage VARCHAR) | SELECT frequency FROM table_name_47 WHERE voltage = "3.3 v" |
Write a SQL query that answers the following question: What is the L1 Cache, when the Model Number is X5-133 ADY? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (l1_cache VARCHAR, model_number VARCHAR) | SELECT l1_cache FROM table_name_88 WHERE model_number = "x5-133 ady" |
Write a SQL query that answers the following question: What is the Model Number, when the Voltage is 3.45 V, and when the Frequency is 133 MHZ? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (model_number VARCHAR, voltage VARCHAR, frequency VARCHAR) | SELECT model_number FROM table_name_86 WHERE voltage = "3.45 v" AND frequency = "133 mhz" |
Write a SQL query that answers the following question: What is the Nationality of the Aracataca Ship? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (nationality VARCHAR, ship VARCHAR) | SELECT nationality FROM table_name_17 WHERE ship = "aracataca" |
Write a SQL query that answers the following question: WHAT IS THE SAKA ERA WITH MONTHS IN MEDAM? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (saka_era VARCHAR, months_in_malayalam_era VARCHAR) | SELECT saka_era FROM table_name_77 WHERE months_in_malayalam_era = "medam" |
Write a SQL query that answers the following question: WHAT IS THE SIGN OF ZODIAC OF മീനം? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (sign_of_zodiac VARCHAR, in_malayalam VARCHAR) | SELECT sign_of_zodiac FROM table_name_58 WHERE in_malayalam = "മീനം" |
Write a SQL query that answers the following question: WHAT IS THE SAKA ERA OF VIRGO? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (saka_era VARCHAR, sign_of_zodiac VARCHAR) | SELECT saka_era FROM table_name_31 WHERE sign_of_zodiac = "virgo" |
Write a SQL query that answers the following question: WHAT IS THE GREGORIAN CALENDAR FOR AQUARIUS? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (gregorian_calendar VARCHAR, sign_of_zodiac VARCHAR) | SELECT gregorian_calendar FROM table_name_77 WHERE sign_of_zodiac = "aquarius" |
Write a SQL query that answers the following question: WHAT IS THE IN MALAYALAM WITH kartika–agrahayana? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (in_malayalam VARCHAR, saka_era VARCHAR) | SELECT in_malayalam FROM table_name_61 WHERE saka_era = "kartika–agrahayana" |
Write a SQL query that answers the following question: What is the airport when the iata is tbj? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (airport VARCHAR, iata VARCHAR) | SELECT airport FROM table_name_77 WHERE iata = "tbj" |
Write a SQL query that answers the following question: what is the iata for malta international airport? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (iata VARCHAR, airport VARCHAR) | SELECT iata FROM table_name_89 WHERE airport = "malta international airport" |
Write a SQL query that answers the following question: what is the airport for the country tunisia with the icao dtaa? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (airport VARCHAR, country VARCHAR, icao VARCHAR) | SELECT airport FROM table_name_68 WHERE country = "tunisia" AND icao = "dtaa" |
Write a SQL query that answers the following question: what is the city when the country is libya and the iata is ben? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (city VARCHAR, country VARCHAR, iata VARCHAR) | SELECT city FROM table_name_57 WHERE country = "libya" AND iata = "ben" |
Write a SQL query that answers the following question: what is the country when the city is gafsa? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (country VARCHAR, city VARCHAR) | SELECT country FROM table_name_1 WHERE city = "gafsa" |
Write a SQL query that answers the following question: what is the iata when the city is tripoli? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (iata VARCHAR, city VARCHAR) | SELECT iata FROM table_name_71 WHERE city = "tripoli" |
Write a SQL query that answers the following question: Who is the 2nd round opponent when Team 2 is Red Star (D1)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (team_2 VARCHAR) | SELECT 2 AS nd_round FROM table_name_91 WHERE team_2 = "red star (d1)" |
Write a SQL query that answers the following question: When Team 2 was USL Dunkerque (D2), what was the score | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (score VARCHAR, team_2 VARCHAR) | SELECT score FROM table_name_75 WHERE team_2 = "usl dunkerque (d2)" |
Write a SQL query that answers the following question: What was the team 1 when Red Star (D1) was team 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (team_1 VARCHAR, team_2 VARCHAR) | SELECT team_1 FROM table_name_60 WHERE team_2 = "red star (d1)" |
Write a SQL query that answers the following question: Which team has home game with tie of 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (home_team VARCHAR, tie_no VARCHAR) | SELECT home_team FROM table_name_88 WHERE tie_no = "4" |
Write a SQL query that answers the following question: what is score of a team with tie of 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (score VARCHAR, tie_no VARCHAR) | SELECT score FROM table_name_38 WHERE tie_no = "4" |
Write a SQL query that answers the following question: What is the score of the game with 39,592 attendance? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (score VARCHAR, attendance VARCHAR) | SELECT score FROM table_name_19 WHERE attendance = "39,592" |
Write a SQL query that answers the following question: How many attended the game when the score was tie at 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (attendance VARCHAR, tie_no VARCHAR) | SELECT attendance FROM table_name_65 WHERE tie_no = "4" |
Write a SQL query that answers the following question: Which player was defensive back after round 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (player VARCHAR, position VARCHAR, round VARCHAR) | SELECT player FROM table_name_87 WHERE position = "defensive back" AND round > 3 |
Write a SQL query that answers the following question: What was the pick for Bill Gramatica after round 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (pick VARCHAR, round VARCHAR, player VARCHAR) | SELECT pick FROM table_name_53 WHERE round > 2 AND player = "bill gramatica" |
Write a SQL query that answers the following question: What was the record on june 29? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_25 WHERE date = "june 29" |
Write a SQL query that answers the following question: What were the high points on june 20? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (high_points VARCHAR, date VARCHAR) | SELECT high_points FROM table_name_36 WHERE date = "june 20" |
Write a SQL query that answers the following question: Which Record has a Location/Attendance of palace of auburn hills 8,108? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (record VARCHAR, location_attendance VARCHAR) | SELECT record FROM table_name_22 WHERE location_attendance = "palace of auburn hills 8,108" |
Write a SQL query that answers the following question: Which Game is the lowest one that has a Record of 11-4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (game INTEGER, record VARCHAR) | SELECT MIN(game) FROM table_name_30 WHERE record = "11-4" |
Write a SQL query that answers the following question: Which Date has a Location/Attendance of verizon center 7,587? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (date VARCHAR, location_attendance VARCHAR) | SELECT date FROM table_name_66 WHERE location_attendance = "verizon center 7,587" |
Write a SQL query that answers the following question: Which High rebounds has a High points of douglas (23)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (high_rebounds VARCHAR, high_points VARCHAR) | SELECT high_rebounds FROM table_name_23 WHERE high_points = "douglas (23)" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.