instruction
stringlengths
2
1.06k
input
stringlengths
33
7.14k
output
stringlengths
2
3.44k
text
stringlengths
302
7.73k
Which highschool has senior (rs) for the year?
CREATE TABLE table_22496344_1 ( high_school VARCHAR, year VARCHAR )
SELECT high_school FROM table_22496344_1 WHERE year = "Senior (RS)"
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Which highschool has senior (rs) for the year? ### Input: CREATE TABLE table_22496344_1 ( high_school VARCHAR, year VARCHAR ) ### Response: SELECT high_school FROM table_22496344_1 WHERE year = "Senior (RS)"
Name the championship for winner and judy tegart dalton lesley turner bowrey
CREATE TABLE table_2009095_2 ( championship VARCHAR, outcome VARCHAR, opponents VARCHAR )
SELECT COUNT(championship) FROM table_2009095_2 WHERE outcome = "Winner" AND opponents = "Judy Tegart Dalton Lesley Turner Bowrey"
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Name the championship for winner and judy tegart dalton lesley turner bowrey ### Input: CREATE TABLE table_2009095_2 ( championship VARCHAR, outcome VARCHAR, opponents VARCHAR ) ### Response: SELECT COUNT(championship) FROM table_2009095_2 WHERE outcome = "Winner" AND opponents = "Judy Tegart Dalton Lesley Turner Bowrey"
What is the time when ss12 is stage?
CREATE TABLE table_24485 ( "Day" text, "Stage" text, "Time (EET)" text, "Name" text, "Length" text, "Winner" text, "Time" text, "Avg. spd." text, "Rally leader" text )
SELECT "Time" FROM table_24485 WHERE "Stage" = 'SS12'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the time when ss12 is stage? ### Input: CREATE TABLE table_24485 ( "Day" text, "Stage" text, "Time (EET)" text, "Name" text, "Length" text, "Winner" text, "Time" text, "Avg. spd." text, "Rally leader" text ) ### Response: SELECT "Time" FROM table_24485 WHERE "Stage" = 'SS12'
What was the styled used to defeat the opponent within the time frame of 32:32?
CREATE TABLE table_18598175_2 ( method_of_elimination VARCHAR, time VARCHAR )
SELECT method_of_elimination FROM table_18598175_2 WHERE time = "32:32"
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What was the styled used to defeat the opponent within the time frame of 32:32? ### Input: CREATE TABLE table_18598175_2 ( method_of_elimination VARCHAR, time VARCHAR ) ### Response: SELECT method_of_elimination FROM table_18598175_2 WHERE time = "32:32"