prompt
stringlengths 669
1.39k
|
---|
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>Which Played has a Lost larger than 2, and a Team of américa?
SQL Table Create Statement:
CREATE TABLE table_name_4 (played VARCHAR, lost VARCHAR, team VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT played FROM table_name_4 WHERE lost > 2 AND team = "américa"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>Where was the game that the Indianapolis Colts lost 24-14?
SQL Table Create Statement:
CREATE TABLE table_name_23 (location VARCHAR, loser VARCHAR, result VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT location FROM table_name_23 WHERE loser = "indianapolis colts" AND result = "24-14"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What was the average number of people born in other EU states in millions, when the number of people born in a non EU state in millions was 31.368, and when the total population in millions was higher than 501.098?
SQL Table Create Statement:
CREATE TABLE table_name_88 (born_in_other_eu_state__millions_ INTEGER, born_in_a_non_eu_state__millions_ VARCHAR, total_population__millions_ VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT AVG(born_in_other_eu_state__millions_) FROM table_name_88 WHERE born_in_a_non_eu_state__millions_ = 31.368 AND total_population__millions_ > 501.098</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is listed under occupation for someone from Santa Monica, California?
SQL Table Create Statement:
CREATE TABLE table_name_71 (occupation VARCHAR, hometown VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT occupation FROM table_name_71 WHERE hometown = "santa monica, california"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the Serial number of the Locomotive that Entered Service in November 1984 and has an Owner of Chicago Freight Car Leasing Australia?
SQL Table Create Statement:
CREATE TABLE table_name_90 (serial_no VARCHAR, entered_service VARCHAR, owner VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT serial_no FROM table_name_90 WHERE entered_service = "november 1984" AND owner = "chicago freight car leasing australia"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What was the location that had an accident by the F-27-600RF aircraft with tail number 6O-SAZ?
SQL Table Create Statement:
CREATE TABLE table_name_42 (location VARCHAR, aircraft VARCHAR, tail_number VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT location FROM table_name_42 WHERE aircraft = "f-27-600rf" AND tail_number = "6o-saz"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>Which champion has sentosa golf club as the tournament location?
SQL Table Create Statement:
CREATE TABLE table_name_55 (champion VARCHAR, tournament_location VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT champion FROM table_name_55 WHERE tournament_location = "sentosa golf club"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What name has pembroke as the built by hm dockyard, and may 1825 as the laid down?
SQL Table Create Statement:
CREATE TABLE table_name_79 (name VARCHAR, built_by_hm_dockyard VARCHAR, laid_down VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT name FROM table_name_79 WHERE built_by_hm_dockyard = "pembroke" AND laid_down = "may 1825"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>How many years have a conventional plan of 7%?
SQL Table Create Statement:
CREATE TABLE table_name_24 (year INTEGER, conventional_plans VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT SUM(year) FROM table_name_24 WHERE conventional_plans = "7%"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>Name the least place for draw more than 3 and points of 8
SQL Table Create Statement:
CREATE TABLE table_name_47 (place INTEGER, draw VARCHAR, points VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT MIN(place) FROM table_name_47 WHERE draw > 3 AND points = 8</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What season had Kanto Gakuin University as the winner, with an attendance of n/a, and a title of 37th?
SQL Table Create Statement:
CREATE TABLE table_name_62 (season VARCHAR, title VARCHAR, winner VARCHAR, attendance VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT season FROM table_name_62 WHERE winner = "kanto gakuin university" AND attendance = "n/a" AND title = "37th"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>Which Award has a Year smaller than 2004, and a Work of the clone, and a Result of won, and a Category of favourite actress?
SQL Table Create Statement:
CREATE TABLE table_name_45 (award VARCHAR, category VARCHAR, result VARCHAR, year VARCHAR, work VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT award FROM table_name_45 WHERE year < 2004 AND work = "the clone" AND result = "won" AND category = "favourite actress"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the sum of Year opened when the span feet is more than 1247, and the spam metres is 384?
SQL Table Create Statement:
CREATE TABLE table_name_13 (year_opened INTEGER, span_feet VARCHAR, span_metres VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT SUM(year_opened) FROM table_name_13 WHERE span_feet > 1247 AND span_metres = 384</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>For the tournament ending with a margin of victory of 6 strokes, what was the winning score?
SQL Table Create Statement:
CREATE TABLE table_name_90 (winning_score VARCHAR, margin_of_victory VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT winning_score FROM table_name_90 WHERE margin_of_victory = "6 strokes"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the connection with Australia when the connection with America shows born in the u.s.; mother is u.s. citizen?
SQL Table Create Statement:
CREATE TABLE table_name_74 (connection_with_australia VARCHAR, connection_with_america VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT connection_with_australia FROM table_name_74 WHERE connection_with_america = "born in the u.s.; mother is u.s. citizen"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the 2011 when the Tournament was the grand slam tournaments?
SQL Table Create Statement:
CREATE TABLE table_name_63 (tournament VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT 2011 FROM table_name_63 WHERE tournament = "grand slam tournaments"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the Former local authority for Ecclesfield?
SQL Table Create Statement:
CREATE TABLE table_name_96 (former_local_authority VARCHAR, name VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT former_local_authority FROM table_name_96 WHERE name = "ecclesfield"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>Who was the 3rd place team at Pardubice?
SQL Table Create Statement:
CREATE TABLE table_name_41 (venue VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT 3 AS rd_place FROM table_name_41 WHERE venue = "pardubice"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>Which tournament had an outcome of winner, a hard surface, and happened on August 26, 2006?
SQL Table Create Statement:
CREATE TABLE table_name_76 (tournament VARCHAR, date VARCHAR, outcome VARCHAR, surface VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT tournament FROM table_name_76 WHERE outcome = "winner" AND surface = "hard" AND date = "august 26, 2006"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>During which stage was the Intergiro classification held by Miguel Indurain, the Points classification held by Mario Cipollini, and the Young rider classification held by Leonardo Sierra?
SQL Table Create Statement:
CREATE TABLE table_name_76 (stage VARCHAR, young_rider_classification VARCHAR, intergiro_classification VARCHAR, points_classification VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT stage FROM table_name_76 WHERE intergiro_classification = "miguel indurain" AND points_classification = "mario cipollini" AND young_rider_classification = "leonardo sierra"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What was the outcome of the match against andy roddick?
SQL Table Create Statement:
CREATE TABLE table_name_78 (outcome VARCHAR, opponent VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT outcome FROM table_name_78 WHERE opponent = "andy roddick"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the to par that has england as the country, with 66 as a score?
SQL Table Create Statement:
CREATE TABLE table_name_95 (to_par VARCHAR, country VARCHAR, score VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT to_par FROM table_name_95 WHERE country = "england" AND score = 66</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the name of the player with a To par of –4?
SQL Table Create Statement:
CREATE TABLE table_name_41 (player VARCHAR, to_par VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT player FROM table_name_41 WHERE to_par = "–4"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the location of the match on February 29, 2012?
SQL Table Create Statement:
CREATE TABLE table_name_47 (location VARCHAR, date VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT location FROM table_name_47 WHERE date = "february 29, 2012"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the sum of goals for Torpedo Moscow in division 1 with an apps value less than 29?
SQL Table Create Statement:
CREATE TABLE table_name_48 (goals INTEGER, apps VARCHAR, team VARCHAR, division VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT SUM(goals) FROM table_name_48 WHERE team = "torpedo moscow" AND division = 1 AND apps < 29</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the Date at memorial stadium • minneapolis, mn with an Attendance of 20,000, and a Result of w52-0?
SQL Table Create Statement:
CREATE TABLE table_name_7 (date VARCHAR, result VARCHAR, site VARCHAR, attendance VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT date FROM table_name_7 WHERE site = "memorial stadium • minneapolis, mn" AND attendance = "20,000" AND result = "w52-0"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>Venue of thessaloniki (without participation) had what score?
SQL Table Create Statement:
CREATE TABLE table_name_99 (score VARCHAR, venue VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT score FROM table_name_99 WHERE venue = "thessaloniki (without participation)"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>Which country has Weerawila Airport?
SQL Table Create Statement:
CREATE TABLE table_name_76 (country VARCHAR, airport VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT country FROM table_name_76 WHERE airport = "weerawila airport"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the highest Year, when Rank is less than 28, and when Accolade is "The 100 greatest metal albums of the decade"?
SQL Table Create Statement:
CREATE TABLE table_name_59 (year INTEGER, rank VARCHAR, accolade VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT MAX(year) FROM table_name_59 WHERE rank < 28 AND accolade = "the 100 greatest metal albums of the decade"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>WHich Coat of Cash" Wearing Celebrity has a Episode Number larger than 1 and with amy macdonald ( mr rock & roll )?
SQL Table Create Statement:
CREATE TABLE table_name_92 (episode_number VARCHAR, musical_guest__song_performed_ VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT "coat_of_cash" AS _wearing_celebrity FROM table_name_92 WHERE episode_number > 1 AND musical_guest__song_performed_ = "amy macdonald ( mr rock & roll )"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the sum of Silver with a Bronze that is larger than 0 with a Gold smaller than 0?
SQL Table Create Statement:
CREATE TABLE table_name_26 (silver INTEGER, bronze VARCHAR, gold VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT SUM(silver) FROM table_name_26 WHERE bronze > 0 AND gold < 0</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>Game time of 2nd quarter (0:00), and a Date of november 8, 1971 has how many average yards?
SQL Table Create Statement:
CREATE TABLE table_name_2 (yards INTEGER, game_time VARCHAR, date VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT AVG(yards) FROM table_name_2 WHERE game_time = "2nd quarter (0:00)" AND date = "november 8, 1971"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is Reserved Instruments, when Conduct of Litigation is Yes, and when Probate Activities is Yes?
SQL Table Create Statement:
CREATE TABLE table_name_19 (reserved_instruments VARCHAR, conduct_of_litigation VARCHAR, probate_activities VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT reserved_instruments FROM table_name_19 WHERE conduct_of_litigation = "yes" AND probate_activities = "yes"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the maximum fps HDRx with a height larger than 1080 with a compression at 24 fps of 6:1 with a compression at maximum fps of at least 7:1?
SQL Table Create Statement:
CREATE TABLE table_name_47 (maximum_fps VARCHAR, least_compression_at_maximum_fps VARCHAR, height VARCHAR, least_compression_at_24_fps VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT maximum_fps AS HDRx FROM table_name_47 WHERE height > 1080 AND least_compression_at_24_fps = "6:1" AND least_compression_at_maximum_fps = "7:1"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>On what date was the Transitions Championship?
SQL Table Create Statement:
CREATE TABLE table_name_46 (date VARCHAR, tournament VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT date FROM table_name_46 WHERE tournament = "transitions championship"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the full amount of averages when the sellouts are less than 14, the season is 2011-12, and attendance is less than 162,474?
SQL Table Create Statement:
CREATE TABLE table_name_73 (average VARCHAR, attendance VARCHAR, sellouts VARCHAR, season VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT COUNT(average) FROM table_name_73 WHERE sellouts < 14 AND season = "2011-12" AND attendance < 162 OFFSET 474</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What place was Dave Stockton when he had a to par of +1?
SQL Table Create Statement:
CREATE TABLE table_name_10 (place VARCHAR, to_par VARCHAR, player VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT place FROM table_name_10 WHERE to_par = "+1" AND player = "dave stockton"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What was the time when the laps were smaller than 66 and the grid was 15?
SQL Table Create Statement:
CREATE TABLE table_name_62 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT time_retired FROM table_name_62 WHERE laps < 66 AND grid = 15</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>On September 10 during Strikeforce: Heavyweight Grand Prix Semifinals, what was the PPV buyrate?
SQL Table Create Statement:
CREATE TABLE table_name_77 (ppv_buyrate VARCHAR, date VARCHAR, event VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT ppv_buyrate FROM table_name_77 WHERE date = "september 10" AND event = "strikeforce: heavyweight grand prix semifinals"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the sum of participants in 2013 for Russia when there were 5 in 2010 and less than 4 in 2012?
SQL Table Create Statement:
CREATE TABLE table_name_99 (country VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT SUM(2013) FROM table_name_99 WHERE 2010 = 5 AND country = "russia" AND 2012 < 4</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>Tell me the name for commissioned of 30 august 1941 and laid down of 22 september 1939
SQL Table Create Statement:
CREATE TABLE table_name_73 (name VARCHAR, laid_down VARCHAR, commissioned VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT name FROM table_name_73 WHERE laid_down = "22 september 1939" AND commissioned = "30 august 1941"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the location for the year under 2010 and the year Hei Zhi Hong won silver?
SQL Table Create Statement:
CREATE TABLE table_name_67 (location VARCHAR, year VARCHAR, silver VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT location FROM table_name_67 WHERE year < 2010 AND silver = "hei zhi hong"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the score of the scores when Game had a Record of 17-29?
SQL Table Create Statement:
CREATE TABLE table_name_27 (game INTEGER, record VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT SUM(game) FROM table_name_27 WHERE record = "17-29"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the name of the Leftfielder when the Shortstop was bill russell, and the Second Baseman was steve sax in 1983?
SQL Table Create Statement:
CREATE TABLE table_name_25 (leftfielder VARCHAR, year VARCHAR, shortstop VARCHAR, second_baseman VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT leftfielder FROM table_name_25 WHERE shortstop = "bill russell" AND second_baseman = "steve sax" AND year = 1983</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is Score, when Partnering is "Alexander Waske", and when Opponents In The Final is "Rafael Nadal Bartolomé Salvá-Vidal"?
SQL Table Create Statement:
CREATE TABLE table_name_26 (score VARCHAR, partnering VARCHAR, opponents_in_the_final VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT score FROM table_name_26 WHERE partnering = "alexander waske" AND opponents_in_the_final = "rafael nadal bartolomé salvá-vidal"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>WHAT CHAMPION HAD RICHMOND RIVER COURSE ON JUNE 13?
SQL Table Create Statement:
CREATE TABLE table_name_39 (champion VARCHAR, course VARCHAR, date VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT champion FROM table_name_39 WHERE course = "richmond river" AND date = "june 13"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>what is the sum of bronze when the rank is 5, the nation is poland and gold is less than 0?
SQL Table Create Statement:
CREATE TABLE table_name_89 (bronze INTEGER, gold VARCHAR, rank VARCHAR, nation VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT SUM(bronze) FROM table_name_89 WHERE rank = 5 AND nation = "poland" AND gold < 0</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the last match with a resigned manner of departure and a round 1 date of vacancy?
SQL Table Create Statement:
CREATE TABLE table_name_96 (last_match VARCHAR, manner_of_departure VARCHAR, date_of_vacancy VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT last_match FROM table_name_96 WHERE manner_of_departure = "resigned" AND date_of_vacancy = "round 1"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is teh stage with Daniele Bennati as the points classification and Giovanni VIsconti as the general classification?
SQL Table Create Statement:
CREATE TABLE table_name_36 (stage VARCHAR, points_classification VARCHAR, general_classification VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT stage FROM table_name_36 WHERE points_classification = "daniele bennati" AND general_classification = "giovanni visconti"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>In which title was Ann Rutherford the leading lady for Joseph Kane?
SQL Table Create Statement:
CREATE TABLE table_name_73 (title VARCHAR, leading_lady VARCHAR, director VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT title FROM table_name_73 WHERE leading_lady = "ann rutherford" AND director = "joseph kane"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What years did Elden Campbell category:articles with hcards and jersesy number of 41 play?
SQL Table Create Statement:
CREATE TABLE table_name_31 (years VARCHAR, jersey_number_s_ VARCHAR, player VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT years FROM table_name_31 WHERE jersey_number_s_ = 41 AND player = "elden campbell category:articles with hcards"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>Who was the team captain for Crystal Palace?
SQL Table Create Statement:
CREATE TABLE table_name_56 (captain VARCHAR, team VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT captain FROM table_name_56 WHERE team = "crystal palace"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the name of the player from Malaysia, Kuala Lumpur in Index f8?
SQL Table Create Statement:
CREATE TABLE table_name_67 (name VARCHAR, country VARCHAR, index VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT name FROM table_name_67 WHERE country = "malaysia, kuala lumpur" AND index = "f8"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>Which Perth has Gold Coast yes, Sydney yes, Melbourne yes, and Adelaide yes?
SQL Table Create Statement:
CREATE TABLE table_name_56 (perth VARCHAR, adelaide VARCHAR, melbourne VARCHAR, gold_coast VARCHAR, sydney VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT perth FROM table_name_56 WHERE gold_coast = "yes" AND sydney = "yes" AND melbourne = "yes" AND adelaide = "yes"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the score of the match with UTC as the runner-up and Saint-Gaudens Bears as the winners?
SQL Table Create Statement:
CREATE TABLE table_name_77 (score VARCHAR, runner_up VARCHAR, winners VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT score FROM table_name_77 WHERE runner_up = "utc" AND winners = "saint-gaudens bears"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the lowest Game where Inning is 6th, and the Opposing Pitcher is cliff curtis?
SQL Table Create Statement:
CREATE TABLE table_name_14 (game INTEGER, inning VARCHAR, opposing_pitcher VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT MIN(game) FROM table_name_14 WHERE inning = "6th" AND opposing_pitcher = "cliff curtis"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>what is the total number of seats 2006 that has parties and voter turnout in % and whose %2006 is greater than 51.5?
SQL Table Create Statement:
CREATE TABLE table_name_33 (seats_2006 INTEGER, parties_and_voter_communities VARCHAR, _percentage_2006 VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT SUM(seats_2006) FROM table_name_33 WHERE parties_and_voter_communities = "voter turnout in %" AND _percentage_2006 > 51.5</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the average FAC/LC apps with a CL G greater than 0, less than 33 PL apps, a FAC/LC G of 0, and less than 2 FA YC?
SQL Table Create Statement:
CREATE TABLE table_name_46 (fac___lc_apps INTEGER, fa_yc VARCHAR, fac___lc_g VARCHAR, cl_g VARCHAR, pl_apps VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT AVG(fac___lc_apps) FROM table_name_46 WHERE cl_g > 0 AND pl_apps < 33 AND fac___lc_g = 0 AND fa_yc < 2</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What was the class when adt champion racing ranked 1st with an audi r8 chassis, and less than 206 points?
SQL Table Create Statement:
CREATE TABLE table_name_2 (class VARCHAR, rank VARCHAR, entrant VARCHAR, points VARCHAR, chassis VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT class FROM table_name_2 WHERE points < 206 AND chassis = "audi r8" AND entrant = "adt champion racing" AND rank = "1st"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What are average launches with 0 failures, rocket of Soyuz, and less than 12 successes?
SQL Table Create Statement:
CREATE TABLE table_name_3 (launches INTEGER, successes VARCHAR, failures VARCHAR, rocket VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT AVG(launches) FROM table_name_3 WHERE failures = 0 AND rocket = "soyuz" AND successes < 12</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the sum of Rank with a build year earlier than 2007 for the howard johnson hotel bucharest?
SQL Table Create Statement:
CREATE TABLE table_name_39 (rank INTEGER, built VARCHAR, building VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT SUM(rank) FROM table_name_39 WHERE built < 2007 AND building = "howard johnson hotel bucharest"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>Which Score has a Visitor of toronto st. pats, and a Home of montreal canadiens, and a Record of 3–2–0?
SQL Table Create Statement:
CREATE TABLE table_name_83 (score VARCHAR, record VARCHAR, visitor VARCHAR, home VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT score FROM table_name_83 WHERE visitor = "toronto st. pats" AND home = "montreal canadiens" AND record = "3–2–0"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>Which MWEHL team has player Ben Johnson?
SQL Table Create Statement:
CREATE TABLE table_name_29 (mwehl_team VARCHAR, player VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT mwehl_team FROM table_name_29 WHERE player = "ben johnson"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What was the total amount of Value ($M), when the Country was Spain, the Rank was 19, and the Debt as % of value was larger than 159?
SQL Table Create Statement:
CREATE TABLE table_name_54 (value__ VARCHAR, debt_as__percentageof_value VARCHAR, country VARCHAR, rank VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT COUNT(value__) AS $m_ FROM table_name_54 WHERE country = "spain" AND rank = 19 AND debt_as__percentageof_value > 159</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>Name the general classification with roman kreuziger and points classification of fabian cancellara
SQL Table Create Statement:
CREATE TABLE table_name_97 (general_classification VARCHAR, young_rider_classification VARCHAR, points_classification VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT general_classification FROM table_name_97 WHERE young_rider_classification = "roman kreuziger" AND points_classification = "fabian cancellara"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the number of the votes of the election before 2004 with edward mahama as the candidate with 3.0% share of votes?
SQL Table Create Statement:
CREATE TABLE table_name_74 (number_of_votes VARCHAR, share_of_votes VARCHAR, candidate VARCHAR, election VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT number_of_votes FROM table_name_74 WHERE candidate = "edward mahama" AND election < 2004 AND share_of_votes = "3.0%"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>Name the points against for cwmllynfell rfc
SQL Table Create Statement:
CREATE TABLE table_name_27 (points_against VARCHAR, club VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT points_against FROM table_name_27 WHERE club = "cwmllynfell rfc"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>Which Home team has a Score of 1–1, and an Away team of tottenham hotspur?
SQL Table Create Statement:
CREATE TABLE table_name_68 (home_team VARCHAR, score VARCHAR, away_team VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT home_team FROM table_name_68 WHERE score = "1–1" AND away_team = "tottenham hotspur"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>Who does pregame analysts for TSN2 network when Taylor Twellman is the color commentator?
SQL Table Create Statement:
CREATE TABLE table_name_74 (pregame_analysts VARCHAR, color_commentator VARCHAR, network VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT pregame_analysts FROM table_name_74 WHERE color_commentator = "taylor twellman" AND network = "tsn2"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What was the school type for Los Angeles, California?
SQL Table Create Statement:
CREATE TABLE table_name_51 (type VARCHAR, location VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT type FROM table_name_51 WHERE location = "los angeles, california"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>How many clubs does the student named "Eric Tai" belong to?
SQL Table Create Statement:
CREATE TABLE student (stuid VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubname VARCHAR, clubid VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT COUNT(DISTINCT t1.clubname) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.fname = "Eric" AND t3.lname = "Tai"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the total number of To Par, when Money ( $ ) is less than 387, and when Player is "Al Brosch"?
SQL Table Create Statement:
CREATE TABLE table_name_33 (to_par VARCHAR, money___$__ VARCHAR, player VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT COUNT(to_par) FROM table_name_33 WHERE money___$__ < 387 AND player = "al brosch"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the Place 2 Player?
SQL Table Create Statement:
CREATE TABLE table_name_1 (player VARCHAR, place VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT player FROM table_name_1 WHERE place = "2"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the payload for Class MRBM, and a range of 1,930km?
SQL Table Create Statement:
CREATE TABLE table_name_12 (payload VARCHAR, class VARCHAR, range__varies_with_payload_weight_ VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT payload FROM table_name_12 WHERE class = "mrbm" AND range__varies_with_payload_weight_ = "1,930km"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>For the United Kingdom, what's the date?
SQL Table Create Statement:
CREATE TABLE table_name_88 (date VARCHAR, country VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT date FROM table_name_88 WHERE country = "united kingdom"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the score of the United States, which has more than $24,542?
SQL Table Create Statement:
CREATE TABLE table_name_21 (score VARCHAR, country VARCHAR, money___$__ VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT score FROM table_name_21 WHERE country = "united states" AND money___$__ > 24 OFFSET 542</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the highest number of losses associated with 2 matches played, a first game after 1997, and more than 0 draws?
SQL Table Create Statement:
CREATE TABLE table_name_37 (lost INTEGER, drawn VARCHAR, played VARCHAR, first_game VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT MAX(lost) FROM table_name_37 WHERE played = 2 AND first_game > 1997 AND drawn > 0</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>WHich Mountains classification has an Asian team classification of seoul cycling team, and a Winner of alexandre usov?
SQL Table Create Statement:
CREATE TABLE table_name_99 (mountains_classification VARCHAR, asian_team_classification VARCHAR, winner VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT mountains_classification FROM table_name_99 WHERE asian_team_classification = "seoul cycling team" AND winner = "alexandre usov"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>Name the total number of roll for state authority and stanley avenue school with decile more than 5
SQL Table Create Statement:
CREATE TABLE table_name_31 (roll VARCHAR, decile VARCHAR, authority VARCHAR, name VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT COUNT(roll) FROM table_name_31 WHERE authority = "state" AND name = "stanley avenue school" AND decile > 5</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What was the score in the game where Carolina was the home team and Niittymaki received the decision?
SQL Table Create Statement:
CREATE TABLE table_name_90 (score VARCHAR, decision VARCHAR, home VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT score FROM table_name_90 WHERE decision = "niittymaki" AND home = "carolina"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the status for a journal with the ISSN of 0149-1830?
SQL Table Create Statement:
CREATE TABLE table_name_62 (status VARCHAR, issn VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT status FROM table_name_62 WHERE issn = "0149-1830"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>Which catalogue has essential, castle music as it's label?
SQL Table Create Statement:
CREATE TABLE table_name_46 (catalogue VARCHAR, label VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT catalogue FROM table_name_46 WHERE label = "essential, castle music"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>what is the tournament when the court surface is clay and began in 1892?
SQL Table Create Statement:
CREATE TABLE table_name_46 (tournament VARCHAR, court_surface VARCHAR, began VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT tournament FROM table_name_46 WHERE court_surface = "clay" AND began = 1892</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>Which Round is the lowest one that has a Position of wide receiver, and an Overall smaller than 222?
SQL Table Create Statement:
CREATE TABLE table_name_34 (round INTEGER, position VARCHAR, overall VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT MIN(round) FROM table_name_34 WHERE position = "wide receiver" AND overall < 222</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>For all games with calgary as home, what is the average number of attendees?
SQL Table Create Statement:
CREATE TABLE table_name_1 (attendance INTEGER, home VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT AVG(attendance) FROM table_name_1 WHERE home = "calgary"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>How much Attendance has an Opponent of rockies, and a Record of 32-30?
SQL Table Create Statement:
CREATE TABLE table_name_34 (attendance INTEGER, opponent VARCHAR, record VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT SUM(attendance) FROM table_name_34 WHERE opponent = "rockies" AND record = "32-30"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the Max Aggregate bandwidth with a HyperTransport of 2?
SQL Table Create Statement:
CREATE TABLE table_name_17 (max_aggregate_bandwidth__bi_directional_ VARCHAR, hypertransport_version VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT max_aggregate_bandwidth__bi_directional_ FROM table_name_17 WHERE hypertransport_version = 2</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>Which location includes Coast Mountains with a rank less than 18 at Skihist Mountain?
SQL Table Create Statement:
CREATE TABLE table_name_41 (location VARCHAR, mountain_peak VARCHAR, mountain_range VARCHAR, rank VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT location FROM table_name_41 WHERE mountain_range = "coast mountains" AND rank < 18 AND mountain_peak = "skihist mountain"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What years did J. Smith Young serve as a Representative?
SQL Table Create Statement:
CREATE TABLE table_name_36 (years VARCHAR, representative VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT years FROM table_name_36 WHERE representative = "j. smith young"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What attendance does 1-6 record have?
SQL Table Create Statement:
CREATE TABLE table_name_46 (attendance INTEGER, record VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT SUM(attendance) FROM table_name_46 WHERE record = "1-6"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>In what venue was the Batting team India who featured partners Sachin Tendulkar and Rahul Dravid?
SQL Table Create Statement:
CREATE TABLE table_name_15 (venue VARCHAR, batting_team VARCHAR, batting_partners VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT venue FROM table_name_15 WHERE batting_team = "india" AND batting_partners = "sachin tendulkar and rahul dravid"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>Which Score has a January larger than 21, and Points of 63?
SQL Table Create Statement:
CREATE TABLE table_name_18 (score VARCHAR, january VARCHAR, points VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT score FROM table_name_18 WHERE january > 21 AND points = 63</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the earliest election with more than 7 candidates nominated, a percentage of the popular vote of 2.75%, and 0 seats won?
SQL Table Create Statement:
CREATE TABLE table_name_69 (election INTEGER, _number_of_seats_won VARCHAR, _number_of_candidates_nominated VARCHAR, _percentage_of_popular_vote VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT MIN(election) FROM table_name_69 WHERE _number_of_candidates_nominated > 7 AND _percentage_of_popular_vote = "2.75%" AND _number_of_seats_won < 0</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the average number of seasons completed of the team with less than 1 division titles, 0 playoff appearances, and more than 0 finals appearances?
SQL Table Create Statement:
CREATE TABLE table_name_97 (seasons_completed INTEGER, finals_appearances VARCHAR, division_titles VARCHAR, playoff_appearances VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT AVG(seasons_completed) FROM table_name_97 WHERE division_titles < 1 AND playoff_appearances = 0 AND finals_appearances > 0</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What was the name of the competition that had Peterborough Phantoms as an opponent and a date of 2?
SQL Table Create Statement:
CREATE TABLE table_name_26 (competition VARCHAR, opponent VARCHAR, date VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT competition FROM table_name_26 WHERE opponent = "peterborough phantoms" AND date = 2</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What was the attendance number for the venue of Lakeside Park?
SQL Table Create Statement:
CREATE TABLE table_name_37 (attendance VARCHAR, venue VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT attendance FROM table_name_37 WHERE venue = "lakeside park"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is Tie No, when Date is 18 February 1956, and when Home Team is Charlton Athletic?
SQL Table Create Statement:
CREATE TABLE table_name_10 (tie_no VARCHAR, date VARCHAR, home_team VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT tie_no FROM table_name_10 WHERE date = "18 february 1956" AND home_team = "charlton athletic"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>Which Engine has a Year that's Larger than 2006 and Power of BHP (KW)?
SQL Table Create Statement:
CREATE TABLE table_name_8 (engine VARCHAR, year VARCHAR, power VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT engine FROM table_name_8 WHERE year > 2006 AND power = "bhp (kw)"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What tournament was on May 31, 1987?
SQL Table Create Statement:
CREATE TABLE table_name_93 (tournament VARCHAR, date VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT tournament FROM table_name_93 WHERE date = "may 31, 1987"</codeend><|end|> |
<|system|>Use your knowledge and SQL skills to convert the following text into a SQL query.
Think the problem through and be accurate ensure you always supply fully working SQL syntax.
SQL Statments should be wrapped in <codestart type="sql"> and </codeend> tags.
Example output:
<codestart type="sql">SELECT * FROM table_name;</codeend>
<codestart type="sql">SELECT column_name FROM table_name WHERE column_name = 'value';</codeend><|end|><|user|>What is the total number of Length Feet, when Parish is Clarendon, when Km From Kingston is 71.2, and when Length Meters is less than 21.3?
SQL Table Create Statement:
CREATE TABLE table_name_97 (length_feet VARCHAR, length_meters VARCHAR, parish VARCHAR, km_from_kingston VARCHAR)<|end|><|assistant|><codestart type="sql">SELECT COUNT(length_feet) FROM table_name_97 WHERE parish = "clarendon" AND km_from_kingston = 71.2 AND length_meters < 21.3</codeend><|end|> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.