text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_name_78 (place VARCHAR, player VARCHAR)
<</SYS>>
SELECT place FROM table_name_78 WHERE player = "mark o'meara"[/INST] WHAT IS THE PLACE WITH PLAYER mark o'meara?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1342359_5 (candidates VARCHAR, district VARCHAR)
<</SYS>>
SELECT COUNT(candidates) FROM table_1342359_5 WHERE district = "California 7"[/INST] how many candidates with district being california 7</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_92 (genre VARCHAR, release_year_of_first_charted_record VARCHAR, country_of_origin VARCHAR)
<</SYS>>
SELECT genre FROM table_name_92 WHERE release_year_of_first_charted_record < 1980 AND country_of_origin = "jamaica"[/INST] Name the genre for release-year of firsst charted less than 1980 and origin of jamaica</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_249512_2 (a_ VARCHAR, county_ies__ VARCHAR, place_name VARCHAR)
<</SYS>>
SELECT COUNT(county_ies__)[a_] FROM table_249512_2 WHERE place_name = "Macedonia"[/INST] How many counties have a place name of Macedonia?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_81 (number_of_contestants VARCHAR, cycle VARCHAR)
<</SYS>>
SELECT number_of_contestants FROM table_name_81 WHERE cycle = 4[/INST] What is Number of Contestants, when Cycle is 4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11944282_1 (allied_unrelated VARCHAR, component VARCHAR)
<</SYS>>
SELECT COUNT(allied_unrelated) FROM table_11944282_1 WHERE component = "Human Capital"[/INST] What is the total amount of allied-unrelated where the component is human capital?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_7 (attendance INTEGER, record VARCHAR)
<</SYS>>
SELECT MIN(attendance) FROM table_name_7 WHERE record = "9–26"[/INST] What is the lowest number of people in attendance when the record was 9–26?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (record VARCHAR, loss VARCHAR)
<</SYS>>
SELECT record FROM table_name_18 WHERE loss = "plesac (1-5)"[/INST] For the Loss of Plesac (1-5), what is the Record?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_21 (capital VARCHAR, hangul VARCHAR)
<</SYS>>
SELECT capital FROM table_name_21 WHERE hangul = "양주"[/INST] What is the capital of the province with 양주 in Hangul?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_16 (home VARCHAR, visitor VARCHAR)
<</SYS>>
SELECT home FROM table_name_16 WHERE visitor = "ny rangers"[/INST] What is the home team with the ny rangers as the visitor team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (type VARCHAR, transfer_window VARCHAR, nat VARCHAR)
<</SYS>>
SELECT type FROM table_name_8 WHERE transfer_window = "winter" AND nat = "ita"[/INST] What type of transfer window is winter in Ita?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1346118_2 (incumbent VARCHAR, candidates VARCHAR)
<</SYS>>
SELECT incumbent FROM table_1346118_2 WHERE candidates = "William B. Oliver (D) Unopposed"[/INST] Who was the incumbent when ran william b. oliver (d) unopposed?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_55 (date VARCHAR, result VARCHAR, battle VARCHAR)
<</SYS>>
SELECT date FROM table_name_55 WHERE result = "bulgarian victory" AND battle = "battle of arcadiopolis"[/INST] What is the Date of the Bulgarian Victory at the Battle of Arcadiopolis?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (country VARCHAR, score INTEGER)
<</SYS>>
SELECT country FROM table_name_40 WHERE score < 68[/INST] What is the country of the player with a score less than 68?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_9 (honorary_professors INTEGER, lecturers VARCHAR, department VARCHAR)
<</SYS>>
SELECT AVG(honorary_professors) FROM table_name_9 WHERE lecturers = 1 AND department = "economics"[/INST] What is the average number of honorary professors in the economics department with 1 lecturer?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_12744399_1 (english_title_translation VARCHAR, japanese_title VARCHAR)
<</SYS>>
SELECT english_title_translation FROM table_12744399_1 WHERE japanese_title = "Ranma ½: Chougi Rambuhen"[/INST] What's the English translation of the Japanese title of the game Ranma ½: Chougi Rambuhen?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_45 (series_ep VARCHAR, netflix VARCHAR)
<</SYS>>
SELECT series_ep FROM table_name_45 WHERE netflix = "s04e21"[/INST] Which series episode has a netflix figure of s04e21?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1342013_37 (incumbent VARCHAR, district VARCHAR)
<</SYS>>
SELECT incumbent FROM table_1342013_37 WHERE district = "Pennsylvania 15"[/INST] What is the incumbent for pennsylvania 15</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_63 (game INTEGER, opponent VARCHAR, february VARCHAR)
<</SYS>>
SELECT SUM(game) FROM table_name_63 WHERE opponent = "new york islanders" AND february < 7[/INST] How many games have the New York Islanders as an opponent before February 7?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_66 (round VARCHAR, college VARCHAR, overall VARCHAR)
<</SYS>>
SELECT COUNT(round) FROM table_name_66 WHERE college = "virginia tech" AND overall > 306[/INST] In what Round with an Overall greater than 306 was the pick from the College of Virginia Tech?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_13196576_2 (team VARCHAR)
<</SYS>>
SELECT COUNT(3 AS rd_pl) FROM table_13196576_2 WHERE team = "Ducati Xerox"[/INST] What is the total number for 3rd place for ducati xerox?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_50 (crowd VARCHAR, venue VARCHAR)
<</SYS>>
SELECT COUNT(crowd) FROM table_name_50 WHERE venue = "arden street oval"[/INST] What was the attendance when the VFL played Arden Street Oval?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (year VARCHAR, venue VARCHAR)
<</SYS>>
SELECT COUNT(year) FROM table_name_70 WHERE venue = "singapore"[/INST] In what years did Salina Kosgei compete in Singapore?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE culture_company (company_name VARCHAR, book_club_id VARCHAR); CREATE TABLE book_club (book_club_id VARCHAR, publisher VARCHAR)
<</SYS>>
SELECT T1.company_name FROM culture_company AS T1 JOIN book_club AS T2 ON T1.book_club_id = T2.book_club_id WHERE T2.publisher = 'Alyson'[/INST] List all company names with a book published by Alyson.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_13 (top_division_titles INTEGER, position_in_2012 VARCHAR)
<</SYS>>
SELECT MAX(top_division_titles) FROM table_name_13 WHERE position_in_2012 = "10th"[/INST] What is the largest number of top division titles with a 2012 position of 10th?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_51 (race_4 VARCHAR, race_1 VARCHAR)
<</SYS>>
SELECT race_4 FROM table_name_51 WHERE race_1 = "28"[/INST] What is Race 4, when Race 1 is 28?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_65 (expected_end_date VARCHAR, trial_start_date VARCHAR)
<</SYS>>
SELECT expected_end_date FROM table_name_65 WHERE trial_start_date = "nov 2007"[/INST] What is Expected End Date, when Trial Start Date is Nov 2007?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (tournament VARCHAR, surface VARCHAR, date VARCHAR)
<</SYS>>
SELECT tournament FROM table_name_40 WHERE surface = "hard" AND date = "24 september 2011"[/INST] Which Tournament has a Surface of hard, and a Date of 24 september 2011?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (game INTEGER, series VARCHAR)
<</SYS>>
SELECT MAX(game) FROM table_name_8 WHERE series = "flyers win 3–0"[/INST] Which Game has a Series of flyers win 3–0? Question 3</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18047346_5 (tonnes VARCHAR, iata_code VARCHAR)
<</SYS>>
SELECT tonnes FROM table_18047346_5 WHERE iata_code = "IND"[/INST] How many tonnes of cargo did the airport have with the IATA Code IND?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_76 (nanquan VARCHAR, nandao VARCHAR, rank VARCHAR)
<</SYS>>
SELECT nanquan FROM table_name_76 WHERE nandao > 9.49 AND rank = 4[/INST] Which Nanquan has a Nandao larger than 9.49, and a Rank of 4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (edges INTEGER, dual_archimedean_solid VARCHAR, vertices VARCHAR)
<</SYS>>
SELECT MIN(edges) FROM table_name_29 WHERE dual_archimedean_solid = "truncated icosidodecahedron" AND vertices > 62[/INST] Which Edges have a Dual Archimedean solid of truncated icosidodecahedron, and Vertices larger than 62?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_47 (genre VARCHAR, developer_s_ VARCHAR)
<</SYS>>
SELECT genre FROM table_name_47 WHERE developer_s_ = "naughty dog"[/INST] Which Genre has a Developer(s) of naughty dog?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_28005100_1 (no VARCHAR, lyricist VARCHAR)
<</SYS>>
SELECT no FROM table_28005100_1 WHERE lyricist = "Ahmed Metwally"[/INST] Which number was the lyricist ahmed metwally?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2725949_6 (poles VARCHAR, fastest_laps VARCHAR)
<</SYS>>
SELECT COUNT(poles) FROM table_2725949_6 WHERE fastest_laps = 6[/INST] Name the number of poles for fastest laps being 6</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11734041_11 (player VARCHAR, height_in_ft VARCHAR)
<</SYS>>
SELECT player FROM table_11734041_11 WHERE height_in_ft = "6-0"[/INST] Which player had a height of 6-0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1341423_13 (district VARCHAR, incumbent VARCHAR)
<</SYS>>
SELECT district FROM table_1341423_13 WHERE incumbent = "Henry Hyde"[/INST] What district is Henry Hyde in</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_99 (result VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT result FROM table_name_99 WHERE attendance = "25,418"[/INST] What was the result when the attendance was 25,418?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Student_Enrolment (semester_name VARCHAR, semester_id VARCHAR); CREATE TABLE Semesters (semester_name VARCHAR, semester_id VARCHAR)
<</SYS>>
SELECT semester_name FROM Semesters WHERE NOT semester_id IN (SELECT semester_id FROM Student_Enrolment)[/INST] Which semesters do not have any student enrolled? List the semester name.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17058116_7 (high_rebounds VARCHAR, high_points VARCHAR)
<</SYS>>
SELECT high_rebounds FROM table_17058116_7 WHERE high_points = "Charlie Villanueva (32)"[/INST] Who scored highest rebounds high points is charlie villanueva (32)</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_42 (COUNT VARCHAR, winner VARCHAR)
<</SYS>>
SELECT NOT COUNT AS event FROM table_name_42 WHERE winner = "clay"[/INST] How many events did clay win?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14286908_1 (school VARCHAR, year_of_last_win VARCHAR)
<</SYS>>
SELECT school FROM table_14286908_1 WHERE year_of_last_win = "1985-86"[/INST] What is the name of the school where the year of last win is 1985-86?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_81 (res VARCHAR, type VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT res FROM table_name_81 WHERE type = "ko" AND opponent = "cliff beckett"[/INST] What was the resolution for KO opposing Cliff Beckett?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_41 (byes VARCHAR, losses VARCHAR, wins VARCHAR)
<</SYS>>
SELECT COUNT(byes) FROM table_name_41 WHERE losses = 13 AND wins < 5[/INST] What is the total number of byes that has 13 losses and wins less than 5?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_99 (grid INTEGER, laps VARCHAR, constructor VARCHAR, driver VARCHAR)
<</SYS>>
SELECT MAX(grid) FROM table_name_99 WHERE constructor = "mclaren - mercedes" AND driver = "david coulthard" AND laps < 66[/INST] What is the highest grid value with constructor Mclaren - Mercedes, driver David Coulthard, and has fewer than 66 laps?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_7 (pick__number INTEGER, position VARCHAR, overall VARCHAR)
<</SYS>>
SELECT MIN(pick__number) FROM table_name_7 WHERE position = "defensive back" AND overall < 69[/INST] Position of defensive back, and an Overall smaller than 69 is what lowest pick #?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_27 (prominence__m_ VARCHAR, elevation__m_ VARCHAR, country VARCHAR, col__m_ VARCHAR)
<</SYS>>
SELECT COUNT(prominence__m_) FROM table_name_27 WHERE country = "ethiopia" AND col__m_ = 1728 AND elevation__m_ < 3 OFFSET 358[/INST] What is the total prominence number in m of ethiopia, which has a col in m of 1728 and an elevation less than 3,358?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Customer_Policies (customer_id VARCHAR); CREATE TABLE Customers (customer_details VARCHAR, customer_id VARCHAR); CREATE TABLE Customers (customer_details VARCHAR)
<</SYS>>
SELECT customer_details FROM Customers EXCEPT SELECT T1.customer_details FROM Customers AS T1 JOIN Customer_Policies AS T2 ON T1.customer_id = T2.customer_id[/INST] List the details of the customers who do not have any policies.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_19 (venue VARCHAR, event VARCHAR, competition VARCHAR)
<</SYS>>
SELECT venue FROM table_name_19 WHERE event = "marathon" AND competition = "london marathon"[/INST] Where was the London Marathon held?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1566850_9 (centerfold_model VARCHAR)
<</SYS>>
SELECT 20 AS _questions FROM table_1566850_9 WHERE centerfold_model = "Marliece Andrada"[/INST] Who was asked 20 questions in the issue where the centerfold is Marliece Andrada?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_88 (against INTEGER, played VARCHAR, drawn VARCHAR, difference VARCHAR)
<</SYS>>
SELECT AVG(against) FROM table_name_88 WHERE drawn > 2 AND difference = "- 17" AND played < 20[/INST] What is the average Against when the drawn is more than 2 and the Difference of- 17, and a Played smaller than 20?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25030512_12 (party VARCHAR, incumbent VARCHAR)
<</SYS>>
SELECT party FROM table_25030512_12 WHERE incumbent = "Bill Young Redistricted from the 10th district"[/INST] When bill young redistricted from the 10th district is the incumbent what is the party?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23242950_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR)
<</SYS>>
SELECT production_code FROM table_23242950_1 WHERE us_viewers__millions_ = "7.49"[/INST] What's the production code of the episode seen by 7.49 million people in the US?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Reservations (Kids VARCHAR, LastName VARCHAR, CheckIn VARCHAR, FirstName VARCHAR)
<</SYS>>
SELECT Kids FROM Reservations WHERE CheckIn = "2010-09-21" AND FirstName = "DAMIEN" AND LastName = "TRACHSEL"[/INST] How many kids stay in the room DAMIEN TRACHSEL checked in on Sep 21, 2010?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_87 (date VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT date FROM table_name_87 WHERE home_team = "carlton"[/INST] What day is carlton the home side?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1926240_1 (max_characters__per_page_row_ INTEGER, bit_rate_ VARCHAR, _mbit_s_ VARCHAR)
<</SYS>>
SELECT MAX(max_characters__per_page_row_) FROM table_1926240_1 WHERE bit_rate_[_mbit_s_] = "6.203"[/INST] What was the max character (per page row) of the encoding with a bit rate of 6.203?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_95 (Id VARCHAR)
<</SYS>>
SELECT COUNT(2006) FROM table_name_95 WHERE 2010 > 417.9[/INST] What is the 2006 total with a 2010 value greater than 417.9?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (date VARCHAR, opponent_in_the_final VARCHAR)
<</SYS>>
SELECT date FROM table_name_60 WHERE opponent_in_the_final = "flavio cipolla"[/INST] When did Mathieu play against Flavio Cipolla?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_85 (away_team VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT away_team AS score FROM table_name_85 WHERE home_team = "carlton"[/INST] What away team score has carlton home team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_63 (rounds VARCHAR, constructor VARCHAR, rider VARCHAR)
<</SYS>>
SELECT rounds FROM table_name_63 WHERE constructor = "ducati" AND rider = "mika kallio"[/INST] What rounds did rider Mika Kallio with a Ducati constructor have?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14903999_1 (womens_doubles VARCHAR, mixed_doubles VARCHAR)
<</SYS>>
SELECT COUNT(womens_doubles) FROM table_14903999_1 WHERE mixed_doubles = "Broddi Kristjánsson Drífa Harðardóttir"[/INST] How many womens doubles had champions the years broddi kristjánsson drífa harðardóttir won mixed doubles</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_10360656_1 (choice VARCHAR, player_name VARCHAR)
<</SYS>>
SELECT choice FROM table_10360656_1 WHERE player_name = "Bill Hill"[/INST] What round was Bill Hill drafted?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_54 (silver VARCHAR, gold VARCHAR, bronze VARCHAR)
<</SYS>>
SELECT silver FROM table_name_54 WHERE gold > 12 AND bronze = 11[/INST] How many silver medals were won by the participant(s) that had more than 12 gold medals and 11 bronze medals?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_93 (wicket VARCHAR, batting_partners VARCHAR, fielding_team VARCHAR)
<</SYS>>
SELECT wicket FROM table_name_93 WHERE batting_partners = "mohammad azharuddin and ajay jadeja" AND fielding_team = "sri lanka"[/INST] What was the wicket ranking for the match featuring partners Mohammad Azharuddin and Ajay Jadeja and also a fielding team of Sri Lanka?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_30 (district INTEGER, delegate VARCHAR, took_office VARCHAR)
<</SYS>>
SELECT MAX(district) FROM table_name_30 WHERE delegate = "cheryl glenn" AND took_office > 2006[/INST] What is the largest district for delegate Cheryl Glenn, that she had taken after 2006?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11318462_5 (open_1st_viii VARCHAR, u15_4th_iv VARCHAR)
<</SYS>>
SELECT open_1st_viii FROM table_11318462_5 WHERE u15_4th_iv = "GT"[/INST] what are all the open 1st viii with u15 4th iv being gt</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_87 (scores_by_each_individual_judge VARCHAR, date_performed VARCHAR, main_contestant VARCHAR)
<</SYS>>
SELECT scores_by_each_individual_judge FROM table_name_87 WHERE date_performed = "august 7" AND main_contestant = "karanvir bohra"[/INST] Which Scores by each individual judge has a Date performed of august 7, and a Main contestant of karanvir bohra?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_23 (number INTEGER, player VARCHAR, yards VARCHAR)
<</SYS>>
SELECT AVG(number) FROM table_name_23 WHERE player = "larry centers" AND yards < 600[/INST] What is Larry Centers' average number when there were less than 600 yards?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2104176_1 (coast_guard_cross VARCHAR, distinguished_service_cross VARCHAR)
<</SYS>>
SELECT coast_guard_cross FROM table_2104176_1 WHERE distinguished_service_cross = "Navy Distinguished Service Medal"[/INST] What is the coast guard cross when you recieve the navy distinguished service medal?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_42 (wins VARCHAR, byes VARCHAR, losses VARCHAR, against VARCHAR)
<</SYS>>
SELECT COUNT(wins) FROM table_name_42 WHERE losses < 10 AND against < 1253 AND byes < 0[/INST] What is the total number of Wins, when Losses is less than 10, when Against is less than 1253, and when Byes is less than 0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_23 (date_and_time___utc__ VARCHAR, site VARCHAR, rocket VARCHAR, orbit VARCHAR, function VARCHAR)
<</SYS>>
SELECT date_and_time___utc__ FROM table_name_23 WHERE orbit = "sub-orbital" AND function = "aeronomy research" AND rocket = "nike orion" AND site = "poker flat"[/INST] What date and time has a sub-orbital of orbit, a function of aeronomy research, and a Nike Orion rocket, as well as a Poker Flat site?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_57 (case_length VARCHAR, base VARCHAR)
<</SYS>>
SELECT case_length FROM table_name_57 WHERE base = "14.96 (.589)"[/INST] Which Case Length has a Base of 14.96 (.589)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_85 (competition VARCHAR, score VARCHAR)
<</SYS>>
SELECT competition FROM table_name_85 WHERE score = "7–0"[/INST] What competition has a Score of 7–0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_34 (result VARCHAR, category VARCHAR)
<</SYS>>
SELECT result FROM table_name_34 WHERE category = "best actor in a supporting role"[/INST] What's the result for the category of best actor in a supporting role?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_85 (losses VARCHAR, team VARCHAR, wins VARCHAR)
<</SYS>>
SELECT COUNT(losses) FROM table_name_85 WHERE team = "sturt" AND wins > 0[/INST] How many losses did the team, Sturt, have when they had more than 0 wins?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23224961_2 (season VARCHAR, oberfranken_west VARCHAR)
<</SYS>>
SELECT season FROM table_23224961_2 WHERE oberfranken_west = "SV Neuses"[/INST] When sv neuses is the oberfranken west what is the season?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_56 (shts INTEGER, goalkeeper VARCHAR)
<</SYS>>
SELECT MAX(shts) FROM table_name_56 WHERE goalkeeper = "kasey keller"[/INST] What is the highest SHTS of Kasey Keller</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_54 (record VARCHAR, visitor VARCHAR)
<</SYS>>
SELECT record FROM table_name_54 WHERE visitor = "ottawa"[/INST] What was the record when the visiting team was Ottawa?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_16 (home_team VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT home_team FROM table_name_16 WHERE away_team = "hereford united"[/INST] Who played against the away team hereford united?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_51 (argon VARCHAR, neon VARCHAR)
<</SYS>>
SELECT argon FROM table_name_51 WHERE neon = "10.5"[/INST] What argon has a neon of 10.5?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27441210_12 (weeks_at__number1 INTEGER, country VARCHAR)
<</SYS>>
SELECT MAX(weeks_at__number1) FROM table_27441210_12 WHERE country = "France"[/INST] How many weeks was France at #1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_95 (session VARCHAR, circuit VARCHAR)
<</SYS>>
SELECT session FROM table_name_95 WHERE circuit = "autodrom most"[/INST] What was the session at the circuit of autodrom most?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14623167_1 (virtual VARCHAR, network VARCHAR)
<</SYS>>
SELECT COUNT(virtual) FROM table_14623167_1 WHERE network = "Fox"[/INST] Name the virtual for Fox</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_50 (signed VARCHAR, school VARCHAR)
<</SYS>>
SELECT signed FROM table_name_50 WHERE school = "university of southern california"[/INST] Was the University of Southern California Signed?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_58 (venue VARCHAR, result VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT venue FROM table_name_58 WHERE result = "loss" AND opponent = "st george-illawarra dragons"[/INST] what is the venue when the result is loss and the opponent is st george-illawarra dragons?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_22355_71 (silver INTEGER)
<</SYS>>
SELECT MAX(silver) FROM table_22355_71[/INST] How many silver medalist was won?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_67 (host_team VARCHAR, final_score VARCHAR)
<</SYS>>
SELECT host_team FROM table_name_67 WHERE final_score = "26-24"[/INST] Who was the host team for the game with the final score of 26-24?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_56 (loss VARCHAR, total_games VARCHAR, draw VARCHAR)
<</SYS>>
SELECT COUNT(loss) FROM table_name_56 WHERE total_games < 48 AND draw < 7[/INST] What is the total number of losses for less than 48 games, and less than 7 draws?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_36 (grades VARCHAR, enrollment VARCHAR, student_body VARCHAR)
<</SYS>>
SELECT grades FROM table_name_36 WHERE enrollment > 443 AND student_body = "co-ed"[/INST] Which Grades has an Enrollment larger htan 443 with a Student body of Co-ed?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2454550_1 (most_laps_led VARCHAR, track VARCHAR)
<</SYS>>
SELECT most_laps_led FROM table_2454550_1 WHERE track = "Chicagoland Speedway"[/INST] Who had most laps led at Chicagoland speedway? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_142159_1 (name VARCHAR, builder VARCHAR)
<</SYS>>
SELECT name FROM table_142159_1 WHERE builder = "Kerr Stuart"[/INST] What is the name with the builder of Kerr Stuart</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_41 (crowd INTEGER, away_team VARCHAR)
<</SYS>>
SELECT SUM(crowd) FROM table_name_41 WHERE away_team = "richmond"[/INST] What is the Crowd number for the Away team of Richmond?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14937957_1 (masters VARCHAR, martial_art_style VARCHAR)
<</SYS>>
SELECT COUNT(masters) FROM table_14937957_1 WHERE martial_art_style = "Boxing"[/INST] How many masters fought using a boxing style?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_22 (pick__number INTEGER, overall VARCHAR)
<</SYS>>
SELECT MAX(pick__number) FROM table_name_22 WHERE overall = 19[/INST] What is the Pick # with an Overall of 19?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (laps VARCHAR, grid VARCHAR, driver VARCHAR)
<</SYS>>
SELECT laps FROM table_name_18 WHERE grid < 11 AND driver = "john love"[/INST] How many laps did John Love have on a grid less than 11?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_41 (condition VARCHAR, partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR)
<</SYS>>
SELECT condition FROM table_name_41 WHERE partial_thromboplastin_time = "prolonged" AND bleeding_time = "unaffected"[/INST] I want the condition that has a partial thromboplastin time of prolonged and unaffected bleeding time</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_2 (gold INTEGER, silver VARCHAR, total VARCHAR, rank VARCHAR)
<</SYS>>
SELECT AVG(gold) FROM table_name_2 WHERE total > 3 AND rank = "4" AND silver > 0[/INST] Total larger than 3, and a Rank of 4, and a Silver larger than 0 has what average gold?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_57 (city VARCHAR, greek_designation VARCHAR, status VARCHAR, us_state_district VARCHAR)
<</SYS>>
SELECT city FROM table_name_57 WHERE status = "active" AND us_state_district = "california" AND greek_designation = "established colony"[/INST] What California city has an active status and a greek designation of established colony?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_54 (semi_final_television_commentator VARCHAR, spokesperson VARCHAR, year_s_ VARCHAR)
<</SYS>>
SELECT semi_final_television_commentator FROM table_name_54 WHERE spokesperson = "unknown" AND year_s_ = 1962[/INST] What is the semi-final television commentator status in 1962 with an unknown spokesperson?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_36 (tie_no VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT tie_no FROM table_name_36 WHERE home_team = "exeter city"[/INST] What is the tie no of the game where exeter city was the home team?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.