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 was the score of the game with a record of 33β25β9?
### Context:
CREATE TABLE table_name_13 (score VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_13 WHERE record = "33β25β9" </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:
Loss of francis (4β9) has what highest attendance figure?
### Context:
CREATE TABLE table_name_45 (attendance INTEGER, loss VARCHAR) [/INST]
### Response:
SELECT MAX(attendance) FROM table_name_45 WHERE loss = "francis (4β9)" </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:
Loss of de la rosa (8β8) has what average attendance?
### Context:
CREATE TABLE table_name_97 (attendance INTEGER, loss VARCHAR) [/INST]
### Response:
SELECT AVG(attendance) FROM table_name_97 WHERE loss = "de la rosa (8β8)" </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:
Loss of francis (4β10) happened on what date?
### Context:
CREATE TABLE table_name_71 (date VARCHAR, loss VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_71 WHERE loss = "francis (4β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 was the score on 8 September 1999?
### Context:
CREATE TABLE table_name_93 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_93 WHERE date = "8 september 1999" </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 on 16 November 2003?
### Context:
CREATE TABLE table_name_34 (result VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_34 WHERE date = "16 november 2003" </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 Set 1 has a Set 2 of 26β24?
### Context:
CREATE TABLE table_name_77 (set_1 VARCHAR, set_2 VARCHAR) [/INST]
### Response:
SELECT set_1 FROM table_name_77 WHERE set_2 = "26β24" </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 Set 2 has a Date of 25 may, and a Set 3 of 21β25?
### Context:
CREATE TABLE table_name_45 (set_2 VARCHAR, date VARCHAR, set_3 VARCHAR) [/INST]
### Response:
SELECT set_2 FROM table_name_45 WHERE date = "25 may" AND set_3 = "21β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:
Which Date has a Set 3 of 21β25?
### Context:
CREATE TABLE table_name_55 (date VARCHAR, set_3 VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_55 WHERE set_3 = "21β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:
Which Set 1 has a Date of 24 may, and a Total of 57β75?
### Context:
CREATE TABLE table_name_37 (set_1 VARCHAR, date VARCHAR, total VARCHAR) [/INST]
### Response:
SELECT set_1 FROM table_name_37 WHERE date = "24 may" AND total = "57β75" </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 Set 2 has a Set 1 of 25β15, and a Score of 3β0?
### Context:
CREATE TABLE table_name_41 (set_2 VARCHAR, set_1 VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT set_2 FROM table_name_41 WHERE set_1 = "25β15" AND score = "3β0" </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 Total has a Set 1 of 25β22?
### Context:
CREATE TABLE table_name_12 (total VARCHAR, set_1 VARCHAR) [/INST]
### Response:
SELECT total FROM table_name_12 WHERE set_1 = "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 segment b for Netflix s01e21?
### Context:
CREATE TABLE table_name_34 (segment_b VARCHAR, netflix VARCHAR) [/INST]
### Response:
SELECT segment_b FROM table_name_34 WHERE netflix = "s01e21" </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 segment d is associated with an episode number above 16 and a segment c of laser eye surgery?
### Context:
CREATE TABLE table_name_33 (segment_d VARCHAR, episode VARCHAR, segment_c VARCHAR) [/INST]
### Response:
SELECT segment_d FROM table_name_33 WHERE episode > 16 AND segment_c = "laser eye surgery" </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 had less than 291 total points whole having 76 bronze and over 21 gold?
### Context:
CREATE TABLE table_name_67 (silver INTEGER, total VARCHAR, gold VARCHAR, bronze VARCHAR) [/INST]
### Response:
SELECT SUM(silver) FROM table_name_67 WHERE gold > 21 AND bronze = 76 AND total < 291 </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 average rank for team with more than 44 gold, more and 76 bronze and a higher total than 73?
### Context:
CREATE TABLE table_name_26 (rank INTEGER, bronze VARCHAR, total VARCHAR, gold VARCHAR) [/INST]
### Response:
SELECT AVG(rank) FROM table_name_26 WHERE total > 73 AND gold > 44 AND bronze > 76 </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 date was the team's record 61-66?
### Context:
CREATE TABLE table_name_28 (date VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_28 WHERE record = "61-66" </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:
At what time was the game when they played the White Sox and had a record of 63-70?
### Context:
CREATE TABLE table_name_81 (time VARCHAR, opponent VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT time FROM table_name_81 WHERE opponent = "white sox" AND record = "63-70" </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 shows for gold when bronze is 1?
### Context:
CREATE TABLE table_name_28 (gold VARCHAR, bronze VARCHAR) [/INST]
### Response:
SELECT gold FROM table_name_28 WHERE bronze = 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 gold number when the total is less than 8, silver less than 1 and the rank is more than 7?
### Context:
CREATE TABLE table_name_40 (gold VARCHAR, rank VARCHAR, total VARCHAR, silver VARCHAR) [/INST]
### Response:
SELECT COUNT(gold) FROM table_name_40 WHERE total < 8 AND silver < 1 AND rank > 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 Total for the Rank of 6, when Silver is smaller than 0?
### Context:
CREATE TABLE table_name_36 (total INTEGER, rank VARCHAR, silver VARCHAR) [/INST]
### Response:
SELECT AVG(total) FROM table_name_36 WHERE rank = 6 AND silver < 0 </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 wins has an Individual winner smaller than 1 and Total win larger than 1?
### Context:
CREATE TABLE table_name_60 (team_wins INTEGER, individual_winners VARCHAR, total_wins VARCHAR) [/INST]
### Response:
SELECT SUM(team_wins) FROM table_name_60 WHERE individual_winners < 1 AND total_wins > 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 Team Win is from sweden and has a Individual win smaller than 1
### Context:
CREATE TABLE table_name_48 (team_wins INTEGER, nation VARCHAR, individual_wins VARCHAR) [/INST]
### Response:
SELECT MAX(team_wins) FROM table_name_48 WHERE nation = "sweden" AND individual_wins < 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 channel did Going for Gold air on?
### Context:
CREATE TABLE table_name_19 (original_channel VARCHAR, programme VARCHAR) [/INST]
### Response:
SELECT original_channel FROM table_name_19 WHERE programme = "going for gold" </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 channel is Gladiators on?
### Context:
CREATE TABLE table_name_19 (new_channel_s_ VARCHAR, programme VARCHAR) [/INST]
### Response:
SELECT new_channel_s_ FROM table_name_19 WHERE programme = "gladiators" </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 did Going for Gold return in BBC One?
### Context:
CREATE TABLE table_name_67 (date_s__of_return VARCHAR, original_channel VARCHAR, programme VARCHAR) [/INST]
### Response:
SELECT date_s__of_return FROM table_name_67 WHERE original_channel = "bbc one" AND programme = "going for gold" </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 faith has a name of Belswains?
### Context:
CREATE TABLE table_name_40 (faith VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT faith FROM table_name_40 WHERE name = "belswains" </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 school is a primary school with DCSF number 2045?
### Context:
CREATE TABLE table_name_62 (name VARCHAR, type VARCHAR, dcsf_number VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_62 WHERE type = "primary" AND dcsf_number = 2045 </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 position had fewer rounds than 3, and an overall of less than 48?
### Context:
CREATE TABLE table_name_96 (position VARCHAR, round VARCHAR, overall VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_96 WHERE round < 3 AND overall < 48 </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 highest pick number's name was Adam Podlesh, when the overall was less than 101?
### Context:
CREATE TABLE table_name_2 (pick__number INTEGER, name VARCHAR, overall VARCHAR) [/INST]
### Response:
SELECT MAX(pick__number) FROM table_name_2 WHERE name = "adam podlesh" AND overall < 101 </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 IHSAA class in Batesville?
### Context:
CREATE TABLE table_name_97 (ihsaa_class VARCHAR, city VARCHAR) [/INST]
### Response:
SELECT ihsaa_class FROM table_name_97 WHERE city = "batesville" </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 city is Lawrenceburg school, with an IHSAA football class of aaa and less than 676 enrollments, located in?
### Context:
CREATE TABLE table_name_84 (city VARCHAR, school VARCHAR, ihsaa_football_class VARCHAR, enrollment VARCHAR) [/INST]
### Response:
SELECT city FROM table_name_84 WHERE ihsaa_football_class = "aaa" AND enrollment < 676 AND school = "lawrenceburg" </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 is in Brookville?
### Context:
CREATE TABLE table_name_34 (school VARCHAR, city VARCHAR) [/INST]
### Response:
SELECT school FROM table_name_34 WHERE city = "brookville" </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 Score has a Record of 36β61?
### Context:
CREATE TABLE table_name_29 (score VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_29 WHERE record = "36β61" </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 Record of 34β51?
### Context:
CREATE TABLE table_name_63 (attendance INTEGER, record VARCHAR) [/INST]
### Response:
SELECT MIN(attendance) FROM table_name_63 WHERE record = "34β51" </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 Loss has a Date of july 2?
### Context:
CREATE TABLE table_name_71 (loss VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT loss FROM table_name_71 WHERE date = "july 2" </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's 2001 and 2008 were a when 2010 was qf?
### Context:
CREATE TABLE table_name_4 (tournament VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_4 WHERE 2001 = "a" AND 2008 = "a" AND 2010 = "qf" </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's 2001 and 2006s were a?
### Context:
CREATE TABLE table_name_25 (tournament VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_25 WHERE 2001 = "a" AND 2006 = "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:
Which 2007 had a 2009 taht was qf when its 2000 was a?
### Context:
CREATE TABLE table_name_60 (Id VARCHAR) [/INST]
### Response:
SELECT 2007 FROM table_name_60 WHERE 2009 = "qf" AND 2000 = "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:
Which 2008 had a 1998 and 2006 that were a when 2009 was sf?
### Context:
CREATE TABLE table_name_16 (Id VARCHAR) [/INST]
### Response:
SELECT 2008 FROM table_name_16 WHERE 1998 = "a" AND 2009 = "sf" AND 2006 = "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:
What is the number of floors for the Citic Square?
### Context:
CREATE TABLE table_name_10 (floors INTEGER, name VARCHAR) [/INST]
### Response:
SELECT AVG(floors) FROM table_name_10 WHERE name = "citic square" </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 height for the Shanghai World Plaza?
### Context:
CREATE TABLE table_name_26 (height_m___ft VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT height_m___ft FROM table_name_26 WHERE name = "shanghai world plaza" </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 week had a lower attendance than 51,423 but was still higher than the other weeks?
### Context:
CREATE TABLE table_name_76 (week INTEGER, attendance INTEGER) [/INST]
### Response:
SELECT MAX(week) FROM table_name_76 WHERE attendance < 51 OFFSET 423 </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 Vertices have a Dual Archimedean solid of truncated dodecahedron?
### Context:
CREATE TABLE table_name_28 (vertices INTEGER, dual_archimedean_solid VARCHAR) [/INST]
### Response:
SELECT MAX(vertices) FROM table_name_28 WHERE dual_archimedean_solid = "truncated dodecahedron" </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 Edges have a Dual Archimedean solid of truncated icosidodecahedron, and Vertices larger than 62?
### Context:
CREATE TABLE table_name_29 (edges INTEGER, dual_archimedean_solid VARCHAR, vertices VARCHAR) [/INST]
### Response:
SELECT MIN(edges) FROM table_name_29 WHERE dual_archimedean_solid = "truncated icosidodecahedron" AND vertices > 62 </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 Faces have a Dual Archimedean solid of truncated icosahedron, and Vertices larger than 32?
### Context:
CREATE TABLE table_name_39 (faces INTEGER, dual_archimedean_solid VARCHAR, vertices VARCHAR) [/INST]
### Response:
SELECT AVG(faces) FROM table_name_39 WHERE dual_archimedean_solid = "truncated icosahedron" AND vertices > 32 </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 Set 2 has a Set 3 of 20β25?
### Context:
CREATE TABLE table_name_70 (set_2 VARCHAR, set_3 VARCHAR) [/INST]
### Response:
SELECT set_2 FROM table_name_70 WHERE set_3 = "20β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:
Which Total has a Set 2 of 20β25, and a Score of 1β3?
### Context:
CREATE TABLE table_name_26 (total VARCHAR, set_2 VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT total FROM table_name_26 WHERE set_2 = "20β25" AND score = "1β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:
Which Set 3 has a Score of 3β2, and a Set 2 of 25β23, and a Time of 19:00?
### Context:
CREATE TABLE table_name_86 (set_3 VARCHAR, time VARCHAR, score VARCHAR, set_2 VARCHAR) [/INST]
### Response:
SELECT set_3 FROM table_name_86 WHERE score = "3β2" AND set_2 = "25β23" AND time = "19:00" </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 Total has a Score of 1β3, and a Set 1 of 29β31?
### Context:
CREATE TABLE table_name_9 (total VARCHAR, score VARCHAR, set_1 VARCHAR) [/INST]
### Response:
SELECT total FROM table_name_9 WHERE score = "1β3" AND set_1 = "29β31" </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 has a Time of 11:00, and a Set 3 of 25β18?
### Context:
CREATE TABLE table_name_62 (date VARCHAR, time VARCHAR, set_3 VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_62 WHERE time = "11:00" AND set_3 = "25β18" </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 Total has a Set 3 of 13β25?
### Context:
CREATE TABLE table_name_53 (total VARCHAR, set_3 VARCHAR) [/INST]
### Response:
SELECT total FROM table_name_53 WHERE set_3 = "13β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 was the result for the best musical revival category?
### Context:
CREATE TABLE table_name_98 (result VARCHAR, category VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_98 WHERE category = "best musical revival" </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 area served for on-air ID of abc canberra
### Context:
CREATE TABLE table_name_46 (area_served VARCHAR, on_air_id VARCHAR) [/INST]
### Response:
SELECT area_served FROM table_name_46 WHERE on_air_id = "abc canberra" </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 frequency with on-air ID of 1way fm
### Context:
CREATE TABLE table_name_18 (frequency VARCHAR, on_air_id VARCHAR) [/INST]
### Response:
SELECT frequency FROM table_name_18 WHERE on_air_id = "1way fm" </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 purpose for on-air ID of 2xx
### Context:
CREATE TABLE table_name_13 (purpose VARCHAR, on_air_id VARCHAR) [/INST]
### Response:
SELECT purpose FROM table_name_13 WHERE on_air_id = "2xx" </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 frequency for community purpose and callsign of 1vfm
### Context:
CREATE TABLE table_name_79 (frequency VARCHAR, purpose VARCHAR, callsign VARCHAR) [/INST]
### Response:
SELECT frequency FROM table_name_79 WHERE purpose = "community" AND callsign = "1vfm" </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 band with frequency of 102.3
### Context:
CREATE TABLE table_name_88 (band VARCHAR, frequency VARCHAR) [/INST]
### Response:
SELECT band FROM table_name_88 WHERE frequency = "102.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:
What was the loss of the game against with LA New Bears with a save of Mac Suzuki?
### Context:
CREATE TABLE table_name_4 (loss VARCHAR, opponent VARCHAR, save VARCHAR) [/INST]
### Response:
SELECT loss FROM table_name_4 WHERE opponent = "la new bears" AND save = "mac suzuki" </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 with a save of ||3,073?
### Context:
CREATE TABLE table_name_74 (date VARCHAR, save VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_74 WHERE save = "||3,073" </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 2004 has a Tournament of french open?
### Context:
CREATE TABLE table_name_41 (tournament VARCHAR) [/INST]
### Response:
SELECT 2004 FROM table_name_41 WHERE tournament = "french open" </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 2003 has a 2013 of 1r, and a 2007 of 2r?
### Context:
CREATE TABLE table_name_99 (Id VARCHAR) [/INST]
### Response:
SELECT 2003 FROM table_name_99 WHERE 2013 = "1r" AND 2007 = "2r" </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 2007 has a Tournament of grand slam sr?
### Context:
CREATE TABLE table_name_32 (tournament VARCHAR) [/INST]
### Response:
SELECT 2007 FROM table_name_32 WHERE tournament = "grand slam sr" </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 2008 has a Career Win-Loss of 25β40?
### Context:
CREATE TABLE table_name_54 (career_win_loss VARCHAR) [/INST]
### Response:
SELECT 2008 FROM table_name_54 WHERE career_win_loss = "25β40" </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 Career Win-Loss has a 2001 of 1β1?
### Context:
CREATE TABLE table_name_76 (career_win_loss VARCHAR) [/INST]
### Response:
SELECT career_win_loss FROM table_name_76 WHERE 2001 = "1β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 2012 has a 2007 of 1r, and a 2008 of 1r, and a 2013 of 2r?
### Context:
CREATE TABLE table_name_75 (Id VARCHAR) [/INST]
### Response:
SELECT 2012 FROM table_name_75 WHERE 2007 = "1r" AND 2008 = "1r" AND 2013 = "2r" </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 college or club did the round 9 draft pick from Canada come from?
### Context:
CREATE TABLE table_name_11 (college_junior_club_team__league_ VARCHAR, round VARCHAR, nationality VARCHAR) [/INST]
### Response:
SELECT college_junior_club_team__league_ FROM table_name_11 WHERE round = 9 AND nationality = "canada" </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 player who was from Dynamo-2 moscow (rus) and was picked after round 5?
### Context:
CREATE TABLE table_name_43 (player VARCHAR, round VARCHAR, college_junior_club_team__league_ VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_43 WHERE round > 5 AND college_junior_club_team__league_ = "dynamo-2 moscow (rus)" </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 position does the draft pick from Finland play?
### Context:
CREATE TABLE table_name_72 (position VARCHAR, nationality VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_72 WHERE nationality = "finland" </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 lowest round number that Ian Forbes was picked in the draft?
### Context:
CREATE TABLE table_name_43 (round INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MIN(round) FROM table_name_43 WHERE player = "ian forbes" </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 coach in 1953?
### Context:
CREATE TABLE table_name_19 (coach VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT coach FROM table_name_19 WHERE year = "1953" </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 Time of the game at Arrowhead Stadium with an NFL Recap of recap?
### Context:
CREATE TABLE table_name_82 (time VARCHAR, nfl_recap VARCHAR, game_site VARCHAR) [/INST]
### Response:
SELECT time FROM table_name_82 WHERE nfl_recap = "recap" AND game_site = "arrowhead stadium" </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 Opponent at Arrowhead Stadium?
### Context:
CREATE TABLE table_name_97 (opponent VARCHAR, game_site VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_97 WHERE game_site = "arrowhead stadium" </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 after Week 4 with a Time of 5:15 p.m. and a Record of 4β7?
### Context:
CREATE TABLE table_name_88 (result VARCHAR, record VARCHAR, week VARCHAR, time VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_88 WHERE week > 4 AND time = "5:15 p.m." AND record = "4β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:
When in November were they 11-7-3 with over 21 games?
### Context:
CREATE TABLE table_name_80 (november INTEGER, record VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT MAX(november) FROM table_name_80 WHERE record = "11-7-3" AND game > 21 </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 had a team name of the Trojans?
### Context:
CREATE TABLE table_name_54 (school VARCHAR, team_name VARCHAR) [/INST]
### Response:
SELECT school FROM table_name_54 WHERE team_name = "trojans" </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 Site michigan stadium β’ ann arbor, mi?
### Context:
CREATE TABLE table_name_50 (date VARCHAR, site VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_50 WHERE site = "michigan stadium β’ ann arbor, mi" </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 site of the game with a Result of l7-33?
### Context:
CREATE TABLE table_name_34 (site VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT site FROM table_name_34 WHERE result = "l7-33" </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 name of the Opponent when the Result was w48-0?
### Context:
CREATE TABLE table_name_6 (opponent VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_6 WHERE result = "w48-0" </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 Date at memorial stadium β’ minneapolis, mn, and an Opponent of northwestern?
### Context:
CREATE TABLE table_name_45 (date VARCHAR, site VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_45 WHERE site = "memorial stadium β’ minneapolis, mn" AND opponent = "northwestern" </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 Result of the game on 10/11/1930?
### Context:
CREATE TABLE table_name_63 (result VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_63 WHERE date = "10/11/1930" </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 games played against the Buffalo Sabres?
### Context:
CREATE TABLE table_name_65 (game VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT COUNT(game) FROM table_name_65 WHERE opponent = "buffalo sabres" </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 April has Points of 95, and a Record of 41β25β10β3, and a Game smaller than 79?
### Context:
CREATE TABLE table_name_50 (april INTEGER, game VARCHAR, points VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT SUM(april) FROM table_name_50 WHERE points = 95 AND record = "41β25β10β3" AND game < 79 </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 Points have a Score of 1β3, and a Game larger than 82?
### Context:
CREATE TABLE table_name_49 (points VARCHAR, score VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT COUNT(points) FROM table_name_49 WHERE score = "1β3" AND game > 82 </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 Game is the lowest one that has Points smaller than 92?
### Context:
CREATE TABLE table_name_14 (game INTEGER, points INTEGER) [/INST]
### Response:
SELECT MIN(game) FROM table_name_14 WHERE points < 92 </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 April is the smallest one that has a Score of 2β4, and a Game smaller than 76?
### Context:
CREATE TABLE table_name_4 (april INTEGER, score VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT MAX(april) FROM table_name_4 WHERE score = "2β4" AND game < 76 </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 high point total associated with a difference of 1 and 0 draws?
### Context:
CREATE TABLE table_name_88 (points INTEGER, difference VARCHAR, drawn VARCHAR) [/INST]
### Response:
SELECT MAX(points) FROM table_name_88 WHERE difference = "1" AND drawn = 0 </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 position did the team finish in with a Difference of - 6, 3 losses, and over 4 draws?
### Context:
CREATE TABLE table_name_83 (position VARCHAR, drawn VARCHAR, difference VARCHAR, lost VARCHAR) [/INST]
### Response:
SELECT COUNT(position) FROM table_name_83 WHERE difference = "- 6" AND lost = 3 AND drawn > 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:
Which round has the scorer of Di Matteo?
### Context:
CREATE TABLE table_name_56 (round VARCHAR, scorers VARCHAR) [/INST]
### Response:
SELECT round FROM table_name_56 WHERE scorers = "di matteo" </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 lowest attendance of a game that has the result of 2-0?
### Context:
CREATE TABLE table_name_59 (attendance INTEGER, result VARCHAR) [/INST]
### Response:
SELECT MIN(attendance) FROM table_name_59 WHERE result = "2-0" </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 Metric value has a Unit of dolia?
### Context:
CREATE TABLE table_name_4 (metric_value VARCHAR, unit VARCHAR) [/INST]
### Response:
SELECT metric_value FROM table_name_4 WHERE unit = "dolia" </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 Russian has a Ratio of 40?
### Context:
CREATE TABLE table_name_60 (russian VARCHAR, ratio VARCHAR) [/INST]
### Response:
SELECT russian FROM table_name_60 WHERE ratio = "40" </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 Avoirdupois value has a Russian of Π±Π΅ΡΠΊΠΎΠ²Π΅Ρ?
### Context:
CREATE TABLE table_name_37 (avoirdupois_value VARCHAR, russian VARCHAR) [/INST]
### Response:
SELECT avoirdupois_value FROM table_name_37 WHERE russian = "Π±Π΅ΡΠΊΠΎΠ²Π΅Ρ" </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 Russian has an Avoirdupois value of 0.686 gr?
### Context:
CREATE TABLE table_name_16 (russian VARCHAR, avoirdupois_value VARCHAR) [/INST]
### Response:
SELECT russian FROM table_name_16 WHERE avoirdupois_value = "0.686 gr" </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 Unit has a Ratio of 1/32?
### Context:
CREATE TABLE table_name_55 (unit VARCHAR, ratio VARCHAR) [/INST]
### Response:
SELECT unit FROM table_name_55 WHERE ratio = "1/32" </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 Ratio has a Unit of zolotnik?
### Context:
CREATE TABLE table_name_57 (ratio VARCHAR, unit VARCHAR) [/INST]
### Response:
SELECT ratio FROM table_name_57 WHERE unit = "zolotnik" </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 player from New Mexico plays the WR position?
### Context:
CREATE TABLE table_name_21 (player VARCHAR, position VARCHAR, school_club_team VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_21 WHERE position = "wr" AND school_club_team = "new mexico" </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's the Uni# of Timms, who has bats of R?
### Context:
CREATE TABLE table_name_22 (uni_number VARCHAR, bats VARCHAR, surname VARCHAR) [/INST]
### Response:
SELECT uni_number FROM table_name_22 WHERE bats = "r" AND surname = "timms" </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 were the Opponent in Game 29?
### Context:
CREATE TABLE table_name_37 (opponent VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_37 WHERE game = 29 </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 did the woman who died at 31 first contact Hitlers?
### Context:
CREATE TABLE table_name_60 (first_contact_with_hitler VARCHAR, age_at_death VARCHAR) [/INST]
### Response:
SELECT first_contact_with_hitler FROM table_name_60 WHERE age_at_death = "31" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.