text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_name_28 (date VARCHAR, constructor VARCHAR, fastest_lap VARCHAR)
<</SYS>>
SELECT date FROM table_name_28 WHERE constructor = "maserati" AND fastest_lap = "stirling moss"[/INST] What is the date that Stirling Moss had his fastest lap in a Maserati?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_48 (player VARCHAR, round VARCHAR, college_junior_club_team__league_ VARCHAR)
<</SYS>>
SELECT player FROM table_name_48 WHERE round < 4 AND college_junior_club_team__league_ = "usa u-18"[/INST] Which Player has a Round smaller than 4, and a College/junior/club team (league) of usa u-18?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_75 (chassis VARCHAR, entrant VARCHAR, points VARCHAR)
<</SYS>>
SELECT chassis FROM table_name_75 WHERE entrant = "lavazza march" AND points = 0.5[/INST] What was the chassis when the entrant was Lavazza March, and the points were 0.5?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_25 (record VARCHAR, game_site VARCHAR)
<</SYS>>
SELECT record FROM table_name_25 WHERE game_site = "riverfront stadium"[/INST] What was their record when they played at Riverfront Stadium?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_22824312_1 (class VARCHAR, player VARCHAR)
<</SYS>>
SELECT class FROM table_22824312_1 WHERE player = "Ren Alde"[/INST] What class was ren alde?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14594528_6 (losses VARCHAR, games VARCHAR)
<</SYS>>
SELECT losses FROM table_14594528_6 WHERE games = 19[/INST] How many losses for the coach that coached 19 games?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (role VARCHAR, broadcaster VARCHAR)
<</SYS>>
SELECT role FROM table_name_20 WHERE broadcaster = "bbc1"[/INST] What was the role for BBC1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_61 (away VARCHAR, result VARCHAR)
<</SYS>>
SELECT away FROM table_name_61 WHERE result = "1-5 aet"[/INST] Who was the Away team on the result of 1-5 aet?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_28190363_1 (network VARCHAR, judges VARCHAR)
<</SYS>>
SELECT COUNT(network) FROM table_28190363_1 WHERE judges = "Pete Goffe-Wood Andrew Atkinson Benny Masekwameng"[/INST] How many networks are there that include the judges pete goffe-wood andrew atkinson benny masekwameng?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_89 (pct INTEGER, years VARCHAR, wins VARCHAR)
<</SYS>>
SELECT SUM(pct) FROM table_name_89 WHERE years = "1957–1970" AND wins < 78[/INST] Which Pct has Years of 1957–1970, and Wins smaller than 78?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23117208_5 (no_in_series VARCHAR, directed_by VARCHAR)
<</SYS>>
SELECT no_in_series FROM table_23117208_5 WHERE directed_by = "Matthew Penn"[/INST] For the episode directed by Matthew Penn, what is the total number in the series?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE TRACK (Milliseconds INTEGER)
<</SYS>>
SELECT MAX(Milliseconds), MIN(Milliseconds) FROM TRACK[/INST] What are the durations of the longest and the shortest tracks in milliseconds?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14903491_1 (year VARCHAR, womens_doubles VARCHAR)
<</SYS>>
SELECT year FROM table_14903491_1 WHERE womens_doubles = "Victoria Hristova Neli Nedialkova"[/INST] Name the year for victoria hristova neli nedialkova</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_24501530_1 (candidate VARCHAR, hometown VARCHAR)
<</SYS>>
SELECT candidate FROM table_24501530_1 WHERE hometown = "Maylands, Western Australia"[/INST] What is the name of the player from Maylands, Western Australia?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (unit VARCHAR, location VARCHAR)
<</SYS>>
SELECT unit FROM table_name_29 WHERE location = "mongolia"[/INST] What unit is in Mongolia?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_32 (away_team VARCHAR, venue VARCHAR)
<</SYS>>
SELECT away_team FROM table_name_32 WHERE venue = "arden street oval"[/INST] Which Away team has a Venue of arden street oval?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_93 (to_par VARCHAR, country VARCHAR)
<</SYS>>
SELECT to_par FROM table_name_93 WHERE country = "england"[/INST] How many to par in England?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2570269_2 (cast VARCHAR, episode__number VARCHAR)
<</SYS>>
SELECT cast FROM table_2570269_2 WHERE episode__number = "2-03"[/INST] For episode number 2-03, what are the names of the cast?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_33 (total INTEGER, bronze VARCHAR, gold VARCHAR)
<</SYS>>
SELECT AVG(total) FROM table_name_33 WHERE bronze > 3 AND gold > 8[/INST] What is the average total for teams with over 3 bronzes and over 8 golds?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14984078_1 (week VARCHAR, date VARCHAR)
<</SYS>>
SELECT week FROM table_14984078_1 WHERE date = "December 2, 1962"[/INST] What week of the season did the date December 2, 1962 fall on?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (sydney VARCHAR, gold_coast VARCHAR, melbourne VARCHAR, perth VARCHAR, adelaide VARCHAR)
<</SYS>>
SELECT sydney FROM table_name_53 WHERE perth = "no" AND adelaide = "no" AND melbourne = "yes" AND gold_coast = "yes"[/INST] Name the sydney with perth of no, adelaide of no with melbourne of yes and gold coast of yes</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_28051859_3 (tenure VARCHAR, school VARCHAR)
<</SYS>>
SELECT tenure FROM table_28051859_3 WHERE school = "Field"[/INST] When were the members tenured in the Field school?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_34 (trainer VARCHAR, year VARCHAR, time VARCHAR)
<</SYS>>
SELECT trainer FROM table_name_34 WHERE year < 2009 AND time = "1:10.09"[/INST] Which trainer had a time of 1:10.09 with a year less than 2009?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (bronze VARCHAR, rank VARCHAR, silver VARCHAR, nation VARCHAR)
<</SYS>>
SELECT COUNT(bronze) FROM table_name_70 WHERE silver > 2 AND nation = "mixed team" AND rank > 4[/INST] How much Bronze has a Silver larger than 2, and a Nation of mixed team, and a Rank larger than 4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (score VARCHAR, to_par VARCHAR, player VARCHAR)
<</SYS>>
SELECT score FROM table_name_69 WHERE to_par = "–3" AND player = "santiago luna"[/INST] Which Score has a To par of –3, and a Player of santiago luna?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26200568_16 (points_for INTEGER, club VARCHAR)
<</SYS>>
SELECT MIN(points_for) FROM table_26200568_16 WHERE club = "Toronto Downtown Dingos"[/INST] How many points did the Toronto Downtown Dingos score?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27734286_1 (record VARCHAR, high_points VARCHAR)
<</SYS>>
SELECT record FROM table_27734286_1 WHERE high_points = "C. J. Miles (20)"[/INST] What record has c. j. miles (20) in the high points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11734041_16 (player VARCHAR, years_for_rockets VARCHAR)
<</SYS>>
SELECT COUNT(player) FROM table_11734041_16 WHERE years_for_rockets = "1998"[/INST] what is the total amount of players for the rockets in 1998 only?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_28 (population__2011_ INTEGER, land_area__km²_ VARCHAR, population_density__per_km²_ VARCHAR)
<</SYS>>
SELECT SUM(population__2011_) FROM table_name_28 WHERE land_area__km²_ > 15.69 AND population_density__per_km²_ > 57.3[/INST] How much Population (2011) has a Land area (km²) larger than 15.69, and a Population density (per km²) larger than 57.3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (party VARCHAR, took_office VARCHAR)
<</SYS>>
SELECT party FROM table_name_14 WHERE took_office = "1998"[/INST] What is Party, when Took Office is 1998?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_57 (average INTEGER, state VARCHAR, evening_gown VARCHAR)
<</SYS>>
SELECT MAX(average) FROM table_name_57 WHERE state = "texas" AND evening_gown > 8.875[/INST] What is the highest average of the contestant from Texas with an evening gown larger than 8.875?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE scientists (Id VARCHAR)
<</SYS>>
SELECT COUNT(*) FROM scientists[/INST] Find the total number of scientists.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_3005450_1 (metlink_code VARCHAR, opened VARCHAR)
<</SYS>>
SELECT metlink_code FROM table_3005450_1 WHERE opened = "1908"[/INST] what is the metlink code that opened in 1908?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (lost INTEGER, points VARCHAR, drawn VARCHAR)
<</SYS>>
SELECT SUM(lost) FROM table_name_20 WHERE points < 3 AND drawn > 0[/INST] How many losses have points less than 3, with a drawn greater than 0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_95 (objectnumber VARCHAR, location VARCHAR, wheels VARCHAR)
<</SYS>>
SELECT objectnumber FROM table_name_95 WHERE location = "barrow hill" AND wheels = "4-4-0"[/INST] What is the Object Number for the item with wheels 4-4-0 and a location of Barrow Hill?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_22 (venue VARCHAR, competition VARCHAR, position VARCHAR)
<</SYS>>
SELECT venue FROM table_name_22 WHERE competition = "european championships" AND position = "7th"[/INST] Which Venue has a Competition of european championships, and a Position of 7th?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_28715942_6 (original_artist VARCHAR, vocal_percussionist VARCHAR)
<</SYS>>
SELECT original_artist FROM table_28715942_6 WHERE vocal_percussionist = "Benjamin Holder"[/INST] Who is the artist where the vocal percussionist is Benjamin Holder?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27877656_7 (opponent VARCHAR, edition VARCHAR, opponent_team VARCHAR)
<</SYS>>
SELECT opponent FROM table_27877656_7 WHERE edition = "2009 Europe/Africa Group IIIB" AND opponent_team = "Armenia"[/INST] For armenia as opponent team and edition is 2009 europe/africa group iiib mention all the opponent</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2668336_17 (district VARCHAR, incumbent VARCHAR)
<</SYS>>
SELECT district FROM table_2668336_17 WHERE incumbent = "Charles Fisher"[/INST] In what district is the incumbent Charles Fisher?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_76 (avg VARCHAR, player VARCHAR)
<</SYS>>
SELECT avg FROM table_name_76 WHERE player = "domenik hixon"[/INST] What is Domenik Hixon's average rush?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_65 (opponent VARCHAR, date VARCHAR, type VARCHAR, round VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_65 WHERE type = "ud" AND round = "10" AND date = "2008-06-11"[/INST] Which Opponent has a Type of ud and a Round of 10 on 2008-06-11?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_87 (competition VARCHAR, venue VARCHAR)
<</SYS>>
SELECT competition FROM table_name_87 WHERE venue = "arles, france"[/INST] Which competition was held in Arles, France?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_25 (reign VARCHAR, date_of_birth VARCHAR)
<</SYS>>
SELECT reign FROM table_name_25 WHERE date_of_birth = "22 march 1459"[/INST] What was the Reign of the person whose Date of Birth was 22 March 1459?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_21 (team VARCHAR, year_entered_league VARCHAR, location VARCHAR)
<</SYS>>
SELECT team FROM table_name_21 WHERE year_entered_league < 2009 AND location = "bath"[/INST] Which team had a year entering the league under 2009, located in Bath?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (date VARCHAR, result VARCHAR)
<</SYS>>
SELECT date FROM table_name_40 WHERE result = "8-0"[/INST] What date had a result of 8-0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_52 (license_plate_code VARCHAR, area__sqmi_ VARCHAR)
<</SYS>>
SELECT license_plate_code FROM table_name_52 WHERE area__sqmi_ = 784[/INST] What is the license plate code for the country with an area of 784?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (score VARCHAR, date VARCHAR)
<</SYS>>
SELECT score FROM table_name_69 WHERE date = "april 23"[/INST] What is the Score for the Date of April 23?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_33 (catalogue VARCHAR, song_title VARCHAR)
<</SYS>>
SELECT catalogue FROM table_name_33 WHERE song_title = "love me tonight"[/INST] Name the catalogue with song title of love me tonight</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_16 (player VARCHAR, position VARCHAR, caps VARCHAR)
<</SYS>>
SELECT player FROM table_name_16 WHERE position = "lock" AND caps = 1[/INST] What player is a lock with 1 cap?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_87 (record VARCHAR, date VARCHAR)
<</SYS>>
SELECT record FROM table_name_87 WHERE date = "5 february 2008"[/INST] What is the record of the game on 5 February 2008?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_93 (silver INTEGER, bronze VARCHAR, gold VARCHAR)
<</SYS>>
SELECT SUM(silver) FROM table_name_93 WHERE bronze > 5 AND gold < 16[/INST] How many silver medals did the team that had 5 bronze and less than 16 gold have?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14649522_1 (nfl_team VARCHAR, college VARCHAR)
<</SYS>>
SELECT nfl_team FROM table_14649522_1 WHERE college = "South Carolina"[/INST] Which team picked from South Carolina college?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_72 (rank INTEGER, sport VARCHAR, city VARCHAR)
<</SYS>>
SELECT MAX(rank) FROM table_name_72 WHERE sport = "boys swimming" AND city = "albuquerque"[/INST] What is the highest rank for the boys swimming team in Albuquerque?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11220799_2 (episode_titles VARCHAR, first_air_date VARCHAR)
<</SYS>>
SELECT COUNT(episode_titles) FROM table_11220799_2 WHERE first_air_date = "March 6, 2008"[/INST] How many episodes had their first air date on March 6, 2008?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_63 (date VARCHAR, round VARCHAR)
<</SYS>>
SELECT date FROM table_name_63 WHERE round = "2nd round 2nd leg"[/INST] What is the date of the 2nd round 2nd leg?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_3 (games INTEGER, name VARCHAR, rank VARCHAR)
<</SYS>>
SELECT AVG(games) FROM table_name_3 WHERE name = "stéphane dumas" AND rank > 5[/INST] How many Games has a Name of stéphane dumas and a Rank larger than 5?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_86 (grid VARCHAR, driver VARCHAR, laps VARCHAR)
<</SYS>>
SELECT COUNT(grid) FROM table_name_86 WHERE driver = "anthony davidson" AND laps < 8[/INST] What was the grid for anthony davidson when the laps were less than 8?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_71 (player VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR)
<</SYS>>
SELECT player FROM table_name_71 WHERE country = "united states" AND place = "t6" AND score = 67 - 69 = 136[/INST] What player placed t6 for the United States with a score of 67-69=136?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_99 (total_points VARCHAR, points_average VARCHAR)
<</SYS>>
SELECT COUNT(total_points) FROM table_name_99 WHERE 1982 = "n/a" AND points_average > 34 AND 1984 > 37[/INST] What is the points total for the team with points average more than 34, 1984 score more than 37 and N/A in 1982?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_84 (constructor VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
<</SYS>>
SELECT constructor FROM table_name_84 WHERE laps > 17 AND grid < 7 AND time_retired = "+ 1:35.6"[/INST] When grid is less than 7, laps are greater than 17, and time/retired is + 1:35.6, who is the constructor?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_22815568_7 (population VARCHAR, county VARCHAR)
<</SYS>>
SELECT population FROM table_22815568_7 WHERE county = "McDowell"[/INST] What is the population of the country of McDowell?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_15869204_6 (score VARCHAR, game VARCHAR)
<</SYS>>
SELECT score FROM table_15869204_6 WHERE game = 31[/INST] WHAT WAS THE SCORE FOR GAME 31?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_16278349_1 (un_region VARCHAR, population VARCHAR)
<</SYS>>
SELECT un_region FROM table_16278349_1 WHERE population = 3314000[/INST] Name the un region for 3314000 population</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_19 (result VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT result FROM table_name_19 WHERE attendance = "65,473"[/INST] What was the result of the game played in front of 65,473?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_17 (stage__winner_ VARCHAR, points_classification VARCHAR, general_classification VARCHAR, team_classification VARCHAR)
<</SYS>>
SELECT stage__winner_ FROM table_name_17 WHERE general_classification = "vladimir karpets" AND team_classification = "relax-gam" AND points_classification = "denis menchov"[/INST] Which Stage (Winner) has a Vladimir Karpets General classification and a Team classification of relax-gam, and a Points classification of Denis Menchov?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_46 (team_2 VARCHAR, team_1 VARCHAR)
<</SYS>>
SELECT team_2 FROM table_name_46 WHERE team_1 = "la nuova piovese (veneto a)"[/INST] Tell me the team 2 for team 1 being la nuova piovese (veneto a)</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_77 (competition VARCHAR, event VARCHAR, time VARCHAR)
<</SYS>>
SELECT competition FROM table_name_77 WHERE event = "4x100 m relay" AND time = "38.89"[/INST] What Competition has an Event of 4x100 m relay and has the Time of 38.89?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_90 (assists VARCHAR, opponent VARCHAR, team VARCHAR, competition VARCHAR, total_gs VARCHAR)
<</SYS>>
SELECT assists FROM table_name_90 WHERE competition = "k-league" AND total_gs > 20 AND team = "pohang steelers" AND opponent = "chunnam dragons"[/INST] How many assists were in the k-league competition, which has more than 20 total Gs, the pohang steelers team, and chunnam dragons as the opponent?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_13 (bronze INTEGER, nation VARCHAR, silver VARCHAR)
<</SYS>>
SELECT MAX(bronze) FROM table_name_13 WHERE nation = "united states" AND silver > 1[/INST] What is the highest number of bronze for the United States with more than 1 silver?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_99 (engine VARCHAR, entrant VARCHAR, chassis VARCHAR)
<</SYS>>
SELECT engine FROM table_name_99 WHERE entrant = "marlboro team alfa romeo" AND chassis = "alfa romeo 179"[/INST] Which engine did Marlboro Team Alfa Romeo used with a chassis of alfa romeo 179?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26533354_8 (position VARCHAR, player VARCHAR)
<</SYS>>
SELECT position FROM table_26533354_8 WHERE player = "Stanley Havili"[/INST] Name the position for stanley havili</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1507806_1 (year VARCHAR, winning_score VARCHAR)
<</SYS>>
SELECT COUNT(year) FROM table_1507806_1 WHERE winning_score = (76 - 73 - 79 - 72 = 300)[/INST] HOW MANY YEARS WAS IT FOR THE SCORE (76-73-79-72=300)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_32 (date VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT date FROM table_name_32 WHERE attendance = "73,405"[/INST] On what Date was the Attendance 73,405?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Person (job VARCHAR, age INTEGER)
<</SYS>>
SELECT AVG(age), job FROM Person GROUP BY job[/INST] What is average age for different job title?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23286223_5 (date VARCHAR, high_assists VARCHAR)
<</SYS>>
SELECT date FROM table_23286223_5 WHERE high_assists = "Deron Williams (13)"[/INST] When was the game in which Deron Williams (13) did the high assists played?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (visitor VARCHAR, score VARCHAR)
<</SYS>>
SELECT visitor FROM table_name_29 WHERE score = "121–85"[/INST] Who was the visiting team at the Cavaliers game that had a score of 121–85?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_91 (power_rpm VARCHAR, model_engine VARCHAR)
<</SYS>>
SELECT power_rpm FROM table_name_91 WHERE model_engine = "1.8 duratorq"[/INST] Name the power for 1.8 duratorq</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (game_site VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT game_site FROM table_name_64 WHERE opponent = "cf pachuca"[/INST] Where does CF Pachuca play?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_33 (attendance INTEGER, date VARCHAR)
<</SYS>>
SELECT AVG(attendance) FROM table_name_33 WHERE date = "october 30, 1938"[/INST] What was the average attendance on October 30, 1938?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_56 (score VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR)
<</SYS>>
SELECT score FROM table_name_56 WHERE tournament = "rabat" AND opponent_in_the_final = "frederico gil"[/INST] What is the Score of the Rabat Tournament with Opponent in the final of Frederico Gil?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_55 (declination___j2000__ VARCHAR, right_ascension___j2000__ VARCHAR, constellation VARCHAR, apparent_magnitude VARCHAR)
<</SYS>>
SELECT declination___j2000__ FROM table_name_55 WHERE constellation = "ophiuchus" AND apparent_magnitude < 8.6 AND right_ascension___j2000__ = "16h47m14.5s"[/INST] Tell me the declination for consellaion of ophiuchus and apparent magnitude less than 8.6 with right ascension of 16h47m14.5s</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_22815568_2 (county VARCHAR, unemployment_rate VARCHAR)
<</SYS>>
SELECT county FROM table_22815568_2 WHERE unemployment_rate = "3.6%"[/INST] Which county had a 3.6% unemployment rate?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_20124413_3 (original_title VARCHAR, production_code VARCHAR)
<</SYS>>
SELECT original_title FROM table_20124413_3 WHERE production_code = "3.19"[/INST] What was the original title of 3.19?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_65 (wins INTEGER, byes INTEGER)
<</SYS>>
SELECT MAX(wins) FROM table_name_65 WHERE byes > 0[/INST] Which Wins has a Byes larger than 0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_207795_1 (type_of_work VARCHAR, published_in_english VARCHAR, published_in_russian VARCHAR)
<</SYS>>
SELECT type_of_work FROM table_207795_1 WHERE published_in_english = "N/A" AND published_in_russian = "1986"[/INST] when it published in english is n/a and published in russian is 1986, what is the type of work?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_67 (year INTEGER, rider VARCHAR, final_position___giro VARCHAR, final_position___tour VARCHAR, final_position___vuelta VARCHAR)
<</SYS>>
SELECT MIN(year) FROM table_name_67 WHERE final_position___tour > 72 AND final_position___vuelta < 77 AND final_position___giro < 57 AND rider = "valdimir poelnikov"[/INST] What is the earliest year of Valdimir Poelnikov, who has a final position-tour bigger than 72, a final position-vuelta less than 77, and a final position-giro less than 57?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_13663434_1 (na__350_ VARCHAR, title_and_source VARCHAR)
<</SYS>>
SELECT na__350_ FROM table_13663434_1 WHERE title_and_source = "Paper Wars: Cannon Fodder"[/INST] what's the na -350- with title and source being paper wars: cannon fodder</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26355116_1 (enrollment INTEGER)
<</SYS>>
SELECT MAX(enrollment) FROM table_26355116_1[/INST] What is the maximum enrollment of the schools?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_7 (bronze INTEGER, rank VARCHAR, silver VARCHAR)
<</SYS>>
SELECT MIN(bronze) FROM table_name_7 WHERE rank = "3" AND silver < 2[/INST] Which Bronze is the lowest one that has a Rank of 3, and a Silver smaller than 2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (digital_psip VARCHAR, broadcast_channel VARCHAR, call_sign VARCHAR)
<</SYS>>
SELECT digital_psip FROM table_name_14 WHERE broadcast_channel > 15 AND call_sign = "cftu-dt"[/INST] What is the Digital PSIP for channels over 15 with callsign CFTU-DT?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_91 (long INTEGER, car VARCHAR)
<</SYS>>
SELECT MAX(long) FROM table_name_91 WHERE car = 59[/INST] Who has the highest Long with 59 Car?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_35 (date VARCHAR, tournament VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT date FROM table_name_35 WHERE tournament = "izmir cup" AND opponent = "somdev devvarman"[/INST] What date was the Izmir Cup in which İlhan played against Somdev Devvarman?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17115950_2 (replaced_by VARCHAR, team VARCHAR)
<</SYS>>
SELECT replaced_by FROM table_17115950_2 WHERE team = "CFR Cluj"[/INST] Who replaced the manager on Team Cfr Cluj?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Likes (student_id VARCHAR); CREATE TABLE Highschooler (name VARCHAR, id VARCHAR)
<</SYS>>
SELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id HAVING COUNT(*) >= 2[/INST] Show the names of students who have at least 2 likes.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_90 (director VARCHAR, primary_language_s_ VARCHAR, original_title VARCHAR)
<</SYS>>
SELECT director FROM table_name_90 WHERE primary_language_s_ = "azerbaijani" AND original_title = "buta"[/INST] What is Director, when Primary Language(s) is "Azerbaijani", and when Original Title is "Buta"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_47 (_number_of_bids INTEGER, conference VARCHAR)
<</SYS>>
SELECT MIN(_number_of_bids) FROM table_name_47 WHERE conference = "missouri valley"[/INST] What is the lowest number of bids in the Missouri Valley conference?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17325580_10 (record VARCHAR, team VARCHAR)
<</SYS>>
SELECT record FROM table_17325580_10 WHERE team = "Boston"[/INST] What was the record when the team played Boston?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_12 (player VARCHAR, score VARCHAR)
<</SYS>>
SELECT player FROM table_name_12 WHERE score = 73 - 69 - 74 - 71 = 287[/INST] Name the player with score of 73-69-74-71=287</s>
|
<s>[INST] <<SYS>>
CREATE TABLE products (product_name VARCHAR, product_price VARCHAR, product_id VARCHAR); CREATE TABLE regular_order_products (product_id VARCHAR)
<</SYS>>
SELECT t1.product_name, t1.product_price FROM products AS t1 JOIN regular_order_products AS t2 ON t1.product_id = t2.product_id GROUP BY t2.product_id ORDER BY COUNT(*) DESC LIMIT 1[/INST] Find the name and price of the product that has been ordered the greatest number of times.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2417345_3 (vacator VARCHAR, date_of_successors_formal_installation VARCHAR)
<</SYS>>
SELECT vacator FROM table_2417345_3 WHERE date_of_successors_formal_installation = "February 1, 1871"[/INST] Who was the vacator when the successor was formally installed on February 1, 1871?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.