instruction_seed stringlengths 305 1.28k | response_seed stringclasses 1
value | response stringlengths 7 2.05k | __original_row_idx int64 0 50k | conversations listlengths 2 2 |
|---|---|---|---|---|
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2226817_12 (title VARCHAR, production_code VARCHAR)
Question: what is the name of the episode when the production code is 11.01?
Here is the SQLite query to answer... | Here is the SQLite query to answer the question about the name of the episode when the production code is 11.01:
```
SELECT title FROM table_2226817_12 WHERE production_code = "11.01";
``` | 35,200 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2226817_12 (title VARCHAR, production_code VARCHAR)\n\n Question: what is the name of the episode when the production code i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2226817_12 (title VARCHAR, production_code VARCHAR)
Question: what is the name of the episode if the production code is 11.12?
Here is the SQLite query to answer t... | Here is the SQLite query to answer the question about the episode name with the production code 11.12:
```
SELECT title FROM table_2226817_12 WHERE production_code = "11.12";
``` | 35,201 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2226817_12 (title VARCHAR, production_code VARCHAR)\n\n Question: what is the name of the episode if the production code is ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2226817_12 (no_in_series VARCHAR, directed_by VARCHAR)
Question: how many episodes has been directed by Mark K. Samuels ?
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question about how many episodes have been directed by Mark K. Samuels:
```
SELECT COUNT(no_in_series) FROM table_2226817_12 WHERE directed_by = "Mark K. Samuels";
``` | 35,202 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2226817_12 (no_in_series VARCHAR, directed_by VARCHAR)\n\n Question: how many episodes has been directed by Mark K. Samuels ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2226817_3 (directed_by VARCHAR, written_by VARCHAR)
Question: Who directed what was written by Michael G. Moye & Ron Leavitt & J. Stanford Parker?
Here is the SQLi... | Here is the SQLite query to answer the question: Who directed what was written by Michael G. Moye & Ron Leavitt & J. Stanford Parker?:
```
SELECT directed_by FROM table_2226817_3 WHERE written_by = "Michael G. Moye & Ron Leavitt & J. Stanford Parker"
``` | 35,203 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2226817_3 (directed_by VARCHAR, written_by VARCHAR)\n\n Question: Who directed what was written by Michael G. Moye & Ron Lea... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2226817_8 (production_code VARCHAR, written_by VARCHAR)
Question: What are all the production codes of episodes written by Michael G. Moye?
Here is the SQLite quer... | Here is the SQLite query to answer the question regarding the production codes of episodes written by Michael G. Moye:
```
SELECT production_code FROM table_2226817_8 WHERE written_by = "Michael G. Moye"
``` | 35,204 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2226817_8 (production_code VARCHAR, written_by VARCHAR)\n\n Question: What are all the production codes of episodes written ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2226817_8 (written_by VARCHAR, no_in_season VARCHAR)
Question: Who is the writer of episode 13?
Here is the SQLite query to answer to the question: Who is the writ... | The provided query counts the number of writers for episode 13, but it does not directly answer the question of who the writer is. Instead, you should select the names of the writers for that episode. Here's the corrected query:
```
SELECT written_by FROM table_2226817_8 WHERE no_in_season = '13'
```
Please note that... | 35,205 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2226817_8 (written_by VARCHAR, no_in_season VARCHAR)\n\n Question: Who is the writer of episode 13?\n\nHere is the SQLite qu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2226817_8 (no_in_series VARCHAR, production_code VARCHAR)
Question: Which series number has the production code 7.07?
Here is the SQLite query to answer to the que... | The provided query is counting the number of entries with the production code "7.07". If you instead want to select the series number that corresponds to that production code, you would use the following query:
```sql
SELECT no_in_series FROM table_2226817_8 WHERE production_code = "7.07";
```
This query retrieves t... | 35,206 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2226817_8 (no_in_series VARCHAR, production_code VARCHAR)\n\n Question: Which series number has the production code 7.07?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2226817_8 (no_in_season INTEGER, production_code VARCHAR)
Question: How many seasons have the production code 7.01 for an episode?
Here is the SQLite query to ans... | Your query is close, but it will return the maximum season number instead of the number of distinct seasons. To count how many seasons have the production code "7.01", you should use the `COUNT(DISTINCT no_in_season)` function. Here's the corrected query:
```
SELECT COUNT(DISTINCT no_in_season) FROM table_2226817_8 WH... | 35,207 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2226817_8 (no_in_season INTEGER, production_code VARCHAR)\n\n Question: How many seasons have the production code 7.01 for a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2226817_8 (no_in_series VARCHAR, no_in_season VARCHAR)
Question: How many episodes in the series are from season 12?
Here is the SQLite query to answer to the ques... | To count the number of episodes in the series that are from season 12, you can modify your query to use the `COUNT` function. Here is the corrected query:
```
SELECT COUNT(*) FROM table_2226817_8 WHERE no_in_season = '12'
```
This will return the number of episodes in season 12. Please make sure that the value '12' i... | 35,208 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2226817_8 (no_in_series VARCHAR, no_in_season VARCHAR)\n\n Question: How many episodes in the series are from season 12?\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2226817_9 (no_in_season INTEGER, no_in_series VARCHAR)
Question: How many seasons had episode 158?
Here is the SQLite query to answer to the question: How many sea... | It seems there is a slight misunderstanding in the query you provided. To count how many distinct seasons an episode (in this case, episode 158) appears in, you should use the `COUNT` and `DISTINCT` functions. Here's the corrected query:
```sql
SELECT COUNT(DISTINCT no_in_season) AS season_count
FROM table_2226817_9 ... | 35,209 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2226817_9 (no_in_season INTEGER, no_in_series VARCHAR)\n\n Question: How many seasons had episode 158?\n\nHere is the SQLite... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2226817_9 (production_code VARCHAR, written_by VARCHAR)
Question: What is the production code of the episode directed by Stacie Lipp?
Here is the SQLite query to a... | It seems there might be a misunderstanding in the question. The initial request is to find the production code of an episode directed by Stacie Lipp, but the provided query is looking for the production code based on the writer, which is not consistent with the task of finding a director.
Assuming that the `'written_b... | 35,210 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2226817_9 (production_code VARCHAR, written_by VARCHAR)\n\n Question: What is the production code of the episode directed by... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2226817_9 (title VARCHAR, no_in_series VARCHAR)
Question: What is the name of episode 165?
Here is the SQLite query to answer to the question: What is the name of ... | Here is the SQLite query to answer the question about the name of episode 165:
```
SELECT title FROM table_2226817_9 WHERE no_in_series = '165'
``` | 35,211 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2226817_9 (title VARCHAR, no_in_series VARCHAR)\n\n Question: What is the name of episode 165?\n\nHere is the SQLite query t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2226817_9 (directed_by VARCHAR, production_code VARCHAR)
Question: How many episodes have the production code 8.04
Here is the SQLite query to answer to the questi... | Here is the SQLite query to answer the question about how many episodes have the production code 8.04:
```
SELECT COUNT(directed_by) FROM table_2226817_9 WHERE production_code = '8.04';
``` | 35,212 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2226817_9 (directed_by VARCHAR, production_code VARCHAR)\n\n Question: How many episodes have the production code 8.04\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_222771_1 (alpha_2_code VARCHAR, alpha_3_code VARCHAR)
Question: What is the Alpha 2 code for the area also known as TCA?
Here is the SQLite query to answer to the ... | Here is the SQLite query to answer the question of what the Alpha 2 code is for the area known as TCA:
```sql
SELECT alpha_2_code FROM table_222771_1 WHERE alpha_3_code = 'TCA';
``` | 35,213 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_222771_1 (alpha_2_code VARCHAR, alpha_3_code VARCHAR)\n\n Question: What is the Alpha 2 code for the area also known as TCA?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_222771_1 (alpha_3_code VARCHAR, alpha_2_code VARCHAR)
Question: What is the Alpha 3 code for the area also known as FO?
Here is the SQLite query to answer to the q... | Here is the SQLite query to find the Alpha 3 code for the area also known as FO:
```sql
SELECT alpha_3_code FROM table_222771_1 WHERE alpha_2_code = "FO";
``` | 35,214 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_222771_1 (alpha_3_code VARCHAR, alpha_2_code VARCHAR)\n\n Question: What is the Alpha 3 code for the area also known as FO?\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_222771_1 (alpha_2_code VARCHAR, alpha_3_code VARCHAR)
Question: What is the alpha 2 code for the area also known as NZL?
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question regarding the alpha 2 code for the area also known as NZL:
```sql
SELECT alpha_2_code FROM table_222771_1 WHERE alpha_3_code = "NZL";
``` | 35,215 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_222771_1 (alpha_2_code VARCHAR, alpha_3_code VARCHAR)\n\n Question: What is the alpha 2 code for the area also known as NZL... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_222771_1 (iso_3166_2_codes VARCHAR, english_short_name__upper_lower_case_ VARCHAR)
Question: What is the ISO for South Sudan?
Here is the SQLite query to answer to... | Your SQLite query is correctly structured to retrieve the ISO code for South Sudan. Here it is wrapped as requested:
```
SELECT iso_3166_2_codes FROM table_222771_1 WHERE english_short_name__upper_lower_case_ = "South Sudan";
``` | 35,216 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_222771_1 (iso_3166_2_codes VARCHAR, english_short_name__upper_lower_case_ VARCHAR)\n\n Question: What is the ISO for South S... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_222771_1 (alpha_2_code VARCHAR, english_short_name__upper_lower_case_ VARCHAR)
Question: What is the Alpha 2 code for Papua New Guinea?
Here is the SQLite query to... | Here is the SQLite query to answer the question about the Alpha 2 code for Papua New Guinea:
```
SELECT alpha_2_code FROM table_222771_1 WHERE english_short_name__upper_lower_case_ = "Papua New Guinea"
``` | 35,217 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_222771_1 (alpha_2_code VARCHAR, english_short_name__upper_lower_case_ VARCHAR)\n\n Question: What is the Alpha 2 code for Pa... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_222771_1 (numeric_code VARCHAR, alpha_3_code VARCHAR)
Question: What is the number reference for LIE?
Here is the SQLite query to answer to the question: What is t... | Here is the SQLite query to answer the question "What is the number reference for LIE?":
```
SELECT numeric_code FROM table_222771_1 WHERE alpha_3_code = "LIE";
``` | 35,218 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_222771_1 (numeric_code VARCHAR, alpha_3_code VARCHAR)\n\n Question: What is the number reference for LIE?\n\nHere is the SQL... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22274142_1 (launch_date VARCHAR, transmission VARCHAR)
Question: How many launch dates are there for digital transmission?
Here is the SQLite query to answer to th... | Your provided SQLite query looks correct. It counts the number of launch dates where the transmission type is "Digital". Here it is wrapped correctly:
```
SELECT COUNT(launch_date) FROM table_22274142_1 WHERE transmission = 'Digital';
```
Make sure to use single quotes around the string 'Digital' as it is a good pra... | 35,219 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22274142_1 (launch_date VARCHAR, transmission VARCHAR)\n\n Question: How many launch dates are there for digital transmissio... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22269839_1 (written_by VARCHAR, production_code VARCHAR)
Question: Who wrote the title with production code 7acx14?
Here is the SQLite query to answer to the quest... | Your SQLite query to find out who wrote the title with production code 7acx14 appears mostly correct, but it's essential to note that SQLite is case-sensitive in its string comparison. If the production code might have variations in letter casing (like `7ACX14` or `7acx14`), it's a good practice to use a case-insensiti... | 35,220 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22269839_1 (written_by VARCHAR, production_code VARCHAR)\n\n Question: Who wrote the title with production code 7acx14?\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22269839_1 (directed_by VARCHAR, written_by VARCHAR)
Question: Who directed the title written by cherry chevapravatdumrong?
Here is the SQLite query to answer to t... | Your SQLite query is correctly formulated to find the director for the titles written by Cherry Chevapravatdumrong. Here it is wrapped in code formatting:
```
SELECT directed_by FROM table_22269839_1 WHERE written_by = "Cherry Chevapravatdumrong";
``` | 35,221 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22269839_1 (directed_by VARCHAR, written_by VARCHAR)\n\n Question: Who directed the title written by cherry chevapravatdumro... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22269839_1 (written_by VARCHAR, production_code VARCHAR)
Question: Who wrote the title with the production code is 7acx08?
Here is the SQLite query to answer to th... | Your SQLite query is almost correct, but it is important to ensure that the production code matches case sensitivity, as SQLite can be case-sensitive depending on the collation settings. Assuming "7ACX08" should match "7acx08" without case sensitivity, you can use the `LOWER` function for a case-insensitive comparison.... | 35,222 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22269839_1 (written_by VARCHAR, production_code VARCHAR)\n\n Question: Who wrote the title with the production code is 7acx0... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22269839_1 (directed_by VARCHAR, written_by VARCHAR)
Question: Who directed the episode written by patrick meighan?
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer the question "Who directed the episode written by Patrick Meighan?":
```
SELECT directed_by FROM table_22269839_1 WHERE written_by = "Patrick Meighan"
``` | 35,223 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22269839_1 (directed_by VARCHAR, written_by VARCHAR)\n\n Question: Who directed the episode written by patrick meighan?\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22282917_26 (dates VARCHAR, control_site_condition_owner VARCHAR)
Question: When is every date that control site condition or owner is machine shop on Martin Dr.?
... | Here is your SQLite query wrapped in code formatting:
```
SELECT dates FROM table_22282917_26 WHERE control_site_condition_owner = "machine shop on Martin Dr.";
``` | 35,224 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22282917_26 (dates VARCHAR, control_site_condition_owner VARCHAR)\n\n Question: When is every date that control site conditi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22282917_26 (missile_type VARCHAR, code_ VARCHAR, _location VARCHAR)
Question: What is every missile type with a code and location of M-20 Harbor Drive?
Here is th... | The query you have provided contains a syntax error due to the use of the `&` operator, which does not apply in this context. Instead, you should be using the `AND` operator to filter results based on the conditions for `code_` and `_location`. Here is the corrected query:
```sql
SELECT missile_type
FROM table_222829... | 35,225 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22282917_26 (missile_type VARCHAR, code_ VARCHAR, _location VARCHAR)\n\n Question: What is every missile type with a code an... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22282917_26 (code_ VARCHAR, _location VARCHAR, launch_site_condition_owner VARCHAR)
Question: What is every code and location where the launch site condition and ow... | Your query has a small syntax error regarding how you're selecting multiple columns. You should use a comma to separate the columns you want to select. Here is the corrected query:
```sql
SELECT code_, _location FROM table_22282917_26 WHERE launch_site_condition_owner = "Obliterated";
``` | 35,226 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22282917_26 (code_ VARCHAR, _location VARCHAR, launch_site_condition_owner VARCHAR)\n\n Question: What is every code and loc... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22282917_26 (control_site_condition_owner VARCHAR, launch_site_condition_owner VARCHAR)
Question: What is every control site condition and owner if launch site cond... | Sure! Here is the SQLite query wrapped as you requested:
```
SELECT control_site_condition_owner FROM table_22282917_26 WHERE launch_site_condition_owner = "Lakefront Office Buildings";
``` | 35,227 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22282917_26 (control_site_condition_owner VARCHAR, launch_site_condition_owner VARCHAR)\n\n Question: What is every control ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22297140_3 (team VARCHAR, outgoing_manager VARCHAR)
Question: Which team had an outgoing manager of Behtash Fariba?
Here is the SQLite query to answer to the quest... | Here's the SQLite query wrapped as requested:
```
SELECT team FROM table_22297140_3 WHERE outgoing_manager = "Behtash Fariba";
``` | 35,228 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22297140_3 (team VARCHAR, outgoing_manager VARCHAR)\n\n Question: Which team had an outgoing manager of Behtash Fariba?\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22297140_3 (team VARCHAR, replaced_by VARCHAR)
Question: Which team had a manager who was replaced by Faraz Kamalvand?
Here is the SQLite query to answer to the qu... | Here is the SQLite query to answer the question you provided:
```
SELECT team FROM table_22297140_3 WHERE replaced_by = "Faraz Kamalvand";
``` | 35,229 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22297140_3 (team VARCHAR, replaced_by VARCHAR)\n\n Question: Which team had a manager who was replaced by Faraz Kamalvand?\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22297140_3 (outgoing_manager VARCHAR, replaced_by VARCHAR)
Question: Which outgoing manager was replaced by Jafar Fatahi?
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question: Which outgoing manager was replaced by Jafar Fatahi?:
```
SELECT outgoing_manager FROM table_22297140_3 WHERE replaced_by = "Jafar Fatahi"
``` | 35,230 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22297140_3 (outgoing_manager VARCHAR, replaced_by VARCHAR)\n\n Question: Which outgoing manager was replaced by Jafar Fatahi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22297140_3 (team VARCHAR, replaced_by VARCHAR)
Question: Which team had a manager replaced by Ebrahim Talebi?
Here is the SQLite query to answer to the question: W... | Here is the SQLite query to answer the question about which team had a manager replaced by Ebrahim Talebi:
```
SELECT team FROM table_22297140_3 WHERE replaced_by = "Ebrahim Talebi"
``` | 35,231 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22297140_3 (team VARCHAR, replaced_by VARCHAR)\n\n Question: Which team had a manager replaced by Ebrahim Talebi?\n\nHere is... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22297140_3 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR)
Question: What was the date in which Behtash Fariba left his team?
Here is the SQLite query to answe... | Your query looks good! Here’s the SQLite query wrapped in code format:
```
SELECT date_of_vacancy FROM table_22297140_3 WHERE outgoing_manager = "Behtash Fariba";
```
This will retrieve the date when Behtash Fariba left his team from the specified table. | 35,232 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22297140_3 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR)\n\n Question: What was the date in which Behtash Fariba left ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22297140_3 (manner_of_departure VARCHAR, team VARCHAR)
Question: What was the manner of leaving the team for the manager of Gostaresh Foolad?
Here is the SQLite qu... | Here is the SQLite query to answer the question regarding the manner of leaving the team for the manager of Gostaresh Foolad:
```
SELECT manner_of_departure FROM table_22297140_3 WHERE team = "Gostaresh Foolad"
``` | 35,233 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22297140_3 (manner_of_departure VARCHAR, team VARCHAR)\n\n Question: What was the manner of leaving the team for the manager... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22308881_2 (in_county_tuition_per_credit_hour__fall_2009_ VARCHAR, college VARCHAR)
Question: How much was the cost of in-county tuition per credit hour at the Glou... | You have provided an accurate SQLite query to extract the in-county tuition per credit hour for Gloucester College for the fall of 2009. Here is the query formatted as you requested:
```
SELECT in_county_tuition_per_credit_hour__fall_2009_ FROM table_22308881_2 WHERE college = "Gloucester"
```
This query selects the... | 35,234 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22308881_2 (in_county_tuition_per_credit_hour__fall_2009_ VARCHAR, college VARCHAR)\n\n Question: How much was the cost of i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22308881_2 (in_county_tuition_per_credit_hour__fall_2009_ VARCHAR, college VARCHAR)
Question: How much was the in-county tuition per credit hour at the Mercer Colle... | Here is the SQLite query to answer the question about the in-county tuition per credit hour at Mercer College by the fall of 2009:
```
SELECT in_county_tuition_per_credit_hour__fall_2009_ FROM table_22308881_2 WHERE college = 'Mercer College';
``` | 35,235 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22308881_2 (in_county_tuition_per_credit_hour__fall_2009_ VARCHAR, college VARCHAR)\n\n Question: How much was the in-county... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22297198_3 (replaced_by VARCHAR, date_of_vacancy VARCHAR)
Question: Who was the replacement manager for the vacancy of 12 Dec 2009?
Here is the SQLite query to ans... | Here is the SQLite query to answer the question "Who was the replacement manager for the vacancy of 12 Dec 2009?":
```
SELECT replaced_by FROM table_22297198_3 WHERE date_of_vacancy = "12 Dec 2009"
``` | 35,236 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22297198_3 (replaced_by VARCHAR, date_of_vacancy VARCHAR)\n\n Question: Who was the replacement manager for the vacancy of 1... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22297198_3 (team VARCHAR, outgoing_manager VARCHAR)
Question: What team did Alireza mansourian leave?
Here is the SQLite query to answer to the question: What team... | Here is the SQLite query to answer the question about what team Alireza Mansourian left:
```
SELECT team FROM table_22297198_3 WHERE outgoing_manager = "Alireza Mansourian"
``` | 35,237 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22297198_3 (team VARCHAR, outgoing_manager VARCHAR)\n\n Question: What team did Alireza mansourian leave?\n\nHere is the SQL... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22297198_3 (manner_of_departure VARCHAR, outgoing_manager VARCHAR)
Question: Why did Majid bagherinia leave?
Here is the SQLite query to answer to the question: Wh... | Here is the SQLite query to answer the question: Why did Majid Bagherinia leave?:
```
SELECT manner_of_departure FROM table_22297198_3 WHERE outgoing_manager = "Majid Bagherinia"
``` | 35,238 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22297198_3 (manner_of_departure VARCHAR, outgoing_manager VARCHAR)\n\n Question: Why did Majid bagherinia leave?\n\nHere is ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22297198_3 (team VARCHAR, date_of_vacancy VARCHAR)
Question: What team did a manager leave on 12 Dec 2009
Here is the SQLite query to answer to the question: What ... | Here is the SQLite query to answer the question about which team a manager left on 12 Dec 2009:
```
SELECT team FROM table_22297198_3 WHERE date_of_vacancy = "12 Dec 2009";
``` | 35,239 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22297198_3 (team VARCHAR, date_of_vacancy VARCHAR)\n\n Question: What team did a manager leave on 12 Dec 2009\n\nHere is the... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22297198_3 (team VARCHAR, outgoing_manager VARCHAR)
Question: How many teams did Farhad Kazemi leave?
Here is the SQLite query to answer to the question: How many ... | Here is the SQLite query to find out how many teams Farhad Kazemi left:
```
SELECT COUNT(team) FROM table_22297198_3 WHERE outgoing_manager = "Farhad Kazemi"
``` | 35,240 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22297198_3 (team VARCHAR, outgoing_manager VARCHAR)\n\n Question: How many teams did Farhad Kazemi leave?\n\nHere is the SQL... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22319599_1 (team_name VARCHAR, school VARCHAR)
Question: If the school is Rend Lake College, what is the team name?
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer the question regarding the team name for the school "Rend Lake College":
```
SELECT team_name FROM table_22319599_1 WHERE school = "Rend Lake College";
``` | 35,241 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22319599_1 (team_name VARCHAR, school VARCHAR)\n\n Question: If the school is Rend Lake College, what is the team name?\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22319599_1 (njcaa_championships INTEGER)
Question: What is the minimum possible for the NJCAA championships?
Here is the SQLite query to answer to the question: Wh... | Here is the SQLite query to answer the question about the minimum possible NJCAA championships:
```
SELECT MIN(njcaa_championships) FROM table_22319599_1;
``` | 35,242 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22319599_1 (njcaa_championships INTEGER)\n\n Question: What is the minimum possible for the NJCAA championships?\n\nHere is ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22319599_1 (location VARCHAR, varsity_teams VARCHAR)
Question: If the varsity team is 6, what is the location?
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question regarding the location of the varsity team with the identifier 6:
```
SELECT location FROM table_22319599_1 WHERE varsity_teams = '6'
```
Note that I have enclosed '6' in quotes, assuming that the `varsity_teams` column is of a VARCHAR type, as indicated in the schema.... | 35,243 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22319599_1 (location VARCHAR, varsity_teams VARCHAR)\n\n Question: If the varsity team is 6, what is the location?\n\nHere i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22319599_1 (colors VARCHAR, school VARCHAR)
Question: If the school is John A. Logan College, what are the colors?
Here is the SQLite query to answer to the questi... | Here is the SQLite query to answer the question:
```
SELECT colors FROM table_22319599_1 WHERE school = "John A. Logan College"
``` | 35,244 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22319599_1 (colors VARCHAR, school VARCHAR)\n\n Question: If the school is John A. Logan College, what are the colors?\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22334183_3 (date VARCHAR, circuit VARCHAR)
Question: On how many different dates was the race at the Silverstone circuit?
Here is the SQLite query to answer to the... | Your query almost captures the essence of the question, but to count the distinct dates, you should use `COUNT(DISTINCT date)` instead of just `COUNT(date)`. Here’s the corrected SQLite query:
```
SELECT COUNT(DISTINCT date) FROM table_22334183_3 WHERE circuit = "Silverstone"
``` | 35,245 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22334183_3 (date VARCHAR, circuit VARCHAR)\n\n Question: On how many different dates was the race at the Silverstone circuit... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22334183_3 (date VARCHAR, circuit VARCHAR)
Question: When was the circuit Donington Park?
Here is the SQLite query to answer to the question: When was the circuit ... | Here is the SQLite query to answer the question: When was the circuit Donington Park?:
```
SELECT date FROM table_22334183_3 WHERE circuit = "Donington Park";
``` | 35,246 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22334183_3 (date VARCHAR, circuit VARCHAR)\n\n Question: When was the circuit Donington Park?\n\nHere is the SQLite query to... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22344463_2 (weight VARCHAR, name VARCHAR)
Question: What is the weight is the name is Stuart Craig?
Here is the SQLite query to answer to the question: What is the... | Here is the SQLite query to answer the question: What is the weight if the name is Stuart Craig?:
```
SELECT weight FROM table_22344463_2 WHERE name = "Stuart Craig";
``` | 35,247 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22344463_2 (weight VARCHAR, name VARCHAR)\n\n Question: What is the weight is the name is Stuart Craig?\n\nHere is the SQLit... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22344463_2 (date_of_birth VARCHAR, name VARCHAR)
Question: If the name is Timo Higgins, what is the total date of birth amount?
Here is the SQLite query to answer ... | Your provided query is almost correct for fetching the count of date of births associated with the name "Timo Higgins". However, I believe the term "total date of birth amount" might be referring to counting the occurrences of date of birth for the name specified. Here’s the query:
```
SELECT COUNT(date_of_birth) FROM... | 35,248 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22344463_2 (date_of_birth VARCHAR, name VARCHAR)\n\n Question: If the name is Timo Higgins, what is the total date of birth ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22344463_2 (position VARCHAR, height VARCHAR)
Question: If the height is 181cm, what was the position?
Here is the SQLite query to answer to the question: If the h... | Here is the SQLite query to answer the question:
```
SELECT position FROM table_22344463_2 WHERE height = "181cm"
``` | 35,249 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22344463_2 (position VARCHAR, height VARCHAR)\n\n Question: If the height is 181cm, what was the position?\n\nHere is the SQ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22344463_2 (name VARCHAR, weight VARCHAR, home_team VARCHAR)
Question: If the home team is UMBC and the weight is 78kg, what the the name total number?
Here is the... | Here is the SQLite query to answer the question:
```
SELECT COUNT(name) FROM table_22344463_2 WHERE weight = "78kg" AND home_team = "UMBC"
``` | 35,250 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22344463_2 (name VARCHAR, weight VARCHAR, home_team VARCHAR)\n\n Question: If the home team is UMBC and the weight is 78kg, ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22344463_2 (date_of_birth VARCHAR, height VARCHAR, home_team VARCHAR)
Question: If the height is 185cm and the home team is Heaton Mersey, what is the date of birth... | Sure! Here is the SQLite query wrapped in code formatting as you requested:
```
SELECT date_of_birth FROM table_22344463_2 WHERE height = "185cm" AND home_team = "Heaton Mersey";
``` | 35,251 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22344463_2 (date_of_birth VARCHAR, height VARCHAR, home_team VARCHAR)\n\n Question: If the height is 185cm and the home team... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22347090_4 (us_viewers__million_ VARCHAR, no_in_season VARCHAR)
Question: How many viewers tuned in for season 2?
Here is the SQLite query to answer to the questio... | Here is the SQLite query to answer the question "How many viewers tuned in for season 2?":
```
SELECT us_viewers__million_ FROM table_22347090_4 WHERE no_in_season = '2'
```
Please note that in the `no_in_season` column, it is treated as a `VARCHAR`, so the value should be in quotes. | 35,252 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22347090_4 (us_viewers__million_ VARCHAR, no_in_season VARCHAR)\n\n Question: How many viewers tuned in for season 2?\n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22347090_4 (directed_by VARCHAR, production_code VARCHAR)
Question: Who directed the episode that has 3x6752 listed as the production code?
Here is the SQLite quer... | Here is the SQLite query to answer the question about who directed the episode with the production code "3X6752":
```
SELECT directed_by FROM table_22347090_4 WHERE production_code = "3X6752";
``` | 35,253 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22347090_4 (directed_by VARCHAR, production_code VARCHAR)\n\n Question: Who directed the episode that has 3x6752 listed as t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22347090_4 (no_in_series INTEGER, us_viewers__million_ VARCHAR)
Question: Which series number had 1.98 million viewers?
Here is the SQLite query to answer to the q... | Here is the SQLite query to answer the question: Which series number had 1.98 million viewers?:
```
SELECT no_in_series FROM table_22347090_4 WHERE us_viewers__million_ = "1.98"
``` | 35,254 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22347090_4 (no_in_series INTEGER, us_viewers__million_ VARCHAR)\n\n Question: Which series number had 1.98 million viewers?\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22347090_5 (us_viewers__million_ VARCHAR, production_code VARCHAR)
Question: Name the viewers for production code for 3x6704
Here is the SQLite query to answer to ... | Here is the SQLite query to answer your question:
```
SELECT us_viewers__million_ FROM table_22347090_5 WHERE production_code = "3x6704"
``` | 35,255 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22347090_5 (us_viewers__million_ VARCHAR, production_code VARCHAR)\n\n Question: Name the viewers for production code for 3x... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22347090_5 (us_viewers__million_ VARCHAR, production_code VARCHAR)
Question: Name the viewers for production code being 3x6706
Here is the SQLite query to answer t... | Here is the SQLite query to answer the question about the viewers for production code being 3x6706:
```
SELECT us_viewers__million_ FROM table_22347090_5 WHERE production_code = "3x6706"
``` | 35,256 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22347090_5 (us_viewers__million_ VARCHAR, production_code VARCHAR)\n\n Question: Name the viewers for production code being ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22347090_5 (title VARCHAR, us_viewers__million_ VARCHAR)
Question: Name the title that got 1.54 viewers
Here is the SQLite query to answer to the question: Name th... | Here's the SQLite query to find the title that got 1.54 viewers, wrapped as requested:
```
SELECT title FROM table_22347090_5 WHERE us_viewers__million_ = "1.54"
``` | 35,257 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22347090_5 (title VARCHAR, us_viewers__million_ VARCHAR)\n\n Question: Name the title that got 1.54 viewers\n\nHere is the S... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22347090_5 (no_in_season VARCHAR, no_in_series VARCHAR)
Question: Name the number of number in season for 26
Here is the SQLite query to answer to the question: Na... | Your SQLite query looks good, but to clearly indicate which number you are referring to in the 'no_in_series' field, I would suggest a minor adjustment to format it as a string (although it depends on the data types). Here's the refined query:
```
SELECT COUNT(no_in_season) FROM table_22347090_5 WHERE no_in_series = '... | 35,258 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22347090_5 (no_in_season VARCHAR, no_in_series VARCHAR)\n\n Question: Name the number of number in season for 26\n\nHere is ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22347090_6 (written_by VARCHAR, production_code VARCHAR)
Question: Who wrote the episode that has a production code 3x7557?
Here is the SQLite query to answer to t... | Your SQLite query looks correct for retrieving the writer of the episode with the specified production code. Here is the query wrapped in the requested format:
```
SELECT written_by FROM table_22347090_6 WHERE production_code = "3X7557";
``` | 35,259 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22347090_6 (written_by VARCHAR, production_code VARCHAR)\n\n Question: Who wrote the episode that has a production code 3x75... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22347090_6 (directed_by VARCHAR, us_viewers__million_ VARCHAR)
Question: How many directors are there for the episode that had 1.59 million U.S. viewers?
Here is t... | Your SQLite query to find the number of directors for the episode that had 1.59 million U.S. viewers is correct. Here it is wrapped in the requested format:
```
SELECT COUNT(directed_by) FROM table_22347090_6 WHERE us_viewers__million_ = "1.59"
``` | 35,260 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22347090_6 (directed_by VARCHAR, us_viewers__million_ VARCHAR)\n\n Question: How many directors are there for the episode th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22347090_6 (production_code VARCHAR, us_viewers__million_ VARCHAR)
Question: What is the production code for the episode that had 1.32 million U.S. viewers?
Here i... | Here is the SQLite query to answer the question about the production code for the episode that had 1.32 million U.S. viewers:
```
SELECT production_code FROM table_22347090_6 WHERE us_viewers__million_ = "1.32"
``` | 35,261 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22347090_6 (production_code VARCHAR, us_viewers__million_ VARCHAR)\n\n Question: What is the production code for the episode... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22347090_6 (no_in_series INTEGER, production_code VARCHAR)
Question: What episode number in the series had a production code of 3x7554?
Here is the SQLite query to... | Here is the SQLite query to answer the question regarding the episode number in the series that had a production code of 3x7554:
```
SELECT no_in_series FROM table_22347090_6 WHERE production_code = '3x7554';
``` | 35,262 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22347090_6 (no_in_series INTEGER, production_code VARCHAR)\n\n Question: What episode number in the series had a production ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22347090_6 (title VARCHAR, no_in_series VARCHAR)
Question: What is the name of episode number 41 in the series?
Here is the SQLite query to answer to the question:... | To correctly write the SQLite query that retrieves the name of episode number 41 in the series, we need to ensure that the value in `no_in_series` is properly treated as a string, since it is defined as `VARCHAR`. Here’s the query wrapped in code format:
```
SELECT title FROM table_22347090_6 WHERE no_in_series = '41'... | 35,263 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22347090_6 (title VARCHAR, no_in_series VARCHAR)\n\n Question: What is the name of episode number 41 in the series?\n\nHere ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22355_20 (silver INTEGER)
Question: Who has the minimum number of silver?
Here is the SQLite query to answer to the question: Who has the minimum number of silver?... | Here is the SQLite query to answer the question: Who has the minimum number of silver?:
```
SELECT MIN(silver) FROM table_22355_20
``` | 35,264 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22355_20 (silver INTEGER)\n\n Question: Who has the minimum number of silver?\n\nHere is the SQLite query to answer to the q... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22355_20 (athlete VARCHAR, rank VARCHAR, olympics VARCHAR)
Question: Who is the athlete who's rank is 8 and competed in the olympics during 1948–1952?
Here is the ... | Here's the SQLite query to answer the question about the athlete who has a rank of 8 and competed in the Olympics during 1948–1952:
```
SELECT athlete FROM table_22355_20 WHERE rank = '8' AND olympics = '1948–1952';
``` | 35,265 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22355_20 (athlete VARCHAR, rank VARCHAR, olympics VARCHAR)\n\n Question: Who is the athlete who's rank is 8 and competed in ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22355_20 (nation VARCHAR, olympics VARCHAR, bronze VARCHAR)
Question: What is the nation who won 1 bronze in the Olympics during 1924–1928?
Here is the SQLite que... | Here is the corrected SQLite query to answer your question:
```
SELECT nation FROM table_22355_20 WHERE olympics = "1924–1928" AND bronze = "1"
```
Note that in the schema, the `bronze` column is of type `VARCHAR`, so the value should be compared as a string (`"1"`). | 35,266 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22355_20 (nation VARCHAR, olympics VARCHAR, bronze VARCHAR)\n\n Question: What is the nation who won 1 bronze in the Olympic... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22355_20 (athlete VARCHAR, nation VARCHAR, rank VARCHAR)
Question: Who is the athlete from the nation of Ethiopia (eth) who had a rank bigger than 7.0?
Here is the... | Here is the SQLite query to answer the question regarding the athlete from Ethiopia with a rank bigger than 7.0:
```sql
SELECT athlete FROM table_22355_20 WHERE nation = 'eth' AND rank > 7.0;
``` | 35,267 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22355_20 (athlete VARCHAR, nation VARCHAR, rank VARCHAR)\n\n Question: Who is the athlete from the nation of Ethiopia (eth) ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22355_26 (gold INTEGER)
Question: What is the maximum number of golds?
Here is the SQLite query to answer to the question: What is the maximum number of golds?:
``... | Here is the SQLite query to answer the question about the maximum number of golds:
```
SELECT MAX(gold) FROM table_22355_26;
``` | 35,268 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22355_26 (gold INTEGER)\n\n Question: What is the maximum number of golds?\n\nHere is the SQLite query to answer to the ques... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22355_29 (silver INTEGER)
Question: What is the smallest amount of silver?
Here is the SQLite query to answer to the question: What is the smallest amount of silve... | Here is the SQLite query to answer the question: What is the smallest amount of silver?:
```
SELECT MIN(silver) FROM table_22355_29
``` | 35,269 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22355_29 (silver INTEGER)\n\n Question: What is the smallest amount of silver?\n\nHere is the SQLite query to answer to the ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22355_44 (nation VARCHAR, athlete VARCHAR)
Question: Name the nation for abdon pamich category:articles with hcards
Here is the SQLite query to answer to the quest... | Your SQL query is almost correct, but the athlete's name you provided seems to include extra text ("Category:Articles with hCards") that may not be the actual athlete name in the database.
If we are only searching for an athlete named "Abdon Pamich", the query should look like this:
```sql
SELECT nation FROM table_22... | 35,270 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22355_44 (nation VARCHAR, athlete VARCHAR)\n\n Question: Name the nation for abdon pamich category:articles with hcards\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22355_44 (silver INTEGER, athlete VARCHAR)
Question: Name the silver for ronald weigel category:articles with hcards
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question:
```
SELECT silver FROM table_22355_44 WHERE athlete = "Ronald Weigel Category:Articles with hCards";
``` | 35,271 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22355_44 (silver INTEGER, athlete VARCHAR)\n\n Question: Name the silver for ronald weigel category:articles with hcards\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22355_5 (rank INTEGER)
Question: What's the minimal rank of a athlete shown in the chart?
Here is the SQLite query to answer to the question: What's the minimal ra... | Here is the SQLite query to determine the minimal rank of an athlete shown in the chart:
```
SELECT MIN(rank) FROM table_22355_5;
``` | 35,272 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22355_5 (rank INTEGER)\n\n Question: What's the minimal rank of a athlete shown in the chart?\n\nHere is the SQLite query to... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22355_35 (gold INTEGER)
Question: which is the minimun amount of gold medals?
Here is the SQLite query to answer to the question: which is the minimun amount of go... | Here is the SQLite query to answer the question about the minimum amount of gold medals:
```
SELECT MIN(gold) FROM table_22355_35
``` | 35,273 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22355_35 (gold INTEGER)\n\n Question: which is the minimun amount of gold medals?\n\nHere is the SQLite query to answer to t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22355_35 (silver INTEGER)
Question: which is the minimun amount of silver medals?
Here is the SQLite query to answer to the question: which is the minimun amount o... | Here is the SQLite query to answer the question about the minimum amount of silver medals:
```
SELECT MIN(silver) FROM table_22355_35
``` | 35,274 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22355_35 (silver INTEGER)\n\n Question: which is the minimun amount of silver medals?\n\nHere is the SQLite query to answer ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22355_65 (total_min_2_medals_ INTEGER)
Question: What is the lowest overall number for total(min. 2 medals)?
Here is the SQLite query to answer to the question: W... | Your provided SQLite query is correct for retrieving the lowest overall number for `total(min. 2 medals)` from the table. Here it is wrapped as requested:
```
SELECT MIN(total_min_2_medals_) FROM table_22355_65;
``` | 35,275 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22355_65 (total_min_2_medals_ INTEGER)\n\n Question: What is the lowest overall number for total(min. 2 medals)?\n\nHere is... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22355_62 (rank INTEGER, gold VARCHAR)
Question: What is the maximum rank of the nation that won 4 gold medals?
Here is the SQLite query to answer to the question: ... | The provided SQLite query contains a small mistake in the `WHERE` clause; it should count the occurrences of gold medals for each nation and then filter for those that won exactly 4 gold medals. To achieve this, you usually need to use a `GROUP BY` clause along with a `HAVING` clause. Here's the corrected version of th... | 35,276 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22355_62 (rank INTEGER, gold VARCHAR)\n\n Question: What is the maximum rank of the nation that won 4 gold medals?\n\nHere i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22355_68 (rank INTEGER)
Question: Name the most rank
Here is the SQLite query to answer to the question: Name the most rank:
```
SELECT MAX(rank) FROM table_22355_... | Your SQLite query to find the maximum rank is correct. Here it is wrapped properly for your convenience:
```
SELECT MAX(rank) FROM table_22355_68;
```
This query will return the highest value in the `rank` column from the `table_22355_68` table. | 35,277 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22355_68 (rank INTEGER)\n\n Question: Name the most rank\n\nHere is the SQLite query to answer to the question: Name the mos... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22355_68 (rank INTEGER, gold VARCHAR)
Question: Name the most rank for 2 gold
Here is the SQLite query to answer to the question: Name the most rank for 2 gold:
``... | The SQL query provided has a small error in it. The `gold` column is of type `VARCHAR`, meaning it contains string values. To find the most rank for the value "2", the SQL query should compare the `gold` column with the string `'2'`.
Here’s the corrected SQL query:
```
SELECT MAX(rank) FROM table_22355_68 WHERE gold ... | 35,278 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22355_68 (rank INTEGER, gold VARCHAR)\n\n Question: Name the most rank for 2 gold\n\nHere is the SQLite query to answer to t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22360_3 (total INTEGER)
Question: Name the most total
Here is the SQLite query to answer to the question: Name the most total :
```
SELECT MAX(total) FROM table_2... | Here's the SQLite query to find the maximum value of the `total` column from the `table_22360_3` table:
```
SELECT MAX(total) FROM table_22360_3;
``` | 35,279 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22360_3 (total INTEGER)\n\n Question: Name the most total \n\nHere is the SQLite query to answer to the question: Name the m... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22360_3 (silver INTEGER, discipline VARCHAR)
Question: Name the silver for baseball
Here is the SQLite query to answer to the question: Name the silver for basebal... | Here is the SQLite query to answer the question: Name the silver for baseball:
```
SELECT silver FROM table_22360_3 WHERE discipline = "Baseball"
``` | 35,280 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22360_3 (silver INTEGER, discipline VARCHAR)\n\n Question: Name the silver for baseball\n\nHere is the SQLite query to answe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22360_3 (discipline VARCHAR, bronze VARCHAR)
Question: Name the discipline for bronze being 0
Here is the SQLite query to answer to the question: Name the discipli... | Here is the SQLite query to answer the question: Name the discipline for bronze being 0:
```
SELECT discipline FROM table_22360_3 WHERE bronze = '0'
``` | 35,281 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22360_3 (discipline VARCHAR, bronze VARCHAR)\n\n Question: Name the discipline for bronze being 0\n\nHere is the SQLite quer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22368322_2 (_€_million VARCHAR, tier_1_capital INTEGER, institution VARCHAR)
Question: Name the most tier 1 capital for irish nationwide
Here is the SQLite query t... | Your query is almost correct, but to retrieve the most Tier 1 capital for "Irish Nationwide" along with the corresponding value in `_€_million`, you'll need to use a subquery or a different approach. The MAX function only returns the maximum value, and you'll need to join it back to your original data to get the correc... | 35,282 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22368322_2 (_€_million VARCHAR, tier_1_capital INTEGER, institution VARCHAR)\n\n Question: Name the most tier 1 capital for ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22368322_2 (tier_1_ratio VARCHAR, institution VARCHAR)
Question: Name the tier 1 ratio for irish life and permanent
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer the question of naming the tier 1 ratio for "Irish Life and Permanent":
```sql
SELECT tier_1_ratio FROM table_22368322_2 WHERE institution = "Irish Life and Permanent";
``` | 35,283 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22368322_2 (tier_1_ratio VARCHAR, institution VARCHAR)\n\n Question: Name the tier 1 ratio for irish life and permanent\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22368322_2 (_€_million VARCHAR, tier_1_capital VARCHAR, institution VARCHAR)
Question: Name the total number of tier 1 capital for allied irish banks
Here is the S... | The provided SQLite query does not correctly address the question of summing the tier 1 capital for Allied Irish Banks. Instead, it counts the number of records where the institution matches "Allied Irish Banks". To calculate the total tier 1 capital, you would typically want to sum up the values in the `tier_1_capital... | 35,284 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22368322_2 (_€_million VARCHAR, tier_1_capital VARCHAR, institution VARCHAR)\n\n Question: Name the total number of tier 1 c... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22368322_2 (date_of_report VARCHAR, tier_1_ratio VARCHAR)
Question: Name the date of report for tier 1 ratio being 3.9%
Here is the SQLite query to answer to the q... | Here is the SQLite query to answer the question:
```
SELECT date_of_report FROM table_22368322_2 WHERE tier_1_ratio = "3.9%"
``` | 35,285 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22368322_2 (date_of_report VARCHAR, tier_1_ratio VARCHAR)\n\n Question: Name the date of report for tier 1 ratio being 3.9%\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22383603_1 (season VARCHAR, finish__incl_championship_ VARCHAR)
Question: What season ended on April 18?
Here is the SQLite query to answer to the question: What s... | Your provided query is almost correct, but it is important to ensure that the date format in the query matches exactly what is stored in the `finish__incl_championship_` column. If the dates are stored as full strings rather than just a day/month format, you may need to adjust the query accordingly. Assuming the value ... | 35,286 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22383603_1 (season VARCHAR, finish__incl_championship_ VARCHAR)\n\n Question: What season ended on April 18?\n\nHere is the ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22383603_1 (start__reg_season_ VARCHAR, top_record VARCHAR)
Question: When did the season start that ended with the top record of Lindenwood (20–0–0)?
Here is the ... | Here is the SQLite query to answer your question:
```
SELECT start__reg_season_ FROM table_22383603_1 WHERE top_record = "Lindenwood (20–0–0)"
``` | 35,287 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22383603_1 (start__reg_season_ VARCHAR, top_record VARCHAR)\n\n Question: When did the season start that ended with the top ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22383603_1 (season VARCHAR, no VARCHAR)
Question: What is the year range of season 4?
Here is the SQLite query to answer to the question: What is the year range of... | To get the year range of season 4 from the provided schema, you need to focus on finding the corresponding records for season 4. Here’s the corrected SQL query that may help you achieve that:
```sql
SELECT MIN(season) AS start_year, MAX(season) AS end_year
FROM table_22383603_1
WHERE no = '4';
```
This assumes that... | 35,288 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22383603_1 (season VARCHAR, no VARCHAR)\n\n Question: What is the year range of season 4?\n\nHere is the SQLite query to ans... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22383603_1 (finish__incl_championship_ VARCHAR, start__reg_season_ VARCHAR)
Question: When is the finish of the season that started on September 25?
Here is the SQ... | Your SQLite query to find the finish of the season that started on September 25 is correct. Here it is wrapped in the specified code format:
```
SELECT finish__incl_championship_ FROM table_22383603_1 WHERE start__reg_season_ = "September 25"
``` | 35,289 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22383603_1 (finish__incl_championship_ VARCHAR, start__reg_season_ VARCHAR)\n\n Question: When is the finish of the season t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22380270_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
Question: On what air date were there 2.15 million u.s. viewers?
Here is the SQLite query to ... | Here is the SQLite query to answer the question about the air date with 2.15 million U.S. viewers:
```
SELECT original_air_date
FROM table_22380270_1
WHERE us_viewers__millions_ = "2.15";
``` | 35,290 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22380270_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)\n\n Question: On what air date were there 2.15 million... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22380270_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
Question: Who was the writer for the episode with 2.15 million u.s.viewers?
Here is the SQLite query... | Here is the SQLite query to answer the question about the writer for the episode with 2.15 million U.S. viewers:
```
SELECT written_by FROM table_22380270_1 WHERE us_viewers__millions_ = "2.15"
``` | 35,291 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22380270_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR)\n\n Question: Who was the writer for the episode with 2.15 mi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22385461_1 (spacewalkers VARCHAR, spacecraft VARCHAR)
Question: Who walked in space from STS-101 Eva 1?
Here is the SQLite query to answer to the question: Who wal... | Here is the SQLite query to answer the question "Who walked in space from STS-101 Eva 1?":
```
SELECT spacewalkers FROM table_22385461_1 WHERE spacecraft = "STS-101 Eva 1";
``` | 35,292 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22385461_1 (spacewalkers VARCHAR, spacecraft VARCHAR)\n\n Question: Who walked in space from STS-101 Eva 1?\n\nHere is the S... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22385461_8 (end__utc_ VARCHAR, duration VARCHAR)
Question: What is the end (UTC) if the duration is 6 hours, 55 minutes?
Here is the SQLite query to answer to the ... | Here is the SQLite query to answer the question about the end (UTC) if the duration is 6 hours, 55 minutes:
```
SELECT end__utc_ FROM table_22385461_8 WHERE duration = "6 hours, 55 minutes";
``` | 35,293 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22385461_8 (end__utc_ VARCHAR, duration VARCHAR)\n\n Question: What is the end (UTC) if the duration is 6 hours, 55 minutes?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22385461_8 (spacewalkers VARCHAR, end__utc_ VARCHAR)
Question: If the end (UTC) is January 31, 2007 23:09, what is the name of the spacewalkers?
Here is the SQLite... | Here is the SQLite query wrapped in code formatting as you requested:
```
SELECT spacewalkers FROM table_22385461_8 WHERE end__utc_ = "January 31, 2007 23:09"
``` | 35,294 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22385461_8 (spacewalkers VARCHAR, end__utc_ VARCHAR)\n\n Question: If the end (UTC) is January 31, 2007 23:09, what is the n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22385461_8 (spacewalkers VARCHAR, end__utc_ VARCHAR)
Question: What are the names of the spacewalkers for end (UTC) October 30, 2007 15:53?
Here is the SQLite quer... | Here is the SQLite query to answer the question about the names of the spacewalkers for the specified end (UTC) date:
```
SELECT spacewalkers FROM table_22385461_8 WHERE end__utc_ = "October 30, 2007 15:53"
``` | 35,295 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22385461_8 (spacewalkers VARCHAR, end__utc_ VARCHAR)\n\n Question: What are the names of the spacewalkers for end (UTC) Octo... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22402438_7 (position VARCHAR, player VARCHAR)
Question: Which position is player bernie doan?
Here is the SQLite query to answer to the question: Which position is... | Here is the SQLite query to answer the question: Which position is player Bernie Doan?:
```
SELECT position FROM table_22402438_7 WHERE player = "Bernie Doan";
``` | 35,296 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22402438_7 (position VARCHAR, player VARCHAR)\n\n Question: Which position is player bernie doan?\n\nHere is the SQLite quer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22402438_7 (pick__number INTEGER, position VARCHAR)
Question: How many pick # are there for the goaltender position?
Here is the SQLite query to answer to the ques... | To count how many pick numbers there are for the goaltender position, you should use the `COUNT` function instead of `MIN`. Here's the correct SQLite query:
```sql
SELECT COUNT(pick__number) FROM table_22402438_7 WHERE position = "Goaltender";
``` | 35,297 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22402438_7 (pick__number INTEGER, position VARCHAR)\n\n Question: How many pick # are there for the goaltender position?\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22402438_7 (college_junior_club_team VARCHAR, player VARCHAR)
Question: How many college/junior/clubteams have John garrett as the player?
Here is the SQLite query... | Here is the SQLite query to answer the question regarding how many college/junior/club teams have John Garrett as the player:
```
SELECT COUNT(college_junior_club_team) FROM table_22402438_7 WHERE player = "John Garrett";
``` | 35,298 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22402438_7 (college_junior_club_team VARCHAR, player VARCHAR)\n\n Question: How many college/junior/clubteams have John garr... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_22402438_7 (player VARCHAR, pick__number VARCHAR)
Question: Who is the player with the pick# 80?
Here is the SQLite query to answer to the question: Who is the pla... | Here is the SQLite query to answer the question: Who is the player with the pick# 80?:
```
SELECT player FROM table_22402438_7 WHERE pick__number = '80'
``` | 35,299 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22402438_7 (player VARCHAR, pick__number VARCHAR)\n\n Question: Who is the player with the pick# 80?\n\nHere is the SQLite q... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.