text stringlengths 380 1.33k |
|---|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Date with an Opponent that is flavia pennetta?
### Context:
CREATE TABLE table_name_53 (date VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_53 WHERE opponent = "flavia pennetta" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Score with an Opponent that is flavia pennetta?
### Context:
CREATE TABLE table_name_55 (score VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_55 WHERE opponent = "flavia pennetta" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Opponent with a Score that is 2–6, 6–4, 3–6?
### Context:
CREATE TABLE table_name_39 (opponent VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_39 WHERE score = "2–6, 6–4, 3–6" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Outcome with a Date that is may 5, 2012?
### Context:
CREATE TABLE table_name_49 (outcome VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT outcome FROM table_name_49 WHERE date = "may 5, 2012" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Outcome with an Opponent that is jelena janković?
### Context:
CREATE TABLE table_name_85 (outcome VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT outcome FROM table_name_85 WHERE opponent = "jelena janković" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Tournament with a Score that is 2–6, 6–4, 3–6?
### Context:
CREATE TABLE table_name_55 (tournament VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_55 WHERE score = "2–6, 6–4, 3–6" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which week was on November 13, 1955 when the attendance was over 33,982?
### Context:
CREATE TABLE table_name_57 (week VARCHAR, date VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT COUNT(week) FROM table_name_57 WHERE date = "november 13, 1955" AND attendance > 33 OFFSET 982 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Japanese name of the Province with a Korean name of Chungcheong-Bukdo?
### Context:
CREATE TABLE table_name_46 (japanese_name VARCHAR, korean_name VARCHAR) [/INST]
### Response:
SELECT japanese_name FROM table_name_46 WHERE korean_name = "chungcheong-bukdo" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Hanja/Kanji of the Province with a Kana of ちゅうせいほくどう?
### Context:
CREATE TABLE table_name_10 (hanja___kanji VARCHAR, kana VARCHAR) [/INST]
### Response:
SELECT hanja___kanji FROM table_name_10 WHERE kana = "ちゅうせいほくどう" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Kana of the Province with a Korean name of Chungcheong-Namdo?
### Context:
CREATE TABLE table_name_2 (kana VARCHAR, korean_name VARCHAR) [/INST]
### Response:
SELECT kana FROM table_name_2 WHERE korean_name = "chungcheong-namdo" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Hangul of the Province with a Kana of へいあんなんどう?
### Context:
CREATE TABLE table_name_48 (hangul VARCHAR, kana VARCHAR) [/INST]
### Response:
SELECT hangul FROM table_name_48 WHERE kana = "へいあんなんどう" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Hangul of the Province with a Kana of ちゅうせいなんどう?
### Context:
CREATE TABLE table_name_3 (hangul VARCHAR, kana VARCHAR) [/INST]
### Response:
SELECT hangul FROM table_name_3 WHERE kana = "ちゅうせいなんどう" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Hanja/Kanji of the Province with a Korean name of Chungcheong-Bukdo?
### Context:
CREATE TABLE table_name_5 (hanja___kanji VARCHAR, korean_name VARCHAR) [/INST]
### Response:
SELECT hanja___kanji FROM table_name_5 WHERE korean_name = "chungcheong-bukdo" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What were the Oct. temperatures for the city that had Nov. temperatures of 51/30?
### Context:
CREATE TABLE table_name_94 (oct VARCHAR, nov VARCHAR) [/INST]
### Response:
SELECT oct FROM table_name_94 WHERE nov = "51/30" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What were the Feb temperatures in East Stroudsburg?
### Context:
CREATE TABLE table_name_63 (feb VARCHAR, city VARCHAR) [/INST]
### Response:
SELECT feb FROM table_name_63 WHERE city = "east stroudsburg" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the sum of completions that led to completion percentages of 65.4 and attempts under 451?
### Context:
CREATE TABLE table_name_33 (comp INTEGER, comp_percentage VARCHAR, att VARCHAR) [/INST]
### Response:
SELECT SUM(comp) FROM table_name_33 WHERE comp_percentage = 65.4 AND att < 451 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What regular season did the team reach the conference semifinals in the playoffs?
### Context:
CREATE TABLE table_name_78 (regular_season VARCHAR, playoffs VARCHAR) [/INST]
### Response:
SELECT regular_season FROM table_name_78 WHERE playoffs = "conference semifinals" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When the regular season of 2nd, Northeast and the year was less than 2008 what was the total number of Division?
### Context:
CREATE TABLE table_name_89 (division VARCHAR, regular_season VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT COUNT(division) FROM table_name_89 WHERE regular_season = "2nd, northeast" AND year < 2008 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What division was the regular season 5th, Northeast?
### Context:
CREATE TABLE table_name_97 (division VARCHAR, regular_season VARCHAR) [/INST]
### Response:
SELECT division FROM table_name_97 WHERE regular_season = "5th, northeast" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the result when Jam Hsiao was nominated in 2012?
### Context:
CREATE TABLE table_name_36 (result VARCHAR, nomination VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_36 WHERE nomination = "jam hsiao" AND year = 2012 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which award is in the category of best music video?
### Context:
CREATE TABLE table_name_55 (award VARCHAR, category VARCHAR) [/INST]
### Response:
SELECT award FROM table_name_55 WHERE category = "best music video" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Attendance has a Result of l 29–23?
### Context:
CREATE TABLE table_name_54 (attendance VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT attendance FROM table_name_54 WHERE result = "l 29–23" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When has a Week of 1?
### Context:
CREATE TABLE table_name_89 (date VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_89 WHERE week = 1 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Week has an Opponent of at seattle seahawks?
### Context:
CREATE TABLE table_name_11 (week VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT week FROM table_name_11 WHERE opponent = "at seattle seahawks" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the Result on october 15, 1995?
### Context:
CREATE TABLE table_name_71 (result VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_71 WHERE date = "october 15, 1995" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Opponent has a Week larger than 2 on november 19, 1995?
### Context:
CREATE TABLE table_name_81 (opponent VARCHAR, week VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_81 WHERE week > 2 AND date = "november 19, 1995" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the recorded conference that was a Wac Conference?
### Context:
CREATE TABLE table_name_73 (record__conf_ VARCHAR, conference VARCHAR) [/INST]
### Response:
SELECT record__conf_ FROM table_name_73 WHERE conference = "wac" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What conference has the Wichita State school?
### Context:
CREATE TABLE table_name_26 (conference VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT conference FROM table_name_26 WHERE school = "wichita state" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the rank for Burghley?
### Context:
CREATE TABLE table_name_72 (rank VARCHAR, place VARCHAR) [/INST]
### Response:
SELECT rank FROM table_name_72 WHERE place = "burghley" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What horse was at the Badminton Horse Trials?
### Context:
CREATE TABLE table_name_54 (horse VARCHAR, competition VARCHAR) [/INST]
### Response:
SELECT horse FROM table_name_54 WHERE competition = "badminton horse trials" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was Des Dickson's lowest rank for matches smaller than 285 and less than 219 goals?
### Context:
CREATE TABLE table_name_89 (rank INTEGER, goals VARCHAR, matches VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT MIN(rank) FROM table_name_89 WHERE matches < 285 AND name = "des dickson" AND goals < 219 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many goals on average had 644 matches and a rank bigger than 3?
### Context:
CREATE TABLE table_name_94 (goals INTEGER, matches VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT AVG(goals) FROM table_name_94 WHERE matches = 644 AND rank > 3 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many ranks had 205 matches?
### Context:
CREATE TABLE table_name_54 (rank VARCHAR, matches VARCHAR) [/INST]
### Response:
SELECT COUNT(rank) FROM table_name_54 WHERE matches = 205 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was Jimmy Jones' rank when the matches were smaller than 285?
### Context:
CREATE TABLE table_name_4 (rank INTEGER, name VARCHAR, matches VARCHAR) [/INST]
### Response:
SELECT MAX(rank) FROM table_name_4 WHERE name = "jimmy jones" AND matches < 285 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which date had the Hornets as the home team?
### Context:
CREATE TABLE table_name_53 (date VARCHAR, home VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_53 WHERE home = "hornets" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the To par score corresponding to the winning score of 64-69-67-66=266?
### Context:
CREATE TABLE table_name_88 (to_par VARCHAR, winning_score VARCHAR) [/INST]
### Response:
SELECT to_par FROM table_name_88 WHERE winning_score = 64 - 69 - 67 - 66 = 266 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the To par score for the tournament with a margin of victory of 1 stroke?
### Context:
CREATE TABLE table_name_44 (to_par VARCHAR, margin_of_victory VARCHAR) [/INST]
### Response:
SELECT to_par FROM table_name_44 WHERE margin_of_victory = "1 stroke" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the winning score for the tournament with a margin of victory of 7 strokes?
### Context:
CREATE TABLE table_name_6 (winning_score VARCHAR, margin_of_victory VARCHAR) [/INST]
### Response:
SELECT winning_score FROM table_name_6 WHERE margin_of_victory = "7 strokes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What day in December was the game that resulted in a record of 6-3-1?
### Context:
CREATE TABLE table_name_64 (december INTEGER, record VARCHAR) [/INST]
### Response:
SELECT SUM(december) FROM table_name_64 WHERE record = "6-3-1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many were in attendance against the Oakland Raiders after week 7?
### Context:
CREATE TABLE table_name_25 (attendance INTEGER, opponent VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT SUM(attendance) FROM table_name_25 WHERE opponent = "oakland raiders" AND week > 7 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the average attendance for the New York Jets?
### Context:
CREATE TABLE table_name_98 (attendance INTEGER, opponent VARCHAR) [/INST]
### Response:
SELECT AVG(attendance) FROM table_name_98 WHERE opponent = "new york jets" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
On what week were there 26,243 in attendance on September 21, 1969?
### Context:
CREATE TABLE table_name_51 (week VARCHAR, date VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT COUNT(week) FROM table_name_51 WHERE date = "september 21, 1969" AND attendance < 26 OFFSET 243 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the opponent at Pasir Gudang, Malaysia with a match larger than 2?
### Context:
CREATE TABLE table_name_18 (opponent_team VARCHAR, match VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT opponent_team FROM table_name_18 WHERE match > 2 AND location = "pasir gudang, malaysia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the opponent at the match smaller than 3?
### Context:
CREATE TABLE table_name_31 (opponent_team VARCHAR, match INTEGER) [/INST]
### Response:
SELECT opponent_team FROM table_name_31 WHERE match < 3 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where was the game when Police S.A. was the opponent?
### Context:
CREATE TABLE table_name_78 (location VARCHAR, opponent_team VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_78 WHERE opponent_team = "police s.a." </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many list entry numbers are located in Platting Road, Lydgate?
### Context:
CREATE TABLE table_name_95 (list_entry_number VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT COUNT(list_entry_number) FROM table_name_95 WHERE location = "platting road, lydgate" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which type has list entry number of 1356677?
### Context:
CREATE TABLE table_name_52 (type VARCHAR, list_entry_number VARCHAR) [/INST]
### Response:
SELECT type FROM table_name_52 WHERE list_entry_number = 1356677 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the completed date of the church with list entry number 1068071?
### Context:
CREATE TABLE table_name_33 (completed VARCHAR, type VARCHAR, list_entry_number VARCHAR) [/INST]
### Response:
SELECT completed FROM table_name_33 WHERE type = "church" AND list_entry_number = 1068071 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who were the scorers in the game against neuchâtel xamax played on 10 December 1985?
### Context:
CREATE TABLE table_name_64 (scorers VARCHAR, opponent VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT scorers FROM table_name_64 WHERE opponent = "neuchâtel xamax" AND date = "10 december 1985" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What date was the game played in where hegarty was the scorer?
### Context:
CREATE TABLE table_name_94 (date VARCHAR, scorers VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_94 WHERE scorers = "hegarty" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is the callsign that has ICAO of SCO?
### Context:
CREATE TABLE table_name_68 (callsign VARCHAR, icao VARCHAR) [/INST]
### Response:
SELECT callsign FROM table_name_68 WHERE icao = "sco" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is the commenced operations that has icao of slk?
### Context:
CREATE TABLE table_name_34 (commenced_operations VARCHAR, icao VARCHAR) [/INST]
### Response:
SELECT commenced_operations FROM table_name_34 WHERE icao = "slk" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who is the call sign that has a commenced operation before 1976?
### Context:
CREATE TABLE table_name_3 (callsign VARCHAR, commenced_operations INTEGER) [/INST]
### Response:
SELECT callsign FROM table_name_3 WHERE commenced_operations < 1976 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the HDTV of the Music Content Channel?
### Context:
CREATE TABLE table_name_60 (hdtv VARCHAR, content VARCHAR) [/INST]
### Response:
SELECT hdtv FROM table_name_60 WHERE content = "music" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Television Service offering Cartomanzia?
### Context:
CREATE TABLE table_name_36 (television_service VARCHAR, content VARCHAR) [/INST]
### Response:
SELECT television_service FROM table_name_36 WHERE content = "cartomanzia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What Country's content is Televendite?
### Context:
CREATE TABLE table_name_32 (country VARCHAR, content VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_32 WHERE content = "televendite" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What Country's Content is TV Locale?
### Context:
CREATE TABLE table_name_9 (country VARCHAR, content VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_9 WHERE content = "tv locale" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many golds had a silver of more than 1, rank more than 1, total of more than 4 when the bronze was also more than 4?
### Context:
CREATE TABLE table_name_12 (gold INTEGER, bronze VARCHAR, total VARCHAR, silver VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT SUM(gold) FROM table_name_12 WHERE silver > 1 AND rank > 1 AND total > 4 AND bronze > 4 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the total of rank when gold is 2 and total is more than 4?
### Context:
CREATE TABLE table_name_99 (rank INTEGER, gold VARCHAR, total VARCHAR) [/INST]
### Response:
SELECT SUM(rank) FROM table_name_99 WHERE gold = 2 AND total > 4 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the total number of bronze when gold is less than 1 and silver is more than 1?
### Context:
CREATE TABLE table_name_53 (bronze INTEGER, gold VARCHAR, silver VARCHAR) [/INST]
### Response:
SELECT SUM(bronze) FROM table_name_53 WHERE gold < 1 AND silver > 1 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the total of rank when silver is more than 1, gold is 2, and total is more than 4?
### Context:
CREATE TABLE table_name_4 (rank INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR) [/INST]
### Response:
SELECT SUM(rank) FROM table_name_4 WHERE silver > 1 AND gold = 2 AND total > 4 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Wins with a Top-25 of 3, and a Top-5 larger than 1?
### Context:
CREATE TABLE table_name_86 (wins INTEGER, top_25 VARCHAR, top_5 VARCHAR) [/INST]
### Response:
SELECT AVG(wins) FROM table_name_86 WHERE top_25 = 3 AND top_5 > 1 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Cuts made has a Top-5 smaller than 3, and a Top-25 smaller than 6, and an Events of 10?
### Context:
CREATE TABLE table_name_53 (cuts_made VARCHAR, events VARCHAR, top_5 VARCHAR, top_25 VARCHAR) [/INST]
### Response:
SELECT cuts_made FROM table_name_53 WHERE top_5 < 3 AND top_25 < 6 AND events = 10 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Tournament has a Cuts made smaller than 9, and an Events of 10?
### Context:
CREATE TABLE table_name_25 (tournament VARCHAR, cuts_made VARCHAR, events VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_25 WHERE cuts_made < 9 AND events = 10 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the sum of Points for 250cc class, ranked 13th, later than 1955?
### Context:
CREATE TABLE table_name_89 (points INTEGER, year VARCHAR, class VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT SUM(points) FROM table_name_89 WHERE class = "250cc" AND rank = "13th" AND year > 1955 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Class for a year later than 1958, with 4 points?
### Context:
CREATE TABLE table_name_30 (class VARCHAR, year VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT class FROM table_name_30 WHERE year > 1958 AND points = 4 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the average Year when there were more than 3 points, for MV Agusta and ranked 10th?
### Context:
CREATE TABLE table_name_45 (year INTEGER, rank VARCHAR, points VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT AVG(year) FROM table_name_45 WHERE points > 3 AND team = "mv agusta" AND rank = "10th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What Team has a Class of 350cc, with less than 13 points in 1959?
### Context:
CREATE TABLE table_name_93 (team VARCHAR, year VARCHAR, class VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_93 WHERE class = "350cc" AND points < 13 AND year = 1959 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which event was held at Manly Beach?
### Context:
CREATE TABLE table_name_20 (event VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT event FROM table_name_20 WHERE location = "manly beach" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the location of the Havaianas Beachley Classic, held in Australia?
### Context:
CREATE TABLE table_name_99 (location VARCHAR, country VARCHAR, event VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_99 WHERE country = "australia" AND event = "havaianas beachley classic" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which event was held in Brazil?
### Context:
CREATE TABLE table_name_31 (event VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT event FROM table_name_31 WHERE country = "brazil" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
The University of Colorado hosted what region?
### Context:
CREATE TABLE table_name_4 (region VARCHAR, host VARCHAR) [/INST]
### Response:
SELECT region FROM table_name_4 WHERE host = "university of colorado" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Peterson Gym is in what city?
### Context:
CREATE TABLE table_name_60 (city VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT city FROM table_name_60 WHERE venue = "peterson gym" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Mideast region host University of Tennessee is in what state?
### Context:
CREATE TABLE table_name_70 (state VARCHAR, region VARCHAR, host VARCHAR) [/INST]
### Response:
SELECT state FROM table_name_70 WHERE region = "mideast" AND host = "university of tennessee" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What city is east region venue University Hall (University of Virginia) in?
### Context:
CREATE TABLE table_name_10 (city VARCHAR, region VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT city FROM table_name_10 WHERE region = "east" AND venue = "university hall (university of virginia)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the venue at Stanford University?
### Context:
CREATE TABLE table_name_19 (venue VARCHAR, host VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_19 WHERE host = "stanford university" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the venue in Seattle?
### Context:
CREATE TABLE table_name_22 (venue VARCHAR, city VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_22 WHERE city = "seattle" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What team won the Tour de Santa Catarina?
### Context:
CREATE TABLE table_name_5 (team VARCHAR, race_name VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_5 WHERE race_name = "tour de santa catarina" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is Relax-Gam's average UCI Rating?
### Context:
CREATE TABLE table_name_88 (uci_rating INTEGER, team VARCHAR) [/INST]
### Response:
SELECT AVG(uci_rating) FROM table_name_88 WHERE team = "relax-gam" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is Vuelta a Ecuador's lowest UCI Rating?
### Context:
CREATE TABLE table_name_3 (uci_rating INTEGER, race_name VARCHAR) [/INST]
### Response:
SELECT MIN(uci_rating) FROM table_name_3 WHERE race_name = "vuelta a ecuador" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the result of the game attended by 54,110?
### Context:
CREATE TABLE table_name_73 (result VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_73 WHERE attendance = "54,110" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the date of the game attended by 45,122?
### Context:
CREATE TABLE table_name_39 (date VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_39 WHERE attendance = "45,122" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the earliest week with a game attended by 60,233?
### Context:
CREATE TABLE table_name_35 (week INTEGER, attendance VARCHAR) [/INST]
### Response:
SELECT MIN(week) FROM table_name_35 WHERE attendance = "60,233" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the latest week with a game with a result of l 12–7?
### Context:
CREATE TABLE table_name_43 (week INTEGER, result VARCHAR) [/INST]
### Response:
SELECT MAX(week) FROM table_name_43 WHERE result = "l 12–7" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is Runner(s)-up, when Tournament is MCI Classic?
### Context:
CREATE TABLE table_name_75 (runner_s__up VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT runner_s__up FROM table_name_75 WHERE tournament = "mci classic" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is Winning Score, when Date is Jul 27, 1997?
### Context:
CREATE TABLE table_name_53 (winning_score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT winning_score FROM table_name_53 WHERE date = "jul 27, 1997" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is Winning Score, when Runner(s)-up is Ted Purdy?
### Context:
CREATE TABLE table_name_37 (winning_score VARCHAR, runner_s__up VARCHAR) [/INST]
### Response:
SELECT winning_score FROM table_name_37 WHERE runner_s__up = "ted purdy" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the enrollment number for the public institution in Golden, Colorado founded after 1874?
### Context:
CREATE TABLE table_name_38 (enrollment INTEGER, founded VARCHAR, control VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT AVG(enrollment) FROM table_name_38 WHERE control = "public" AND location = "golden, colorado" AND founded > 1874 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Team has a Year smaller than 2007, and a Class of gts?
### Context:
CREATE TABLE table_name_96 (team VARCHAR, year VARCHAR, class VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_96 WHERE year < 2007 AND class = "gts" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
In what year Year has a Co-Drivers of jérôme policand christopher campbell?
### Context:
CREATE TABLE table_name_82 (year INTEGER, co_drivers VARCHAR) [/INST]
### Response:
SELECT SUM(year) FROM table_name_82 WHERE co_drivers = "jérôme policand christopher campbell" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is Language, when Content is Monoscopio?
### Context:
CREATE TABLE table_name_27 (language VARCHAR, content VARCHAR) [/INST]
### Response:
SELECT language FROM table_name_27 WHERE content = "monoscopio" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is Television Service, when Content is Presentazione?
### Context:
CREATE TABLE table_name_90 (television_service VARCHAR, content VARCHAR) [/INST]
### Response:
SELECT television_service FROM table_name_90 WHERE content = "presentazione" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is Package/Option, when Television Service is Sky Inside?
### Context:
CREATE TABLE table_name_74 (package_option VARCHAR, television_service VARCHAR) [/INST]
### Response:
SELECT package_option FROM table_name_74 WHERE television_service = "sky inside" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is Package/Option, when Television Service is Sky Inside?
### Context:
CREATE TABLE table_name_63 (package_option VARCHAR, television_service VARCHAR) [/INST]
### Response:
SELECT package_option FROM table_name_63 WHERE television_service = "sky inside" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the sum of Points, when the Performer is fe-mail?
### Context:
CREATE TABLE table_name_64 (points INTEGER, performer VARCHAR) [/INST]
### Response:
SELECT SUM(points) FROM table_name_64 WHERE performer = "fe-mail" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the score for set 3 with a time at 15:04?
### Context:
CREATE TABLE table_name_46 (set_3 VARCHAR, time VARCHAR) [/INST]
### Response:
SELECT set_3 FROM table_name_46 WHERE time = "15:04" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the overall score when the score of set 3 was 29–27?
### Context:
CREATE TABLE table_name_63 (score VARCHAR, set_3 VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_63 WHERE set_3 = "29–27" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the score for set 2 when set 3 was 25–22?
### Context:
CREATE TABLE table_name_74 (set_2 VARCHAR, set_3 VARCHAR) [/INST]
### Response:
SELECT set_2 FROM table_name_74 WHERE set_3 = "25–22" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the overall score when set 1 was 23–25?
### Context:
CREATE TABLE table_name_33 (score VARCHAR, set_1 VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_33 WHERE set_1 = "23–25" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What school/club team did Amal McCaskill play for?
### Context:
CREATE TABLE table_name_40 (school_club_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT school_club_team FROM table_name_40 WHERE player = "amal mccaskill" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.