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 in Xenia's Diameter in km, with a latitude of 14 and a longitude of 249.4?
### Context:
CREATE TABLE table_name_71 (diameter__km_ VARCHAR, longitude VARCHAR, latitude VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT COUNT(diameter__km_) FROM table_name_71 WHERE latitude < 14 AND name = "xenia" AND longitude > 249.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 is Event, when Position is 4th?
### Context:
CREATE TABLE table_name_94 (event VARCHAR, position VARCHAR)
### Response:
### Response:
SELECT event FROM table_name_94 WHERE position = "4th"</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 party has wa as the state, and hon victor garland as the memeber?
### Context:
CREATE TABLE table_name_14 (party VARCHAR, state VARCHAR, member VARCHAR)
### Response:
### Response:
SELECT party FROM table_name_14 WHERE state = "wa" AND member = "hon victor garland"</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 Date has a Runner(s)-up of bernhard langer, and a Tournament of at&t championship?
### Context:
CREATE TABLE table_name_3 (date VARCHAR, runner_s__up VARCHAR, tournament VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_3 WHERE runner_s__up = "bernhard langer" AND tournament = "at&t championship"</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 team classification for stage of 20
### Context:
CREATE TABLE table_name_92 (team_classification VARCHAR, stage VARCHAR)
### Response:
### Response:
SELECT team_classification FROM table_name_92 WHERE stage = "20"</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 first appearance of the character played by Obdul Reid?
### Context:
CREATE TABLE table_26240046_1 (first_appearance VARCHAR, played_by VARCHAR)
### Response:
### Response:
SELECT first_appearance FROM table_26240046_1 WHERE played_by = "Obdul Reid"</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 station owns Moody Bible Institute
### Context:
CREATE TABLE table_134729_3 (format VARCHAR, owner VARCHAR)
### Response:
### Response:
SELECT format FROM table_134729_3 WHERE owner = "Moody Bible Institute"</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 number of goals for the player from 2008-present named tony beltran, ranked lower than 7?
### Context:
CREATE TABLE table_name_98 (goals INTEGER, rank VARCHAR, years VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT MIN(goals) FROM table_name_98 WHERE years = "2008-present" AND player = "tony beltran" AND rank > 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 seats became avaliable in Massachusetts 3rd district?
### Context:
CREATE TABLE table_224840_4 (vacator VARCHAR, district VARCHAR)
### Response:
### Response:
SELECT COUNT(vacator) FROM table_224840_4 WHERE district = "Massachusetts 3rd"</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 did janae stokes play?
### Context:
CREATE TABLE table_23346303_4 (games_played INTEGER, player VARCHAR)
### Response:
### Response:
SELECT MAX(games_played) FROM table_23346303_4 WHERE player = "Janae Stokes"</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 formats have a region of Europe and Catalog value of WEBB185?
### Context:
CREATE TABLE table_name_28 (format_s_ VARCHAR, region VARCHAR, catalog VARCHAR)
### Response:
### Response:
SELECT format_s_ FROM table_name_28 WHERE region = "europe" AND catalog = "webb185"</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 goals conceded for a team with 2 draws, more than 29 goals and a diff larger than 15?
### Context:
CREATE TABLE table_name_84 (goals_conceded__gc_ INTEGER, ____dif_ VARCHAR, draw__pe_ VARCHAR, goals_scored__gf_ VARCHAR)
### Response:
### Response:
SELECT MAX(goals_conceded__gc_) FROM table_name_84 WHERE draw__pe_ = 2 AND goals_scored__gf_ > 29 AND ____dif_ > 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:
With an average finish of 29.0, what was the average start?
### Context:
CREATE TABLE table_2190919_3 (avg_start VARCHAR, avg_finish VARCHAR)
### Response:
### Response:
SELECT avg_start FROM table_2190919_3 WHERE avg_finish = "29.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:
Name the date for series 2-2
### Context:
CREATE TABLE table_17622423_12 (date VARCHAR, series VARCHAR)
### Response:
### Response:
SELECT date FROM table_17622423_12 WHERE series = "2-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 event when the result is loss and the record is 7-5?
### Context:
CREATE TABLE table_name_50 (event VARCHAR, result VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT event FROM table_name_50 WHERE result = "loss" AND record = "7-5"</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 away team at lake oval?
### Context:
CREATE TABLE table_name_28 (away_team VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT away_team FROM table_name_28 WHERE venue = "lake oval"</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 conformity to original design if registration is HB-DAI?
### Context:
CREATE TABLE table_22180353_1 (conformity_to_original_design VARCHAR, registration VARCHAR)
### Response:
### Response:
SELECT conformity_to_original_design FROM table_22180353_1 WHERE registration = "HB-DAI"</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 apartment type codes and apartment numbers in the buildings managed by "Kyle".
### Context:
CREATE TABLE Apartment_Buildings (building_id VARCHAR, building_manager VARCHAR); CREATE TABLE Apartments (apt_type_code VARCHAR, apt_number VARCHAR, building_id VARCHAR)
### Response:
### Response:
SELECT T2.apt_type_code, T2.apt_number FROM Apartment_Buildings AS T1 JOIN Apartments AS T2 ON T1.building_id = T2.building_id WHERE T1.building_manager = "Kyle"</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 first leg with an agg of 10-2?
### Context:
CREATE TABLE table_name_31 (agg VARCHAR)
### Response:
### Response:
SELECT 1 AS st_leg FROM table_name_31 WHERE agg = "10-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 official ITV1 rating in millions of the Live Final Results episode?
### Context:
CREATE TABLE table_27319183_5 (official_itv1_rating__millions_ VARCHAR, episode VARCHAR)
### Response:
### Response:
SELECT official_itv1_rating__millions_ FROM table_27319183_5 WHERE episode = "Live final results"</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:
If the amount of U.S. viewers is 2.05 milliom, who was the episode directed by?
### Context:
CREATE TABLE table_23399481_2 (directed_by VARCHAR, us_viewers__in_millions_ VARCHAR)
### Response:
### Response:
SELECT directed_by FROM table_23399481_2 WHERE us_viewers__in_millions_ = "2.05"</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:
On which date did Footscray play an away game?
### Context:
CREATE TABLE table_name_48 (date VARCHAR, away_team VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_48 WHERE away_team = "footscray"</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 sambalpuri saree with a samaleswari temple as sambalpuri language?
### Context:
CREATE TABLE table_name_22 (sambalpuri_saree VARCHAR, sambalpuri_language VARCHAR)
### Response:
### Response:
SELECT sambalpuri_saree FROM table_name_22 WHERE sambalpuri_language = "samaleswari temple"</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 day was the opposing team Australia and the against 25?
### Context:
CREATE TABLE table_name_77 (date VARCHAR, against VARCHAR, opposing_teams VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_77 WHERE against = 25 AND opposing_teams = "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:
what is the status in vestal
### Context:
CREATE TABLE table_18159601_1 (status VARCHAR, city VARCHAR)
### Response:
### Response:
SELECT status FROM table_18159601_1 WHERE city = "Vestal"</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 award category was the film series The Wire nominated for after 2005?
### Context:
CREATE TABLE table_name_20 (category VARCHAR, year VARCHAR, result VARCHAR, film_or_series VARCHAR)
### Response:
### Response:
SELECT category FROM table_name_20 WHERE result = "nominated" AND film_or_series = "the wire" AND year > 2005</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 the Enernoc Australia Pty Ltd, what's the country with an unknown date?
### Context:
CREATE TABLE table_name_15 (country VARCHAR, date VARCHAR, company VARCHAR)
### Response:
### Response:
SELECT country FROM table_name_15 WHERE date = "unknown" AND company = "enernoc australia pty ltd"</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:
On which date was the 2006 FIFA World Cup Qualification in Manama, Bahrain?
### Context:
CREATE TABLE table_name_57 (date VARCHAR, venue VARCHAR, competition VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_57 WHERE venue = "manama, bahrain" AND competition = "2006 fifa world cup qualification"</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 lyricist for the song with music directed by madan mohan kohli?
### Context:
CREATE TABLE table_2528382_1 (lyricist VARCHAR, music_director VARCHAR)
### Response:
### Response:
SELECT lyricist FROM table_2528382_1 WHERE music_director = "Madan Mohan Kohli"</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 periods had 15 goals?
### Context:
CREATE TABLE table_24565004_11 (period VARCHAR, goals¹ VARCHAR)
### Response:
### Response:
SELECT COUNT(period) FROM table_24565004_11 WHERE goals¹ = 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 competition was at the Daugava Stadium, Riga, Latvia?
### Context:
CREATE TABLE table_name_19 (competition VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT competition FROM table_name_19 WHERE venue = "daugava stadium, riga, latvia"</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 countries that have at least two perpetrators?
### Context:
CREATE TABLE perpetrator (Country VARCHAR)
### Response:
### Response:
SELECT Country, COUNT(*) FROM perpetrator GROUP BY Country 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:
Which polling institute showed a lead of 6%?
### Context:
CREATE TABLE table_name_1 (polling_institute VARCHAR, lead VARCHAR)
### Response:
### Response:
SELECT polling_institute FROM table_name_1 WHERE lead = "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:
What date had the home team as brentford?
### Context:
CREATE TABLE table_name_30 (date VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_30 WHERE home_team = "brentford"</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 sum of Top-10(s), when Cuts made is less than 10, and when Top-5 is less than 0?
### Context:
CREATE TABLE table_name_95 (top_10 INTEGER, cuts_made VARCHAR, top_5 VARCHAR)
### Response:
### Response:
SELECT SUM(top_10) FROM table_name_95 WHERE cuts_made < 10 AND top_5 < 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 is the class of the team when less than 6 laps were completed?
### Context:
CREATE TABLE table_name_31 (class VARCHAR, laps INTEGER)
### Response:
### Response:
SELECT class FROM table_name_31 WHERE laps < 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:
What is the average amount of goals that have a goal difference or 8 and the losses are smaller than 12?
### Context:
CREATE TABLE table_name_99 (goals_for INTEGER, goal_difference VARCHAR, losses VARCHAR)
### Response:
### Response:
SELECT AVG(goals_for) FROM table_name_99 WHERE goal_difference = 8 AND losses < 12</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:
Played that has a Points of 38, and a B.P. larger than 5 has what sum?
### Context:
CREATE TABLE table_name_52 (played INTEGER, points VARCHAR, bp VARCHAR)
### Response:
### Response:
SELECT SUM(played) FROM table_name_52 WHERE points = 38 AND bp > 5</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 imperative has måcha as 3.sg?
### Context:
CREATE TABLE table_name_94 (imperative VARCHAR, måcha VARCHAR)
### Response:
### Response:
SELECT imperative FROM table_name_94 WHERE måcha = "3.sg"</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 event in the 2008 Beijing Games had a bronze medal?
### Context:
CREATE TABLE table_name_34 (event VARCHAR, games VARCHAR, medal VARCHAR)
### Response:
### Response:
SELECT event FROM table_name_34 WHERE games = "2008 beijing" AND medal = "bronze"</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:
On what date was the catalog cy-24623 for New Zealand?
### Context:
CREATE TABLE table_name_64 (date VARCHAR, region VARCHAR, catalog VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_64 WHERE region = "new zealand" AND catalog = "cy-24623"</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 nominee nominated for outstanding featured actor in a musical?
### Context:
CREATE TABLE table_name_65 (nominee VARCHAR, category VARCHAR, result VARCHAR)
### Response:
### Response:
SELECT nominee FROM table_name_65 WHERE category = "outstanding featured actor in a musical" AND result = "nominated"</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 Position, when College is "Houston"?
### Context:
CREATE TABLE table_name_97 (position VARCHAR, college VARCHAR)
### Response:
### Response:
SELECT position FROM table_name_97 WHERE college = "houston"</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 away team did Melbourne play as the home team?
### Context:
CREATE TABLE table_name_61 (away_team VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT away_team FROM table_name_61 WHERE home_team = "melbourne"</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 year for jesus alfaro and finish of 6th
### Context:
CREATE TABLE table_name_65 (year VARCHAR, manager VARCHAR, finish VARCHAR)
### Response:
### Response:
SELECT year FROM table_name_65 WHERE manager = "jesus alfaro" AND finish = "6th"</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 Medal had a Name of manuel felix diaz?
### Context:
CREATE TABLE table_name_1 (medal VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT medal FROM table_name_1 WHERE name = "manuel felix diaz"</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:
When there was a bye in the round of 32, what was the result in the round of 16?
### Context:
CREATE TABLE table_1745820_5 (semifinals VARCHAR, round_of_32 VARCHAR)
### Response:
### Response:
SELECT semifinals FROM table_1745820_5 WHERE round_of_32 = "Bye"</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 chinese name of the province whose capital is hangzhou?
### Context:
CREATE TABLE table_254234_1 (chinese_name VARCHAR, capital VARCHAR)
### Response:
### Response:
SELECT chinese_name FROM table_254234_1 WHERE capital = "Hangzhou"</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 2010 result of a tournament that is A in 2006 and A in 2011?
### Context:
CREATE TABLE table_name_40 (Id VARCHAR)
### Response:
### Response:
SELECT 2010 FROM table_name_40 WHERE 2011 = "a" AND 2006 = "a"</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 has the high points when 53-27 is the record?
### Context:
CREATE TABLE table_23284271_10 (high_points VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT high_points FROM table_23284271_10 WHERE record = "53-27"</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 of the game with a game number greater than 7 at boston garden with the providence steam rollers as the opponent?
### Context:
CREATE TABLE table_name_46 (record VARCHAR, opponent VARCHAR, game VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_46 WHERE game > 7 AND location = "boston garden" AND opponent = "providence steam rollers"</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 birthday of the staff member with first name as Janessa and last name as Sawayn?
### Context:
CREATE TABLE Staff (date_of_birth VARCHAR, first_name VARCHAR, last_name VARCHAR)
### Response:
### Response:
SELECT date_of_birth FROM Staff WHERE first_name = "Janessa" AND last_name = "Sawayn"</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 circuit did marlboro team penske win with an unknown fastest lap?
### Context:
CREATE TABLE table_name_67 (circuit VARCHAR, winning_team VARCHAR, fastest_lap VARCHAR)
### Response:
### Response:
SELECT circuit FROM table_name_67 WHERE winning_team = "marlboro team penske" AND fastest_lap = "unknown"</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 in 2004 has a 2003 of 1r and Wimbledon Tournament
### Context:
CREATE TABLE table_name_34 (tournament VARCHAR)
### Response:
### Response:
SELECT 2004 FROM table_name_34 WHERE 2003 = "1r" AND tournament = "wimbledon"</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 day was the score 1-0?
### Context:
CREATE TABLE table_name_39 (date VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_39 WHERE score = "1-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 is the place of player john cook?
### Context:
CREATE TABLE table_name_73 (place VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT place FROM table_name_73 WHERE player = "john cook"</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 district is Joe Moakley?
### Context:
CREATE TABLE table_1341423_21 (district VARCHAR, incumbent VARCHAR)
### Response:
### Response:
SELECT district FROM table_1341423_21 WHERE incumbent = "Joe Moakley"</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 Rank has an Opposition of limerick?
### Context:
CREATE TABLE table_name_12 (rank VARCHAR, opposition VARCHAR)
### Response:
### Response:
SELECT rank FROM table_name_12 WHERE opposition = "limerick"</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:
When the Away team is melbourne, what venue do they play at?
### Context:
CREATE TABLE table_name_74 (venue VARCHAR, away_team VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_74 WHERE away_team = "melbourne"</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 Player, when Place is "1"?
### Context:
CREATE TABLE table_name_43 (player VARCHAR, place VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_43 WHERE place = "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:
Name the representative appointed by george w. bush with presentation of credentials 9 november 2007
### Context:
CREATE TABLE table_name_65 (representative VARCHAR, appointed_by VARCHAR, presentation_of_credentials VARCHAR)
### Response:
### Response:
SELECT representative FROM table_name_65 WHERE appointed_by = "george w. bush" AND presentation_of_credentials = "9 november 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:
In the country where Bush won 4333 votes, what percentage did other receive?
### Context:
CREATE TABLE table_13625792_1 (other__percentage VARCHAR, bush__number VARCHAR)
### Response:
### Response:
SELECT other__percentage FROM table_13625792_1 WHERE bush__number = 4333</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 Bronco's record when they played the Detroit Lions at Mile High Stadium?
### Context:
CREATE TABLE table_name_98 (record VARCHAR, game_site VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_98 WHERE game_site = "mile high stadium" AND opponent = "detroit lions"</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 Placement when the Candidate is Jean-Patrick Berthiaume?
### Context:
CREATE TABLE table_name_96 (placement VARCHAR, candidate VARCHAR)
### Response:
### Response:
SELECT placement FROM table_name_96 WHERE candidate = "jean-patrick berthiaume"</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 televotes for 1 draw?
### Context:
CREATE TABLE table_name_74 (televotes VARCHAR, draw VARCHAR)
### Response:
### Response:
SELECT televotes FROM table_name_74 WHERE draw = 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 highest number of laps that also has a finish total of 8?
### Context:
CREATE TABLE table_name_98 (laps INTEGER, finish VARCHAR)
### Response:
### Response:
SELECT MAX(laps) FROM table_name_98 WHERE finish = "8"</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 D 44 when it has a D 46 of d 31
### Context:
CREATE TABLE table_name_63 (d_44 VARCHAR, d_46 VARCHAR)
### Response:
### Response:
SELECT d_44 FROM table_name_63 WHERE d_46 = "d 31"</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 ERP W has a Frequency MHz of 89.3 fm?
### Context:
CREATE TABLE table_name_98 (erp_w INTEGER, frequency_mhz VARCHAR)
### Response:
### Response:
SELECT MAX(erp_w) FROM table_name_98 WHERE frequency_mhz = "89.3 fm"</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 State has an Electorate of West Sydney?
### Context:
CREATE TABLE table_name_74 (state VARCHAR, electorate VARCHAR)
### Response:
### Response:
SELECT state FROM table_name_74 WHERE electorate = "west sydney"</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 Label of the Release with Catalog number 2508668?
### Context:
CREATE TABLE table_name_51 (label VARCHAR, catalog VARCHAR)
### Response:
### Response:
SELECT label FROM table_name_51 WHERE catalog = "2508668"</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 runner up before 2007?
### Context:
CREATE TABLE table_name_93 (runner_up VARCHAR, season INTEGER)
### Response:
### Response:
SELECT runner_up FROM table_name_93 WHERE season < 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 year had less than 160 laps and a rank of 26?
### Context:
CREATE TABLE table_name_25 (year VARCHAR, laps VARCHAR, rank VARCHAR)
### Response:
### Response:
SELECT year FROM table_name_25 WHERE laps < 160 AND rank = "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:
What is the withdrawal rate for the school district with a graduation rate of 89.3%?
### Context:
CREATE TABLE table_21514460_1 (withdrawal_rate__2010_11_ VARCHAR, graduation_rate__2011_12_ VARCHAR)
### Response:
### Response:
SELECT withdrawal_rate__2010_11_ FROM table_21514460_1 WHERE graduation_rate__2011_12_ = "89.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:
What are all the AAAA classes in the schools years 2004-05?
### Context:
CREATE TABLE table_14603212_5 (class_aAAA VARCHAR, school_year VARCHAR)
### Response:
### Response:
SELECT class_aAAA FROM table_14603212_5 WHERE school_year = "2004-05"</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 away team that played Geelong?
### Context:
CREATE TABLE table_name_37 (away_team VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT away_team FROM table_name_37 WHERE home_team = "geelong"</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 Language Director of nagisa oshima use in his film?
### Context:
CREATE TABLE table_name_54 (language VARCHAR, director VARCHAR)
### Response:
### Response:
SELECT language FROM table_name_54 WHERE director = "nagisa oshima"</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 lowest Round with the Location, Las Vegas, Nevada, the Method, Decision (unanimous), and the Event, K-1 World Grand Prix 2003 in Las Vegas II?
### Context:
CREATE TABLE table_name_87 (round INTEGER, event VARCHAR, location VARCHAR, method VARCHAR)
### Response:
### Response:
SELECT MIN(round) FROM table_name_87 WHERE location = "las vegas, nevada" AND method = "decision (unanimous)" AND event = "k-1 world grand prix 2003 in las vegas ii"</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:
on april 29, what was the attendance?
### Context:
CREATE TABLE table_name_68 (attendance INTEGER, date VARCHAR)
### Response:
### Response:
SELECT SUM(attendance) FROM table_name_68 WHERE date = "april 29"</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 most swimsuit for interview less than 8.46
### Context:
CREATE TABLE table_name_1 (swimsuit INTEGER, interview INTEGER)
### Response:
### Response:
SELECT MAX(swimsuit) FROM table_name_1 WHERE interview < 8.46</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 Transocean Richardson, a semi entered into service in 1988?
### Context:
CREATE TABLE table_name_31 (location VARCHAR, name VARCHAR, type VARCHAR, entered_service VARCHAR)
### Response:
### Response:
SELECT location FROM table_name_31 WHERE type = "semi" AND entered_service = "1988" AND name = "transocean richardson"</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 method was used that had a resulting win against opponent, Natsuko Kikukawa?
### Context:
CREATE TABLE table_name_56 (method VARCHAR, res VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT method FROM table_name_56 WHERE res = "win" AND opponent = "natsuko kikukawa"</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 birth date of the person who died on 18 October 1335?
### Context:
CREATE TABLE table_name_94 (birth VARCHAR, death VARCHAR)
### Response:
### Response:
SELECT birth FROM table_name_94 WHERE death = "18 october 1335"</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 club scored 143 goals?
### Context:
CREATE TABLE table_name_71 (club VARCHAR, goals VARCHAR)
### Response:
### Response:
SELECT club FROM table_name_71 WHERE goals = "143"</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 lead percentage when the socialist is at 35.5%?
### Context:
CREATE TABLE table_15125201_1 (lead VARCHAR, socialist VARCHAR)
### Response:
### Response:
SELECT lead FROM table_15125201_1 WHERE socialist = "35.5%"</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 losses of the playoffs season?
### Context:
CREATE TABLE table_name_56 (losses VARCHAR, season VARCHAR)
### Response:
### Response:
SELECT losses FROM table_name_56 WHERE season = "playoffs"</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 in the 2010 Europe/Africa Group IIB edition?
### Context:
CREATE TABLE table_27877656_8 (outcome VARCHAR, edition VARCHAR)
### Response:
### Response:
SELECT outcome FROM table_27877656_8 WHERE edition = "2010 Europe/Africa Group IIB"</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 crew had u15 3rd iv being bgs and u15 1st iv being acgs and open 1st viii being acgs
### Context:
CREATE TABLE table_11318462_5 (crew VARCHAR, open_1st_viii VARCHAR, u15_3rd_iv VARCHAR, u15_1st_iv VARCHAR)
### Response:
### Response:
SELECT COUNT(crew) FROM table_11318462_5 WHERE u15_3rd_iv = "BGS" AND u15_1st_iv = "ACGS" AND open_1st_viii = "ACGS"</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 Adam Gilchrist from?
### Context:
CREATE TABLE table_11303072_9 (nationality VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT nationality FROM table_11303072_9 WHERE player = "Adam Gilchrist"</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 lowest number of 2008 total bearers with a rank less than 13 and the Surname Jansson?
### Context:
CREATE TABLE table_name_13 (number_of_bearers_2008 INTEGER, surname VARCHAR, rank VARCHAR)
### Response:
### Response:
SELECT MIN(number_of_bearers_2008) FROM table_name_13 WHERE surname = "jansson" AND rank < 13</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 Binibining Pilipinas International has a Binibining Pilipinas-World of sharmaine gutierrez?
### Context:
CREATE TABLE table_name_24 (binibining_pilipinas_international VARCHAR, binibining_pilipinas_world VARCHAR)
### Response:
### Response:
SELECT binibining_pilipinas_international FROM table_name_24 WHERE binibining_pilipinas_world = "sharmaine gutierrez"</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 country, competing in the Mr. International competition, that holds a rank of 3, has how many 2nd runners up?
### Context:
CREATE TABLE table_20325360_2 (rank VARCHAR)
### Response:
### Response:
SELECT COUNT(2 AS nd_runner_up) FROM table_20325360_2 WHERE rank = 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:
What Date that had a Result of draw, with Oval as a venue?
### Context:
CREATE TABLE table_name_32 (date VARCHAR, result VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_32 WHERE result = "draw" AND venue = "oval"</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 place that was founded in 1920
### Context:
CREATE TABLE table_262560_1 (institution VARCHAR, founded VARCHAR)
### Response:
### Response:
SELECT institution FROM table_262560_1 WHERE founded = 1920</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 total number of Goals Scored, when the Team is San Salvador F.C., and when the Points are less than 10?
### Context:
CREATE TABLE table_name_33 (goals_scored INTEGER, team VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT MAX(goals_scored) FROM table_name_33 WHERE team = "san salvador f.c." AND points < 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:
What place is Ben Hogan?
### Context:
CREATE TABLE table_name_49 (place VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT place FROM table_name_49 WHERE player = "ben hogan"</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 years for Kawerau Putauaki School?
### Context:
CREATE TABLE table_name_98 (years VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT years FROM table_name_98 WHERE name = "kawerau putauaki school"</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 sales in Japan for the release totaling 1.82 million?
### Context:
CREATE TABLE table_name_88 (japan VARCHAR, total VARCHAR)
### Response:
### Response:
SELECT japan FROM table_name_88 WHERE total = "1.82 million"</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 Lost has Points of 28 and a Drawn smaller than 8?
### Context:
CREATE TABLE table_name_47 (lost INTEGER, points VARCHAR, drawn VARCHAR)
### Response:
### Response:
SELECT AVG(lost) FROM table_name_47 WHERE points = 28 AND drawn < 8</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 weight values associated with 340 blocks and more than 353 spikes?
### Context:
CREATE TABLE table_name_7 (weight VARCHAR, block VARCHAR, spike VARCHAR)
### Response:
### Response:
SELECT COUNT(weight) FROM table_name_7 WHERE block = 340 AND spike > 353</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 number of dorms and total capacity for each gender.
### Context:
CREATE TABLE dorm (gender VARCHAR, student_capacity INTEGER)
### Response:
### Response:
SELECT COUNT(*), SUM(student_capacity), gender FROM dorm GROUP BY gender</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.