inputs
stringlengths 400
1.34k
|
|---|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What the Outcome for the Tournament of Johannesburg, South Africa
### Context:
CREATE TABLE table_name_5 (outcome VARCHAR, tournament VARCHAR)
### Response:
### Response:
SELECT outcome FROM table_name_5 WHERE tournament = "johannesburg, south africa"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What date has 2:59 as the time?
### Context:
CREATE TABLE table_name_95 (date VARCHAR, time VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_95 WHERE time = "2:59"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
The OMEGA transmitter Chabrier has what country listed?
### Context:
CREATE TABLE table_name_59 (country VARCHAR, structure VARCHAR)
### Response:
### Response:
SELECT country FROM table_name_59 WHERE structure = "omega transmitter chabrier"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
Name the length for all class and date of march 18
### Context:
CREATE TABLE table_name_63 (length VARCHAR, class VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT length FROM table_name_63 WHERE class = "all" AND date = "march 18"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
In what year was the rank 24?
### Context:
CREATE TABLE table_name_96 (year VARCHAR, rank VARCHAR)
### Response:
### Response:
SELECT year FROM table_name_96 WHERE rank = "24"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What is the Date when the high points went to Dell Curry (17)?
### Context:
CREATE TABLE table_name_84 (date VARCHAR, high_points VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_84 WHERE high_points = "dell curry (17)"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What nation had a medal total of less than 10, less than 1 bronze medal, in rank 11?
### Context:
CREATE TABLE table_name_79 (nation VARCHAR, rank VARCHAR, total VARCHAR, bronze VARCHAR)
### Response:
### Response:
SELECT nation FROM table_name_79 WHERE total < 10 AND bronze < 1 AND rank = "11"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What is the largest mass for Tycho Crater?
### Context:
CREATE TABLE table_name_59 (mass__kg_ INTEGER, landing_zone VARCHAR)
### Response:
### Response:
SELECT MAX(mass__kg_) FROM table_name_59 WHERE landing_zone = "tycho crater"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
In what prefecture is Susaki located?
### Context:
CREATE TABLE table_2518850_4 (prefecture VARCHAR, city_town VARCHAR)
### Response:
### Response:
SELECT prefecture FROM table_2518850_4 WHERE city_town = "Susaki"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
Show the addresses and phones of all the buildings managed by "Brenden".
### Context:
CREATE TABLE Apartment_Buildings (building_address VARCHAR, building_phone VARCHAR, building_manager VARCHAR)
### Response:
### Response:
SELECT building_address, building_phone FROM Apartment_Buildings WHERE building_manager = "Brenden"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
what is the school that left in 1966?
### Context:
CREATE TABLE table_name_18 (school VARCHAR, year_left VARCHAR)
### Response:
### Response:
SELECT school FROM table_name_18 WHERE year_left = 1966</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
Which eagle riders whose ova (harmony gold dub) is dr. kozaburo nambu?
### Context:
CREATE TABLE table_17480471_3 (eagle_riders VARCHAR, ova__harmony_gold_dub_ VARCHAR)
### Response:
### Response:
SELECT eagle_riders FROM table_17480471_3 WHERE ova__harmony_gold_dub_ = "Dr. Kozaburo Nambu"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
Who is the director of Cannibal vegetarian, which is the film title used in nomination?
### Context:
CREATE TABLE table_name_92 (director_s_ VARCHAR, film_title_used_in_nomination VARCHAR)
### Response:
### Response:
SELECT director_s_ FROM table_name_92 WHERE film_title_used_in_nomination = "cannibal vegetarian"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
Show all template type codes that are not used by any document.
### Context:
CREATE TABLE Documents (template_id VARCHAR); CREATE TABLE Templates (template_id VARCHAR); CREATE TABLE Templates (template_type_code VARCHAR)
### Response:
### Response:
SELECT template_type_code FROM Templates EXCEPT SELECT template_type_code FROM Templates AS T1 JOIN Documents AS T2 ON T1.template_id = T2.template_id</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What was the attendance for the March 6 game, where one of the teams had 53 points.
### Context:
CREATE TABLE table_name_55 (attendance VARCHAR, points VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT attendance FROM table_name_55 WHERE points = 53 AND date = "march 6"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
Where are all school boards associated with a number of elementary schools of 96?
### Context:
CREATE TABLE table_1506619_1 (school_board VARCHAR, number_of_elementary_schools VARCHAR)
### Response:
### Response:
SELECT school_board FROM table_1506619_1 WHERE number_of_elementary_schools = 96</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
List the name of products in ascending order of price.
### Context:
CREATE TABLE Products (Product_Name VARCHAR, Product_Price VARCHAR)
### Response:
### Response:
SELECT Product_Name FROM Products ORDER BY Product_Price</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What Position does First Elected in 2003 William D. Euille hold ?
### Context:
CREATE TABLE table_name_42 (position VARCHAR, first_election VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT position FROM table_name_42 WHERE first_election = "2003" AND name = "william d. euille"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
For a team with a goals against less than 58, a position of 10, and a points 2 more than 53, what is the average lost?
### Context:
CREATE TABLE table_name_37 (lost INTEGER, points_2 VARCHAR, goals_against VARCHAR, position VARCHAR)
### Response:
### Response:
SELECT AVG(lost) FROM table_name_37 WHERE goals_against < 58 AND position = 10 AND points_2 > 53</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
NHL players are all centre in Florida panthers.
### Context:
CREATE TABLE table_1013129_10 (player VARCHAR, position VARCHAR, nhl_team VARCHAR)
### Response:
### Response:
SELECT player FROM table_1013129_10 WHERE position = "Centre" AND nhl_team = "Florida Panthers"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
Name the Mountain Peak which has a Rank of 62?
### Context:
CREATE TABLE table_name_2 (mountain_peak VARCHAR, rank VARCHAR)
### Response:
### Response:
SELECT mountain_peak FROM table_name_2 WHERE rank = 62</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
what is the year for player is derrick favors?
### Context:
CREATE TABLE table_11677760_1 (year VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT year FROM table_11677760_1 WHERE player = "Derrick Favors"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
Which winning driver of the Roussillon Grand Prix had an Alfa Romeo?
### Context:
CREATE TABLE table_name_53 (winning_driver VARCHAR, winning_constructor VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT winning_driver FROM table_name_53 WHERE winning_constructor = "alfa romeo" AND name = "roussillon grand prix"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What nation won the fewest gold medals while being in Rank 1, with a total of 37 medals and more than 7 bronze medals?
### Context:
CREATE TABLE table_name_4 (gold INTEGER, bronze VARCHAR, total VARCHAR, rank VARCHAR)
### Response:
### Response:
SELECT MIN(gold) FROM table_name_4 WHERE total = 37 AND rank = "1" AND bronze > 7</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
How many times did the Wildcats play a game 11 regardless of points scored?
### Context:
CREATE TABLE table_21062353_1 (wildcats_points VARCHAR, game VARCHAR)
### Response:
### Response:
SELECT COUNT(wildcats_points) FROM table_21062353_1 WHERE game = 11</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What are the name of pilots aged 25 or older?
### Context:
CREATE TABLE pilot (Name VARCHAR, Age VARCHAR)
### Response:
### Response:
SELECT Name FROM pilot WHERE Age >= 25</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
who lost on august 21?
### Context:
CREATE TABLE table_name_10 (loss VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT loss FROM table_name_10 WHERE date = "august 21"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
For nations with more than 6 silvers and more than 10 golds, what is the lowest total?
### Context:
CREATE TABLE table_name_6 (total INTEGER, silver VARCHAR, gold VARCHAR)
### Response:
### Response:
SELECT MIN(total) FROM table_name_6 WHERE silver > 6 AND gold > 10</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
Who was the home team that played against the Boston Bruins on January 11?
### Context:
CREATE TABLE table_name_91 (home VARCHAR, visitor VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT home FROM table_name_91 WHERE visitor = "boston bruins" AND date = "january 11"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What is the division record for the Indians?
### Context:
CREATE TABLE table_name_26 (division_record VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT division_record FROM table_name_26 WHERE team = "indians"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
what's the score where record is 0–2
### Context:
CREATE TABLE table_11964047_5 (score VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT score FROM table_11964047_5 WHERE record = "0–2"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What is the location of the 1999 tournament?
### Context:
CREATE TABLE table_22165661_3 (location VARCHAR, tournament VARCHAR)
### Response:
### Response:
SELECT location FROM table_22165661_3 WHERE tournament = 1999</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
Which province is Pamplona located in?
### Context:
CREATE TABLE table_name_11 (province VARCHAR, city VARCHAR)
### Response:
### Response:
SELECT province FROM table_name_11 WHERE city = "pamplona"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What is the average number of events having 1 top-10, fewer than 4 cuts made, and 0 wins?
### Context:
CREATE TABLE table_name_98 (events INTEGER, cuts_made VARCHAR, top_10 VARCHAR, wins VARCHAR)
### Response:
### Response:
SELECT AVG(events) FROM table_name_98 WHERE top_10 = 1 AND wins > 0 AND cuts_made < 4</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
Where is Fred Haas from?
### Context:
CREATE TABLE table_name_93 (country VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT country FROM table_name_93 WHERE player = "fred haas"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What is week 7 when week 3 is 35.90?
### Context:
CREATE TABLE table_name_62 (week_7 VARCHAR, week_3 VARCHAR)
### Response:
### Response:
SELECT week_7 FROM table_name_62 WHERE week_3 = "35.90"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
Which Country has a Network of channel 1?
### Context:
CREATE TABLE table_name_97 (country VARCHAR, network VARCHAR)
### Response:
### Response:
SELECT country FROM table_name_97 WHERE network = "channel 1"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What date has won as the result and 2-1 as the score with a competition of 2004 tiger cup third place match?
### Context:
CREATE TABLE table_name_93 (date VARCHAR, competition VARCHAR, result VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_93 WHERE result = "won" AND score = "2-1" AND competition = "2004 tiger cup third place match"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
List all information about customer master index, and sort them by details in descending order.
### Context:
CREATE TABLE customer_master_index (cmi_details VARCHAR)
### Response:
### Response:
SELECT * FROM customer_master_index ORDER BY cmi_details DESC</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
Show all cities and corresponding number of students.
### Context:
CREATE TABLE Student (city_code VARCHAR)
### Response:
### Response:
SELECT city_code, COUNT(*) FROM Student GROUP BY city_code</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What was the result of round 2r?
### Context:
CREATE TABLE table_11326124_3 (outcome VARCHAR, round VARCHAR)
### Response:
### Response:
SELECT outcome FROM table_11326124_3 WHERE round = "2R"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
Name the institution for purple aces
### Context:
CREATE TABLE table_24216139_2 (institution VARCHAR, nickname VARCHAR)
### Response:
### Response:
SELECT institution FROM table_24216139_2 WHERE nickname = "Purple Aces"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What is the brigade when Al-Hamra ('arab al-hamra) shows for name?
### Context:
CREATE TABLE table_name_63 (brigade VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT brigade FROM table_name_63 WHERE name = "al-hamra ('arab al-hamra)"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
How many dates are there in round 3?
### Context:
CREATE TABLE table_26267607_2 (date VARCHAR, round VARCHAR)
### Response:
### Response:
SELECT COUNT(date) FROM table_26267607_2 WHERE round = "3"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
Find the names of the chip models that are not used by any phone with full accreditation type.
### Context:
CREATE TABLE chip_model (model_name VARCHAR, chip_model VARCHAR, Accreditation_type VARCHAR); CREATE TABLE phone (model_name VARCHAR, chip_model VARCHAR, Accreditation_type VARCHAR)
### Response:
### Response:
SELECT model_name FROM chip_model EXCEPT SELECT chip_model FROM phone WHERE Accreditation_type = 'Full'</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
Record of 6–1 had what score?
### Context:
CREATE TABLE table_name_16 (score VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_16 WHERE record = "6–1"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
what is the game when march is 15?
### Context:
CREATE TABLE table_name_12 (game INTEGER, march VARCHAR)
### Response:
### Response:
SELECT SUM(game) FROM table_name_12 WHERE march = 15</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
Name the loss with record of 45-59
### Context:
CREATE TABLE table_name_87 (loss VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT loss FROM table_name_87 WHERE record = "45-59"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What was the maximum value that Christer Tornell gave when Trine Dehli Cleve gave a 9?
### Context:
CREATE TABLE table_28677723_8 (christer_tornell INTEGER, trine_dehli_cleve VARCHAR)
### Response:
### Response:
SELECT MAX(christer_tornell) FROM table_28677723_8 WHERE trine_dehli_cleve = 9</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What is the largest population count in any of the census divisions in 2006?
### Context:
CREATE TABLE table_2134521_1 (pop__2006_ INTEGER)
### Response:
### Response:
SELECT MAX(pop__2006_) FROM table_2134521_1</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
List all webkit versions when the major version was Safari 3, and the minor version was 3.1.2.
### Context:
CREATE TABLE table_24257833_4 (webkit_version VARCHAR, major_version VARCHAR, minor_version VARCHAR)
### Response:
### Response:
SELECT webkit_version FROM table_24257833_4 WHERE major_version = "Safari 3" AND minor_version = "3.1.2"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What was the outcome for the Rome 2, Italy tournament?
### Context:
CREATE TABLE table_name_73 (outcome VARCHAR, tournament VARCHAR)
### Response:
### Response:
SELECT outcome FROM table_name_73 WHERE tournament = "rome 2, italy"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
what parliament's name is lina loh woon lee?
### Context:
CREATE TABLE table_1889233_2 (parliament VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT parliament FROM table_1889233_2 WHERE name = "Lina Loh Woon Lee"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What was the decision of the game when the Lightning had a record of 6–8–1?
### Context:
CREATE TABLE table_name_84 (decision VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT decision FROM table_name_84 WHERE record = "6–8–1"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What is the time/retired for mika häkkinen
### Context:
CREATE TABLE table_name_38 (time_retired VARCHAR, driver VARCHAR)
### Response:
### Response:
SELECT time_retired FROM table_name_38 WHERE driver = "mika häkkinen"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What is the January climate figure for Eastman?
### Context:
CREATE TABLE table_name_26 (january VARCHAR, region VARCHAR)
### Response:
### Response:
SELECT january FROM table_name_26 WHERE region = "eastman"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
Who was the opponent for the KOTC 25: Flaming Fury event?
### Context:
CREATE TABLE table_name_82 (opponent VARCHAR, event VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_82 WHERE event = "kotc 25: flaming fury"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What was the date when Troy Murphy (15), got high rebounds?
### Context:
CREATE TABLE table_17326036_7 (date VARCHAR, high_rebounds VARCHAR)
### Response:
### Response:
SELECT date FROM table_17326036_7 WHERE high_rebounds = "Troy Murphy (15)"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What is the player from Australia's rank with more than 16 wins?
### Context:
CREATE TABLE table_name_63 (rank VARCHAR, wins VARCHAR, country VARCHAR)
### Response:
### Response:
SELECT COUNT(rank) FROM table_name_63 WHERE wins > 16 AND country = "australia"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
Can you tell me the sum of Intake that has the Faith of rc, and the DCSF number larger than 2428?
### Context:
CREATE TABLE table_name_54 (intake INTEGER, faith VARCHAR, dcsf_number VARCHAR)
### Response:
### Response:
SELECT SUM(intake) FROM table_name_54 WHERE faith = "rc" AND dcsf_number > 2428</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What is the name of the video game magazine that was issued bimonthly?
### Context:
CREATE TABLE table_name_36 (title VARCHAR, magazine_type VARCHAR, frequency VARCHAR)
### Response:
### Response:
SELECT title FROM table_name_36 WHERE magazine_type = "video game" AND frequency = "bimonthly"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
Who is Partner Frederik Nielsen's Opponents in the final?
### Context:
CREATE TABLE table_name_38 (opponents_in_the_final VARCHAR, partner VARCHAR)
### Response:
### Response:
SELECT opponents_in_the_final FROM table_name_38 WHERE partner = "frederik nielsen"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What is the smallest diameter for Eirene Tholus?
### Context:
CREATE TABLE table_name_97 (diameter__km_ INTEGER, name VARCHAR)
### Response:
### Response:
SELECT MIN(diameter__km_) FROM table_name_97 WHERE name = "eirene tholus"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
for country of spain and iata of ibz, what's the city?
### Context:
CREATE TABLE table_name_29 (city VARCHAR, country VARCHAR, iata VARCHAR)
### Response:
### Response:
SELECT city FROM table_name_29 WHERE country = "spain" AND iata = "ibz"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
Was the game against the Rattlers at the United Sports Training Center a home game or an away game?
### Context:
CREATE TABLE table_name_96 (home_away VARCHAR, opponent VARCHAR, field VARCHAR)
### Response:
### Response:
SELECT home_away FROM table_name_96 WHERE opponent = "rattlers" AND field = "united sports training center"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
who is beavercreek's representative
### Context:
CREATE TABLE table_29486189_4 (representative VARCHAR, residence VARCHAR)
### Response:
### Response:
SELECT representative FROM table_29486189_4 WHERE residence = "Beavercreek"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
how many times is the rank less than 6, certification 2x platinum and the peak position 2?
### Context:
CREATE TABLE table_name_49 (sales VARCHAR, peak_position VARCHAR, rank VARCHAR, certification VARCHAR)
### Response:
### Response:
SELECT COUNT(sales) FROM table_name_49 WHERE rank < 6 AND certification = "2x platinum" AND peak_position = "2"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
Which Pos has a Car # larger than 2, and a Team of billy ballew motorsports?
### Context:
CREATE TABLE table_name_38 (pos INTEGER, car__number VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT AVG(pos) FROM table_name_38 WHERE car__number > 2 AND team = "billy ballew motorsports"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What Position did the Hamilton Tiger-Cats (via Ottawa) pick in the 2006 Draft.
### Context:
CREATE TABLE table_10812938_4 (position VARCHAR, cfl_team VARCHAR)
### Response:
### Response:
SELECT position FROM table_10812938_4 WHERE cfl_team = "Hamilton Tiger-Cats (via Ottawa)"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
How many seasons have Losses larger than 1, and a Competition of fiba europe cup, and Wins smaller than 4?
### Context:
CREATE TABLE table_name_53 (season VARCHAR, wins VARCHAR, loses VARCHAR, competition VARCHAR)
### Response:
### Response:
SELECT COUNT(season) FROM table_name_53 WHERE loses > 1 AND competition = "fiba europe cup" AND wins < 4</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What's the team nickname of the private/catholic school whose enrollment is larger than 3,490?
### Context:
CREATE TABLE table_name_25 (team_nickname VARCHAR, affiliation VARCHAR, enrollment VARCHAR)
### Response:
### Response:
SELECT team_nickname FROM table_name_25 WHERE affiliation = "private/catholic" AND enrollment > 3 OFFSET 490</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What is the number of totals that have silvers under 2, bronzes over 0, and golds over 1?
### Context:
CREATE TABLE table_name_57 (total VARCHAR, gold VARCHAR, silver VARCHAR, bronze VARCHAR)
### Response:
### Response:
SELECT COUNT(total) FROM table_name_57 WHERE silver < 2 AND bronze > 0 AND gold > 1</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
A ferrari flat-12 engine with more than 1 point has what kind of chassis?
### Context:
CREATE TABLE table_name_80 (chassis VARCHAR, engine VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT chassis FROM table_name_80 WHERE engine = "ferrari flat-12" AND points > 1</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What is the language spoken by the largest percentage of people in each country?
### Context:
CREATE TABLE countrylanguage (LANGUAGE VARCHAR, CountryCode VARCHAR, Percentage INTEGER)
### Response:
### Response:
SELECT LANGUAGE, CountryCode, MAX(Percentage) FROM countrylanguage GROUP BY CountryCode</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What is every entry for Tuesday August 23 when Thursday August 25 is 24' 31.87 92.282mph?
### Context:
CREATE TABLE table_30058355_3 (tues_23_aug VARCHAR, thurs_25_aug VARCHAR)
### Response:
### Response:
SELECT tues_23_aug FROM table_30058355_3 WHERE thurs_25_aug = "24' 31.87 92.282mph"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What tonnage was built in 2007?
### Context:
CREATE TABLE table_name_75 (tonnage VARCHAR, built VARCHAR)
### Response:
### Response:
SELECT tonnage FROM table_name_75 WHERE built = 2007</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What is the Record for 23 january 2010, with a time smaller than 42.679 seconds?
### Context:
CREATE TABLE table_name_42 (record VARCHAR, date VARCHAR, time__seconds_ VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_42 WHERE date = "23 january 2010" AND time__seconds_ < 42.679</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
Name the date for score of w 112-91
### Context:
CREATE TABLE table_27902171_8 (date VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT date FROM table_27902171_8 WHERE score = "W 112-91"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
How many games were played on May 11?
### Context:
CREATE TABLE table_22654073_13 (game VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT COUNT(game) FROM table_22654073_13 WHERE date = "May 11"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
Which Set 1 has a Time of 14:00, and a Set 3 of 19–25?
### Context:
CREATE TABLE table_name_22 (set_1 VARCHAR, time VARCHAR, set_3 VARCHAR)
### Response:
### Response:
SELECT set_1 FROM table_name_22 WHERE time = "14:00" AND set_3 = "19–25"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What is the score of the hard court Ramat Hasharon tournament?
### Context:
CREATE TABLE table_name_75 (score VARCHAR, surface VARCHAR, tournament VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_75 WHERE surface = "hard" AND tournament = "ramat hasharon"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
Who was the writer who wrote the episode that was aired on September 11, 1972?
### Context:
CREATE TABLE table_25800134_17 (writer_s_ VARCHAR, airdate VARCHAR)
### Response:
### Response:
SELECT writer_s_ FROM table_25800134_17 WHERE airdate = "September 11, 1972"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
Who is the original artist of "Use Somebody"?
### Context:
CREATE TABLE table_28715942_6 (original_artist VARCHAR, track VARCHAR)
### Response:
### Response:
SELECT original_artist FROM table_28715942_6 WHERE track = "Use Somebody"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What were the total apps for Dunne in season where he had 0 league goals?
### Context:
CREATE TABLE table_2980024_1 (total_apps VARCHAR, league_goals VARCHAR)
### Response:
### Response:
SELECT total_apps FROM table_2980024_1 WHERE league_goals = 0</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
Find the cities which have exactly two airports.
### Context:
CREATE TABLE airports (city VARCHAR)
### Response:
### Response:
SELECT city FROM airports GROUP BY city HAVING COUNT(*) = 2</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
Who was the girl of the week 3 weeks after brianne bailey in the same month?
### Context:
CREATE TABLE table_name_65 (week_5 VARCHAR, week_2 VARCHAR)
### Response:
### Response:
SELECT week_5 FROM table_name_65 WHERE week_2 = "brianne bailey"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What is the chassis of rahel frey's volkswagen engine?
### Context:
CREATE TABLE table_name_74 (chassis VARCHAR, engine VARCHAR, driver VARCHAR)
### Response:
### Response:
SELECT chassis FROM table_name_74 WHERE engine = "volkswagen" AND driver = "rahel frey"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What was the name of the host team dated December 16?
### Context:
CREATE TABLE table_name_39 (host_team VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT host_team FROM table_name_39 WHERE date = "december 16"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
Name the sum of gold which has a silver more than 1
### Context:
CREATE TABLE table_name_23 (gold INTEGER, silver INTEGER)
### Response:
### Response:
SELECT SUM(gold) FROM table_name_23 WHERE silver > 1</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
what is the average total when bronze is more than 0, gold is 0, the nation is united states (usa) and silver is 0?
### Context:
CREATE TABLE table_name_99 (total INTEGER, silver VARCHAR, nation VARCHAR, bronze VARCHAR, gold VARCHAR)
### Response:
### Response:
SELECT AVG(total) FROM table_name_99 WHERE bronze > 0 AND gold = 0 AND nation = "united states (usa)" AND silver < 0</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
Tell me the average top 25 with events of 5 and cuts madde less than 3
### Context:
CREATE TABLE table_name_33 (top_25 INTEGER, events VARCHAR, cuts_made VARCHAR)
### Response:
### Response:
SELECT AVG(top_25) FROM table_name_33 WHERE events = 5 AND cuts_made < 3</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
Achievement of m (ft), and a Type of mi-10r, and a Pilot of v.p. koloshenko, and a Date of 28 may 1965 had what record description?
### Context:
CREATE TABLE table_name_96 (record_description VARCHAR, date VARCHAR, pilot VARCHAR, achievement VARCHAR, type VARCHAR)
### Response:
### Response:
SELECT record_description FROM table_name_96 WHERE achievement = "m (ft)" AND type = "mi-10r" AND pilot = "v.p. koloshenko" AND date = "28 may 1965"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
Name the tournament venue for big sky conference
### Context:
CREATE TABLE table_22849575_6 (tournament_venue__city_ VARCHAR, conference VARCHAR)
### Response:
### Response:
SELECT tournament_venue__city_ FROM table_22849575_6 WHERE conference = "Big Sky conference"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
In which competition or tour was nordsjælland the opponent with a hr Ground?
### Context:
CREATE TABLE table_name_73 (competition_or_tour VARCHAR, ground VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT competition_or_tour FROM table_name_73 WHERE ground = "hr" AND opponent = "nordsjælland"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What is the maximum number of miles reached in a Texas landfall when the Saffir-Simpson category is smaller than 3.0?
### Context:
CREATE TABLE table_15416002_1 (r_miles_ INTEGER, landfall VARCHAR, saffir_simpson_category VARCHAR)
### Response:
### Response:
SELECT MAX(r_miles_) FROM table_15416002_1 WHERE landfall = "Texas" AND saffir_simpson_category < 3.0</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What was the record on September 26?
### Context:
CREATE TABLE table_name_79 (record VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_79 WHERE date = "september 26"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
Name the opponent in the final for year of 1888
### Context:
CREATE TABLE table_name_36 (opponent_in_the_final VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT opponent_in_the_final FROM table_name_36 WHERE year = 1888</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What is the 2nd leg of team 2 Far rabat?
### Context:
CREATE TABLE table_name_92 (team_2 VARCHAR)
### Response:
### Response:
SELECT 2 AS nd_leg FROM table_name_92 WHERE team_2 = "far rabat"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What was the name when the state was wey?
### Context:
CREATE TABLE table_name_22 (name VARCHAR, state VARCHAR)
### Response:
### Response:
SELECT name FROM table_name_22 WHERE state = "wey"</s>
|
<s>### Instruction:
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.
### Dialect:
sqlite
### Input:
What city was the circuit of mallala motor sport park?
### Context:
CREATE TABLE table_name_48 (city___state VARCHAR, circuit VARCHAR)
### Response:
### Response:
SELECT city___state FROM table_name_48 WHERE circuit = "mallala motor sport park"</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.