{"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `concert_Name` FROM `concert`","question":"Show the different concert_Name in the table concert","db_schema_normalized":"`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT DISTINCT concert_Name FROM concert;\n```","cost":0.00004665,"response_parsed":"SELECT DISTINCT concert_Name FROM concert;","time":0.6502020359}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Theme` FROM `concert`","question":"Show the different Theme in the table concert","db_schema_normalized":"`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch the different themes from the \"concert\" table, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT \"Theme\" FROM \"concert\";\n```","cost":0.0000597,"response_parsed":"SELECT DISTINCT \"Theme\" FROM \"concert\";","time":1.0239377022}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Stadium_ID` FROM `concert`","question":"Show the different Stadium_ID in the table concert","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT DISTINCT Stadium_ID FROM concert;\n```","cost":0.00004665,"response_parsed":"SELECT DISTINCT Stadium_ID FROM concert;","time":0.5524203777}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Year` FROM `concert`","question":"Show the different Year in the table concert","db_schema_normalized":"`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To retrieve the different years from the `concert` table, you can use the `DISTINCT` keyword in SQL. Here's the SQL code that accomplishes this:\n\n```sql\nSELECT DISTINCT Year \nFROM concert;\n```","cost":0.0000663,"response_parsed":"SELECT DISTINCT Year \nFROM concert;","time":1.1158826351}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Location` FROM `stadium`","question":"Show the different Location in the table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch the different locations in the `stadium` table, you can use the SQL `SELECT` statement with the `DISTINCT` keyword to ensure that only unique locations are returned. Here is the SQL code to achieve that:\n\n```sql\nSELECT DISTINCT Location FROM stadium;\n```","cost":0.0000741,"response_parsed":"SELECT DISTINCT Location FROM stadium;","time":1.4489088058}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Name` FROM `stadium`","question":"Show the different Name in the table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To retrieve the distinct names from the `stadium` table, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT \"Name\" FROM \"stadium\";\n```","cost":0.0000609,"response_parsed":"SELECT DISTINCT \"Name\" FROM \"stadium\";","time":0.9206752777}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Name` FROM `singer`","question":"Show the different Name in the table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Here is the SQL code to retrieve the different names from the \"singer\" table:\n\n```sql\nSELECT DISTINCT Name FROM singer;\n```","cost":0.0000567,"response_parsed":"SELECT DISTINCT Name FROM singer;","time":1.1363768578}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Country` FROM `singer`","question":"Show the different Country in the table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch the distinct countries from the \"singer\" table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT Country FROM singer;\n```","cost":0.0000585,"response_parsed":"SELECT DISTINCT Country FROM singer;","time":1.4981918335}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Song_Name` FROM `singer`","question":"Show the different Song_Name in the table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To retrieve the different song names from the `singer` table, you can use the `SELECT DISTINCT` statement to ensure that only unique song names are returned. Here's the SQL code for that:\n\n```sql\nSELECT DISTINCT \"Song_Name\" FROM \"singer\";\n```","cost":0.00007305,"response_parsed":"SELECT DISTINCT \"Song_Name\" FROM \"singer\";","time":1.5007839203}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Song_release_year` FROM `singer`","question":"Show the different Song_release_year in the table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch the different `Song_release_year` values from the `singer` table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT Song_release_year \nFROM singer;\n```","cost":0.0000636,"response_parsed":"SELECT DISTINCT Song_release_year \nFROM singer;","time":1.0119142532}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer_in_concert","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Singer_ID` FROM `singer_in_concert`","question":"Show the different Singer_ID in the table singer_in_concert","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT DISTINCT Singer_ID FROM singer_in_concert;\n```","cost":0.0000489,"response_parsed":"SELECT DISTINCT Singer_ID FROM singer_in_concert;","time":0.4925916195}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `concert_Name`, COUNT(*) FROM `concert` GROUP BY `concert_Name`","question":"For each concert_Name, count the number of rows in table concert","db_schema_normalized":"`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To count the number of rows in the `concert` table for each unique `concert_Name`, you can use the following SQL code:\n\n```sql\nSELECT concert_Name, COUNT(*) AS concert_count\nFROM concert\nGROUP BY concert_Name;\n```","cost":0.00007005,"response_parsed":"SELECT concert_Name, COUNT(*) AS concert_count\nFROM concert\nGROUP BY concert_Name;","time":0.8918187618}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Theme`, COUNT(*) FROM `concert` GROUP BY `Theme`","question":"For each Theme, count the number of rows in table concert","db_schema_normalized":"`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To count the number of rows in the `concert` table for each distinct `Theme`, you can use the following SQL code:\n\n```sql\nSELECT Theme, COUNT(*) AS NumberOfConcerts\nFROM concert\nGROUP BY Theme;\n``` \n\nThis code selects the `Theme` from the `concert` table, counts the number of concert rows for each theme, and groups the results by the `Theme` column.","cost":0.0000909,"response_parsed":"SELECT Theme, COUNT(*) AS NumberOfConcerts\nFROM concert\nGROUP BY Theme;","time":1.6071445942}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Stadium_ID`, COUNT(*) FROM `concert` GROUP BY `Stadium_ID`","question":"For each Stadium_ID, count the number of rows in table concert","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To count the number of concerts for each `Stadium_ID` from the `concert` table, you can use the following SQL query:\n\n```sql\nSELECT Stadium_ID, COUNT(*) AS concert_count\nFROM concert\nGROUP BY Stadium_ID;\n``` \n\nThis query groups the results by `Stadium_ID` and counts the number of entries (rows) for each stadium in the `concert` table, providing you with the concert count per stadium.","cost":0.00009465,"response_parsed":"SELECT Stadium_ID, COUNT(*) AS concert_count\nFROM concert\nGROUP BY Stadium_ID;","time":1.9106655121}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Year`, COUNT(*) FROM `concert` GROUP BY `Year`","question":"For each Year, count the number of rows in table concert","db_schema_normalized":"`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To count the number of rows in the `concert` table for each year, you can use the following SQL query:\n\n```sql\nSELECT Year, COUNT(*) AS concert_count\nFROM concert\nGROUP BY Year;\n``` \n\nThis query selects the `Year` from the `concert` table and counts the number of concerts for each year, grouping the results by the `Year` column.","cost":0.0000873,"response_parsed":"SELECT Year, COUNT(*) AS concert_count\nFROM concert\nGROUP BY Year;","time":1.2217493057}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Location`, COUNT(*) FROM `stadium` GROUP BY `Location`","question":"For each Location, count the number of rows in table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To count the number of rows in the \"stadium\" table for each Location, you can use the following SQL code:\n\n```sql\nSELECT Location, COUNT(*) AS NumberOfRows\nFROM stadium\nGROUP BY Location;\n```","cost":0.0000681,"response_parsed":"SELECT Location, COUNT(*) AS NumberOfRows\nFROM stadium\nGROUP BY Location;","time":0.8936564922}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Name`, COUNT(*) FROM `stadium` GROUP BY `Name`","question":"For each Name, count the number of rows in table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To count the number of rows in the \"stadium\" table for each unique \"Name\" in that table, you can use the following SQL query:\n\n```sql\nSELECT \"Name\", COUNT(*) AS \"Row_Count\"\nFROM \"stadium\"\nGROUP BY \"Name\";\n``` \n\nThis SQL statement selects the \"Name\" from the \"stadium\" table and counts the number of occurrences for each distinct \"Name\", grouping the results by \"Name\". The result will show the name of the stadium along with the count of how many rows have that name.","cost":0.0001077,"response_parsed":"SELECT \"Name\", COUNT(*) AS \"Row_Count\"\nFROM \"stadium\"\nGROUP BY \"Name\";","time":1.5596718788}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `Location`, MIN(`Capacity`) FROM `stadium` GROUP BY `Location`","question":"For each Location, find the min of Capacity in table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To retrieve the minimum capacity for each location from the `stadium` table, the following SQL code can be executed:\n\n```sql\nSELECT Location, MIN(Capacity) AS Min_Capacity\nFROM stadium\nGROUP BY Location;\n```","cost":0.0000699,"response_parsed":"SELECT Location, MIN(Capacity) AS Min_Capacity\nFROM stadium\nGROUP BY Location;","time":0.7948105335}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `Location`, MAX(`Capacity`) FROM `stadium` GROUP BY `Location`","question":"For each Location, find the max of Capacity in table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To find the maximum capacity for each location in the `stadium` table, you can use the following SQL code:\n\n```sql\nSELECT Location, MAX(Capacity) AS Max_Capacity\nFROM stadium\nGROUP BY Location;\n```","cost":0.0000699,"response_parsed":"SELECT Location, MAX(Capacity) AS Max_Capacity\nFROM stadium\nGROUP BY Location;","time":0.9339148998}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `Location`, AVG(`Capacity`) FROM `stadium` GROUP BY `Location`","question":"For each Location, find the avg of Capacity in table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Here is the SQL code to fetch the average capacity for each location from the `stadium` table:\n\n```sql\nSELECT Location, AVG(Capacity) AS Avg_Capacity\nFROM stadium\nGROUP BY Location;\n```","cost":0.0000681,"response_parsed":"SELECT Location, AVG(Capacity) AS Avg_Capacity\nFROM stadium\nGROUP BY Location;","time":0.7372379303}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `Location`, SUM(`Capacity`) FROM `stadium` GROUP BY `Location`","question":"For each Location, find the sum of Capacity in table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Here is the SQL code to fetch the sum of Capacity for each Location in the `stadium` table:\n\n```sql\nSELECT Location, SUM(Capacity) AS Total_Capacity\nFROM stadium\nGROUP BY Location;\n```","cost":0.0000687,"response_parsed":"SELECT Location, SUM(Capacity) AS Total_Capacity\nFROM stadium\nGROUP BY Location;","time":0.8563625813}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `Location`, MIN(`Lowest`) FROM `stadium` GROUP BY `Location`","question":"For each Location, find the min of Lowest in table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To find the minimum of the \"Lowest\" field for each location in the \"stadium\" table, you can use the following SQL query:\n\n```sql\nSELECT Location, MIN(Lowest) AS Min_Lowest\nFROM stadium\nGROUP BY Location;\n``` \n\nThis query selects the \"Location\" and the minimum value of \"Lowest\" for each unique location from the \"stadium\" table, grouping the results by the \"Location\" field.","cost":0.0000957,"response_parsed":"SELECT Location, MIN(Lowest) AS Min_Lowest\nFROM stadium\nGROUP BY Location;","time":1.5421676636}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `Location`, MAX(`Lowest`) FROM `stadium` GROUP BY `Location`","question":"For each Location, find the max of Lowest in table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To find the maximum of the \"Lowest\" field for each location in the \"stadium\" table, you can use the following SQL query:\n\n```sql\nSELECT Location, MAX(Lowest) AS Max_Lowest\nFROM stadium\nGROUP BY Location;\n``` \n\nThis query selects the distinct \"Location\" values from the \"stadium\" table and computes the maximum value of the \"Lowest\" column for each of those locations. The results will show each location alongside its maximum lowest value.","cost":0.0001005,"response_parsed":"SELECT Location, MAX(Lowest) AS Max_Lowest\nFROM stadium\nGROUP BY Location;","time":1.4623501301}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `Location`, AVG(`Lowest`) FROM `stadium` GROUP BY `Location`","question":"For each Location, find the avg of Lowest in table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch the average of the lowest values for each location in the `stadium` table, you can use the following SQL code:\n\n```sql\nSELECT Location, AVG(Lowest) AS Avg_Lowest\nFROM stadium\nGROUP BY Location;\n```","cost":0.0000717,"response_parsed":"SELECT Location, AVG(Lowest) AS Avg_Lowest\nFROM stadium\nGROUP BY Location;","time":1.0216526985}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `Location`, SUM(`Lowest`) FROM `stadium` GROUP BY `Location`","question":"For each Location, find the sum of Lowest in table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To find the sum of the \"Lowest\" column in the \"stadium\" table for each Location, you can use the following SQL code:\n\n```sql\nSELECT Location, SUM(Lowest) AS Total_Lowest\nFROM stadium\nGROUP BY Location;\n```","cost":0.0000729,"response_parsed":"SELECT Location, SUM(Lowest) AS Total_Lowest\nFROM stadium\nGROUP BY Location;","time":1.7381739616}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `Name`, MIN(`Capacity`) FROM `stadium` GROUP BY `Name`","question":"For each Name, find the min of Capacity in table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch the minimum Capacity for each Name in the stadium table, you can use the following SQL query:\n\n```sql\nSELECT Name, MIN(Capacity) AS Min_Capacity\nFROM stadium\nGROUP BY Name;\n``` \n\nThis SQL statement groups the records in the `stadium` table by the `Name` field and computes the minimum `Capacity` for each unique `Name`.","cost":0.0000879,"response_parsed":"SELECT Name, MIN(Capacity) AS Min_Capacity\nFROM stadium\nGROUP BY Name;","time":1.1910777092}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `Name`, MAX(`Capacity`) FROM `stadium` GROUP BY `Name`","question":"For each Name, find the max of Capacity in table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To find the maximum capacity for each name in the `stadium` table, you can use the following SQL query:\n\n```sql\nSELECT Name, MAX(Capacity) AS Max_Capacity\nFROM stadium\nGROUP BY Name;\n``` \n\nThis query selects each unique `Name` from the `stadium` table and returns the maximum `Capacity` associated with that name by grouping the results accordingly.","cost":0.0000897,"response_parsed":"SELECT Name, MAX(Capacity) AS Max_Capacity\nFROM stadium\nGROUP BY Name;","time":2.3006727695}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `Name`, AVG(`Capacity`) FROM `stadium` GROUP BY `Name`","question":"For each Name, find the avg of Capacity in table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Here is the SQL code to find the average capacity for each name in the \"stadium\" table:\n\n```sql\nSELECT Name, AVG(Capacity) AS Avg_Capacity\nFROM stadium\nGROUP BY Name;\n```","cost":0.0000681,"response_parsed":"SELECT Name, AVG(Capacity) AS Avg_Capacity\nFROM stadium\nGROUP BY Name;","time":0.7715947628}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `Name`, SUM(`Capacity`) FROM `stadium` GROUP BY `Name`","question":"For each Name, find the sum of Capacity in table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To find the sum of Capacity for each Name in the `stadium` table, you can use the following SQL query:\n\n```sql\nSELECT Name, SUM(Capacity) AS Total_Capacity\nFROM stadium\nGROUP BY Name;\n``` \n\nThis query selects the `Name` from the `stadium` table and calculates the total `Capacity` for each unique name, grouping the results by the `Name` column.","cost":0.0000927,"response_parsed":"SELECT Name, SUM(Capacity) AS Total_Capacity\nFROM stadium\nGROUP BY Name;","time":1.6616294384}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `Name`, MIN(`Lowest`) FROM `stadium` GROUP BY `Name`","question":"For each Name, find the min of Lowest in table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch the minimum value of the \"Lowest\" column from the \"stadium\" table for each unique \"Name\", you can use the following SQL code:\n\n```sql\nSELECT Name, MIN(Lowest) AS Min_Lowest\nFROM stadium\nGROUP BY Name;\n``` \n\nThis SQL query selects the name of the stadium and the minimum value of the \"Lowest\" column, grouping the results by \"Name\".","cost":0.0000915,"response_parsed":"SELECT Name, MIN(Lowest) AS Min_Lowest\nFROM stadium\nGROUP BY Name;","time":1.4350733757}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `Name`, MAX(`Lowest`) FROM `stadium` GROUP BY `Name`","question":"For each Name, find the max of Lowest in table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To answer the question of finding the maximum value of the \"Lowest\" column for each \"Name\" in the `stadium` table, you can use the following SQL code:\n\n```sql\nSELECT Name, MAX(Lowest) AS Max_Lowest\nFROM stadium\nGROUP BY Name;\n``` \n\nThis query aggregates the data by the \"Name\" column and calculates the maximum value of the \"Lowest\" column for each group of names in the `stadium` table.","cost":0.0000987,"response_parsed":"SELECT Name, MAX(Lowest) AS Max_Lowest\nFROM stadium\nGROUP BY Name;","time":1.6287014484}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `Name`, AVG(`Lowest`) FROM `stadium` GROUP BY `Name`","question":"For each Name, find the avg of Lowest in table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Here is the SQL code to find the average of the `Lowest` column grouped by `Name` from the `stadium` table:\n\n```sql\nSELECT Name, AVG(Lowest) AS avg_lowest\nFROM stadium\nGROUP BY Name;\n```","cost":0.0000717,"response_parsed":"SELECT Name, AVG(Lowest) AS avg_lowest\nFROM stadium\nGROUP BY Name;","time":0.7515444756}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `Name`, SUM(`Lowest`) FROM `stadium` GROUP BY `Name`","question":"For each Name, find the sum of Lowest in table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To find the sum of the `Lowest` column in the `stadium` table for each `Name`, you can use the following SQL code:\n\n```sql\nSELECT Name, SUM(Lowest) AS total_lowest\nFROM stadium\nGROUP BY Name;\n```","cost":0.0000729,"response_parsed":"SELECT Name, SUM(Lowest) AS total_lowest\nFROM stadium\nGROUP BY Name;","time":0.9471735954}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Name`, COUNT(*) FROM `singer` GROUP BY `Name`","question":"For each Name, count the number of rows in table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To count the number of rows in the `singer` table grouped by the `Name`, you can use the following SQL query:\n\n```sql\nSELECT Name, COUNT(*) AS num_rows\nFROM singer\nGROUP BY Name;\n```","cost":0.0000687,"response_parsed":"SELECT Name, COUNT(*) AS num_rows\nFROM singer\nGROUP BY Name;","time":0.7930746078}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Country`, COUNT(*) FROM `singer` GROUP BY `Country`","question":"For each Country, count the number of rows in table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To count the number of rows in the `singer` table for each country, you can use the following SQL code:\n\n```sql\nSELECT Country, COUNT(*) AS Singer_Count\nFROM singer\nGROUP BY Country;\n```","cost":0.0000675,"response_parsed":"SELECT Country, COUNT(*) AS Singer_Count\nFROM singer\nGROUP BY Country;","time":0.8678073883}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Song_Name`, COUNT(*) FROM `singer` GROUP BY `Song_Name`","question":"For each Song_Name, count the number of rows in table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To count the number of rows in the `singer` table for each `Song_Name`, you can use the following SQL code:\n\n```sql\nSELECT Song_Name, COUNT(*) AS Singer_Count\nFROM singer\nGROUP BY Song_Name;\n```","cost":0.00007005,"response_parsed":"SELECT Song_Name, COUNT(*) AS Singer_Count\nFROM singer\nGROUP BY Song_Name;","time":0.8709537983}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Song_release_year`, COUNT(*) FROM `singer` GROUP BY `Song_release_year`","question":"For each Song_release_year, count the number of rows in table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To count the number of singers grouped by their song release year from the \"singer\" table, you can use the following SQL code:\n\n```sql\nSELECT Song_release_year, COUNT(*) AS Singer_Count\nFROM singer\nGROUP BY Song_release_year;\n``` \n\nThis SQL query selects the `Song_release_year` and the count of rows for each distinct release year from the `singer` table, grouping the results by `Song_release_year`.","cost":0.0000948,"response_parsed":"SELECT Song_release_year, COUNT(*) AS Singer_Count\nFROM singer\nGROUP BY Song_release_year;","time":1.1459546089}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `Song_Name`, MIN(`Age`) FROM `singer` GROUP BY `Song_Name`","question":"For each Song_Name, find the min of Age in table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To find the minimum age of singers for each song in your database, you can use the following SQL query:\n\n```sql\nSELECT Song_Name, MIN(Age) AS Min_Age\nFROM singer\nGROUP BY Song_Name;\n```\n\nThis query selects the `Song_Name` and calculates the minimum `Age` for each song by grouping the results by `Song_Name`.","cost":0.00008565,"response_parsed":"SELECT Song_Name, MIN(Age) AS Min_Age\nFROM singer\nGROUP BY Song_Name;","time":0.8977930546}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `Song_Name`, MAX(`Age`) FROM `singer` GROUP BY `Song_Name`","question":"For each Song_Name, find the max of Age in table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To find the maximum age of singers for each song name from the `singer` table, you can use the following SQL query:\n\n```sql\nSELECT Song_Name, MAX(Age) AS Max_Age\nFROM singer\nGROUP BY Song_Name;\n``` \n\nThis query selects the `Song_Name` and the maximum `Age` for each `Song_Name`, grouping the results by `Song_Name`.","cost":0.00008925,"response_parsed":"SELECT Song_Name, MAX(Age) AS Max_Age\nFROM singer\nGROUP BY Song_Name;","time":1.4204854965}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `Song_Name`, AVG(`Age`) FROM `singer` GROUP BY `Song_Name`","question":"For each Song_Name, find the avg of Age in table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To achieve this, you can use the SQL `GROUP BY` clause along with the `AVG()` function to calculate the average age of singers for each song. Here is the SQL code:\n\n```sql\nSELECT Song_Name, AVG(Age) AS Average_Age\nFROM singer\nGROUP BY Song_Name;\n``` \n\nThis query selects the `Song_Name` and calculates the average age of singers for each song by grouping the results based on `Song_Name`.","cost":0.00009585,"response_parsed":"SELECT Song_Name, AVG(Age) AS Average_Age\nFROM singer\nGROUP BY Song_Name;","time":1.1895916462}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `Song_Name`, SUM(`Age`) FROM `singer` GROUP BY `Song_Name`","question":"For each Song_Name, find the sum of Age in table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT Song_Name, SUM(Age) AS Total_Age\nFROM singer\nGROUP BY Song_Name;\n```","cost":0.00005565,"response_parsed":"SELECT Song_Name, SUM(Age) AS Total_Age\nFROM singer\nGROUP BY Song_Name;","time":1.2991509438}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `Name`, MIN(`Age`) FROM `singer` GROUP BY `Name`","question":"For each Name, find the min of Age in table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To retrieve the minimum age of each singer from the `singer` table, you can use the following SQL query:\n\n```sql\nSELECT Name, MIN(Age) AS Min_Age\nFROM singer\nGROUP BY Name;\n```","cost":0.0000687,"response_parsed":"SELECT Name, MIN(Age) AS Min_Age\nFROM singer\nGROUP BY Name;","time":0.665145874}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `Name`, MAX(`Age`) FROM `singer` GROUP BY `Name`","question":"For each Name, find the max of Age in table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch the maximum age for each singer's name from the `singer` table, you can use the following SQL code:\n\n```sql\nSELECT Name, MAX(Age) AS Max_Age\nFROM singer\nGROUP BY Name;\n```","cost":0.0000699,"response_parsed":"SELECT Name, MAX(Age) AS Max_Age\nFROM singer\nGROUP BY Name;","time":0.8211450577}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `Name`, AVG(`Age`) FROM `singer` GROUP BY `Name`","question":"For each Name, find the avg of Age in table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To find the average age of each singer in the `singer` table, you can use the following SQL code:\n\n```sql\nSELECT Name, AVG(Age) AS Average_Age\nFROM singer\nGROUP BY Name;\n``` \n\nThis code selects the `Name` of each singer and calculates the average of their `Age`, grouped by `Name`.","cost":0.0000837,"response_parsed":"SELECT Name, AVG(Age) AS Average_Age\nFROM singer\nGROUP BY Name;","time":1.7548763752}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `Name`, SUM(`Age`) FROM `singer` GROUP BY `Name`","question":"For each Name, find the sum of Age in table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch the sum of `Age` for each `Name` in the `singer` table, you can use the following SQL query:\n\n```sql\nSELECT Name, SUM(Age) AS Total_Age\nFROM singer\nGROUP BY Name;\n```","cost":0.0000717,"response_parsed":"SELECT Name, SUM(Age) AS Total_Age\nFROM singer\nGROUP BY Name;","time":1.0687801838}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer_in_concert","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Singer_ID`, COUNT(*) FROM `singer_in_concert` GROUP BY `Singer_ID`","question":"For each Singer_ID, count the number of rows in table singer_in_concert","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To count the number of rows in the `singer_in_concert` table for each `Singer_ID`, you can use the following SQL query:\n\n```sql\nSELECT Singer_ID, COUNT(*) AS NumberOfConcerts\nFROM singer_in_concert\nGROUP BY Singer_ID;\n```","cost":0.0000753,"response_parsed":"SELECT Singer_ID, COUNT(*) AS NumberOfConcerts\nFROM singer_in_concert\nGROUP BY Singer_ID;","time":0.9238259792}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Stadium_ID` FROM `concert` GROUP BY `Stadium_ID` HAVING count(*) >= 1","question":"Find all the Stadium_ID that have at least 1 records in table concert","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To find all the `Stadium_ID`s that have at least one record in the `concert` table, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT Stadium_ID\nFROM concert;\n``` \n\nThis query selects the distinct `Stadium_ID`s from the `concert` table, which ensures that you get each `Stadium_ID` only once if it has one or more associated records in the `concert` table.","cost":0.00009375,"response_parsed":"SELECT DISTINCT Stadium_ID\nFROM concert;","time":1.7196145058}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Stadium_ID` FROM `concert` GROUP BY `Stadium_ID` HAVING count(*) <= 1","question":"Find all the Stadium_ID that have at most 1 records in table concert","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To find all the Stadium_IDs that have at most 1 record in the `concert` table, you can use the following SQL query:\n\n```sql\nSELECT Stadium_ID\nFROM concert\nGROUP BY Stadium_ID\nHAVING COUNT(*) <= 1;\n``` \n\nThis SQL code groups the records in the `concert` table by `Stadium_ID` and then uses the `HAVING` clause to filter those groups to only include those that have a count of records less than or equal to 1.","cost":0.00010275,"response_parsed":"SELECT Stadium_ID\nFROM concert\nGROUP BY Stadium_ID\nHAVING COUNT(*) <= 1;","time":1.5750796795}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `concert_Name` FROM `concert` GROUP BY `concert_Name` HAVING count(*) >= 1","question":"Find all the concert_Name that have at least 1 records in table concert","db_schema_normalized":"`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To find all the `concert_Name` values that have at least one record in the `concert` table, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT concert_Name\nFROM concert\nWHERE concert_ID IS NOT NULL;\n```\n\nThis query selects all distinct concert names from the `concert` table where there is at least one record.","cost":0.00008355,"response_parsed":"SELECT DISTINCT concert_Name\nFROM concert\nWHERE concert_ID IS NOT NULL;","time":1.6817908287}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `concert_Name` FROM `concert` GROUP BY `concert_Name` HAVING count(*) <= 1","question":"Find all the concert_Name that have at most 1 records in table concert","db_schema_normalized":"`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To find all the `concert_Name` values that have at most 1 record in the `concert` table, you can use the following SQL code:\n\n```sql\nSELECT concert_Name \nFROM concert \nGROUP BY concert_Name \nHAVING COUNT(*) <= 1;\n``` \n\nThis query groups the records in the `concert` table by `concert_Name` and then filters the groups to include only those that have a count of records less than or equal to 1.","cost":0.00009795,"response_parsed":"SELECT concert_Name \nFROM concert \nGROUP BY concert_Name \nHAVING COUNT(*) <= 1;","time":1.3296086788}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Year` FROM `concert` GROUP BY `Year` HAVING count(*) >= 3","question":"Find all the Year that have at least 3 records in table concert","db_schema_normalized":"`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To find all the years that have at least 3 records in the table `concert`, you can use the following SQL query:\n\n```sql\nSELECT Year\nFROM concert\nGROUP BY Year\nHAVING COUNT(*) >= 3;\n```","cost":0.0000696,"response_parsed":"SELECT Year\nFROM concert\nGROUP BY Year\nHAVING COUNT(*) >= 3;","time":0.8584976196}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Year` FROM `concert` GROUP BY `Year` HAVING count(*) <= 3","question":"Find all the Year that have at most 3 records in table concert","db_schema_normalized":"`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To find all the years that have at most 3 records in the `concert` table, you can use the following SQL query:\n\n```sql\nSELECT Year\nFROM concert\nGROUP BY Year\nHAVING COUNT(*) <= 3;\n```","cost":0.0000702,"response_parsed":"SELECT Year\nFROM concert\nGROUP BY Year\nHAVING COUNT(*) <= 3;","time":0.9173521996}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Location` FROM `stadium` GROUP BY `Location` HAVING count(*) >= 1","question":"Find all the Location that have at least 1 records in table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To find all the locations that have at least one record in the `stadium` table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT Location\nFROM stadium\nWHERE Location IS NOT NULL;\n``` \n\nThis query selects distinct locations from the `stadium` table, ensuring that each location returned has at least one stadium record associated with it.","cost":0.0000846,"response_parsed":"SELECT DISTINCT Location\nFROM stadium\nWHERE Location IS NOT NULL;","time":2.1835255623}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Location` FROM `stadium` GROUP BY `Location` HAVING count(*) <= 1","question":"Find all the Location that have at most 1 records in table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To find all the locations that have at most 1 record in the `stadium` table, you can use the following SQL code:\n\n```sql\nSELECT Location\nFROM stadium\nGROUP BY Location\nHAVING COUNT(*) <= 1;\n``` \n\nThis query groups the records by `Location` and counts the number of records for each location. The `HAVING` clause filters the groups to only include those with a count of 1 or less.","cost":0.000096,"response_parsed":"SELECT Location\nFROM stadium\nGROUP BY Location\nHAVING COUNT(*) <= 1;","time":1.4920964241}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Name` FROM `stadium` GROUP BY `Name` HAVING count(*) >= 1","question":"Find all the Name that have at least 1 records in table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch all the Names from the `singer` table that have at least one record in the `stadium` table, we can use the following SQL query:\n\n```sql\nSELECT DISTINCT s.Name\nFROM singer s\nJOIN singer_in_concert sic ON s.Singer_ID = sic.Singer_ID\nJOIN concert c ON sic.concert_ID = c.concert_ID\nJOIN stadium st ON c.Stadium_ID = st.Stadium_ID;\n```\n\nThis SQL code performs the following operations:\n\n1. It selects distinct names from the `singer` table.\n2. It joins the `singer` table with the `singer_in_concert` table to find singers who have performed in concerts.\n3. It then joins the `concert` table to link concerts to their respective stadiums.\n4. Finally, it joins the `stadium` table to ensure that we only consider those singers associated with stadiums that have at least one record.","cost":0.0001572,"response_parsed":"SELECT DISTINCT s.Name\nFROM singer s\nJOIN singer_in_concert sic ON s.Singer_ID = sic.Singer_ID\nJOIN concert c ON sic.concert_ID = c.concert_ID\nJOIN stadium st ON c.Stadium_ID = st.Stadium_ID;","time":2.7999372482}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Name` FROM `stadium` GROUP BY `Name` HAVING count(*) <= 1","question":"Find all the Name that have at most 1 records in table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To find all the names that have at most 1 record in the `stadium` table, you can use the following SQL query:\n\n```sql\nSELECT Name \nFROM stadium \nGROUP BY Name \nHAVING COUNT(*) <= 1;\n```\n\nThis query groups the results by the `Name` field and then filters the groups to include only those with a count of records that is less than or equal to 1.","cost":0.0000924,"response_parsed":"SELECT Name \nFROM stadium \nGROUP BY Name \nHAVING COUNT(*) <= 1;","time":1.5583693981}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `Location` FROM `stadium` GROUP BY `Location` HAVING AVG(`Highest`) >= 1737.56","question":"List the Location which average of Highest is at least 1737.56 in table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To retrieve the locations with an average of the \"Highest\" value of the stadiums that is at least 1737.56, you can use the following SQL query:\n\n```sql\nSELECT Location\nFROM stadium\nGROUP BY Location\nHAVING AVG(Highest) >= 1737.56;\n``` \n\nThis code groups the records by location, calculates the average of the \"Highest\" values for each location, and filters to include only those with an average of at least 1737.56.","cost":0.0001026,"response_parsed":"SELECT Location\nFROM stadium\nGROUP BY Location\nHAVING AVG(Highest) >= 1737.56;","time":1.6504554749}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `Location` FROM `stadium` GROUP BY `Location` HAVING AVG(`Highest`) <= 1737.56","question":"List the Location which average of Highest is at most 1737.56 in table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To retrieve the locations from the \"stadium\" table where the average of the \"Highest\" column is at most 1737.56, you can use the following SQL query:\n\n```sql\nSELECT Location\nFROM stadium\nGROUP BY Location\nHAVING AVG(Highest) <= 1737.56;\n```","cost":0.0000798,"response_parsed":"SELECT Location\nFROM stadium\nGROUP BY Location\nHAVING AVG(Highest) <= 1737.56;","time":1.2247149944}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `Location` FROM `stadium` GROUP BY `Location` HAVING SUM(`Highest`) >= 1737.56","question":"List the Location which summation of Highest is at least 1737.56 in table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"You can use the following SQL query to list the locations from the `stadium` table where the sum of the `Highest` values is at least 1737.56. The query groups the results by `Location` and filters accordingly:\n\n```sql\nSELECT Location\nFROM stadium\nGROUP BY Location\nHAVING SUM(Highest) >= 1737.56;\n```","cost":0.00008715,"response_parsed":"SELECT Location\nFROM stadium\nGROUP BY Location\nHAVING SUM(Highest) >= 1737.56;","time":1.1414091587}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `Location` FROM `stadium` GROUP BY `Location` HAVING SUM(`Highest`) <= 1737.56","question":"List the Location which summation of Highest is at most 1737.56 in table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To get the locations from the \"stadium\" table where the summation of \"Highest\" is at most 1737.56, you can use the following SQL code. However, since the \"Highest\" column is of type int in the provided schema, we will treat 1737.56 as 1737 for the summation. Below is the SQL query:\n\n```sql\nSELECT Location\nFROM stadium\nGROUP BY Location\nHAVING SUM(Highest) <= 1737;\n```\n\nThis query groups the records by \"Location\" and filters the results to include only those locations where the total of the \"Highest\" values does not exceed 1737.","cost":0.00012315,"response_parsed":"SELECT Location\nFROM stadium\nGROUP BY Location\nHAVING SUM(Highest) <= 1737;","time":3.7822554111}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `Name` FROM `stadium` GROUP BY `Name` HAVING AVG(`Highest`) >= 1737.56","question":"List the Name which average of Highest is at least 1737.56 in table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To retrieve the names of stadiums whose average of `Highest` is at least 1737.56 from the `stadium` table, you can use the following SQL query:\n\n```sql\nSELECT Name\nFROM stadium\nWHERE Average >= 1737.56;\n```","cost":0.000075,"response_parsed":"SELECT Name\nFROM stadium\nWHERE Average >= 1737.56;","time":1.1107127666}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `Name` FROM `stadium` GROUP BY `Name` HAVING AVG(`Highest`) <= 1737.56","question":"List the Name which average of Highest is at most 1737.56 in table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch the names of stadiums where the average of the \"Highest\" value is at most 1737.56, you would execute the following SQL code:\n\n```sql\nSELECT Name\nFROM stadium\nWHERE Average <= 1737.56;\n```","cost":0.0000726,"response_parsed":"SELECT Name\nFROM stadium\nWHERE Average <= 1737.56;","time":0.7563295364}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `Name` FROM `stadium` GROUP BY `Name` HAVING SUM(`Highest`) >= 1737.56","question":"List the Name which summation of Highest is at least 1737.56 in table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch the names from the `stadium` table where the summation of the `Highest` column is at least 1737.56, you would need to run the following SQL query:\n\n```sql\nSELECT Name\nFROM stadium\nWHERE Highest >= 1737.56;\n```\n\nThis query selects the `Name` from the `stadium` table where the value in the `Highest` column meets or exceeds the specified threshold of 1737.56. Note that the `Highest` column is of type `int`, so make sure the number being compared is appropriate in terms of type (use the decimal point correctly). If you're looking for the actual summation of `Highest` values instead of individual rows, you might mean to group them by `Name` and use a `HAVING` clause, but the question seems to imply a direct comparison. If you need that instead, please clarify.","cost":0.00015255,"response_parsed":"SELECT Name\nFROM stadium\nWHERE Highest >= 1737.56;","time":2.6826679707}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `Name` FROM `stadium` GROUP BY `Name` HAVING SUM(`Highest`) <= 1737.56","question":"List the Name which summation of Highest is at most 1737.56 in table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To address the question of listing the names from the `stadium` table where the summation of the `Highest` column is at most 1737.56, we can write the following SQL query:\n\n```sql\nSELECT Name \nFROM stadium \nGROUP BY Name \nHAVING SUM(Highest) <= 1737.56;\n```\n\nThis SQL code selects the `Name` of the stadiums, groups the results by `Name`, and applies a condition to include only those groups where the sum of the `Highest` values does not exceed 1737.56.","cost":0.00011175,"response_parsed":"SELECT Name \nFROM stadium \nGROUP BY Name \nHAVING SUM(Highest) <= 1737.56;","time":2.2949228287}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Song_Name` FROM `singer` GROUP BY `Song_Name` HAVING count(*) >= 1","question":"Find all the Song_Name that have at least 1 records in table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To find all the `Song_Name` that have at least 1 record in the `singer` table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT Song_Name\nFROM singer\nWHERE Song_Name IS NOT NULL;\n``` \n\nThis query selects distinct song names from the `singer` table, ensuring that each song name is returned only once and that it is not null.","cost":0.00008955,"response_parsed":"SELECT DISTINCT Song_Name\nFROM singer\nWHERE Song_Name IS NOT NULL;","time":1.8120734692}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Song_Name` FROM `singer` GROUP BY `Song_Name` HAVING count(*) <= 1","question":"Find all the Song_Name that have at most 1 records in table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To find all the `Song_Name` that have at most 1 record in the `singer` table, you can use the following SQL query:\n\n```sql\nSELECT Song_Name\nFROM singer\nGROUP BY Song_Name\nHAVING COUNT(*) <= 1;\n```","cost":0.00007395,"response_parsed":"SELECT Song_Name\nFROM singer\nGROUP BY Song_Name\nHAVING COUNT(*) <= 1;","time":0.9391379356}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Country` FROM `singer` GROUP BY `Country` HAVING count(*) >= 2","question":"Find all the Country that have at least 2 records in table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To find all the countries that have at least 2 records in the `singer` table, you can use the following SQL query:\n\n```sql\nSELECT Country\nFROM singer\nGROUP BY Country\nHAVING COUNT(*) >= 2;\n``` \n\nThis query selects distinct countries from the `singer` table, groups the results by `Country`, and filters for countries that have a count of singers greater than or equal to 2.","cost":0.0000942,"response_parsed":"SELECT Country\nFROM singer\nGROUP BY Country\nHAVING COUNT(*) >= 2;","time":1.5257101059}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Country` FROM `singer` GROUP BY `Country` HAVING count(*) <= 2","question":"Find all the Country that have at most 2 records in table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To find all countries that have at most 2 records in the `singer` table, you can use the following SQL query:\n\n```sql\nSELECT Country\nFROM singer\nGROUP BY Country\nHAVING COUNT(*) <= 2;\n```\n\nThis query groups the records in the `singer` table by the `Country` column and counts the number of records for each country. The `HAVING` clause filters the results to only include countries with 2 or fewer records.","cost":0.0000996,"response_parsed":"SELECT Country\nFROM singer\nGROUP BY Country\nHAVING COUNT(*) <= 2;","time":1.604380846}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Name` FROM `singer` GROUP BY `Name` HAVING count(*) >= 1","question":"Find all the Name that have at least 1 records in table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To find all the names of singers (from the `singer` table) that have at least one record in the `singer_in_concert` table (indicating they have performed in a concert), you can use the following SQL code:\n\n```sql\nSELECT DISTINCT s.Name\nFROM singer s\nJOIN singer_in_concert sic ON s.Singer_ID = sic.Singer_ID;\n``` \n\nThis query selects the distinct names of singers from the `singer` table, where there is a corresponding record in the `singer_in_concert` table that links the singer to a concert.","cost":0.0001134,"response_parsed":"SELECT DISTINCT s.Name\nFROM singer s\nJOIN singer_in_concert sic ON s.Singer_ID = sic.Singer_ID;","time":2.0070691109}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Name` FROM `singer` GROUP BY `Name` HAVING count(*) <= 1","question":"Find all the Name that have at most 1 records in table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To find all the names from the \"singer\" table that have at most 1 record, you can use the following SQL query. This query will count the occurrences of each name and filter the results to include only those with a count of 1 or 0.\n\n```sql\nSELECT Name\nFROM singer\nGROUP BY Name\nHAVING COUNT(*) <= 1;\n```","cost":0.000087,"response_parsed":"SELECT Name\nFROM singer\nGROUP BY Name\nHAVING COUNT(*) <= 1;","time":1.2906286716}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `Country` FROM `singer` GROUP BY `Country` HAVING AVG(`Age`) >= 39.5","question":"List the Country which average of Age is at least 39.5 in table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To retrieve the countries from the `singer` table where the average age of singers is at least 39.5, you can use the following SQL query:\n\n```sql\nSELECT Country\nFROM singer\nGROUP BY Country\nHAVING AVG(Age) >= 39.5;\n```","cost":0.00007665,"response_parsed":"SELECT Country\nFROM singer\nGROUP BY Country\nHAVING AVG(Age) >= 39.5;","time":1.2282907963}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `Country` FROM `singer` GROUP BY `Country` HAVING AVG(`Age`) <= 39.5","question":"List the Country which average of Age is at most 39.5 in table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Here is the SQL code to fetch the countries with an average age of singers at most 39.5 from the `singer` table:\n\n```sql\nSELECT Country\nFROM singer\nGROUP BY Country\nHAVING AVG(Age) <= 39.5;\n```","cost":0.00007425,"response_parsed":"SELECT Country\nFROM singer\nGROUP BY Country\nHAVING AVG(Age) <= 39.5;","time":0.8978934288}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `Country` FROM `singer` GROUP BY `Country` HAVING SUM(`Age`) >= 74.0","question":"List the Country which summation of Age is at least 74.0 in table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT Country\nFROM singer\nGROUP BY Country\nHAVING SUM(Age) >= 74.0;\n```","cost":0.000057,"response_parsed":"SELECT Country\nFROM singer\nGROUP BY Country\nHAVING SUM(Age) >= 74.0;","time":0.5538861752}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `Country` FROM `singer` GROUP BY `Country` HAVING SUM(`Age`) <= 74.0","question":"List the Country which summation of Age is at most 74.0 in table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT Country\nFROM singer\nGROUP BY Country\nHAVING SUM(Age) <= 74.0;\n```","cost":0.000057,"response_parsed":"SELECT Country\nFROM singer\nGROUP BY Country\nHAVING SUM(Age) <= 74.0;","time":2.9582188129}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `Song_Name` FROM `singer` GROUP BY `Song_Name` HAVING AVG(`Age`) >= 37.0","question":"List the Song_Name which average of Age is at least 37.0 in table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch the Song_Name for singers whose average age is at least 37.0 from the `singer` table, you can use the following SQL code:\n\n```sql\nSELECT Song_Name \nFROM singer \nWHERE Age >= 37.0;\n``` \n\nThis query lists the `Song_Name` for all singers in the `singer` table whose age is equal to or greater than 37.","cost":0.0000906,"response_parsed":"SELECT Song_Name \nFROM singer \nWHERE Age >= 37.0;","time":1.1557781696}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `Song_Name` FROM `singer` GROUP BY `Song_Name` HAVING AVG(`Age`) <= 37.0","question":"List the Song_Name which average of Age is at most 37.0 in table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch the Song_Name from the singer table where the average age is at most 37.0, you can use the following SQL code:\n\n```sql\nSELECT Song_Name\nFROM singer\nGROUP BY Song_Name\nHAVING AVG(Age) <= 37.0;\n```","cost":0.0000756,"response_parsed":"SELECT Song_Name\nFROM singer\nGROUP BY Song_Name\nHAVING AVG(Age) <= 37.0;","time":0.9541511536}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `Song_Name` FROM `singer` GROUP BY `Song_Name` HAVING SUM(`Age`) >= 37.0","question":"List the Song_Name which summation of Age is at least 37.0 in table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To retrieve the `Song_Name` from the `singer` table where the summation of `Age` is at least 37.0, you can use the following SQL query:\n\n```sql\nSELECT Song_Name\nFROM singer\nGROUP BY Song_Name\nHAVING SUM(Age) >= 37.0;\n```","cost":0.00008115,"response_parsed":"SELECT Song_Name\nFROM singer\nGROUP BY Song_Name\nHAVING SUM(Age) >= 37.0;","time":1.1791789532}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `Song_Name` FROM `singer` GROUP BY `Song_Name` HAVING SUM(`Age`) <= 37.0","question":"List the Song_Name which summation of Age is at most 37.0 in table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT Song_Name\nFROM singer\nGROUP BY Song_Name\nHAVING SUM(Age) <= 37.0;\n```","cost":0.00005835,"response_parsed":"SELECT Song_Name\nFROM singer\nGROUP BY Song_Name\nHAVING SUM(Age) <= 37.0;","time":0.5124518871}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer_in_concert","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Singer_ID` FROM `singer_in_concert` GROUP BY `Singer_ID` HAVING count(*) >= 2","question":"Find all the Singer_ID that have at least 2 records in table singer_in_concert","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Here is the SQL code to find all the `Singer_ID` that have at least 2 records in the `singer_in_concert` table:\n\n```sql\nSELECT Singer_ID\nFROM singer_in_concert\nGROUP BY Singer_ID\nHAVING COUNT(*) >= 2;\n```","cost":0.0000762,"response_parsed":"SELECT Singer_ID\nFROM singer_in_concert\nGROUP BY Singer_ID\nHAVING COUNT(*) >= 2;","time":0.8918979168}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer_in_concert","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Singer_ID` FROM `singer_in_concert` GROUP BY `Singer_ID` HAVING count(*) <= 2","question":"Find all the Singer_ID that have at most 2 records in table singer_in_concert","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT Singer_ID\nFROM singer_in_concert\nGROUP BY Singer_ID\nHAVING COUNT(concert_ID) <= 2;\n```","cost":0.0000594,"response_parsed":"SELECT Singer_ID\nFROM singer_in_concert\nGROUP BY Singer_ID\nHAVING COUNT(concert_ID) <= 2;","time":0.9800777435}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-ALL","query":"SELECT * FROM `concert` AS T1 JOIN `stadium` AS T2 ON T1.`Stadium_ID` = T2.`Stadium_ID`","question":"Join all the records from table concert with table stadium on Stadium_ID","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To join all the records from the `concert` table with the `stadium` table on the `Stadium_ID`, you can use the following SQL query:\n\n```sql\nSELECT *\nFROM concert\nJOIN stadium ON concert.Stadium_ID = stadium.Stadium_ID;\n```","cost":0.00007365,"response_parsed":"SELECT *\nFROM concert\nJOIN stadium ON concert.Stadium_ID = stadium.Stadium_ID;","time":1.0641517639}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`concert_Name`, T2.`Location` FROM `concert` AS T1 JOIN `stadium` AS T2 ON T1.`Stadium_ID`=T2.`Stadium_ID`","question":"List all the concert_Name and Location from the table concert and the table stadium where Stadium_ID is the same","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"You can use the following SQL code to list all the concert names and locations from the `concert` and `stadium` tables where the `Stadium_ID` is the same. This involves performing a join between the two tables based on the `Stadium_ID`.\n\n```sql\nSELECT c.concert_Name, s.Location\nFROM concert c\nJOIN stadium s ON c.Stadium_ID = s.Stadium_ID;\n```","cost":0.00009285,"response_parsed":"SELECT c.concert_Name, s.Location\nFROM concert c\nJOIN stadium s ON c.Stadium_ID = s.Stadium_ID;","time":1.1604819298}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`concert_Name`, T2.`Name` FROM `concert` AS T1 JOIN `stadium` AS T2 ON T1.`Stadium_ID`=T2.`Stadium_ID`","question":"List all the concert_Name and Name from the table concert and the table stadium where Stadium_ID is the same","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Here is the SQL code to fetch the requested data:\n\n```sql\nSELECT concert.concert_Name, stadium.Name\nFROM concert\nJOIN stadium ON concert.Stadium_ID = stadium.Stadium_ID;\n```","cost":0.00006585,"response_parsed":"SELECT concert.concert_Name, stadium.Name\nFROM concert\nJOIN stadium ON concert.Stadium_ID = stadium.Stadium_ID;","time":1.2962219715}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`Theme`, T2.`Location` FROM `concert` AS T1 JOIN `stadium` AS T2 ON T1.`Stadium_ID`=T2.`Stadium_ID`","question":"List all the Theme and Location from the table concert and the table stadium where Stadium_ID is the same","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch the Theme and Location from the `concert` and `stadium` tables where the `Stadium_ID` matches, you can use a SQL JOIN. Here is the SQL code for your query:\n\n```sql\nSELECT concert.Theme, stadium.Location\nFROM concert\nJOIN stadium ON concert.Stadium_ID = stadium.Stadium_ID;\n```","cost":0.0000831,"response_parsed":"SELECT concert.Theme, stadium.Location\nFROM concert\nJOIN stadium ON concert.Stadium_ID = stadium.Stadium_ID;","time":1.2063755989}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`Theme`, T2.`Name` FROM `concert` AS T1 JOIN `stadium` AS T2 ON T1.`Stadium_ID`=T2.`Stadium_ID`","question":"List all the Theme and Name from the table concert and the table stadium where Stadium_ID is the same","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To list all the Theme and Name from the table `concert` and the table `stadium` where `Stadium_ID` is the same, you can use the following SQL code:\n\n```sql\nSELECT c.Theme, s.Name\nFROM concert c\nJOIN stadium s ON c.Stadium_ID = s.Stadium_ID;\n```","cost":0.0000819,"response_parsed":"SELECT c.Theme, s.Name\nFROM concert c\nJOIN stadium s ON c.Stadium_ID = s.Stadium_ID;","time":2.4476180077}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer_in_concert","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-ALL","query":"SELECT * FROM `singer_in_concert` AS T1 JOIN `singer` AS T2 ON T1.`Singer_ID` = T2.`Singer_ID`","question":"Join all the records from table singer_in_concert with table singer on Singer_ID","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Here is the SQL code to join all the records from the `singer_in_concert` table with the `singer` table on `Singer_ID`:\n\n```sql\nSELECT *\nFROM singer_in_concert sic\nJOIN singer s ON sic.Singer_ID = s.Singer_ID;\n```","cost":0.0000771,"response_parsed":"SELECT *\nFROM singer_in_concert sic\nJOIN singer s ON sic.Singer_ID = s.Singer_ID;","time":0.9297375679}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer_in_concert","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-ALL","query":"SELECT * FROM `singer_in_concert` AS T1 JOIN `concert` AS T2 ON T1.`concert_ID` = T2.`concert_ID`","question":"Join all the records from table singer_in_concert with table concert on concert_ID","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Here is the SQL code to join all the records from the `singer_in_concert` table with the `concert` table on `concert_ID`:\n\n```sql\nSELECT *\nFROM singer_in_concert sic\nJOIN concert c ON sic.concert_ID = c.concert_ID;\n```","cost":0.0000765,"response_parsed":"SELECT *\nFROM singer_in_concert sic\nJOIN concert c ON sic.concert_ID = c.concert_ID;","time":1.4224653244}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer_in_concert","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`Singer_ID`, T2.`Stadium_ID` FROM `singer_in_concert` AS T1 JOIN `concert` AS T2 ON T1.`concert_ID`=T2.`concert_ID`","question":"List all the Singer_ID and Stadium_ID from the table singer_in_concert and the table concert where concert_ID is the same","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To list all the `Singer_ID` and `Stadium_ID` from the table `singer_in_concert` and the table `concert` where `concert_ID` is the same, you can use the following SQL query:\n\n```sql\nSELECT\n sic.Singer_ID,\n c.Stadium_ID\nFROM\n singer_in_concert sic\nJOIN\n concert c ON sic.concert_ID = c.concert_ID;\n```\n\nThis query performs a join between the `singer_in_concert` table and the `concert` table on the `concert_ID`, allowing us to select the relevant `Singer_ID` and `Stadium_ID` fields.","cost":0.00012405,"response_parsed":"SELECT\n sic.Singer_ID,\n c.Stadium_ID\nFROM\n singer_in_concert sic\nJOIN\n concert c ON sic.concert_ID = c.concert_ID;","time":2.0819382668}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer_in_concert","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`Singer_ID`, T2.`Year` FROM `singer_in_concert` AS T1 JOIN `concert` AS T2 ON T1.`concert_ID`=T2.`concert_ID`","question":"List all the Singer_ID and Year from the table singer_in_concert and the table concert where concert_ID is the same","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT \n sic.Singer_ID, \n c.Year \nFROM \n singer_in_concert sic \nJOIN \n concert c ON sic.concert_ID = c.concert_ID;\n```","cost":0.0000675,"response_parsed":"SELECT \n sic.Singer_ID, \n c.Year \nFROM \n singer_in_concert sic \nJOIN \n concert c ON sic.concert_ID = c.concert_ID;","time":0.8879175186}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer_in_concert","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`Singer_ID`, T2.`Theme` FROM `singer_in_concert` AS T1 JOIN `concert` AS T2 ON T1.`concert_ID`=T2.`concert_ID`","question":"List all the Singer_ID and Theme from the table singer_in_concert and the table concert where concert_ID is the same","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch the Singer_ID and Theme from the `singer_in_concert` and `concert` tables where the concert_ID matches, you can use the following SQL code:\n\n```sql\nSELECT sic.Singer_ID, c.Theme\nFROM singer_in_concert sic\nJOIN concert c ON sic.concert_ID = c.concert_ID;\n```","cost":0.0000837,"response_parsed":"SELECT sic.Singer_ID, c.Theme\nFROM singer_in_concert sic\nJOIN concert c ON sic.concert_ID = c.concert_ID;","time":0.9404435158}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"many-to-many-generator","sql_tag":"many-to-many","query":"SELECT `concert_Name` FROM `concert` GROUP BY `concert_Name` HAVING COUNT(DISTINCT `Year`) = (SELECT COUNT(DISTINCT `Year`) FROM `concert`)","question":"What are the concert_Name with all the Year in table concert?","db_schema_normalized":"`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch the concert names along with their corresponding years from the `concert` table, you can use the following SQL code:\n\n```sql\nSELECT concert_Name, Year\nFROM concert;\n```","cost":0.0000633,"response_parsed":"SELECT concert_Name, Year\nFROM concert;","time":0.898301363}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"many-to-many-generator","sql_tag":"many-to-many","query":"SELECT `Stadium_ID` FROM `concert` GROUP BY `Stadium_ID` HAVING COUNT(DISTINCT `Year`) = (SELECT COUNT(DISTINCT `Year`) FROM `concert`)","question":"What are the Stadium_ID with all the Year in table concert?","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch the `Stadium_ID` and all the `Year` values from the `concert` table, you can use the following SQL query:\n\n```sql\nSELECT Stadium_ID, Year\nFROM concert;\n```","cost":0.0000663,"response_parsed":"SELECT Stadium_ID, Year\nFROM concert;","time":1.0657093525}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `concert` ORDER BY `Stadium_ID` ASC","question":"Show all data ordered by Stadium_ID in ascending order for the table concert","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT * FROM concert\nORDER BY Stadium_ID ASC;\n```","cost":0.0000498,"response_parsed":"SELECT * FROM concert\nORDER BY Stadium_ID ASC;","time":0.5306437016}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `concert` ORDER BY `Stadium_ID` DESC","question":"Show all data ordered by Stadium_ID in descending order for the table concert","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To retrieve all data from the `concert` table ordered by `Stadium_ID` in descending order, you can use the following SQL code:\n\n```sql\nSELECT * FROM concert\nORDER BY Stadium_ID DESC;\n```","cost":0.0000672,"response_parsed":"SELECT * FROM concert\nORDER BY Stadium_ID DESC;","time":0.8249320984}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `concert` ORDER BY `concert_ID` ASC","question":"Show all data ordered by concert_ID in ascending order for the table concert","db_schema_normalized":"`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT * FROM concert\nORDER BY concert_ID ASC;\n```","cost":0.0000498,"response_parsed":"SELECT * FROM concert\nORDER BY concert_ID ASC;","time":0.4313783646}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `concert` ORDER BY `concert_ID` DESC","question":"Show all data ordered by concert_ID in descending order for the table concert","db_schema_normalized":"`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch all data from the `concert` table ordered by `concert_ID` in descending order, you can use the following SQL query:\n\n```sql\nSELECT * \nFROM concert \nORDER BY concert_ID DESC;\n```","cost":0.0000672,"response_parsed":"SELECT * \nFROM concert \nORDER BY concert_ID DESC;","time":1.3106615543}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Year` FROM `concert` ORDER BY `Year` ASC","question":"Project the Year ordered in ascending order for the table concert","db_schema_normalized":"`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To obtain the Year ordered in ascending order from the `concert` table, you can use the following SQL query:\n\n```sql\nSELECT Year\nFROM concert\nORDER BY Year ASC;\n```","cost":0.00006315,"response_parsed":"SELECT Year\nFROM concert\nORDER BY Year ASC;","time":0.7639832497}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Year` FROM `concert` ORDER BY `Year` DESC","question":"Project the Year ordered in descending order for the table concert","db_schema_normalized":"`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To project the Year ordered in descending order from the \"concert\" table, you can use the following SQL query:\n\n```sql\nSELECT \"Year\"\nFROM \"concert\"\nORDER BY \"Year\" DESC;\n```","cost":0.00006555,"response_parsed":"SELECT \"Year\"\nFROM \"concert\"\nORDER BY \"Year\" DESC;","time":0.9022915363}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Stadium_ID` FROM `concert` ORDER BY `Stadium_ID` ASC","question":"Project the Stadium_ID ordered in ascending order for the table concert","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Here is the SQL code to fetch the Stadium_ID from the concert table ordered in ascending order:\n\n```sql\nSELECT Stadium_ID\nFROM concert\nORDER BY Stadium_ID ASC;\n```","cost":0.0000621,"response_parsed":"SELECT Stadium_ID\nFROM concert\nORDER BY Stadium_ID ASC;","time":0.6683938503}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Stadium_ID` FROM `concert` ORDER BY `Stadium_ID` DESC","question":"Project the Stadium_ID ordered in descending order for the table concert","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Here is the SQL code to project the `Stadium_ID` ordered in descending order for the `concert` table:\n\n```sql\nSELECT Stadium_ID\nFROM concert\nORDER BY Stadium_ID DESC;\n```","cost":0.0000651,"response_parsed":"SELECT Stadium_ID\nFROM concert\nORDER BY Stadium_ID DESC;","time":0.7401020527}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `stadium` ORDER BY `Location` ASC","question":"Show all data ordered by Location in ascending order for the table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch all data from the `stadium` table ordered by `Location` in ascending order, you can use the following SQL code:\n\n```sql\nSELECT * FROM stadium\nORDER BY Location ASC;\n```","cost":0.00006585,"response_parsed":"SELECT * FROM stadium\nORDER BY Location ASC;","time":0.7312991619}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `stadium` ORDER BY `Location` DESC","question":"Show all data ordered by Location in descending order for the table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch all data from the `stadium` table ordered by `Location` in descending order, you can use the following SQL code:\n\n```sql\nSELECT * FROM stadium\nORDER BY Location DESC;\n```","cost":0.00006585,"response_parsed":"SELECT * FROM stadium\nORDER BY Location DESC;","time":0.8027667999}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `stadium` ORDER BY `Stadium_ID` ASC","question":"Show all data ordered by Stadium_ID in ascending order for the table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Here's the SQL code to fetch all data from the `stadium` table ordered by `Stadium_ID` in ascending order:\n\n```sql\nSELECT * FROM stadium\nORDER BY Stadium_ID ASC;\n```","cost":0.0000654,"response_parsed":"SELECT * FROM stadium\nORDER BY Stadium_ID ASC;","time":1.105692625}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `stadium` ORDER BY `Stadium_ID` DESC","question":"Show all data ordered by Stadium_ID in descending order for the table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Here is the SQL code that fetches all data from the `stadium` table ordered by `Stadium_ID` in descending order:\n\n```sql\nSELECT * FROM stadium ORDER BY Stadium_ID DESC;\n```","cost":0.000066,"response_parsed":"SELECT * FROM stadium ORDER BY Stadium_ID DESC;","time":0.7633433342}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Capacity` FROM `stadium` ORDER BY `Capacity` ASC","question":"Project the Capacity ordered in ascending order for the table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT Capacity\nFROM stadium\nORDER BY Capacity ASC;\n```","cost":0.00004935,"response_parsed":"SELECT Capacity\nFROM stadium\nORDER BY Capacity ASC;","time":0.5602390766}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Capacity` FROM `stadium` ORDER BY `Capacity` DESC","question":"Project the Capacity ordered in descending order for the table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To project the Capacity from the `stadium` table in descending order, you can use the following SQL query:\n\n```sql\nSELECT \"Capacity\"\nFROM \"stadium\"\nORDER BY \"Capacity\" DESC;\n```","cost":0.00006615,"response_parsed":"SELECT \"Capacity\"\nFROM \"stadium\"\nORDER BY \"Capacity\" DESC;","time":0.8173696995}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Highest` FROM `stadium` ORDER BY `Highest` ASC","question":"Project the Highest ordered in ascending order for the table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To project the \"Highest\" column from the \"stadium\" table and order the results in ascending order, you can use the following SQL query:\n\n```sql\nSELECT \"Highest\" \nFROM \"stadium\" \nORDER BY \"Highest\" ASC;\n```","cost":0.00007155,"response_parsed":"SELECT \"Highest\" \nFROM \"stadium\" \nORDER BY \"Highest\" ASC;","time":0.9081435204}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Highest` FROM `stadium` ORDER BY `Highest` DESC","question":"Project the Highest ordered in descending order for the table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To project the \"Highest\" ordered in descending order from the \"stadium\" table, you can use the following SQL code:\n\n```sql\nSELECT \"Highest\"\nFROM \"stadium\"\nORDER BY \"Highest\" DESC;\n```","cost":0.00006795,"response_parsed":"SELECT \"Highest\"\nFROM \"stadium\"\nORDER BY \"Highest\" DESC;","time":0.8909826279}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `singer` ORDER BY `Song_release_year` ASC","question":"Show all data ordered by Song_release_year in ascending order for the table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT * \nFROM singer \nORDER BY Song_release_year ASC;\n```","cost":0.00005115,"response_parsed":"SELECT * \nFROM singer \nORDER BY Song_release_year ASC;","time":0.6126623154}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `singer` ORDER BY `Song_release_year` DESC","question":"Show all data ordered by Song_release_year in descending order for the table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT *\nFROM singer\nORDER BY Song_release_year DESC;\n```","cost":0.00005055,"response_parsed":"SELECT *\nFROM singer\nORDER BY Song_release_year DESC;","time":0.3906693459}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `singer` ORDER BY `Name` ASC","question":"Show all data ordered by Name in ascending order for the table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Here is the SQL code to fetch all data from the `singer` table ordered by `Name` in ascending order:\n\n```sql\nSELECT * FROM singer\nORDER BY Name ASC;\n```","cost":0.00006405,"response_parsed":"SELECT * FROM singer\nORDER BY Name ASC;","time":0.7470681667}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `singer` ORDER BY `Name` DESC","question":"Show all data ordered by Name in descending order for the table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT * \nFROM singer \nORDER BY Name DESC;\n```","cost":0.00004965,"response_parsed":"SELECT * \nFROM singer \nORDER BY Name DESC;","time":0.5159776211}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Country` FROM `singer` ORDER BY `Country` ASC","question":"Project the Country ordered in ascending order for the table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"You can fetch the distinct countries from the \"singer\" table and order them in ascending order using the following SQL code:\n\n```sql\nSELECT DISTINCT Country \nFROM singer \nORDER BY Country ASC;\n```","cost":0.00006495,"response_parsed":"SELECT DISTINCT Country \nFROM singer \nORDER BY Country ASC;","time":0.6070041656}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Country` FROM `singer` ORDER BY `Country` DESC","question":"Project the Country ordered in descending order for the table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To project the `Country` from the `singer` table ordered in descending order, you can use the following SQL code:\n\n```sql\nSELECT Country \nFROM singer \nORDER BY Country DESC;\n```","cost":0.00006495,"response_parsed":"SELECT Country \nFROM singer \nORDER BY Country DESC;","time":0.8043820858}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Singer_ID` FROM `singer` ORDER BY `Singer_ID` ASC","question":"Project the Singer_ID ordered in ascending order for the table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch the `Singer_ID` ordered in ascending order from the `singer` table, you can use the following SQL code:\n\n```sql\nSELECT Singer_ID \nFROM singer \nORDER BY Singer_ID ASC;\n```","cost":0.0000669,"response_parsed":"SELECT Singer_ID \nFROM singer \nORDER BY Singer_ID ASC;","time":1.0709352493}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Singer_ID` FROM `singer` ORDER BY `Singer_ID` DESC","question":"Project the Singer_ID ordered in descending order for the table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Here is the SQL code to project the `Singer_ID` ordered in descending order from the `singer` table:\n\n```sql\nSELECT Singer_ID \nFROM singer \nORDER BY Singer_ID DESC;\n```","cost":0.0000651,"response_parsed":"SELECT Singer_ID \nFROM singer \nORDER BY Singer_ID DESC;","time":0.8750169277}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer_in_concert","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `singer_in_concert` ORDER BY `concert_ID` ASC","question":"Show all data ordered by concert_ID in ascending order for the table singer_in_concert","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Here is the SQL code to fetch all data from the `singer_in_concert` table ordered by `concert_ID` in ascending order:\n\n```sql\nSELECT * FROM singer_in_concert\nORDER BY concert_ID ASC;\n```","cost":0.00006945,"response_parsed":"SELECT * FROM singer_in_concert\nORDER BY concert_ID ASC;","time":0.8684566021}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer_in_concert","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `singer_in_concert` ORDER BY `concert_ID` DESC","question":"Show all data ordered by concert_ID in descending order for the table singer_in_concert","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Here's the SQL code to retrieve all data from the `singer_in_concert` table, ordered by `concert_ID` in descending order:\n\n```sql\nSELECT * FROM singer_in_concert\nORDER BY concert_ID DESC;\n```","cost":0.00006945,"response_parsed":"SELECT * FROM singer_in_concert\nORDER BY concert_ID DESC;","time":0.7918279171}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer_in_concert","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `singer_in_concert` ORDER BY `Singer_ID` ASC","question":"Show all data ordered by Singer_ID in ascending order for the table singer_in_concert","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Here is the SQL code to retrieve all data from the `singer_in_concert` table ordered by `Singer_ID` in ascending order:\n\n```sql\nSELECT * FROM singer_in_concert\nORDER BY Singer_ID ASC;\n```","cost":0.00006945,"response_parsed":"SELECT * FROM singer_in_concert\nORDER BY Singer_ID ASC;","time":1.2073354721}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer_in_concert","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `singer_in_concert` ORDER BY `Singer_ID` DESC","question":"Show all data ordered by Singer_ID in descending order for the table singer_in_concert","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT * \nFROM singer_in_concert \nORDER BY Singer_ID DESC;\n```","cost":0.00005265,"response_parsed":"SELECT * \nFROM singer_in_concert \nORDER BY Singer_ID DESC;","time":0.5111708641}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer_in_concert","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `concert_ID` FROM `singer_in_concert` ORDER BY `concert_ID` ASC","question":"Project the concert_ID ordered in ascending order for the table singer_in_concert","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Here is the SQL code to project the `concert_ID` from the `singer_in_concert` table and order it in ascending order:\n\n```sql\nSELECT concert_ID \nFROM singer_in_concert \nORDER BY concert_ID ASC;\n```","cost":0.00007035,"response_parsed":"SELECT concert_ID \nFROM singer_in_concert \nORDER BY concert_ID ASC;","time":0.9546411037}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer_in_concert","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `concert_ID` FROM `singer_in_concert` ORDER BY `concert_ID` DESC","question":"Project the concert_ID ordered in descending order for the table singer_in_concert","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Here is the SQL code to fetch the `concert_ID` from the `singer_in_concert` table ordered in descending order:\n\n```sql\nSELECT concert_ID \nFROM singer_in_concert \nORDER BY concert_ID DESC;\n```","cost":0.00006915,"response_parsed":"SELECT concert_ID \nFROM singer_in_concert \nORDER BY concert_ID DESC;","time":0.6987178326}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer_in_concert","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Singer_ID` FROM `singer_in_concert` ORDER BY `Singer_ID` ASC","question":"Project the Singer_ID ordered in ascending order for the table singer_in_concert","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT Singer_ID\nFROM singer_in_concert\nORDER BY Singer_ID ASC;\n```","cost":0.00005295,"response_parsed":"SELECT Singer_ID\nFROM singer_in_concert\nORDER BY Singer_ID ASC;","time":0.4986097813}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer_in_concert","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Singer_ID` FROM `singer_in_concert` ORDER BY `Singer_ID` DESC","question":"Project the Singer_ID ordered in descending order for the table singer_in_concert","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Here is the SQL code that you can execute to fetch the `Singer_ID` from the `singer_in_concert` table, ordered in descending order:\n\n```sql\nSELECT Singer_ID\nFROM singer_in_concert\nORDER BY Singer_ID DESC;\n```","cost":0.00007215,"response_parsed":"SELECT Singer_ID\nFROM singer_in_concert\nORDER BY Singer_ID DESC;","time":0.8761510849}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `concert_ID` FROM `concert`","question":"Show all concert_ID in the table concert","db_schema_normalized":"`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Here is the SQL code to fetch all `concert_ID` from the `concert` table:\n\n```sql\nSELECT concert_ID FROM concert;\n```","cost":0.0000573,"response_parsed":"SELECT concert_ID FROM concert;","time":0.5851345062}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `concert_Name` FROM `concert`","question":"Show all concert_Name in the table concert","db_schema_normalized":"`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Here is the SQL code to fetch all concert names from the `concert` table:\n\n```sql\nSELECT concert_Name FROM concert;\n```","cost":0.0000561,"response_parsed":"SELECT concert_Name FROM concert;","time":0.6025226116}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Theme` FROM `concert`","question":"Show all Theme in the table concert","db_schema_normalized":"`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To retrieve all unique themes from the `concert` table, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT Theme\nFROM concert;\n```","cost":0.00005835,"response_parsed":"SELECT DISTINCT Theme\nFROM concert;","time":0.7267246246}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Stadium_ID` FROM `concert`","question":"Show all Stadium_ID in the table concert","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To retrieve all `Stadium_ID`s from the `concert` table, you can use the following SQL code:\n\n```sql\nSELECT Stadium_ID FROM concert;\n```","cost":0.0000597,"response_parsed":"SELECT Stadium_ID FROM concert;","time":0.7076237202}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Year` FROM `concert`","question":"Show all Year in the table concert","db_schema_normalized":"`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch all distinct years from the `concert` table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT \"Year\" \nFROM \"concert\";\n```","cost":0.00006015,"response_parsed":"SELECT DISTINCT \"Year\" \nFROM \"concert\";","time":0.7666199207}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"PROJECT","sql_tag":"SELECT-ALL","query":"SELECT * FROM `concert`","question":"Show all the rows in the table concert","db_schema_normalized":"`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT * FROM concert;\n```","cost":0.0000453,"response_parsed":"SELECT * FROM concert;","time":0.323990345}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Theme` FROM `concert`","question":"Show all Theme in the table concert","db_schema_normalized":"`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch all distinct themes from the `concert` table, the SQL code would look like this:\n\n```sql\nSELECT DISTINCT Theme\nFROM concert;\n```","cost":0.00005835,"response_parsed":"SELECT DISTINCT Theme\nFROM concert;","time":0.8880326748}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Year`, `Theme` FROM `concert`","question":"Show all Year, Theme in the table concert","db_schema_normalized":"`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch all Year and Theme from the `concert` table, you can use the following SQL code:\n\n```sql\nSELECT \"Year\", \"Theme\" \nFROM \"concert\";\n```","cost":0.00006225,"response_parsed":"SELECT \"Year\", \"Theme\" \nFROM \"concert\";","time":0.6885724068}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `concert_ID`, `Year`, `Theme` FROM `concert`","question":"Show all concert_ID, Year, Theme in the table concert","db_schema_normalized":"`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT concert_ID, Year, Theme\nFROM concert;\n```","cost":0.0000495,"response_parsed":"SELECT concert_ID, Year, Theme\nFROM concert;","time":0.6868777275}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Theme`, `Year`, `concert_ID`, `Stadium_ID` FROM `concert`","question":"Show all Theme, Year, concert_ID, Stadium_ID in the table concert","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch all the required information (Theme, Year, concert_ID, Stadium_ID) from the `concert` table, you can use the following SQL query:\n\n```sql\nSELECT Theme, Year, concert_ID, Stadium_ID\nFROM concert;\n```","cost":0.00007095,"response_parsed":"SELECT Theme, Year, concert_ID, Stadium_ID\nFROM concert;","time":0.7912900448}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Location` FROM `stadium`","question":"Show all Location in the table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch all locations from the `stadium` table, you can use the following SQL code:\n\n```sql\nSELECT Location FROM stadium;\n```","cost":0.00005715,"response_parsed":"SELECT Location FROM stadium;","time":0.8024120331}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Lowest` FROM `stadium`","question":"Show all Lowest in the table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To show all the Lowest values from the \"stadium\" table, you can use the following SQL query:\n\n```sql\nSELECT Lowest FROM stadium;\n```","cost":0.00005835,"response_parsed":"SELECT Lowest FROM stadium;","time":0.690959692}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Stadium_ID` FROM `stadium`","question":"Show all Stadium_ID in the table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Certainly! To retrieve all `Stadium_ID`s from the `stadium` table, you can use the following SQL code:\n\n```sql\nSELECT Stadium_ID FROM stadium;\n```","cost":0.0000615,"response_parsed":"SELECT Stadium_ID FROM stadium;","time":0.5584807396}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Average` FROM `stadium`","question":"Show all Average in the table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch all the Average values from the `stadium` table, you can use the following SQL query:\n\n```sql\nSELECT \"Average\" \nFROM \"stadium\";\n```","cost":0.00006135,"response_parsed":"SELECT \"Average\" \nFROM \"stadium\";","time":0.6861212254}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Capacity` FROM `stadium`","question":"Show all Capacity in the table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch all the capacities from the \"stadium\" table, you can use the following SQL query:\n\n```sql\nSELECT \"Capacity\" FROM \"stadium\";\n```","cost":0.00006015,"response_parsed":"SELECT \"Capacity\" FROM \"stadium\";","time":0.7639536858}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"PROJECT","sql_tag":"SELECT-ALL","query":"SELECT * FROM `stadium`","question":"Show all the rows in the table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch all the rows from the \"stadium\" table, you can use the following SQL code:\n\n```sql\nSELECT * FROM stadium;\n```","cost":0.0000579,"response_parsed":"SELECT * FROM stadium;","time":0.7137756348}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Stadium_ID` FROM `stadium`","question":"Show all Stadium_ID in the table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT Stadium_ID FROM stadium;\n```","cost":0.0000459,"response_parsed":"SELECT Stadium_ID FROM stadium;","time":0.4332602024}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Highest`, `Location` FROM `stadium`","question":"Show all Highest, Location in the table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To retrieve all the entries for the highest values and their corresponding locations from the `stadium` table, the following SQL query can be executed:\n\n```sql\nSELECT Highest, Location \nFROM stadium;\n```","cost":0.00006465,"response_parsed":"SELECT Highest, Location \nFROM stadium;","time":1.0297040939}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Lowest`, `Stadium_ID`, `Location` FROM `stadium`","question":"Show all Lowest, Stadium_ID, Location in the table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"You can use the following SQL code to retrieve all the required information (Lowest, Stadium_ID, and Location) from the `stadium` table:\n\n```sql\nSELECT Lowest, Stadium_ID, Location FROM stadium;\n```","cost":0.0000669,"response_parsed":"SELECT Lowest, Stadium_ID, Location FROM stadium;","time":0.8466169834}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Location`, `Capacity`, `Lowest`, `Name` FROM `stadium`","question":"Show all Location, Capacity, Lowest, Name in the table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Here is the SQL code to fetch the specified details from the stadium table:\n\n```sql\nSELECT \"Location\", \"Capacity\", \"Lowest\", \"Name\"\nFROM \"stadium\";\n```","cost":0.00006285,"response_parsed":"SELECT \"Location\", \"Capacity\", \"Lowest\", \"Name\"\nFROM \"stadium\";","time":0.7653193474}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Highest`, `Stadium_ID`, `Lowest`, `Capacity`, `Location` FROM `stadium`","question":"Show all Highest, Stadium_ID, Lowest, Capacity, Location in the table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To retrieve the highest, lowest, stadium ID, capacity, and location from the \"stadium\" table, you can use the following SQL query:\n\n```sql\nSELECT Highest, Stadium_ID, Lowest, Capacity, Location\nFROM stadium;\n```","cost":0.0000705,"response_parsed":"SELECT Highest, Stadium_ID, Lowest, Capacity, Location\nFROM stadium;","time":1.0022997856}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Stadium_ID`, `Average`, `Highest`, `Location`, `Name`, `Lowest` FROM `stadium`","question":"Show all Stadium_ID, Average, Highest, Location, Name, Lowest in the table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To retrieve the required information from the `stadium` table as per your question, you can execute the following SQL query:\n\n```sql\nSELECT \"Stadium_ID\", \"Average\", \"Highest\", \"Location\", \"Name\", \"Lowest\"\nFROM \"stadium\";\n```","cost":0.0000744,"response_parsed":"SELECT \"Stadium_ID\", \"Average\", \"Highest\", \"Location\", \"Name\", \"Lowest\"\nFROM \"stadium\";","time":0.8900153637}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Song_release_year` FROM `singer`","question":"Show all Song_release_year in the table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch all the `Song_release_year` values from the `singer` table, you can use the following SQL code:\n\n```sql\nSELECT Song_release_year FROM singer;\n```","cost":0.00006225,"response_parsed":"SELECT Song_release_year FROM singer;","time":0.7938327789}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Singer_ID` FROM `singer`","question":"Show all Singer_ID in the table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch all `Singer_ID` from the table `singer`, you can use the following SQL code:\n\n```sql\nSELECT Singer_ID FROM singer;\n```","cost":0.0000591,"response_parsed":"SELECT Singer_ID FROM singer;","time":0.6322934628}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Age` FROM `singer`","question":"Show all Age in the table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Here is the SQL code to retrieve all ages from the `singer` table:\n\n```sql\nSELECT Age FROM singer;\n```","cost":0.00005535,"response_parsed":"SELECT Age FROM singer;","time":0.7878813744}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Song_Name` FROM `singer`","question":"Show all Song_Name in the table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Here is the SQL code to fetch all `Song_Name` values from the `singer` table:\n\n```sql\nSELECT Song_Name FROM singer;\n```","cost":0.0000585,"response_parsed":"SELECT Song_Name FROM singer;","time":0.745865345}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Name` FROM `singer`","question":"Show all Name in the table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch all names from the table `singer`, you can use the following SQL code:\n\n```sql\nSELECT Name FROM singer;\n```","cost":0.00005655,"response_parsed":"SELECT Name FROM singer;","time":0.6100943089}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"PROJECT","sql_tag":"SELECT-ALL","query":"SELECT * FROM `singer`","question":"Show all the rows in the table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch all the rows from the `singer` table, you can use the following SQL code:\n\n```sql\nSELECT * FROM singer;\n```","cost":0.0000579,"response_parsed":"SELECT * FROM singer;","time":0.8153662682}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Song_Name` FROM `singer`","question":"Show all Song_Name in the table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To retrieve all `Song_Name` entries from the `singer` table, you can use the following SQL query:\n\n```sql\nSELECT Song_Name FROM singer;\n```","cost":0.0000603,"response_parsed":"SELECT Song_Name FROM singer;","time":0.6634004116}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Age`, `Name` FROM `singer`","question":"Show all Age, Name in the table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Here is the SQL code to fetch all Age and Name from the table `singer`:\n\n```sql\nSELECT Age, Name FROM singer;\n```","cost":0.00005805,"response_parsed":"SELECT Age, Name FROM singer;","time":0.5504460335}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Song_release_year`, `Name`, `Age` FROM `singer`","question":"Show all Song_release_year, Name, Age in the table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To retrieve the `Song_release_year`, `Name`, and `Age` from the `singer` table, you can use the following SQL query:\n\n```sql\nSELECT \"Song_release_year\", \"Name\", \"Age\" \nFROM \"singer\";\n```","cost":0.00007245,"response_parsed":"SELECT \"Song_release_year\", \"Name\", \"Age\" \nFROM \"singer\";","time":0.9841001034}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Country`, `Age`, `Singer_ID`, `Song_release_year` FROM `singer`","question":"Show all Country, Age, Singer_ID, Song_release_year in the table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch all the required details (Country, Age, Singer_ID, Song_release_year) from the `singer` table, you can use the following SQL code:\n\n```sql\nSELECT Country, Age, Singer_ID, Song_release_year\nFROM singer;\n```","cost":0.0000729,"response_parsed":"SELECT Country, Age, Singer_ID, Song_release_year\nFROM singer;","time":0.9836564064}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Age`, `Singer_ID`, `Country`, `Name`, `Song_release_year` FROM `singer`","question":"Show all Age, Singer_ID, Country, Name, Song_release_year in the table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch the required fields (Age, Singer_ID, Country, Name, Song_release_year) from the `singer` table in the database, you can use the following SQL query:\n\n```sql\nSELECT Age, Singer_ID, Country, Name, Song_release_year\nFROM singer;\n```","cost":0.0000768,"response_parsed":"SELECT Age, Singer_ID, Country, Name, Song_release_year\nFROM singer;","time":3.0898942947}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer_in_concert","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `concert_ID` FROM `singer_in_concert`","question":"Show all concert_ID in the table singer_in_concert","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To show all `concert_ID` from the table `singer_in_concert`, you can use the following SQL code:\n\n```sql\nSELECT concert_ID FROM singer_in_concert;\n```","cost":0.00006315,"response_parsed":"SELECT concert_ID FROM singer_in_concert;","time":0.8931655884}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer_in_concert","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Singer_ID` FROM `singer_in_concert`","question":"Show all Singer_ID in the table singer_in_concert","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT Singer_ID FROM singer_in_concert;\n```","cost":0.00004815,"response_parsed":"SELECT Singer_ID FROM singer_in_concert;","time":0.5070390701}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer_in_concert","test_category":"PROJECT","sql_tag":"SELECT-ALL","query":"SELECT * FROM `singer_in_concert`","question":"Show all the rows in the table singer_in_concert","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT * FROM singer_in_concert;\n```","cost":0.00004755,"response_parsed":"SELECT * FROM singer_in_concert;","time":0.4272015095}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer_in_concert","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Singer_ID` FROM `singer_in_concert`","question":"Show all Singer_ID in the table singer_in_concert","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT Singer_ID FROM singer_in_concert;\n```","cost":0.00004815,"response_parsed":"SELECT Singer_ID FROM singer_in_concert;","time":0.3929057121}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `concert` WHERE `concert_Name` == 'Week 2'","question":"Show the data of the table concert where concert_Name is equal to Week 2","db_schema_normalized":"`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To retrieve the data from the `concert` table where the `concert_Name` is equal to \"Week 2\", you can execute the following SQL query:\n\n```sql\nSELECT * FROM concert WHERE concert_Name = 'Week 2';\n```","cost":0.0000705,"response_parsed":"SELECT * FROM concert WHERE concert_Name = 'Week 2';","time":0.8037819862}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `concert` WHERE `concert_Name` != 'Home Visits'","question":"Show the data of the table concert where concert_Name is different from Home Visits","db_schema_normalized":"`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT *\nFROM concert\nWHERE concert_Name <> 'Home Visits';\n```","cost":0.00005115,"response_parsed":"SELECT *\nFROM concert\nWHERE concert_Name <> 'Home Visits';","time":0.51298666}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `concert` WHERE `concert_Name` != 'Home Visits'","question":"Show the data of the table concert where concert_Name not equal to Home Visits","db_schema_normalized":"`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT *\nFROM concert\nWHERE concert_Name <> 'Home Visits';\n```","cost":0.00005115,"response_parsed":"SELECT *\nFROM concert\nWHERE concert_Name <> 'Home Visits';","time":0.5260660648}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `concert` WHERE `Stadium_ID` == '10'","question":"Show the data of the table concert where Stadium_ID is equal to 10","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT * FROM concert WHERE Stadium_ID = '10';\n```","cost":0.00004995,"response_parsed":"SELECT * FROM concert WHERE Stadium_ID = '10';","time":0.4881455898}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `concert` WHERE `Stadium_ID` != '10'","question":"Show the data of the table concert where Stadium_ID is different from 10","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT *\nFROM concert\nWHERE Stadium_ID <> '10';\n```","cost":0.00005055,"response_parsed":"SELECT *\nFROM concert\nWHERE Stadium_ID <> '10';","time":0.5692400932}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `concert` WHERE `Stadium_ID` != '2'","question":"Show the data of the table concert where Stadium_ID not equal to 2","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch the data from the `concert` table where `Stadium_ID` is not equal to 2, you can use the following SQL query:\n\n```sql\nSELECT *\nFROM concert\nWHERE Stadium_ID <> '2';\n``` \n\n(Note: The `Stadium_ID` is defined as a `text` type in the `concert` table schema, so the value '2' is enclosed in single quotes.)","cost":0.00009135,"response_parsed":"SELECT *\nFROM concert\nWHERE Stadium_ID <> '2';","time":1.261582613}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `concert` WHERE `Theme` == 'Free choice 2'","question":"Show the data of the table concert where Theme is equal to Free choice 2","db_schema_normalized":"`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT * FROM concert WHERE Theme = 'Free choice 2';\n```","cost":0.0000513,"response_parsed":"SELECT * FROM concert WHERE Theme = 'Free choice 2';","time":0.5679965019}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `concert` WHERE `Theme` != 'Wide Awake'","question":"Show the data of the table concert where Theme is different from Wide Awake","db_schema_normalized":"`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT * \nFROM concert \nWHERE Theme <> 'Wide Awake';\n```","cost":0.000051,"response_parsed":"SELECT * \nFROM concert \nWHERE Theme <> 'Wide Awake';","time":0.4150304794}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `concert` WHERE `Theme` != 'Free choice'","question":"Show the data of the table concert where Theme not equal to Free choice","db_schema_normalized":"`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Sure! Below is the SQL code to fetch the data from the `concert` table where the `Theme` is not equal to \"Free choice\":\n\n```sql\nSELECT * FROM concert WHERE Theme <> 'Free choice';\n```","cost":0.0000678,"response_parsed":"SELECT * FROM concert WHERE Theme <> 'Free choice';","time":0.8496921062}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `stadium` WHERE `Location` == 'East Fife'","question":"Show the data of the table stadium where Location is equal to East Fife","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Here is the SQL code to fetch the data from the `stadium` table where the `Location` is equal to \"East Fife\":\n\n```sql\nSELECT * FROM stadium WHERE Location = 'East Fife';\n```","cost":0.00006795,"response_parsed":"SELECT * FROM stadium WHERE Location = 'East Fife';","time":0.7991724014}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `stadium` WHERE `Location` != 'Stirling Albion'","question":"Show the data of the table stadium where Location is different from Stirling Albion","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To retrieve the data from the `stadium` table where the `Location` is different from 'Stirling Albion', you can use the following SQL query:\n\n```sql\nSELECT * FROM stadium\nWHERE Location <> 'Stirling Albion';\n```","cost":0.00007035,"response_parsed":"SELECT * FROM stadium\nWHERE Location <> 'Stirling Albion';","time":0.822562933}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `stadium` WHERE `Location` != 'Ayr United'","question":"Show the data of the table stadium where Location not equal to Ayr United","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch the data from the `stadium` table where the `Location` is not equal to 'Ayr United', you can use the following SQL code:\n\n```sql\nSELECT *\nFROM stadium\nWHERE Location <> 'Ayr United';\n```","cost":0.0000708,"response_parsed":"SELECT *\nFROM stadium\nWHERE Location <> 'Ayr United';","time":0.8225743771}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `stadium` WHERE `Name` == 'Somerset Park'","question":"Show the data of the table stadium where Name is equal to Somerset Park","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch the data from the `stadium` table where the `Name` is equal to 'Somerset Park', you can use the following SQL code:\n\n```sql\nSELECT * FROM stadium WHERE Name = 'Somerset Park';\n```","cost":0.0000696,"response_parsed":"SELECT * FROM stadium WHERE Name = 'Somerset Park';","time":0.765491724}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `stadium` WHERE `Name` != 'Forthbank Stadium'","question":"Show the data of the table stadium where Name is different from Forthbank Stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch the data from the `stadium` table where the `Name` is different from \"Forthbank Stadium\", you can use the following SQL query:\n\n```sql\nSELECT * FROM stadium WHERE Name != 'Forthbank Stadium';\n```","cost":0.0000711,"response_parsed":"SELECT * FROM stadium WHERE Name != 'Forthbank Stadium';","time":0.8963201046}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `stadium` WHERE `Name` != 'Bayview Stadium'","question":"Show the data of the table stadium where Name not equal to Bayview Stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch the data from the `stadium` table where the `Name` is not equal to \"Bayview Stadium\", you can use the following SQL code:\n\n```sql\nSELECT * FROM stadium\nWHERE Name <> 'Bayview Stadium';\n```","cost":0.00007095,"response_parsed":"SELECT * FROM stadium\nWHERE Name <> 'Bayview Stadium';","time":1.0414938927}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `stadium` WHERE `Average` > 864","question":"Show the data of the table stadium where Average is greater than 864","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch the data from the `stadium` table where the `Average` is greater than 864, you can use the following SQL query:\n\n```sql\nSELECT *\nFROM stadium\nWHERE Average > 864;\n```","cost":0.0000678,"response_parsed":"SELECT *\nFROM stadium\nWHERE Average > 864;","time":0.7047591209}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `stadium` WHERE `Average` < 1477","question":"Show the data of the table stadium where Average is less than 1477","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT * FROM stadium WHERE Average < 1477;\n```","cost":0.00004995,"response_parsed":"SELECT * FROM stadium WHERE Average < 1477;","time":0.5213873386}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `stadium` WHERE `Lowest` < 533","question":"Show the data of the table stadium where Lowest is less than 533","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Here is the SQL code to fetch the data from the \"stadium\" table where the \"Lowest\" value is less than 533:\n\n```sql\nSELECT * FROM stadium WHERE Lowest < 533;\n```","cost":0.000066,"response_parsed":"SELECT * FROM stadium WHERE Lowest < 533;","time":1.1104815006}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `singer` WHERE `Country` == 'Netherlands'","question":"Show the data of the table singer where Country is equal to Netherlands","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT * FROM singer WHERE Country = 'Netherlands';\n```","cost":0.00004965,"response_parsed":"SELECT * FROM singer WHERE Country = 'Netherlands';","time":0.359254837}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `singer` WHERE `Country` != 'France'","question":"Show the data of the table singer where Country is different from France","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT * \nFROM singer \nWHERE Country <> 'France';\n```","cost":0.00005025,"response_parsed":"SELECT * \nFROM singer \nWHERE Country <> 'France';","time":0.633849144}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `singer` WHERE `Country` != 'United States'","question":"Show the data of the table singer where Country not equal to United States","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT *\nFROM singer\nWHERE Country <> 'United States';\n```","cost":0.0000504,"response_parsed":"SELECT *\nFROM singer\nWHERE Country <> 'United States';","time":0.4140114784}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `singer` WHERE `Song_Name` == 'Sun'","question":"Show the data of the table singer where Song_Name is equal to Sun","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch the data from the `singer` table where the `Song_Name` is equal to 'Sun', you can use the following SQL code:\n\n```sql\nSELECT *\nFROM singer\nWHERE Song_Name = 'Sun';\n```","cost":0.000069,"response_parsed":"SELECT *\nFROM singer\nWHERE Song_Name = 'Sun';","time":1.4966220856}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `singer` WHERE `Song_Name` != 'Gentleman'","question":"Show the data of the table singer where Song_Name is different from Gentleman","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT * \nFROM singer \nWHERE Song_Name <> 'Gentleman';\n```","cost":0.0000522,"response_parsed":"SELECT * \nFROM singer \nWHERE Song_Name <> 'Gentleman';","time":0.5849943161}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `singer` WHERE `Song_Name` != 'You'","question":"Show the data of the table singer where Song_Name not equal to You","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Here is the SQL code to fetch the data from the `singer` table where `Song_Name` is not equal to 'You':\n\n```sql\nSELECT * FROM singer WHERE Song_Name != 'You';\n```","cost":0.0000666,"response_parsed":"SELECT * FROM singer WHERE Song_Name != 'You';","time":2.2264926434}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `singer` WHERE `Name` == 'Rose White'","question":"Show the data of the table singer where Name is equal to Rose White","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT * \nFROM singer \nWHERE Name = 'Rose White';\n```","cost":0.000051,"response_parsed":"SELECT * \nFROM singer \nWHERE Name = 'Rose White';","time":0.6265385151}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `singer` WHERE `Name` != 'Rose White'","question":"Show the data of the table singer where Name is different from Rose White","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Here is the SQL code to fetch the data from the `singer` table where the `Name` is different from 'Rose White':\n\n```sql\nSELECT * FROM singer WHERE Name <> 'Rose White';\n```","cost":0.0000666,"response_parsed":"SELECT * FROM singer WHERE Name <> 'Rose White';","time":1.6970460415}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `singer` WHERE `Name` != 'Rose White'","question":"Show the data of the table singer where Name not equal to Rose White","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT * \nFROM singer \nWHERE Name != 'Rose White';\n```","cost":0.000051,"response_parsed":"SELECT * \nFROM singer \nWHERE Name != 'Rose White';","time":0.5365557671}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `singer` WHERE `Age` < 29","question":"Show the data of the table singer where Age is less than 29","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT * \nFROM singer \nWHERE Age < 29;\n```","cost":0.0000504,"response_parsed":"SELECT * \nFROM singer \nWHERE Age < 29;","time":0.5179121494}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer_in_concert","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `singer_in_concert` WHERE `Singer_ID` == '5'","question":"Show the data of the table singer_in_concert where Singer_ID is equal to 5","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT *\nFROM singer_in_concert\nWHERE Singer_ID = 5;\n```","cost":0.0000528,"response_parsed":"SELECT *\nFROM singer_in_concert\nWHERE Singer_ID = 5;","time":0.6738917828}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer_in_concert","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `singer_in_concert` WHERE `Singer_ID` != '2'","question":"Show the data of the table singer_in_concert where Singer_ID is different from 2","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT *\nFROM singer_in_concert\nWHERE Singer_ID <> 2;\n```","cost":0.0000528,"response_parsed":"SELECT *\nFROM singer_in_concert\nWHERE Singer_ID <> 2;","time":0.6039936543}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer_in_concert","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `singer_in_concert` WHERE `Singer_ID` != '2'","question":"Show the data of the table singer_in_concert where Singer_ID not equal to 2","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT *\nFROM singer_in_concert\nWHERE Singer_ID <> 2;\n```","cost":0.0000528,"response_parsed":"SELECT *\nFROM singer_in_concert\nWHERE Singer_ID <> 2;","time":1.0236923695}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `concert_Name`) FROM `concert`","question":"How many different concert_Name are in table concert?","db_schema_normalized":"`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch the number of different concert names from the `concert` table, you can use the following SQL code:\n\n```sql\nSELECT COUNT(DISTINCT concert_Name) AS different_concert_names\nFROM concert;\n```","cost":0.00006645,"response_parsed":"SELECT COUNT(DISTINCT concert_Name) AS different_concert_names\nFROM concert;","time":1.2134785652}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Theme`) FROM `concert`","question":"How many different Theme are in table concert?","db_schema_normalized":"`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To count the number of different themes in the `concert` table, you can use the `COUNT` function combined with the `DISTINCT` keyword in SQL. Here's the SQL code to achieve that:\n\n```sql\nSELECT COUNT(DISTINCT Theme) AS Different_Themes_Count\nFROM concert;\n```","cost":0.0000765,"response_parsed":"SELECT COUNT(DISTINCT Theme) AS Different_Themes_Count\nFROM concert;","time":1.7714722157}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Stadium_ID`) FROM `concert`","question":"How many different Stadium_ID are in table concert?","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch the number of different `Stadium_ID` values in the `concert` table, you can use the following SQL code:\n\n```sql\nSELECT COUNT(DISTINCT Stadium_ID) AS Different_Stadium_Count\nFROM concert;\n```","cost":0.00006945,"response_parsed":"SELECT COUNT(DISTINCT Stadium_ID) AS Different_Stadium_Count\nFROM concert;","time":0.8667416573}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"concert","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Year`) FROM `concert`","question":"How many different Year are in table concert?","db_schema_normalized":"`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch the number of different years present in the `concert` table, you can use the following SQL query:\n\n```sql\nSELECT COUNT(DISTINCT Year) AS DifferentYearsCount\nFROM concert;\n```","cost":0.0000651,"response_parsed":"SELECT COUNT(DISTINCT Year) AS DifferentYearsCount\nFROM concert;","time":0.9463074207}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Location`) FROM `stadium`","question":"How many different Location are in table stadium?","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To retrieve the number of different locations in the \"stadium\" table, you can use the following SQL query:\n\n```sql\nSELECT COUNT(DISTINCT \"Location\") AS unique_location_count\nFROM \"stadium\";\n``` \n\nThis query counts the distinct values in the \"Location\" column of the \"stadium\" table, thus providing the number of different locations.","cost":0.0000843,"response_parsed":"SELECT COUNT(DISTINCT \"Location\") AS unique_location_count\nFROM \"stadium\";","time":3.9292159081}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Name`) FROM `stadium`","question":"How many different Name are in table stadium?","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"```sql\nSELECT COUNT(DISTINCT \"Name\") AS different_names_count\nFROM \"stadium\";\n```","cost":0.0000531,"response_parsed":"SELECT COUNT(DISTINCT \"Name\") AS different_names_count\nFROM \"stadium\";","time":0.5583078861}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MAX","query":"SELECT MAX(`Average`) FROM `stadium`","question":"Find the maximum Average for the table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Here is the SQL code to find the maximum average in the \"stadium\" table:\n\n```sql\nSELECT MAX(Average) AS Max_Average\nFROM stadium;\n```","cost":0.0000609,"response_parsed":"SELECT MAX(Average) AS Max_Average\nFROM stadium;","time":0.713152647}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MIN","query":"SELECT MIN(`Average`) FROM `stadium`","question":"Find the minimum Average for the table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To find the minimum Average from the `stadium` table, you can use the following SQL query:\n\n```sql\nSELECT MIN(\"Average\") AS Minimum_Average\nFROM \"stadium\";\n```","cost":0.0000639,"response_parsed":"SELECT MIN(\"Average\") AS Minimum_Average\nFROM \"stadium\";","time":0.8790261745}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-AVG","query":"SELECT AVG(`Average`) FROM `stadium`","question":"Find the average Average for the table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To find the average of the \"Average\" column from the \"stadium\" table, you can use the following SQL code:\n\n```sql\nSELECT AVG(\"Average\") AS average_Average\nFROM \"stadium\";\n```","cost":0.0000669,"response_parsed":"SELECT AVG(\"Average\") AS average_Average\nFROM \"stadium\";","time":0.8046679497}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MAX","query":"SELECT MAX(`Highest`) FROM `stadium`","question":"Find the maximum Highest for the table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To find the maximum value of the column \"Highest\" from the \"stadium\" table, you can use the following SQL code:\n\n```sql\nSELECT MAX(Highest) AS Max_Highest\nFROM stadium;\n```","cost":0.0000669,"response_parsed":"SELECT MAX(Highest) AS Max_Highest\nFROM stadium;","time":0.7326190472}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MIN","query":"SELECT MIN(`Highest`) FROM `stadium`","question":"Find the minimum Highest for the table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To find the minimum value of the \"Highest\" column from the \"stadium\" table, you can use the following SQL query:\n\n```sql\nSELECT MIN(Highest) AS Minimum_Highest\nFROM stadium;\n```","cost":0.0000669,"response_parsed":"SELECT MIN(Highest) AS Minimum_Highest\nFROM stadium;","time":0.826583147}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"stadium","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-AVG","query":"SELECT AVG(`Highest`) FROM `stadium`","question":"Find the average Highest for the table stadium","db_schema_normalized":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"Here is the SQL code that calculates the average of the \"Highest\" field from the \"stadium\" table:\n\n```sql\nSELECT AVG(Highest) AS Average_Highest\nFROM stadium;\n```","cost":0.0000645,"response_parsed":"SELECT AVG(Highest) AS Average_Highest\nFROM stadium;","time":1.0295920372}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Name`) FROM `singer`","question":"How many different Name are in table singer?","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To find out how many different names are in the `singer` table, you can use the following SQL query:\n\n```sql\nSELECT COUNT(DISTINCT Name) AS UniqueNamesCount\nFROM singer;\n``` \n\nThis query utilizes the `COUNT` function along with `DISTINCT` to count the unique names present in the `singer` table.","cost":0.0000831,"response_parsed":"SELECT COUNT(DISTINCT Name) AS UniqueNamesCount\nFROM singer;","time":1.5296308994}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Country`) FROM `singer`","question":"How many different Country are in table singer?","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To fetch the number of different countries in the `singer` table, you can use the following SQL query:\n\n```sql\nSELECT COUNT(DISTINCT Country) AS Different_Countries\nFROM singer;\n```","cost":0.0000651,"response_parsed":"SELECT COUNT(DISTINCT Country) AS Different_Countries\nFROM singer;","time":0.8738338947}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Song_Name`) FROM `singer`","question":"How many different Song_Name are in table singer?","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To get the count of different `Song_Name` in the `singer` table, you can use the SQL `COUNT` function along with the `DISTINCT` keyword. Here\u2019s the SQL code to execute the query:\n\n```sql\nSELECT COUNT(DISTINCT Song_Name) AS different_song_count\nFROM singer;\n```","cost":0.00007965,"response_parsed":"SELECT COUNT(DISTINCT Song_Name) AS different_song_count\nFROM singer;","time":1.1000058651}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Song_release_year`) FROM `singer`","question":"How many different Song_release_year are in table singer?","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To count the different `Song_release_year` values in the `singer` table, you can use the following SQL query:\n\n```sql\nSELECT COUNT(DISTINCT Song_release_year) AS Different_Release_Years\nFROM singer;\n```","cost":0.0000696,"response_parsed":"SELECT COUNT(DISTINCT Song_release_year) AS Different_Release_Years\nFROM singer;","time":0.9514737129}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MAX","query":"SELECT MAX(`Age`) FROM `singer`","question":"Find the maximum Age for the table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To find the maximum age from the \"singer\" table, you can use the following SQL code:\n\n```sql\nSELECT MAX(Age) AS Maximum_Age\nFROM singer;\n```","cost":0.0000627,"response_parsed":"SELECT MAX(Age) AS Maximum_Age\nFROM singer;","time":1.2980935574}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MIN","query":"SELECT MIN(`Age`) FROM `singer`","question":"Find the minimum Age for the table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To find the minimum age in the \"singer\" table, you can use the following SQL query:\n\n```sql\nSELECT MIN(Age) AS Minimum_Age\nFROM singer;\n```","cost":0.0000627,"response_parsed":"SELECT MIN(Age) AS Minimum_Age\nFROM singer;","time":0.582785368}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-AVG","query":"SELECT AVG(`Age`) FROM `singer`","question":"Find the average Age for the table singer","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To find the average Age for the `singer` table, you can use the following SQL code:\n\n```sql\nSELECT AVG(Age) AS Average_Age\nFROM singer;\n```","cost":0.0000627,"response_parsed":"SELECT AVG(Age) AS Average_Age\nFROM singer;","time":0.6850671768}} {"db_path":"QATCH-journal\/spider_data\/test_database\/concert_singer\/concert_singer.sqlite","db_id":"concert_singer","tbl_name":"singer_in_concert","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Singer_ID`) FROM `singer_in_concert`","question":"How many different Singer_ID are in table singer_in_concert?","db_schema_normalized":"`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","db_schema":"`\"stadium\"` (\"Stadium_ID\" int, \"Location\" text, \"Name\" text, \"Capacity\" int, \"Highest\" int, \"Lowest\" int, \"Average\" int, PRIMARY KEY (\"Stadium_ID\"))\n`\"singer\"` (\"Singer_ID\" int, \"Name\" text, \"Country\" text, \"Song_Name\" text, \"Song_release_year\" text, \"Age\" int, \"Is_male\" bool, PRIMARY KEY (\"Singer_ID\"))\n`\"concert\"` (\"concert_ID\" int, \"concert_Name\" text, \"Theme\" text, \"Stadium_ID\" text, \"Year\" text, PRIMARY KEY (\"concert_ID\"), FOREIGN KEY (\"Stadium_ID\") REFERENCES \"stadium\"(\"Stadium_ID\"))\n`\"singer_in_concert\"` (\"concert_ID\" int, \"Singer_ID\" text, PRIMARY KEY (\"concert_ID\",\"Singer_ID\"), FOREIGN KEY (\"concert_ID\") REFERENCES \"concert\"(\"concert_ID\"), FOREIGN KEY (\"Singer_ID\") REFERENCES \"singer\"(\"Singer_ID\"))","pred_dict":{"response":"To get the count of different `Singer_ID` values in the `singer_in_concert` table, you can use the following SQL code:\n\n```sql\nSELECT COUNT(DISTINCT Singer_ID) AS Different_Singer_Count\nFROM singer_in_concert;\n```","cost":0.0000729,"response_parsed":"SELECT COUNT(DISTINCT Singer_ID) AS Different_Singer_Count\nFROM singer_in_concert;","time":2.1523525715}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `PetType` FROM `Pets`","question":"Show the different PetType in the table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To fetch the different `PetType` values from the `Pets` table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT PetType FROM Pets;\n```","cost":0.00004425,"response_parsed":"SELECT DISTINCT PetType FROM Pets;","time":1.1566565037}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `LName` FROM `Student`","question":"Show the different LName in the table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT DISTINCT LName FROM Student;\n```","cost":0.00002985,"response_parsed":"SELECT DISTINCT LName FROM Student;","time":0.3082273006}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Fname` FROM `Student`","question":"Show the different Fname in the table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To retrieve the distinct first names (`Fname`) from the `Student` table, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT Fname FROM Student;\n```","cost":0.00004485,"response_parsed":"SELECT DISTINCT Fname FROM Student;","time":0.6106123924}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Sex` FROM `Student`","question":"Show the different Sex in the table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To retrieve the different sexes recorded in the `Student` table, you can use the `DISTINCT` keyword. Here is the SQL code:\n\n```sql\nSELECT DISTINCT Sex FROM Student;\n```","cost":0.0000465,"response_parsed":"SELECT DISTINCT Sex FROM Student;","time":0.8536624908}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `city_code` FROM `Student`","question":"Show the different city_code in the table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT DISTINCT city_code \nFROM Student;\n```","cost":0.00003045,"response_parsed":"SELECT DISTINCT city_code \nFROM Student;","time":0.3661284447}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `PetType`, COUNT(*) FROM `Pets` GROUP BY `PetType`","question":"For each PetType, count the number of rows in table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT PetType, COUNT(*) AS PetCount\nFROM Pets\nGROUP BY PetType;\n```","cost":0.00003705,"response_parsed":"SELECT PetType, COUNT(*) AS PetCount\nFROM Pets\nGROUP BY PetType;","time":2.838681221}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `PetType`, MIN(`pet_age`) FROM `Pets` GROUP BY `PetType`","question":"For each PetType, find the min of pet_age in table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT PetType, MIN(pet_age) AS MinPetAge\nFROM Pets\nGROUP BY PetType;\n```","cost":0.0000396,"response_parsed":"SELECT PetType, MIN(pet_age) AS MinPetAge\nFROM Pets\nGROUP BY PetType;","time":0.4300217628}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `PetType`, MAX(`pet_age`) FROM `Pets` GROUP BY `PetType`","question":"For each PetType, find the max of pet_age in table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT PetType, MAX(pet_age) AS max_pet_age\nFROM Pets\nGROUP BY PetType;\n```","cost":0.0000396,"response_parsed":"SELECT PetType, MAX(pet_age) AS max_pet_age\nFROM Pets\nGROUP BY PetType;","time":0.5249330997}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `PetType`, AVG(`pet_age`) FROM `Pets` GROUP BY `PetType`","question":"For each PetType, find the avg of pet_age in table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To retrieve the average pet age for each pet type from the `Pets` table, you can use the following SQL query:\n\n```sql\nSELECT PetType, AVG(pet_age) AS avg_pet_age\nFROM Pets\nGROUP BY PetType;\n```","cost":0.0000546,"response_parsed":"SELECT PetType, AVG(pet_age) AS avg_pet_age\nFROM Pets\nGROUP BY PetType;","time":2.3422801495}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `PetType`, SUM(`pet_age`) FROM `Pets` GROUP BY `PetType`","question":"For each PetType, find the sum of pet_age in table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To fetch the sum of `pet_age` for each `PetType` from the `Pets` table, you can use the following SQL query:\n\n```sql\nSELECT PetType, SUM(pet_age) AS total_pet_age\nFROM Pets\nGROUP BY PetType;\n```","cost":0.0000576,"response_parsed":"SELECT PetType, SUM(pet_age) AS total_pet_age\nFROM Pets\nGROUP BY PetType;","time":1.0066690445}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `PetType`, MIN(`weight`) FROM `Pets` GROUP BY `PetType`","question":"For each PetType, find the min of weight in table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT PetType, MIN(weight) AS MinWeight\nFROM Pets\nGROUP BY PetType;\n```","cost":0.00003765,"response_parsed":"SELECT PetType, MIN(weight) AS MinWeight\nFROM Pets\nGROUP BY PetType;","time":0.5086874962}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `PetType`, MAX(`weight`) FROM `Pets` GROUP BY `PetType`","question":"For each PetType, find the max of weight in table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To find the maximum weight for each `PetType` in the `Pets` table, you can use the following SQL query:\n\n```sql\nSELECT PetType, MAX(weight) AS MaxWeight\nFROM Pets\nGROUP BY PetType;\n```","cost":0.00005325,"response_parsed":"SELECT PetType, MAX(weight) AS MaxWeight\nFROM Pets\nGROUP BY PetType;","time":1.1079633236}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `PetType`, AVG(`weight`) FROM `Pets` GROUP BY `PetType`","question":"For each PetType, find the avg of weight in table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT PetType, AVG(weight) AS avg_weight\nFROM Pets\nGROUP BY PetType;\n```","cost":0.00003765,"response_parsed":"SELECT PetType, AVG(weight) AS avg_weight\nFROM Pets\nGROUP BY PetType;","time":0.6754705906}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `PetType`, SUM(`weight`) FROM `Pets` GROUP BY `PetType`","question":"For each PetType, find the sum of weight in table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT PetType, SUM(weight) AS total_weight\nFROM Pets\nGROUP BY PetType;\n```","cost":0.00003765,"response_parsed":"SELECT PetType, SUM(weight) AS total_weight\nFROM Pets\nGROUP BY PetType;","time":0.7122642994}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `LName`, COUNT(*) FROM `Student` GROUP BY `LName`","question":"For each LName, count the number of rows in table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT LName, COUNT(*) AS RowCount\nFROM Student\nGROUP BY LName;\n```","cost":0.00003705,"response_parsed":"SELECT LName, COUNT(*) AS RowCount\nFROM Student\nGROUP BY LName;","time":0.5438666344}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Fname`, COUNT(*) FROM `Student` GROUP BY `Fname`","question":"For each Fname, count the number of rows in table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To count the number of rows in the `Student` table for each unique first name (Fname), you can use the following SQL query:\n\n```sql\nSELECT Fname, COUNT(*) AS StudentCount\nFROM Student\nGROUP BY Fname;\n``` \n\nThis query selects the first name (`Fname`) and counts the number of occurrences of each first name from the `Student` table, grouping the results by the `Fname`.","cost":0.00007665,"response_parsed":"SELECT Fname, COUNT(*) AS StudentCount\nFROM Student\nGROUP BY Fname;","time":4.9577174187}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Sex`, COUNT(*) FROM `Student` GROUP BY `Sex`","question":"For each Sex, count the number of rows in table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT Sex, COUNT(*) AS StudentCount\nFROM Student\nGROUP BY Sex;\n```","cost":0.0000357,"response_parsed":"SELECT Sex, COUNT(*) AS StudentCount\nFROM Student\nGROUP BY Sex;","time":0.6544342041}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `city_code`, COUNT(*) FROM `Student` GROUP BY `city_code`","question":"For each city_code, count the number of rows in table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"Here's the SQL code to count the number of rows in the `Student` table for each `city_code`:\n\n```sql\nSELECT city_code, COUNT(*) AS student_count\nFROM Student\nGROUP BY city_code;\n```","cost":0.00005085,"response_parsed":"SELECT city_code, COUNT(*) AS student_count\nFROM Student\nGROUP BY city_code;","time":1.269323349}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `LName`, MIN(`Advisor`) FROM `Student` GROUP BY `LName`","question":"For each LName, find the min of Advisor in table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To fetch the minimum value of the Advisor for each LName in the `Student` table, you can use the following SQL code:\n\n```sql\nSELECT LName, MIN(Advisor) AS MinAdvisor\nFROM Student\nGROUP BY LName;\n```","cost":0.00005445,"response_parsed":"SELECT LName, MIN(Advisor) AS MinAdvisor\nFROM Student\nGROUP BY LName;","time":0.9283914566}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `LName`, MAX(`Advisor`) FROM `Student` GROUP BY `LName`","question":"For each LName, find the max of Advisor in table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To fetch the maximum value of the `Advisor` column for each `LName` in the `Student` table, you can use the SQL `GROUP BY` clause along with the `MAX()` function. Here is the SQL code to accomplish that:\n\n```sql\nSELECT LName, MAX(Advisor) AS MaxAdvisor\nFROM Student\nGROUP BY LName;\n```","cost":0.00006885,"response_parsed":"SELECT LName, MAX(Advisor) AS MaxAdvisor\nFROM Student\nGROUP BY LName;","time":5.1751146317}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `LName`, AVG(`Advisor`) FROM `Student` GROUP BY `LName`","question":"For each LName, find the avg of Advisor in table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT LName, AVG(Advisor) AS avg_advisor\nFROM Student\nGROUP BY LName;\n```","cost":0.00003885,"response_parsed":"SELECT LName, AVG(Advisor) AS avg_advisor\nFROM Student\nGROUP BY LName;","time":0.6547269821}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `LName`, SUM(`Advisor`) FROM `Student` GROUP BY `LName`","question":"For each LName, find the sum of Advisor in table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"Here is the SQL code to fetch the sum of the Advisor for each last name (LName) from the Student table:\n\n```sql\nSELECT LName, SUM(Advisor) AS Total_Advisor\nFROM Student\nGROUP BY LName;\n```","cost":0.00005385,"response_parsed":"SELECT LName, SUM(Advisor) AS Total_Advisor\nFROM Student\nGROUP BY LName;","time":0.7087802887}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `LName`, MIN(`Major`) FROM `Student` GROUP BY `LName`","question":"For each LName, find the min of Major in table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To find the minimum of the `Major` for each `LName` in the `Student` table, you can use the following SQL code:\n\n```sql\nSELECT LName, MIN(Major) AS MinMajor\nFROM Student\nGROUP BY LName;\n``` \n\nThis SQL query groups the records in the `Student` table by the `LName` and calculates the minimum value of the `Major` for each group (LName). The result will include each `LName` along with the corresponding minimum `Major`.","cost":0.00008805,"response_parsed":"SELECT LName, MIN(Major) AS MinMajor\nFROM Student\nGROUP BY LName;","time":1.881434679}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `LName`, MAX(`Major`) FROM `Student` GROUP BY `LName`","question":"For each LName, find the max of Major in table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To find the maximum value of the `Major` for each `LName` in the `Student` table, you can use the following SQL query:\n\n```sql\nSELECT LName, MAX(Major) AS MaxMajor\nFROM Student\nGROUP BY LName;\n```","cost":0.00005685,"response_parsed":"SELECT LName, MAX(Major) AS MaxMajor\nFROM Student\nGROUP BY LName;","time":1.0498361588}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `LName`, AVG(`Major`) FROM `Student` GROUP BY `LName`","question":"For each LName, find the avg of Major in table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To find the average of the `Major` for each `LName` in the `Student` table, you can use the following SQL code:\n\n```sql\nSELECT LName, AVG(Major) AS Average_Major\nFROM Student\nGROUP BY LName;\n```","cost":0.00005685,"response_parsed":"SELECT LName, AVG(Major) AS Average_Major\nFROM Student\nGROUP BY LName;","time":0.9175639153}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `LName`, SUM(`Major`) FROM `Student` GROUP BY `LName`","question":"For each LName, find the sum of Major in table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To answer the question \"For each LName, find the sum of Major in table Student\", you would use the SQL `GROUP BY` clause to aggregate the results by `LName` and use the `SUM()` function to calculate the total of the `Major` column for each last name. Here is the SQL code that achieves this:\n\n```sql\nSELECT LName, SUM(Major) AS TotalMajor\nFROM Student\nGROUP BY LName;\n```","cost":0.00007965,"response_parsed":"SELECT LName, SUM(Major) AS TotalMajor\nFROM Student\nGROUP BY LName;","time":1.4408323765}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `Sex`, MIN(`Advisor`) FROM `Student` GROUP BY `Sex`","question":"For each Sex, find the min of Advisor in table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT Sex, MIN(Advisor) AS MinAdvisor\nFROM Student\nGROUP BY Sex;\n```","cost":0.0000369,"response_parsed":"SELECT Sex, MIN(Advisor) AS MinAdvisor\nFROM Student\nGROUP BY Sex;","time":0.6070587635}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `Sex`, MAX(`Advisor`) FROM `Student` GROUP BY `Sex`","question":"For each Sex, find the max of Advisor in table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To find the maximum of the Advisor for each Sex in the `Student` table, you can use the following SQL query:\n\n```sql\nSELECT Sex, MAX(Advisor) AS MaxAdvisor\nFROM Student\nGROUP BY Sex;\n``` \n\nThis SQL code groups the results by the `Sex` column and calculates the maximum `Advisor` for each group.","cost":0.0000663,"response_parsed":"SELECT Sex, MAX(Advisor) AS MaxAdvisor\nFROM Student\nGROUP BY Sex;","time":1.4787015915}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `Sex`, AVG(`Advisor`) FROM `Student` GROUP BY `Sex`","question":"For each Sex, find the avg of Advisor in table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To find the average of `Advisor` for each `Sex` in the `Student` table, you can use the following SQL query:\n\n```sql\nSELECT Sex, AVG(Advisor) AS Average_Advisor\nFROM Student\nGROUP BY Sex;\n```","cost":0.0000543,"response_parsed":"SELECT Sex, AVG(Advisor) AS Average_Advisor\nFROM Student\nGROUP BY Sex;","time":1.2166280746}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `Sex`, SUM(`Advisor`) FROM `Student` GROUP BY `Sex`","question":"For each Sex, find the sum of Advisor in table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To find the sum of the Advisor for each Sex in the `Student` table, you can use the following SQL query:\n\n```sql\nSELECT Sex, SUM(Advisor) AS Total_Advisor\nFROM Student\nGROUP BY Sex;\n```","cost":0.0000525,"response_parsed":"SELECT Sex, SUM(Advisor) AS Total_Advisor\nFROM Student\nGROUP BY Sex;","time":0.9997851849}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `Sex`, MIN(`Major`) FROM `Student` GROUP BY `Sex`","question":"For each Sex, find the min of Major in table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To obtain the minimum Major for each Sex from the Student table, you can use the following SQL code:\n\n```sql\nSELECT Sex, MIN(Major) AS MinMajor\nFROM Student\nGROUP BY Sex;\n```","cost":0.0000495,"response_parsed":"SELECT Sex, MIN(Major) AS MinMajor\nFROM Student\nGROUP BY Sex;","time":1.9965064526}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `Sex`, MAX(`Major`) FROM `Student` GROUP BY `Sex`","question":"For each Sex, find the max of Major in table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To find the maximum of Major for each Sex in the `Student` table, you can use the following SQL code:\n\n```sql\nSELECT Sex, MAX(Major) AS Max_Major\nFROM Student\nGROUP BY Sex;\n```","cost":0.0000519,"response_parsed":"SELECT Sex, MAX(Major) AS Max_Major\nFROM Student\nGROUP BY Sex;","time":1.3311953545}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `Sex`, AVG(`Major`) FROM `Student` GROUP BY `Sex`","question":"For each Sex, find the avg of Major in table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT Sex, AVG(Major) AS Average_Major\nFROM Student\nGROUP BY Sex;\n```","cost":0.0000375,"response_parsed":"SELECT Sex, AVG(Major) AS Average_Major\nFROM Student\nGROUP BY Sex;","time":0.549279213}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `Sex`, SUM(`Major`) FROM `Student` GROUP BY `Sex`","question":"For each Sex, find the sum of Major in table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT Sex, SUM(Major) AS TotalMajor\nFROM Student\nGROUP BY Sex;\n```","cost":0.0000369,"response_parsed":"SELECT Sex, SUM(Major) AS TotalMajor\nFROM Student\nGROUP BY Sex;","time":0.622518301}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `PetType` FROM `Pets` GROUP BY `PetType` HAVING count(*) >= 1","question":"Find all the PetType that have at least 1 records in table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To find all the `PetType` values that have at least one record in the `Pets` table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT PetType\nFROM Pets\nWHERE PetID IN (SELECT PetID FROM Has_Pet);\n```\n\nThis SQL query retrieves all unique `PetType` entries from the `Pets` table where there is at least one corresponding entry in the `Has_Pet` table, indicating that at least one student has that pet type.","cost":0.00008475,"response_parsed":"SELECT DISTINCT PetType\nFROM Pets\nWHERE PetID IN (SELECT PetID FROM Has_Pet);","time":1.3793869019}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `PetType` FROM `Pets` GROUP BY `PetType` HAVING count(*) <= 1","question":"Find all the PetType that have at most 1 records in table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To find all the `PetType` that have at most 1 record in the `Pets` table, you can use the following SQL query:\n\n```sql\nSELECT PetType\nFROM Pets\nGROUP BY PetType\nHAVING COUNT(*) <= 1;\n``` \n\nThis query groups the records in the `Pets` table by `PetType` and counts the number of records for each `PetType`. The `HAVING` clause applies the condition to filter out only those pet types that have 1 or fewer records.","cost":0.00008835,"response_parsed":"SELECT PetType\nFROM Pets\nGROUP BY PetType\nHAVING COUNT(*) <= 1;","time":2.6852521896}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `PetType` FROM `Pets` GROUP BY `PetType` HAVING AVG(`pet_age`) >= 2.25","question":"List the PetType which average of pet_age is at least 2.25 in table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To fetch the PetType which has an average pet_age of at least 2.25 from the `Pets` table, you can use the following SQL code:\n\n```sql\nSELECT PetType\nFROM Pets\nGROUP BY PetType\nHAVING AVG(pet_age) >= 2.25;\n```","cost":0.00006195,"response_parsed":"SELECT PetType\nFROM Pets\nGROUP BY PetType\nHAVING AVG(pet_age) >= 2.25;","time":1.1829605103}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `PetType` FROM `Pets` GROUP BY `PetType` HAVING AVG(`pet_age`) <= 2.25","question":"List the PetType which average of pet_age is at most 2.25 in table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"Here is the SQL code to fetch the PetType which has an average pet_age of at most 2.25 from the Pets table:\n\n```sql\nSELECT PetType\nFROM Pets\nGROUP BY PetType\nHAVING AVG(pet_age) <= 2.25;\n```","cost":0.00005895,"response_parsed":"SELECT PetType\nFROM Pets\nGROUP BY PetType\nHAVING AVG(pet_age) <= 2.25;","time":1.2748339176}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `PetType` FROM `Pets` GROUP BY `PetType` HAVING SUM(`pet_age`) >= 3.0","question":"List the PetType which summation of pet_age is at least 3.0 in table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To retrieve the PetType from the Pets table where the summation of pet_age is at least 3.0, you can use the following SQL query:\n\n```sql\nSELECT PetType\nFROM Pets\nGROUP BY PetType\nHAVING SUM(pet_age) >= 3.0;\n```","cost":0.0000615,"response_parsed":"SELECT PetType\nFROM Pets\nGROUP BY PetType\nHAVING SUM(pet_age) >= 3.0;","time":0.9858813286}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `PetType` FROM `Pets` GROUP BY `PetType` HAVING SUM(`pet_age`) <= 3.0","question":"List the PetType which summation of pet_age is at most 3.0 in table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To answer the question using SQL, you can execute the following code snippet, which retrieves the PetType where the sum of pet_age is at most 3.0 from the `Pets` table:\n\n```sql\nSELECT PetType\nFROM Pets\nGROUP BY PetType\nHAVING SUM(pet_age) <= 3.0;\n```","cost":0.0000663,"response_parsed":"SELECT PetType\nFROM Pets\nGROUP BY PetType\nHAVING SUM(pet_age) <= 3.0;","time":0.959831953}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `LName` FROM `Student` GROUP BY `LName` HAVING count(*) >= 1","question":"Find all the LName that have at least 1 records in table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To find all the `LName` entries from the `Student` table that have at least one record in the `Student` table (which essentially means fetching all last names from the `Student` table since all records are part of that table), you can use the following SQL code:\n\n```sql\nSELECT DISTINCT LName\nFROM Student\nWHERE StuID IS NOT NULL;\n```\n\nThis SQL code selects distinct last names (`LName`) from the `Student` table where `StuID` is not null (which would be true for all records). However, since all entries in the `Student` table inherently have at least one record, a simpler version could just be:\n\n```sql\nSELECT DISTINCT LName\nFROM Student;\n```\n\nThis will return all unique last names from the `Student` table.","cost":0.00012255,"response_parsed":"SELECT DISTINCT LName\nFROM Student;","time":1.9515547752}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `LName` FROM `Student` GROUP BY `LName` HAVING count(*) <= 1","question":"Find all the LName that have at most 1 records in table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To find all `LName` values that have at most 1 record in the `Student` table, you can use the following SQL query:\n\n```sql\nSELECT LName\nFROM Student\nGROUP BY LName\nHAVING COUNT(*) <= 1;\n``` \n\nThis query groups the records by `LName` and counts the number of records for each name, filtering those groups to only return names that appear at most once in the `Student` table.","cost":0.00008055,"response_parsed":"SELECT LName\nFROM Student\nGROUP BY LName\nHAVING COUNT(*) <= 1;","time":2.8163547516}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Sex` FROM `Student` GROUP BY `Sex` HAVING count(*) >= 17","question":"Find all the Sex that have at least 17 records in table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To find all the distinct `Sex` values in the `Student` table that have at least 17 records, you can use the following SQL query:\n\n```sql\nSELECT Sex\nFROM Student\nGROUP BY Sex\nHAVING COUNT(*) >= 17;\n```","cost":0.0000558,"response_parsed":"SELECT Sex\nFROM Student\nGROUP BY Sex\nHAVING COUNT(*) >= 17;","time":0.758046627}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Sex` FROM `Student` GROUP BY `Sex` HAVING count(*) <= 17","question":"Find all the Sex that have at most 17 records in table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To find all the `Sex` values that have at most 17 records in the `Student` table, you can use the following SQL code:\n\n```sql\nSELECT Sex\nFROM Student\nGROUP BY Sex\nHAVING COUNT(*) <= 17;\n``` \n\nThis code groups the records in the `Student` table by the `Sex` column and uses the `HAVING` clause to filter out any groups that have more than 17 records.","cost":0.0000786,"response_parsed":"SELECT Sex\nFROM Student\nGROUP BY Sex\nHAVING COUNT(*) <= 17;","time":1.2260258198}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `city_code` FROM `Student` GROUP BY `city_code` HAVING count(*) >= 1","question":"Find all the city_code that have at least 1 records in table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To find all the `city_code` values that have at least one record in the `Student` table, you can write the following SQL query:\n\n```sql\nSELECT DISTINCT city_code\nFROM Student\nWHERE city_code IS NOT NULL;\n```\n\nThis SQL code selects unique `city_code` entries from the `Student` table where `city_code` is not null, ensuring that we only retrieve cities that have been recorded in the table.","cost":0.00007755,"response_parsed":"SELECT DISTINCT city_code\nFROM Student\nWHERE city_code IS NOT NULL;","time":1.7670767307}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `city_code` FROM `Student` GROUP BY `city_code` HAVING count(*) <= 1","question":"Find all the city_code that have at most 1 records in table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To find all the `city_code` values that have at most 1 record in the `Student` table, you can use the following SQL code:\n\n```sql\nSELECT city_code\nFROM Student\nGROUP BY city_code\nHAVING COUNT(*) <= 1;\n``` \n\nThis query groups the records in the `Student` table by the `city_code` and counts the number of records for each `city_code`, returning only those groups where the count is less than or equal to 1.","cost":0.00008475,"response_parsed":"SELECT city_code\nFROM Student\nGROUP BY city_code\nHAVING COUNT(*) <= 1;","time":2.1424071789}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `LName` FROM `Student` GROUP BY `LName` HAVING AVG(`Age`) >= 19.71","question":"List the LName which average of Age is at least 19.71 in table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT LName\nFROM Student\nGROUP BY LName\nHAVING AVG(Age) >= 19.71;\n```","cost":0.0000414,"response_parsed":"SELECT LName\nFROM Student\nGROUP BY LName\nHAVING AVG(Age) >= 19.71;","time":0.6235980988}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `LName` FROM `Student` GROUP BY `LName` HAVING AVG(`Age`) <= 19.71","question":"List the LName which average of Age is at most 19.71 in table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To list the last names (LName) of students whose average age is at most 19.71 in the `Student` table, you can use the following SQL query:\n\n```sql\nSELECT LName\nFROM Student\nGROUP BY LName\nHAVING AVG(Age) <= 19.71;\n``` \n\nMake sure to execute this SQL code in the context of a database management system that supports this syntax.","cost":0.0000756,"response_parsed":"SELECT LName\nFROM Student\nGROUP BY LName\nHAVING AVG(Age) <= 19.71;","time":1.1720743179}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `LName` FROM `Student` GROUP BY `LName` HAVING SUM(`Age`) >= 21.45","question":"List the LName which summation of Age is at least 21.45 in table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To fetch the last names (LName) of students whose total age is at least 21.45, you can use the following SQL code:\n\n```sql\nSELECT LName\nFROM Student\nGROUP BY LName\nHAVING SUM(Age) >= 21.45;\n```","cost":0.00005955,"response_parsed":"SELECT LName\nFROM Student\nGROUP BY LName\nHAVING SUM(Age) >= 21.45;","time":1.1625964642}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `LName` FROM `Student` GROUP BY `LName` HAVING SUM(`Age`) <= 21.45","question":"List the LName which summation of Age is at most 21.45 in table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To address the question and fetch the `LName` from the `Student` table where the summation of `Age` is at most 21.45, the following SQL code can be used:\n\n```sql\nSELECT LName \nFROM Student \nGROUP BY LName \nHAVING SUM(Age) <= 21.45;\n``` \n\nThis code groups the results by `LName` and uses the `HAVING` clause to filter those groups where the sum of the `Age` is at most 21.45.","cost":0.00008955,"response_parsed":"SELECT LName \nFROM Student \nGROUP BY LName \nHAVING SUM(Age) <= 21.45;","time":2.4365215302}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `city_code` FROM `Student` GROUP BY `city_code` HAVING AVG(`Age`) >= 19.51","question":"List the city_code which average of Age is at least 19.51 in table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"The SQL query to list the `city_code` where the average `Age` of students is at least 19.51 from the `Student` table would look as follows:\n\n```sql\nSELECT city_code\nFROM Student\nGROUP BY city_code\nHAVING AVG(Age) >= 19.51;\n```","cost":0.000063,"response_parsed":"SELECT city_code\nFROM Student\nGROUP BY city_code\nHAVING AVG(Age) >= 19.51;","time":1.2012162209}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `city_code` FROM `Student` GROUP BY `city_code` HAVING AVG(`Age`) <= 19.51","question":"List the city_code which average of Age is at most 19.51 in table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To fetch the `city_code` from the `Student` table where the average age is at most 19.51, you can use the following SQL code:\n\n```sql\nSELECT city_code\nFROM Student\nGROUP BY city_code\nHAVING AVG(Age) <= 19.51;\n```","cost":0.0000612,"response_parsed":"SELECT city_code\nFROM Student\nGROUP BY city_code\nHAVING AVG(Age) <= 19.51;","time":1.4067232609}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `city_code` FROM `Student` GROUP BY `city_code` HAVING SUM(`Age`) >= 35.0","question":"List the city_code which summation of Age is at least 35.0 in table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT city_code\nFROM Student\nGROUP BY city_code\nHAVING SUM(Age) >= 35.0;\n```","cost":0.00004155,"response_parsed":"SELECT city_code\nFROM Student\nGROUP BY city_code\nHAVING SUM(Age) >= 35.0;","time":0.76881814}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `city_code` FROM `Student` GROUP BY `city_code` HAVING SUM(`Age`) <= 35.0","question":"List the city_code which summation of Age is at most 35.0 in table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To answer the question using SQL, you can execute the following SQL code, which groups the students by `city_code`, sums their ages, and filters for those with a total age of at most 35.0.\n\n```sql\nSELECT city_code\nFROM Student\nGROUP BY city_code\nHAVING SUM(Age) <= 35.0;\n```","cost":0.00006795,"response_parsed":"SELECT city_code\nFROM Student\nGROUP BY city_code\nHAVING SUM(Age) <= 35.0;","time":1.21235466}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Has_Pet","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-ALL","query":"SELECT * FROM `Has_Pet` AS T1 JOIN `Student` AS T2 ON T1.`StuID` = T2.`StuID`","question":"Join all the records from table Has_Pet with table Student on StuID","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To join all the records from the `Has_Pet` table with the `Student` table on the `StuID`, you can use the following SQL code:\n\n```sql\nSELECT *\nFROM Student\nJOIN Has_Pet ON Student.StuID = Has_Pet.StuID;\n```","cost":0.00005955,"response_parsed":"SELECT *\nFROM Student\nJOIN Has_Pet ON Student.StuID = Has_Pet.StuID;","time":1.6562085152}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Has_Pet","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-ALL","query":"SELECT * FROM `Has_Pet` AS T1 JOIN `Pets` AS T2 ON T1.`PetID` = T2.`PetID`","question":"Join all the records from table Has_Pet with table Pets on PetID","db_schema_normalized":"`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT *\nFROM Has_Pet\nJOIN Pets ON Has_Pet.PetID = Pets.PetID;\n```","cost":0.00003975,"response_parsed":"SELECT *\nFROM Has_Pet\nJOIN Pets ON Has_Pet.PetID = Pets.PetID;","time":0.710401535}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"many-to-many-generator","sql_tag":"many-to-many","query":"SELECT `LName` FROM `Student` GROUP BY `LName` HAVING COUNT(DISTINCT `Sex`) = (SELECT COUNT(DISTINCT `Sex`) FROM `Student`)","question":"What are the LName with all the Sex in table Student?","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To fetch the last names (`LName`) of all students along with their sexes from the `Student` table, you can use the following SQL query:\n\n```sql\nSELECT LName, Sex\nFROM Student;\n``` \n\nThis query selects the `LName` and `Sex` fields from the `Student` table, which will give you the last names corresponding to all the sexes in the database.","cost":0.0000723,"response_parsed":"SELECT LName, Sex\nFROM Student;","time":1.3467488289}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Has_Pet","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `Has_Pet` ORDER BY `StuID` ASC","question":"Show all data ordered by StuID in ascending order for the table Has_Pet","db_schema_normalized":"`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT * \nFROM Has_Pet \nORDER BY StuID ASC;\n```","cost":0.0000351,"response_parsed":"SELECT * \nFROM Has_Pet \nORDER BY StuID ASC;","time":1.066817522}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Has_Pet","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `Has_Pet` ORDER BY `StuID` DESC","question":"Show all data ordered by StuID in descending order for the table Has_Pet","db_schema_normalized":"`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To fetch all data from the `Has_Pet` table ordered by `StuID` in descending order, you can use the following SQL code:\n\n```sql\nSELECT * FROM Has_Pet\nORDER BY StuID DESC;\n```","cost":0.0000525,"response_parsed":"SELECT * FROM Has_Pet\nORDER BY StuID DESC;","time":1.0914580822}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Has_Pet","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `Has_Pet` ORDER BY `PetID` ASC","question":"Show all data ordered by PetID in ascending order for the table Has_Pet","db_schema_normalized":"`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To fetch all data ordered by `PetID` in ascending order from the `Has_Pet` table, you can use the following SQL code:\n\n```sql\nSELECT *\nFROM Has_Pet\nORDER BY PetID ASC;\n```","cost":0.0000525,"response_parsed":"SELECT *\nFROM Has_Pet\nORDER BY PetID ASC;","time":1.0246529579}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Has_Pet","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `Has_Pet` ORDER BY `PetID` DESC","question":"Show all data ordered by PetID in descending order for the table Has_Pet","db_schema_normalized":"`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT * FROM Has_Pet\nORDER BY PetID DESC;\n```","cost":0.0000345,"response_parsed":"SELECT * FROM Has_Pet\nORDER BY PetID DESC;","time":0.4624302387}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Has_Pet","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `StuID` FROM `Has_Pet` ORDER BY `StuID` ASC","question":"Project the StuID ordered in ascending order for the table Has_Pet","db_schema_normalized":"`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT StuID\nFROM Has_Pet\nORDER BY StuID ASC;\n```","cost":0.0000354,"response_parsed":"SELECT StuID\nFROM Has_Pet\nORDER BY StuID ASC;","time":0.6234221458}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Has_Pet","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `StuID` FROM `Has_Pet` ORDER BY `StuID` DESC","question":"Project the StuID ordered in descending order for the table Has_Pet","db_schema_normalized":"`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT StuID \nFROM Has_Pet \nORDER BY StuID DESC;\n```","cost":0.0000354,"response_parsed":"SELECT StuID \nFROM Has_Pet \nORDER BY StuID DESC;","time":0.6746709347}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Has_Pet","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `PetID` FROM `Has_Pet` ORDER BY `PetID` ASC","question":"Project the PetID ordered in ascending order for the table Has_Pet","db_schema_normalized":"`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT PetID \nFROM Has_Pet \nORDER BY PetID ASC;\n```","cost":0.0000354,"response_parsed":"SELECT PetID \nFROM Has_Pet \nORDER BY PetID ASC;","time":1.9145789146}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Has_Pet","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `PetID` FROM `Has_Pet` ORDER BY `PetID` DESC","question":"Project the PetID ordered in descending order for the table Has_Pet","db_schema_normalized":"`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"Here is the SQL code to project the `PetID` from the `Has_Pet` table and order it in descending order:\n\n```sql\nSELECT PetID\nFROM Has_Pet\nORDER BY PetID DESC;\n```","cost":0.0000516,"response_parsed":"SELECT PetID\nFROM Has_Pet\nORDER BY PetID DESC;","time":0.8442935944}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `Pets` ORDER BY `PetType` ASC","question":"Show all data ordered by PetType in ascending order for the table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT * \nFROM Pets \nORDER BY PetType ASC;\n```","cost":0.0000336,"response_parsed":"SELECT * \nFROM Pets \nORDER BY PetType ASC;","time":0.5828883648}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `Pets` ORDER BY `PetType` DESC","question":"Show all data ordered by PetType in descending order for the table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT * FROM Pets\nORDER BY PetType DESC;\n```","cost":0.000033,"response_parsed":"SELECT * FROM Pets\nORDER BY PetType DESC;","time":0.3664493561}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `Pets` ORDER BY `PetID` ASC","question":"Show all data ordered by PetID in ascending order for the table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT * FROM Pets\nORDER BY PetID ASC;\n```","cost":0.000033,"response_parsed":"SELECT * FROM Pets\nORDER BY PetID ASC;","time":0.3769490719}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `Pets` ORDER BY `PetID` DESC","question":"Show all data ordered by PetID in descending order for the table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT * FROM Pets\nORDER BY PetID DESC;\n```","cost":0.000033,"response_parsed":"SELECT * FROM Pets\nORDER BY PetID DESC;","time":0.4288778305}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `pet_age` FROM `Pets` ORDER BY `pet_age` ASC","question":"Project the pet_age ordered in ascending order for the table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT pet_age\nFROM Pets\nORDER BY pet_age ASC;\n```","cost":0.0000339,"response_parsed":"SELECT pet_age\nFROM Pets\nORDER BY pet_age ASC;","time":0.6725716591}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `pet_age` FROM `Pets` ORDER BY `pet_age` DESC","question":"Project the pet_age ordered in descending order for the table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT pet_age \nFROM Pets \nORDER BY pet_age DESC;\n```","cost":0.0000339,"response_parsed":"SELECT pet_age \nFROM Pets \nORDER BY pet_age DESC;","time":0.3995630741}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `PetID` FROM `Pets` ORDER BY `PetID` ASC","question":"Project the PetID ordered in ascending order for the table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"Here is the SQL code to fetch the PetID ordered in ascending order from the Pets table:\n\n```sql\nSELECT PetID \nFROM Pets \nORDER BY PetID ASC;\n```","cost":0.0000453,"response_parsed":"SELECT PetID \nFROM Pets \nORDER BY PetID ASC;","time":0.6190984249}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `PetID` FROM `Pets` ORDER BY `PetID` DESC","question":"Project the PetID ordered in descending order for the table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To project the `PetID` ordered in descending order from the `Pets` table, you can use the following SQL query:\n\n```sql\nSELECT PetID\nFROM Pets\nORDER BY PetID DESC;\n```","cost":0.0000495,"response_parsed":"SELECT PetID\nFROM Pets\nORDER BY PetID DESC;","time":1.8075900078}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `Student` ORDER BY `Age` ASC","question":"Show all data ordered by Age in ascending order for the table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT * FROM Student\nORDER BY Age ASC;\n```","cost":0.00003225,"response_parsed":"SELECT * FROM Student\nORDER BY Age ASC;","time":0.7473123074}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `Student` ORDER BY `Age` DESC","question":"Show all data ordered by Age in descending order for the table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT * FROM Student\nORDER BY Age DESC;\n```","cost":0.00003225,"response_parsed":"SELECT * FROM Student\nORDER BY Age DESC;","time":0.4793348312}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `Student` ORDER BY `city_code` ASC","question":"Show all data ordered by city_code in ascending order for the table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT * FROM Student\nORDER BY city_code ASC;\n```","cost":0.000033,"response_parsed":"SELECT * FROM Student\nORDER BY city_code ASC;","time":0.4079217911}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `Student` ORDER BY `city_code` DESC","question":"Show all data ordered by city_code in descending order for the table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT * FROM Student\nORDER BY city_code DESC;\n```","cost":0.000033,"response_parsed":"SELECT * FROM Student\nORDER BY city_code DESC;","time":0.3909847736}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Sex` FROM `Student` ORDER BY `Sex` ASC","question":"Project the Sex ordered in ascending order for the table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT Sex \nFROM Student \nORDER BY Sex ASC;\n```","cost":0.00003255,"response_parsed":"SELECT Sex \nFROM Student \nORDER BY Sex ASC;","time":0.5693097115}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Sex` FROM `Student` ORDER BY `Sex` DESC","question":"Project the Sex ordered in descending order for the table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"Here is the SQL code to project the `Sex` column ordered in descending order from the `Student` table:\n\n```sql\nSELECT Sex\nFROM Student\nORDER BY Sex DESC;\n```","cost":0.00004635,"response_parsed":"SELECT Sex\nFROM Student\nORDER BY Sex DESC;","time":0.8413891792}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Major` FROM `Student` ORDER BY `Major` ASC","question":"Project the Major ordered in ascending order for the table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To project the Major ordered in ascending order from the `Student` table, you can use the following SQL code:\n\n```sql\nSELECT Major\nFROM Student\nORDER BY Major ASC;\n```","cost":0.00004635,"response_parsed":"SELECT Major\nFROM Student\nORDER BY Major ASC;","time":0.7481062412}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Major` FROM `Student` ORDER BY `Major` DESC","question":"Project the Major ordered in descending order for the table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To project the `Major` from the `Student` table in descending order, you can use the following SQL code:\n\n```sql\nSELECT Major\nFROM Student\nORDER BY Major DESC;\n```","cost":0.00004695,"response_parsed":"SELECT Major\nFROM Student\nORDER BY Major DESC;","time":0.9059011936}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Has_Pet","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `StuID` FROM `Has_Pet`","question":"Show all StuID in the table Has_Pet","db_schema_normalized":"`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT StuID FROM Has_Pet;\n```","cost":0.0000306,"response_parsed":"SELECT StuID FROM Has_Pet;","time":0.5410854816}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Has_Pet","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `PetID` FROM `Has_Pet`","question":"Show all PetID in the table Has_Pet","db_schema_normalized":"`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To retrieve all `PetID`s from the `Has_Pet` table, you can use the following SQL code:\n\n```sql\nSELECT PetID FROM Has_Pet;\n```","cost":0.000045,"response_parsed":"SELECT PetID FROM Has_Pet;","time":2.1025981903}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Has_Pet","test_category":"PROJECT","sql_tag":"SELECT-ALL","query":"SELECT * FROM `Has_Pet`","question":"Show all the rows in the table Has_Pet","db_schema_normalized":"`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT * FROM Has_Pet;\n```","cost":0.00003,"response_parsed":"SELECT * FROM Has_Pet;","time":0.439936161}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Has_Pet","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `StuID` FROM `Has_Pet`","question":"Show all StuID in the table Has_Pet","db_schema_normalized":"`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT StuID FROM Has_Pet;\n```","cost":0.0000306,"response_parsed":"SELECT StuID FROM Has_Pet;","time":1.0598165989}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `PetID` FROM `Pets`","question":"Show all PetID in the table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"Here is the SQL code to fetch all PetID from the Pets table:\n\n```sql\nSELECT PetID FROM Pets;\n```","cost":0.0000381,"response_parsed":"SELECT PetID FROM Pets;","time":0.6231226921}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `PetType` FROM `Pets`","question":"Show all PetType in the table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To retrieve all distinct PetType values from the `Pets` table, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT PetType FROM Pets;\n```","cost":0.0000429,"response_parsed":"SELECT DISTINCT PetType FROM Pets;","time":0.8144102097}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `pet_age` FROM `Pets`","question":"Show all pet_age in the table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT pet_age FROM Pets;\n```","cost":0.0000291,"response_parsed":"SELECT pet_age FROM Pets;","time":0.3029930592}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `weight` FROM `Pets`","question":"Show all weight in the table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To retrieve all the weights from the `Pets` table, you can use the following SQL code:\n\n```sql\nSELECT weight FROM Pets;\n```","cost":0.00004035,"response_parsed":"SELECT weight FROM Pets;","time":0.7302894592}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"PROJECT","sql_tag":"SELECT-ALL","query":"SELECT * FROM `Pets`","question":"Show all the rows in the table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To fetch all the rows from the `Pets` table, you can use the following SQL code:\n\n```sql\nSELECT * FROM Pets;\n```","cost":0.0000405,"response_parsed":"SELECT * FROM Pets;","time":0.7472109795}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `PetID` FROM `Pets`","question":"Show all PetID in the table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To fetch all `PetID` entries from the `Pets` table, you can use the following SQL code:\n\n```sql\nSELECT PetID FROM Pets;\n```","cost":0.0000429,"response_parsed":"SELECT PetID FROM Pets;","time":1.0178463459}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `PetType`, `PetID` FROM `Pets`","question":"Show all PetType, PetID in the table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To fetch the PetType and PetID from the Pets table, you can use the following SQL code:\n\n```sql\nSELECT PetType, PetID FROM Pets;\n```","cost":0.00004395,"response_parsed":"SELECT PetType, PetID FROM Pets;","time":1.0179109573}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `PetType`, `pet_age`, `PetID` FROM `Pets`","question":"Show all PetType, pet_age, PetID in the table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT PetType, pet_age, PetID\nFROM Pets;\n```","cost":0.0000342,"response_parsed":"SELECT PetType, pet_age, PetID\nFROM Pets;","time":0.5096275806}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Sex` FROM `Student`","question":"Show all Sex in the table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT DISTINCT Sex FROM Student;\n```","cost":0.00002895,"response_parsed":"SELECT DISTINCT Sex FROM Student;","time":0.5060977936}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `city_code` FROM `Student`","question":"Show all city_code in the table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT city_code FROM Student;\n```","cost":0.0000291,"response_parsed":"SELECT city_code FROM Student;","time":0.2880468369}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `LName` FROM `Student`","question":"Show all LName in the table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT LName FROM Student;\n```","cost":0.0000291,"response_parsed":"SELECT LName FROM Student;","time":0.7256119251}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `StuID` FROM `Student`","question":"Show all StuID in the table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To fetch all the `StuID` from the `Student` table, you can use the following SQL query:\n\n```sql\nSELECT StuID FROM Student;\n```","cost":0.0000429,"response_parsed":"SELECT StuID FROM Student;","time":0.708799839}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Major` FROM `Student`","question":"Show all Major in the table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To fetch all the majors from the `Student` table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT Major FROM Student;\n``` \n\nThis query selects all unique values of the `Major` column from the `Student` table.","cost":0.00005295,"response_parsed":"SELECT DISTINCT Major FROM Student;","time":0.7125120163}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"PROJECT","sql_tag":"SELECT-ALL","query":"SELECT * FROM `Student`","question":"Show all the rows in the table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT * FROM Student;\n```","cost":0.0000285,"response_parsed":"SELECT * FROM Student;","time":0.3530423641}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Major` FROM `Student`","question":"Show all Major in the table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT Major FROM Student;\n```","cost":0.00002835,"response_parsed":"SELECT Major FROM Student;","time":0.3993451595}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `city_code`, `Age` FROM `Student`","question":"Show all city_code, Age in the table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT city_code, Age FROM Student;\n```","cost":0.0000306,"response_parsed":"SELECT city_code, Age FROM Student;","time":0.4054274559}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Sex`, `Major`, `Age` FROM `Student`","question":"Show all Sex, Major, Age in the table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT Sex, Major, Age\nFROM Student;\n```","cost":0.00003195,"response_parsed":"SELECT Sex, Major, Age\nFROM Student;","time":0.6476531029}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `LName`, `Sex`, `city_code`, `StuID` FROM `Student`","question":"Show all LName, Sex, city_code, StuID in the table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT LName, Sex, city_code, StuID \nFROM Student;\n```","cost":0.0000357,"response_parsed":"SELECT LName, Sex, city_code, StuID \nFROM Student;","time":2.4069025517}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Advisor`, `LName`, `Major`, `StuID`, `Sex` FROM `Student`","question":"Show all Advisor, LName, Major, StuID, Sex in the table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"Based on the provided database schema and the question, the SQL code to fetch the desired information (Advisor, LName, Major, StuID, and Sex) from the `Student` table is as follows:\n\n```sql\nSELECT Advisor, LName, Major, StuID, Sex\nFROM Student;\n```","cost":0.00006165,"response_parsed":"SELECT Advisor, LName, Major, StuID, Sex\nFROM Student;","time":1.199965477}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `city_code`, `LName`, `Age`, `Sex`, `Fname`, `Major` FROM `Student`","question":"Show all city_code, LName, Age, Sex, Fname, Major in the table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"Here is the SQL code to fetch the required information from the `Student` table:\n\n```sql\nSELECT city_code, LName, Age, Sex, Fname, Major\nFROM Student;\n```","cost":0.0000489,"response_parsed":"SELECT city_code, LName, Age, Sex, Fname, Major\nFROM Student;","time":3.9013504982}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Major`, `city_code`, `LName`, `Sex`, `Advisor`, `Fname`, `StuID` FROM `Student`","question":"Show all Major, city_code, LName, Sex, Advisor, Fname, StuID in the table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT Major, city_code, LName, Sex, Advisor, Fname, StuID\nFROM Student;\n```","cost":0.00004095,"response_parsed":"SELECT Major, city_code, LName, Sex, Advisor, Fname, StuID\nFROM Student;","time":0.7668635845}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `Pets` WHERE `PetType` == 'cat'","question":"Show the data of the table Pets where PetType is equal to cat","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To retrieve data from the `Pets` table where the `PetType` is equal to 'cat', you can use the following SQL query:\n\n```sql\nSELECT * FROM Pets WHERE PetType = 'cat';\n```","cost":0.0000504,"response_parsed":"SELECT * FROM Pets WHERE PetType = 'cat';","time":0.8708157539}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `Pets` WHERE `PetType` != 'dog'","question":"Show the data of the table Pets where PetType is different from dog","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"You can use the following SQL code to fetch the data from the `Pets` table where the `PetType` is different from 'dog':\n\n```sql\nSELECT * FROM Pets WHERE PetType <> 'dog';\n```","cost":0.0000504,"response_parsed":"SELECT * FROM Pets WHERE PetType <> 'dog';","time":0.9092645645}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `Pets` WHERE `PetType` != 'cat'","question":"Show the data of the table Pets where PetType not equal to cat","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"Here is the SQL code to fetch the data from the `Pets` table where `PetType` is not equal to 'cat':\n\n```sql\nSELECT * FROM Pets WHERE PetType <> 'cat';\n```","cost":0.0000492,"response_parsed":"SELECT * FROM Pets WHERE PetType <> 'cat';","time":0.8194189072}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `Pets` WHERE `pet_age` > 2","question":"Show the data of the table Pets where pet_age is greater than 2","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To fetch the data from the `Pets` table where `pet_age` is greater than 2, you can use the following SQL query:\n\n```sql\nSELECT * FROM Pets WHERE pet_age > 2;\n```","cost":0.00005055,"response_parsed":"SELECT * FROM Pets WHERE pet_age > 2;","time":0.9155845642}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `Pets` WHERE `pet_age` < 2","question":"Show the data of the table Pets where pet_age is less than 2","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To fetch the data from the `Pets` table where `pet_age` is less than 2, you can use the following SQL query:\n\n```sql\nSELECT * FROM Pets WHERE pet_age < 2;\n```","cost":0.00005055,"response_parsed":"SELECT * FROM Pets WHERE pet_age < 2;","time":1.1444180012}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `Pets` WHERE `weight` > 9.3","question":"Show the data of the table Pets where weight is greater than 9.3","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT * FROM Pets WHERE weight > 9.3;\n```","cost":0.0000339,"response_parsed":"SELECT * FROM Pets WHERE weight > 9.3;","time":0.7430329323}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `Pets` WHERE `weight` < 12.0","question":"Show the data of the table Pets where weight is less than 12.0","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT * FROM Pets WHERE weight < 12.0;\n```","cost":0.0000339,"response_parsed":"SELECT * FROM Pets WHERE weight < 12.0;","time":0.4457201958}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `Student` WHERE `Fname` == 'Dinesh'","question":"Show the data of the table Student where Fname is equal to Dinesh","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"Here is the SQL code to fetch the data from the `Student` table where the `Fname` is equal to 'Dinesh':\n\n```sql\nSELECT * FROM Student WHERE Fname = 'Dinesh';\n```","cost":0.0000519,"response_parsed":"SELECT * FROM Student WHERE Fname = 'Dinesh';","time":1.2533285618}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `Student` WHERE `Fname` != 'Linda'","question":"Show the data of the table Student where Fname is different from Linda","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT * FROM Student WHERE Fname <> 'Linda';\n```","cost":0.000033,"response_parsed":"SELECT * FROM Student WHERE Fname <> 'Linda';","time":0.7433097363}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `Student` WHERE `Fname` != 'Paul'","question":"Show the data of the table Student where Fname not equal to Paul","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT *\nFROM Student\nWHERE Fname <> 'Paul';\n```","cost":0.0000336,"response_parsed":"SELECT *\nFROM Student\nWHERE Fname <> 'Paul';","time":0.6486325264}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `Student` WHERE `LName` == 'Smith'","question":"Show the data of the table Student where LName is equal to Smith","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To execute a query that retrieves data from the `Student` table where the last name (`LName`) is equal to \"Smith\", you can use the following SQL code:\n\n```sql\nSELECT * FROM Student WHERE LName = 'Smith';\n```","cost":0.000054,"response_parsed":"SELECT * FROM Student WHERE LName = 'Smith';","time":1.4561822414}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `Student` WHERE `LName` != 'Jones'","question":"Show the data of the table Student where LName is different from Jones","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"Here is the SQL code to fetch the required data from the `Student` table where the last name (LName) is different from \"Jones\":\n\n```sql\nSELECT *\nFROM Student\nWHERE LName <> 'Jones';\n```","cost":0.0000516,"response_parsed":"SELECT *\nFROM Student\nWHERE LName <> 'Jones';","time":1.2744088173}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `Student` WHERE `LName` != 'Jones'","question":"Show the data of the table Student where LName not equal to Jones","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT *\nFROM Student\nWHERE LName <> 'Jones';\n```","cost":0.0000336,"response_parsed":"SELECT *\nFROM Student\nWHERE LName <> 'Jones';","time":0.5870292187}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `Student` WHERE `Sex` == 'M'","question":"Show the data of the table Student where Sex is equal to M","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT * \nFROM Student \nWHERE Sex = 'M';\n```","cost":0.00003345,"response_parsed":"SELECT * \nFROM Student \nWHERE Sex = 'M';","time":0.5679147243}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `Student` WHERE `Sex` != 'M'","question":"Show the data of the table Student where Sex is different from M","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT *\nFROM Student\nWHERE Sex <> 'M';\n```","cost":0.00003285,"response_parsed":"SELECT *\nFROM Student\nWHERE Sex <> 'M';","time":0.4476161003}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `Student` WHERE `Sex` != 'F'","question":"Show the data of the table Student where Sex not equal to F","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT * FROM Student WHERE Sex <> 'F';\n```","cost":0.00003225,"response_parsed":"SELECT * FROM Student WHERE Sex <> 'F';","time":0.4622895718}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `Student` WHERE `Age` > 26","question":"Show the data of the table Student where Age is greater than 26","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT * \nFROM Student \nWHERE Age > 26;\n```","cost":0.0000336,"response_parsed":"SELECT * \nFROM Student \nWHERE Age > 26;","time":0.8318135738}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `Student` WHERE `Age` < 20","question":"Show the data of the table Student where Age is less than 20","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT * FROM Student WHERE Age < 20;\n```","cost":0.0000324,"response_parsed":"SELECT * FROM Student WHERE Age < 20;","time":0.4372262955}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `Student` WHERE `Advisor` > 8423","question":"Show the data of the table Student where Advisor is greater than 8423","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT * FROM Student WHERE Advisor > 8423;\n```","cost":0.00003315,"response_parsed":"SELECT * FROM Student WHERE Advisor > 8423;","time":0.6258440018}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `Student` WHERE `Major` < 600","question":"Show the data of the table Student where Major is less than 600","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT * FROM Student WHERE Major < 600;\n```","cost":0.0000324,"response_parsed":"SELECT * FROM Student WHERE Major < 600;","time":0.8077685833}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `PetType`) FROM `Pets`","question":"How many different PetType are in table Pets?","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To answer the question about how many different `PetType` are in the `Pets` table, you can use the following SQL code:\n\n```sql\nSELECT COUNT(DISTINCT PetType) AS NumberOfDifferentPetTypes\nFROM Pets;\n```","cost":0.00005325,"response_parsed":"SELECT COUNT(DISTINCT PetType) AS NumberOfDifferentPetTypes\nFROM Pets;","time":1.5993635654}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MAX","query":"SELECT MAX(`pet_age`) FROM `Pets`","question":"Find the maximum pet_age for the table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To find the maximum `pet_age` for the table `Pets`, you can execute the following SQL code:\n\n```sql\nSELECT MAX(pet_age) AS max_pet_age\nFROM Pets;\n```","cost":0.00004725,"response_parsed":"SELECT MAX(pet_age) AS max_pet_age\nFROM Pets;","time":0.6626138687}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MIN","query":"SELECT MIN(`pet_age`) FROM `Pets`","question":"Find the minimum pet_age for the table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To find the minimum `pet_age` from the `Pets` table, you can use the following SQL code:\n\n```sql\nSELECT MIN(pet_age) AS MinimumPetAge\nFROM Pets;\n```","cost":0.00004785,"response_parsed":"SELECT MIN(pet_age) AS MinimumPetAge\nFROM Pets;","time":0.8603110313}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-AVG","query":"SELECT AVG(`pet_age`) FROM `Pets`","question":"Find the average pet_age for the table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT AVG(pet_age) AS average_pet_age\nFROM Pets;\n```","cost":0.00003405,"response_parsed":"SELECT AVG(pet_age) AS average_pet_age\nFROM Pets;","time":0.6481895447}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MAX","query":"SELECT MAX(`weight`) FROM `Pets`","question":"Find the maximum weight for the table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT MAX(weight) AS MaximumWeight\nFROM Pets;\n```","cost":0.0000321,"response_parsed":"SELECT MAX(weight) AS MaximumWeight\nFROM Pets;","time":0.5636839867}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MIN","query":"SELECT MIN(`weight`) FROM `Pets`","question":"Find the minimum weight for the table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To find the minimum weight in the `Pets` table, you can use the following SQL query:\n\n```sql\nSELECT MIN(weight) AS MinimumWeight \nFROM Pets;\n```","cost":0.0000441,"response_parsed":"SELECT MIN(weight) AS MinimumWeight \nFROM Pets;","time":0.780595541}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Pets","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-AVG","query":"SELECT AVG(`weight`) FROM `Pets`","question":"Find the average weight for the table Pets","db_schema_normalized":"`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT AVG(weight) AS average_weight\nFROM Pets;\n```","cost":0.0000321,"response_parsed":"SELECT AVG(weight) AS average_weight\nFROM Pets;","time":0.6589281559}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `LName`) FROM `Student`","question":"How many different LName are in table Student?","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To count the number of different last names (`LName`) in the `Student` table, you can use the `COUNT` function along with the `DISTINCT` keyword in SQL. Here's the SQL code for that:\n\n```sql\nSELECT COUNT(DISTINCT LName) AS DifferentLNameCount\nFROM Student;\n```","cost":0.00006285,"response_parsed":"SELECT COUNT(DISTINCT LName) AS DifferentLNameCount\nFROM Student;","time":1.2394628525}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Fname`) FROM `Student`","question":"How many different Fname are in table Student?","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT COUNT(DISTINCT Fname) AS DifferentFirstNames\nFROM Student;\n```","cost":0.00003525,"response_parsed":"SELECT COUNT(DISTINCT Fname) AS DifferentFirstNames\nFROM Student;","time":0.6245925426}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Sex`) FROM `Student`","question":"How many different Sex are in table Student?","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To count the number of different Sex values in the `Student` table, you can use the following SQL query:\n\n```sql\nSELECT COUNT(DISTINCT Sex) AS DifferentSexCount\nFROM Student;\n```","cost":0.0000483,"response_parsed":"SELECT COUNT(DISTINCT Sex) AS DifferentSexCount\nFROM Student;","time":0.8981671333}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `city_code`) FROM `Student`","question":"How many different city_code are in table Student?","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To fetch the number of different `city_code` values in the `Student` table, you can use the following SQL code:\n\n```sql\nSELECT COUNT(DISTINCT city_code) AS different_city_codes\nFROM Student;\n```","cost":0.00005085,"response_parsed":"SELECT COUNT(DISTINCT city_code) AS different_city_codes\nFROM Student;","time":0.9816870689}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MAX","query":"SELECT MAX(`Major`) FROM `Student`","question":"Find the maximum Major for the table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To find the maximum Major from the `Student` table, you can use the following SQL query:\n\n```sql\nSELECT MAX(Major) AS MaxMajor\nFROM Student;\n```","cost":0.0000447,"response_parsed":"SELECT MAX(Major) AS MaxMajor\nFROM Student;","time":0.7402989864}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MIN","query":"SELECT MIN(`Major`) FROM `Student`","question":"Find the minimum Major for the table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"```sql\nSELECT MIN(Major) AS Minimum_Major \nFROM Student;\n```","cost":0.0000333,"response_parsed":"SELECT MIN(Major) AS Minimum_Major \nFROM Student;","time":0.5968737602}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-AVG","query":"SELECT AVG(`Major`) FROM `Student`","question":"Find the average Major for the table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To calculate the average of the `Major` column from the `Student` table, you can use the following SQL code:\n\n```sql\nSELECT AVG(Major) AS Average_Major\nFROM Student;\n``` \n\nThis SQL query retrieves the average value of the `Major` field from the `Student` table and labels it as `Average_Major`.","cost":0.0000657,"response_parsed":"SELECT AVG(Major) AS Average_Major\nFROM Student;","time":1.2454190254}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MAX","query":"SELECT MAX(`Advisor`) FROM `Student`","question":"Find the maximum Advisor for the table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To find the maximum Advisor for the `Student` table, you can use the following SQL query:\n\n```sql\nSELECT MAX(Advisor) AS MaxAdvisor\nFROM Student;\n```","cost":0.0000447,"response_parsed":"SELECT MAX(Advisor) AS MaxAdvisor\nFROM Student;","time":2.1559844017}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MIN","query":"SELECT MIN(`Advisor`) FROM `Student`","question":"Find the minimum Advisor for the table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To find the minimum value for the `Advisor` field in the `Student` table, you can use the `MIN()` aggregate function. The SQL query would look like this:\n\n```sql\nSELECT MIN(Advisor) AS MinimumAdvisor\nFROM Student;\n```","cost":0.0000543,"response_parsed":"SELECT MIN(Advisor) AS MinimumAdvisor\nFROM Student;","time":0.9244332314}} {"db_path":"QATCH-journal\/spider_data\/test_database\/pets_1\/pets_1.sqlite","db_id":"pets_1","tbl_name":"Student","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-AVG","query":"SELECT AVG(`Advisor`) FROM `Student`","question":"Find the average Advisor for the table Student","db_schema_normalized":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))","db_schema":"`Student`(StuID INTEGER PRIMARY KEY, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3))\n`Has_Pet`(StuID INTEGER, PetID INTEGER, FOREIGN KEY(PetID) REFERENCES Pets(PetID), FOREIGN KEY(StuID) REFERENCES Student(StuID))\n`Pets`(PetID INTEGER PRIMARY KEY, PetType VARCHAR(20), pet_age INTEGER, weight REAL)","pred_dict":{"response":"To find the average `Advisor` in the `Student` table, you can use the following SQL code:\n\n```sql\nSELECT AVG(Advisor) AS Average_Advisor\nFROM Student;\n```","cost":0.0000465,"response_parsed":"SELECT AVG(Advisor) AS Average_Advisor\nFROM Student;","time":0.8951463699}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Maker` FROM `car_makers`","question":"Show the different Maker in the table car_makers","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the different makers from the `car_makers` table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT Maker FROM car_makers;\n```","cost":0.000063,"response_parsed":"SELECT DISTINCT Maker FROM car_makers;","time":0.571149826}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `FullName` FROM `car_makers`","question":"Show the different FullName in the table car_makers","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT DISTINCT FullName FROM car_makers;\n```","cost":0.00005055,"response_parsed":"SELECT DISTINCT FullName FROM car_makers;","time":0.3301355839}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Country` FROM `car_makers`","question":"Show the different Country in the table car_makers","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the distinct countries from the `car_makers` table, you would need to run a SQL query that selects distinct values from the `Country` field in the `car_makers` table. The SQL code for this query would be:\n\n```sql\nSELECT DISTINCT Country FROM car_makers;\n```","cost":0.0000798,"response_parsed":"SELECT DISTINCT Country FROM car_makers;","time":1.5465240479}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `CountryName` FROM `countries`","question":"Show the different CountryName in the table countries","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"Here is the SQL code to fetch the different CountryName from the table countries:\n\n```sql\nSELECT DISTINCT CountryName FROM countries;\n```","cost":0.00005865,"response_parsed":"SELECT DISTINCT CountryName FROM countries;","time":0.6212871075}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"continents","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Continent` FROM `continents`","question":"Show the different Continent in the table continents","db_schema_normalized":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the different continents from the `continents` table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT Continent FROM continents;\n```","cost":0.00006165,"response_parsed":"SELECT DISTINCT Continent FROM continents;","time":1.1290810108}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_names","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Model` FROM `car_names`","question":"Show the different Model in the table car_names","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To show the different models in the `car_names` table, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT Model FROM car_names;\n``` \n\nThis SQL code will fetch all unique model names stored in the `car_names` table.","cost":0.00007305,"response_parsed":"SELECT DISTINCT Model FROM car_names;","time":1.2827446461}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_names","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Make` FROM `car_names`","question":"Show the different Make in the table car_names","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the different makes from the `car_names` table, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT Make FROM car_names;\n```","cost":0.00006165,"response_parsed":"SELECT DISTINCT Make FROM car_names;","time":0.5848448277}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Model` FROM `model_list`","question":"Show the different Model in the table model_list","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the different models in the `model_list` table, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT Model FROM model_list;\n```","cost":0.00006165,"response_parsed":"SELECT DISTINCT Model FROM model_list;","time":0.7819843292}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `MPG` FROM `cars_data`","question":"Show the different MPG in the table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the different MPG values from the `cars_data` table, you can execute the following SQL query:\n\n```sql\nSELECT DISTINCT MPG FROM cars_data;\n```","cost":0.00006225,"response_parsed":"SELECT DISTINCT MPG FROM cars_data;","time":0.6694688797}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Horsepower` FROM `cars_data`","question":"Show the different Horsepower in the table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the different Horsepower values from the `cars_data` table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT Horsepower FROM cars_data;\n```","cost":0.0000636,"response_parsed":"SELECT DISTINCT Horsepower FROM cars_data;","time":0.6757671833}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Maker`, COUNT(*) FROM `car_makers` GROUP BY `Maker`","question":"For each Maker, count the number of rows in table car_makers","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To count the number of rows in the `car_makers` table for each Maker, you can use the following SQL code:\n\n```sql\nSELECT Maker, COUNT(*) AS MakerCount\nFROM car_makers\nGROUP BY Maker;\n``` \n\nThis query selects the `Maker` and counts the number of rows for each unique `Maker`, grouping the results accordingly.","cost":0.000087,"response_parsed":"SELECT Maker, COUNT(*) AS MakerCount\nFROM car_makers\nGROUP BY Maker;","time":1.238370657}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `FullName`, COUNT(*) FROM `car_makers` GROUP BY `FullName`","question":"For each FullName, count the number of rows in table car_makers","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fulfill the request to count the number of rows in the `car_makers` table for each unique `FullName`, you can use the following SQL query:\n\n```sql\nSELECT FullName, COUNT(*) AS MakerCount\nFROM car_makers\nGROUP BY FullName;\n``` \n\nThis SQL code groups the results by `FullName` and counts the number of entries for each unique name in the `car_makers` table. The result will display each `FullName` along with the corresponding count of rows.","cost":0.00010635,"response_parsed":"SELECT FullName, COUNT(*) AS MakerCount\nFROM car_makers\nGROUP BY FullName;","time":1.9784164429}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Country`, COUNT(*) FROM `car_makers` GROUP BY `Country`","question":"For each Country, count the number of rows in table car_makers","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To count the number of rows in the `car_makers` table for each country, we need to join the `countries` table with the `car_makers` table using the `CountryId`. After that, we can group the results by country and use the `COUNT()` function to get the number of car makers in each country. Here's the SQL code to achieve this:\n\n```sql\nSELECT c.CountryName, COUNT(cm.Id) AS NumberOfCarMakers\nFROM countries c\nLEFT JOIN car_makers cm ON c.CountryId = cm.Country\nGROUP BY c.CountryName;\n``` \n\nThis SQL query will return a list of countries along with the count of car makers in each country, even including those countries that may not have any car makers (thanks to the LEFT JOIN).","cost":0.0001392,"response_parsed":"SELECT c.CountryName, COUNT(cm.Id) AS NumberOfCarMakers\nFROM countries c\nLEFT JOIN car_makers cm ON c.CountryId = cm.Country\nGROUP BY c.CountryName;","time":2.6416728497}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `CountryName`, COUNT(*) FROM `countries` GROUP BY `CountryName`","question":"For each CountryName, count the number of rows in table countries","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To count the number of rows in the `countries` table for each `CountryName`, you can use the following SQL query:\n\n```sql\nSELECT CountryName, COUNT(*) AS CountryCount\nFROM countries\nGROUP BY CountryName;\n``` \n\nThis SQL code selects the `CountryName` and counts the number of entries for each country by grouping the results by `CountryName`.","cost":0.00008865,"response_parsed":"SELECT CountryName, COUNT(*) AS CountryCount\nFROM countries\nGROUP BY CountryName;","time":5.2502865791}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `CountryName`, MIN(`Continent`) FROM `countries` GROUP BY `CountryName`","question":"For each CountryName, find the min of Continent in table countries","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find the minimum of the `Continent` values for each `CountryName` from the `countries` table, you will need to join the `countries` table with the `continents` table based on the `Continent` foreign key. Here's the SQL code that accomplishes this:\n\n```sql\nSELECT c.CountryName, MIN(co.Continent) AS MinContinent\nFROM countries c\nJOIN continents co ON c.Continent = co.ContId\nGROUP BY c.CountryName;\n```\n\nThis query selects the `CountryName` and the minimum `Continent` for each country, ensuring that results are grouped by `CountryName`.","cost":0.0001236,"response_parsed":"SELECT c.CountryName, MIN(co.Continent) AS MinContinent\nFROM countries c\nJOIN continents co ON c.Continent = co.ContId\nGROUP BY c.CountryName;","time":1.8431689739}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `CountryName`, MAX(`Continent`) FROM `countries` GROUP BY `CountryName`","question":"For each CountryName, find the max of Continent in table countries","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the maximum continent for each CountryName from the `countries` table, we need to join the `countries` table with the `continents` table. Since the `Continent` column in the `countries` table references the `ContId` in the `continents` table, we can retrieve the Continent names along with the respective CountryNames. Below is the SQL code to achieve this:\n\n```sql\nSELECT c.CountryName, MAX(co.Continent) AS MaxContinent\nFROM countries c\nJOIN continents co ON c.Continent = co.ContId\nGROUP BY c.CountryName;\n```\n\nThis query will give us the maximum continent for each country name. Note that using `MAX` here will return the maximum value of the continent names in alphabetical order; if you meant something else regarding \"max\" of `Continent`, please clarify.","cost":0.00015,"response_parsed":"SELECT c.CountryName, MAX(co.Continent) AS MaxContinent\nFROM countries c\nJOIN continents co ON c.Continent = co.ContId\nGROUP BY c.CountryName;","time":3.0158698559}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `CountryName`, AVG(`Continent`) FROM `countries` GROUP BY `CountryName`","question":"For each CountryName, find the avg of Continent in table countries","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find the average of `Continent` for each `CountryName` in the `countries` table, we need to consider that the `Continent` in the `countries` table is a foreign key referring to `ContId` in the `continents` table. However, the query you're asking might imply that we're looking for the average of some numerical representation related to continents, but since `Continent` is a text field in the `continents` table, it's unclear what \"avg of Continent\" means.\n\nTypically, in SQL, you would not compute an average of text fields like continent names. Instead, you would perhaps count instances or group them. Assuming clarification is needed, I will interpret the question as needing the list of countries alongside their corresponding continents, without averaging them since continents are textual data.\n\nHere's a SQL query that joins the tables and retrieves the relevant information:\n\n```sql\nSELECT c.CountryName, co.Continent\nFROM countries c\nJOIN continents co ON c.Continent = co.ContId;\n```\n\nIf the intent was indeed to find average values for numeric attributes that might be linked to the continents, please specify those attributes, and I'll adjust the SQL accordingly.","cost":0.0001902,"response_parsed":"SELECT c.CountryName, co.Continent\nFROM countries c\nJOIN continents co ON c.Continent = co.ContId;","time":3.9312226772}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `CountryName`, SUM(`Continent`) FROM `countries` GROUP BY `CountryName`","question":"For each CountryName, find the sum of Continent in table countries","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find the sum of continents for each country name from the `countries` table, we will need to use the `GROUP BY` clause in SQL to aggregate the data based on the `CountryName` while counting the occurrences of distinct continents associated with each country. However, as the continent is stored as an integer in `countries`, we actually want to count the number of unique continents referenced by each country.\n\nHere is the SQL code to achieve that:\n\n```sql\nSELECT c.CountryName, COUNT(DISTINCT c.Continent) AS SumOfContinents\nFROM countries c\nGROUP BY c.CountryName;\n``` \n\nThis query will return each `CountryName` along with the count of distinct continents associated with that country.","cost":0.0001314,"response_parsed":"SELECT c.CountryName, COUNT(DISTINCT c.Continent) AS SumOfContinents\nFROM countries c\nGROUP BY c.CountryName;","time":1.9735233784}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"continents","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Continent`, COUNT(*) FROM `continents` GROUP BY `Continent`","question":"For each Continent, count the number of rows in table continents","db_schema_normalized":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To count the number of continents in the `continents` table grouped by each continent, the SQL query would be as follows:\n\n```sql\nSELECT Continent, COUNT(*) AS ContinentCount\nFROM continents\nGROUP BY Continent;\n```","cost":0.00007245,"response_parsed":"SELECT Continent, COUNT(*) AS ContinentCount\nFROM continents\nGROUP BY Continent;","time":1.3662321568}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_names","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Model`, COUNT(*) FROM `car_names` GROUP BY `Model`","question":"For each Model, count the number of rows in table car_names","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To count the number of rows in the `car_names` table for each distinct `Model` from the `model_list`, you will need to join the `car_names` table with the `model_list` table and group the results by `Model`. Here is the SQL code to execute this query:\n\n```sql\nSELECT ml.Model, COUNT(cn.MakeId) AS RowCount\nFROM model_list ml\nLEFT JOIN car_names cn ON ml.Model = cn.Model\nGROUP BY ml.Model;\n``` \n\nThis query selects the `Model` from the `model_list` and counts the associated `MakeId` from the `car_names` table, grouping the results by the `Model`. The use of `LEFT JOIN` ensures that models with no corresponding entries in `car_names` are also included in the results with a count of zero.","cost":0.00014505,"response_parsed":"SELECT ml.Model, COUNT(cn.MakeId) AS RowCount\nFROM model_list ml\nLEFT JOIN car_names cn ON ml.Model = cn.Model\nGROUP BY ml.Model;","time":3.3326511383}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_names","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Make`, COUNT(*) FROM `car_names` GROUP BY `Make`","question":"For each Make, count the number of rows in table car_names","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To count the number of rows in the `car_names` table for each unique `Make`, you can use the following SQL query:\n\n```sql\nSELECT Make, COUNT(*) AS NumberOfRows\nFROM car_names\nGROUP BY Make;\n``` \n\nThis SQL code selects the `Make` from the `car_names` table and counts the number of entries for each `Make`, grouping the results by `Make`.","cost":0.00009285,"response_parsed":"SELECT Make, COUNT(*) AS NumberOfRows\nFROM car_names\nGROUP BY Make;","time":2.5079593658}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Model`, COUNT(*) FROM `model_list` GROUP BY `Model`","question":"For each Model, count the number of rows in table model_list","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To count the number of rows in the `model_list` table for each model, you would typically want to group the results by the `Model` field. However, since the question asks for the count of rows, not the actual count of instances of each model, you would simply select each model along with a count of 1 for that model, which essentially provides the total number of distinct models. \n\nHere\u2019s how you can write the SQL query for that:\n\n```sql\nSELECT Model, COUNT(*) AS ModelCount\nFROM model_list\nGROUP BY Model;\n```\n\nThis will return the distinct models and the count of rows associated with them in the `model_list` table.","cost":0.00012585,"response_parsed":"SELECT Model, COUNT(*) AS ModelCount\nFROM model_list\nGROUP BY Model;","time":2.4200839996}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `Model`, MIN(`Maker`) FROM `model_list` GROUP BY `Model`","question":"For each Model, find the min of Maker in table model_list","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find the minimum Maker for each Model from the `model_list` table, you can utilize the following SQL query. This will group the records by Model and then select the minimum Maker corresponding to each Model. Here's the SQL code to achieve that:\n\n```sql\nSELECT ml.Model, MIN(cm.Maker) AS MinMaker\nFROM model_list ml\nJOIN car_makers cm ON ml.Maker = cm.Id\nGROUP BY ml.Model;\n``` \n\nThis query does the following:\n- Selects the Model from the `model_list` (aliased as `ml`).\n- Joins the `car_makers` table (aliased as `cm`) to get the corresponding Maker names.\n- Groups the results by Model to aggregate the Maker names.\n- Computes and returns the minimum Maker for each Model.","cost":0.00014085,"response_parsed":"SELECT ml.Model, MIN(cm.Maker) AS MinMaker\nFROM model_list ml\nJOIN car_makers cm ON ml.Maker = cm.Id\nGROUP BY ml.Model;","time":3.4385032654}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `Model`, MAX(`Maker`) FROM `model_list` GROUP BY `Model`","question":"For each Model, find the max of Maker in table model_list","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find the maximum \"Maker\" for each \"Model\" in the `model_list` table, you will need to join the `model_list` with the `car_makers` table since the \"Maker\" is represented by the `Id` in the `car_makers` table. However, since \"Maker\" in the context of the question refers to getting the maximum `Id` mapping it with the corresponding \"Maker\" string, the SQL query would look like this:\n\n```sql\nSELECT ml.Model, cm.Maker\nFROM model_list ml\nJOIN car_makers cm ON ml.Maker = cm.Id\nWHERE ml.Model IN (\n SELECT Model\n FROM model_list\n GROUP BY Model\n HAVING Maker = MAX(Maker)\n);\n```\n\nIn this query:\n1. We select the \"Model\" and the corresponding \"Maker\" from `model_list`.\n2. We join it with `car_makers` to retrieve the \"Maker\" names.\n3. We use a subquery to find the maximal \"Maker\" associated with each \"Model\".","cost":0.00017445,"response_parsed":"SELECT ml.Model, cm.Maker\nFROM model_list ml\nJOIN car_makers cm ON ml.Maker = cm.Id\nWHERE ml.Model IN (\n SELECT Model\n FROM model_list\n GROUP BY Model\n HAVING Maker = MAX(Maker)\n);","time":4.464427948}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `Model`, AVG(`Maker`) FROM `model_list` GROUP BY `Model`","question":"For each Model, find the avg of Maker in table model_list","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To calculate the average of `Maker` for each `Model` in the `model_list` table, you would typically need to join the `model_list` with the `car_makers` table to retrieve the corresponding `Maker` names. However, since `Maker` in the schema appears to reference the `Id` in the `car_makers` table, we need to understand that `Maker` is actually a foreign key.\n\nIf by \"avg of Maker\" you mean to get an average of some numerical attribute associated with `Maker` (like, for instance, their IDs), it might be confusing because `Maker` is not a numerical field but an identifier. Assuming you want to calculate the average of the `Maker` IDs for each Model, the query will be as follows:\n\n```sql\nSELECT ml.Model, AVG(ml.Maker) AS Avg_Maker\nFROM model_list ml\nGROUP BY ml.Model;\n```\n\nIf you were intending to perform a different calculation or needed additional details, please clarify your requirements!","cost":0.00016845,"response_parsed":"SELECT ml.Model, AVG(ml.Maker) AS Avg_Maker\nFROM model_list ml\nGROUP BY ml.Model;","time":3.6582829952}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `Model`, SUM(`Maker`) FROM `model_list` GROUP BY `Model`","question":"For each Model, find the sum of Maker in table model_list","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the sum of dimensions for each model from the `model_list` table, we will create an SQL query that groups the results by `Model` and retrieves the associated sum of the `Maker` column. Here is the SQL code:\n\n```sql\nSELECT Model, SUM(Maker) AS TotalMaker\nFROM model_list\nGROUP BY Model;\n``` \n\nMake sure the context of the database allows the aggregation of the `Maker` field appropriately, as typically `Maker` would reference a car maker ID rather than a value meant to be summed directly. If you meant to perform some other numerical aggregation related to `Maker`, please provide further clarification, and I can modify this query accordingly.","cost":0.00012645,"response_parsed":"SELECT Model, SUM(Maker) AS TotalMaker\nFROM model_list\nGROUP BY Model;","time":2.796890974}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `MPG`, COUNT(*) FROM `cars_data` GROUP BY `MPG`","question":"For each MPG, count the number of rows in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To count the number of rows in the `cars_data` table for each distinct value of `MPG`, you can use the following SQL code:\n\n```sql\nSELECT MPG, COUNT(*) AS RowCount\nFROM cars_data\nGROUP BY MPG;\n``` \n\nThis query will provide a count of rows grouped by the `MPG` values in the `cars_data` table.","cost":0.00008865,"response_parsed":"SELECT MPG, COUNT(*) AS RowCount\nFROM cars_data\nGROUP BY MPG;","time":1.2254180908}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Horsepower`, COUNT(*) FROM `cars_data` GROUP BY `Horsepower`","question":"For each Horsepower, count the number of rows in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"Here's the SQL code to count the number of rows in the `cars_data` table for each distinct `Horsepower` value:\n\n```sql\nSELECT Horsepower, COUNT(*) AS Count\nFROM cars_data\nGROUP BY Horsepower;\n```","cost":0.000072,"response_parsed":"SELECT Horsepower, COUNT(*) AS Count\nFROM cars_data\nGROUP BY Horsepower;","time":1.1123564243}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `MPG`, MIN(`Cylinders`) FROM `cars_data` GROUP BY `MPG`","question":"For each MPG, find the min of Cylinders in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT MPG, MIN(Cylinders) AS MinCylinders\nFROM cars_data\nGROUP BY MPG;\n```","cost":0.0000588,"response_parsed":"SELECT MPG, MIN(Cylinders) AS MinCylinders\nFROM cars_data\nGROUP BY MPG;","time":0.4709379673}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `MPG`, MAX(`Cylinders`) FROM `cars_data` GROUP BY `MPG`","question":"For each MPG, find the max of Cylinders in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the maximum number of Cylinders for each MPG from the `cars_data` table, you can use the following SQL query:\n\n```sql\nSELECT MPG, MAX(Cylinders) AS MaxCylinders\nFROM cars_data\nGROUP BY MPG;\n``` \n\nThis query groups the results by `MPG` and calculates the maximum value of `Cylinders` for each group.","cost":0.0000906,"response_parsed":"SELECT MPG, MAX(Cylinders) AS MaxCylinders\nFROM cars_data\nGROUP BY MPG;","time":1.6740159988}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `MPG`, AVG(`Cylinders`) FROM `cars_data` GROUP BY `MPG`","question":"For each MPG, find the avg of Cylinders in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find the average number of Cylinders for each MPG in the `cars_data` table, you can use the following SQL query:\n\n```sql\nSELECT MPG, AVG(Cylinders) AS AvgCylinders\nFROM cars_data\nGROUP BY MPG;\n``` \n\nThis query selects the `MPG` and calculates the average of `Cylinders`, grouping the results by `MPG`.","cost":0.0000912,"response_parsed":"SELECT MPG, AVG(Cylinders) AS AvgCylinders\nFROM cars_data\nGROUP BY MPG;","time":1.3400163651}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `MPG`, SUM(`Cylinders`) FROM `cars_data` GROUP BY `MPG`","question":"For each MPG, find the sum of Cylinders in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find the sum of Cylinders for each MPG in the `cars_data` table, you can use the following SQL query:\n\n```sql\nSELECT MPG, SUM(Cylinders) AS TotalCylinders\nFROM cars_data\nGROUP BY MPG;\n``` \n\nThis query selects the `MPG` and the sum of the `Cylinders` column, grouping the results by each distinct `MPG` value.","cost":0.0000942,"response_parsed":"SELECT MPG, SUM(Cylinders) AS TotalCylinders\nFROM cars_data\nGROUP BY MPG;","time":1.5154056549}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `MPG`, MIN(`Weight`) FROM `cars_data` GROUP BY `MPG`","question":"For each MPG, find the min of Weight in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the minimum weight for each MPG from the `cars_data` table, you can use the following SQL query:\n\n```sql\nSELECT MPG, MIN(Weight) AS MinWeight\nFROM cars_data\nGROUP BY MPG;\n``` \n\nThis code will group the records in the `cars_data` table by the `MPG` field and calculate the minimum weight for each group.","cost":0.00008925,"response_parsed":"SELECT MPG, MIN(Weight) AS MinWeight\nFROM cars_data\nGROUP BY MPG;","time":1.5835895538}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `MPG`, MAX(`Weight`) FROM `cars_data` GROUP BY `MPG`","question":"For each MPG, find the max of Weight in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find the maximum weight for each MPG in the `cars_data` table, you can use the following SQL query:\n\n```sql\nSELECT MPG, MAX(Weight) AS MaxWeight\nFROM cars_data\nGROUP BY MPG;\n```","cost":0.00007125,"response_parsed":"SELECT MPG, MAX(Weight) AS MaxWeight\nFROM cars_data\nGROUP BY MPG;","time":1.1417617798}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `MPG`, AVG(`Weight`) FROM `cars_data` GROUP BY `MPG`","question":"For each MPG, find the avg of Weight in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the average weight for each unique MPG value from the `cars_data` table, you can use the following SQL code:\n\n```sql\nSELECT MPG, AVG(Weight) AS AvgWeight\nFROM cars_data\nGROUP BY MPG;\n``` \n\nThis code will group the records in the `cars_data` table by the `MPG` value and calculate the average of the `Weight` for each MPG group.","cost":0.00009345,"response_parsed":"SELECT MPG, AVG(Weight) AS AvgWeight\nFROM cars_data\nGROUP BY MPG;","time":1.5516798496}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `MPG`, SUM(`Weight`) FROM `cars_data` GROUP BY `MPG`","question":"For each MPG, find the sum of Weight in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the sum of Weight for each MPG in the `cars_data` table, you can use the following SQL query:\n\n```sql\nSELECT MPG, SUM(Weight) AS Total_Weight\nFROM cars_data\nGROUP BY MPG;\n```","cost":0.00007245,"response_parsed":"SELECT MPG, SUM(Weight) AS Total_Weight\nFROM cars_data\nGROUP BY MPG;","time":0.8005170822}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `Horsepower`, MIN(`Cylinders`) FROM `cars_data` GROUP BY `Horsepower`","question":"For each Horsepower, find the min of Cylinders in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the minimum number of Cylinders for each Horsepower from the `cars_data` table, you can use the following SQL query:\n\n```sql\nSELECT Horsepower, MIN(Cylinders) AS MinCylinders\nFROM cars_data\nGROUP BY Horsepower;\n```","cost":0.00007695,"response_parsed":"SELECT Horsepower, MIN(Cylinders) AS MinCylinders\nFROM cars_data\nGROUP BY Horsepower;","time":0.9200232029}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `Horsepower`, MAX(`Cylinders`) FROM `cars_data` GROUP BY `Horsepower`","question":"For each Horsepower, find the max of Cylinders in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find the maximum number of Cylinders for each Horsepower in the `cars_data` table, you can use the following SQL query:\n\n```sql\nSELECT Horsepower, MAX(Cylinders) AS MaxCylinders\nFROM cars_data\nGROUP BY Horsepower;\n``` \n\nThis query selects the unique Horsepower values and retrieves the maximum number of Cylinders for each distinct Horsepower, grouping the results accordingly.","cost":0.00009375,"response_parsed":"SELECT Horsepower, MAX(Cylinders) AS MaxCylinders\nFROM cars_data\nGROUP BY Horsepower;","time":1.7372083664}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `Horsepower`, AVG(`Cylinders`) FROM `cars_data` GROUP BY `Horsepower`","question":"For each Horsepower, find the avg of Cylinders in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find the average number of Cylinders for each Horsepower in the `cars_data` table, you can use the following SQL query:\n\n```sql\nSELECT Horsepower, AVG(Cylinders) AS AvgCylinders\nFROM cars_data\nGROUP BY Horsepower;\n``` \n\nThis SQL code selects the `Horsepower` values from the `cars_data` table and computes the average of `Cylinders` for each distinct `Horsepower`, grouping the results by the `Horsepower` column.","cost":0.00010455,"response_parsed":"SELECT Horsepower, AVG(Cylinders) AS AvgCylinders\nFROM cars_data\nGROUP BY Horsepower;","time":1.9508736134}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `Horsepower`, SUM(`Cylinders`) FROM `cars_data` GROUP BY `Horsepower`","question":"For each Horsepower, find the sum of Cylinders in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To retrieve the sum of Cylinders for each Horsepower from the `cars_data` table, the SQL query would look as follows:\n\n```sql\nSELECT Horsepower, SUM(Cylinders) AS TotalCylinders\nFROM cars_data\nGROUP BY Horsepower;\n``` \n\nThis query groups the results by the `Horsepower` and calculates the sum of the `Cylinders` for each unique value of `Horsepower`.","cost":0.00009555,"response_parsed":"SELECT Horsepower, SUM(Cylinders) AS TotalCylinders\nFROM cars_data\nGROUP BY Horsepower;","time":1.5029747486}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `Horsepower`, MIN(`Weight`) FROM `cars_data` GROUP BY `Horsepower`","question":"For each Horsepower, find the min of Weight in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To retrieve the minimum weight grouped by horsepower from the `cars_data` table, you can use the following SQL query:\n\n```sql\nSELECT Horsepower, MIN(Weight) AS MinWeight\nFROM cars_data\nGROUP BY Horsepower;\n```","cost":0.0000726,"response_parsed":"SELECT Horsepower, MIN(Weight) AS MinWeight\nFROM cars_data\nGROUP BY Horsepower;","time":1.0502891541}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `Horsepower`, MAX(`Weight`) FROM `cars_data` GROUP BY `Horsepower`","question":"For each Horsepower, find the max of Weight in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find the maximum weight for each horsepower in the `cars_data` table, you can use the following SQL query:\n\n```sql\nSELECT Horsepower, MAX(Weight) AS MaxWeight\nFROM cars_data\nGROUP BY Horsepower;\n```","cost":0.0000726,"response_parsed":"SELECT Horsepower, MAX(Weight) AS MaxWeight\nFROM cars_data\nGROUP BY Horsepower;","time":1.1145026684}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `Horsepower`, AVG(`Weight`) FROM `cars_data` GROUP BY `Horsepower`","question":"For each Horsepower, find the avg of Weight in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find the average Weight for each Horsepower in the `cars_data` table, you can use the following SQL query:\n\n```sql\nSELECT Horsepower, AVG(Weight) AS Average_Weight\nFROM cars_data\nGROUP BY Horsepower;\n``` \n\nThis SQL code selects the `Horsepower` and calculates the average of `Weight`, grouping the results by `Horsepower`.","cost":0.0000894,"response_parsed":"SELECT Horsepower, AVG(Weight) AS Average_Weight\nFROM cars_data\nGROUP BY Horsepower;","time":1.4067614079}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `Horsepower`, SUM(`Weight`) FROM `cars_data` GROUP BY `Horsepower`","question":"For each Horsepower, find the sum of Weight in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the sum of Weight for each distinct Horsepower in the `cars_data` table, you can use the following SQL query:\n\n```sql\nSELECT Horsepower, SUM(Weight) AS TotalWeight\nFROM cars_data\nGROUP BY Horsepower;\n```","cost":0.0000744,"response_parsed":"SELECT Horsepower, SUM(Weight) AS TotalWeight\nFROM cars_data\nGROUP BY Horsepower;","time":0.912694931}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Maker` FROM `car_makers` GROUP BY `Maker` HAVING count(*) >= 1","question":"Find all the Maker that have at least 1 records in table car_makers","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find all the makers that have at least one record in the `car_makers` table, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT Maker\nFROM car_makers\nWHERE Id IN (SELECT DISTINCT Maker FROM model_list);\n```\n\nThis SQL code selects distinct makers from the `car_makers` table where there are matching entries in the `model_list` table, indicating that they have at least one record.","cost":0.0000969,"response_parsed":"SELECT DISTINCT Maker\nFROM car_makers\nWHERE Id IN (SELECT DISTINCT Maker FROM model_list);","time":1.6285073757}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Maker` FROM `car_makers` GROUP BY `Maker` HAVING count(*) <= 1","question":"Find all the Maker that have at most 1 records in table car_makers","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find all the makers that have at most 1 record in the `car_makers` table, you can use the following SQL query:\n\n```sql\nSELECT Maker\nFROM car_makers\nGROUP BY Maker\nHAVING COUNT(*) <= 1;\n``` \n\nThis query groups the results by the `Maker` field and counts the occurrences of each maker. The `HAVING` clause filters the results to include only those makers that have at most 1 record in the `car_makers` table.","cost":0.0001053,"response_parsed":"SELECT Maker\nFROM car_makers\nGROUP BY Maker\nHAVING COUNT(*) <= 1;","time":2.0356149673}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `FullName` FROM `car_makers` GROUP BY `FullName` HAVING count(*) >= 1","question":"Find all the FullName that have at least 1 records in table car_makers","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find all the `FullName` entries that have at least one record in the `car_makers` table, you can use the following SQL query. This query selects the distinct `FullName` from the `car_makers` table:\n\n```sql\nSELECT DISTINCT FullName\nFROM car_makers\nWHERE FullName IS NOT NULL;\n```\n\nThis query fetches all unique `FullName` values that exist in the `car_makers` table, ensuring that only those with at least one associated record are returned.","cost":0.00010785,"response_parsed":"SELECT DISTINCT FullName\nFROM car_makers\nWHERE FullName IS NOT NULL;","time":2.1964359283}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `FullName` FROM `car_makers` GROUP BY `FullName` HAVING count(*) <= 1","question":"Find all the FullName that have at most 1 records in table car_makers","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find all the `FullName` values from the `car_makers` table that have at most 1 record, you can use the following SQL query:\n\n```sql\nSELECT FullName\nFROM car_makers\nGROUP BY FullName\nHAVING COUNT(*) <= 1;\n``` \n\nThis query groups the records in the `car_makers` table by the `FullName` and then uses the `HAVING` clause to filter out groups that have more than 1 record, ensuring that only those with at most 1 record are returned.","cost":0.00011145,"response_parsed":"SELECT FullName\nFROM car_makers\nGROUP BY FullName\nHAVING COUNT(*) <= 1;","time":1.9456479549}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Country` FROM `car_makers` GROUP BY `Country` HAVING count(*) >= 2","question":"Find all the Country that have at least 2 records in table car_makers","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find all the countries that have at least 2 records in the `car_makers` table, you can use the following SQL query. This query groups the records by country and counts the number of car makers associated with each country. It then filters for those countries that have 2 or more records.\n\n```sql\nSELECT c.CountryName\nFROM countries c\nJOIN car_makers cm ON c.CountryId = cm.Country\nGROUP BY c.CountryId, c.CountryName\nHAVING COUNT(cm.Id) >= 2;\n```","cost":0.0001083,"response_parsed":"SELECT c.CountryName\nFROM countries c\nJOIN car_makers cm ON c.CountryId = cm.Country\nGROUP BY c.CountryId, c.CountryName\nHAVING COUNT(cm.Id) >= 2;","time":1.8188714981}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Country` FROM `car_makers` GROUP BY `Country` HAVING count(*) <= 2","question":"Find all the Country that have at most 2 records in table car_makers","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"Here is the SQL code to find all the countries that have at most 2 records in the `car_makers` table:\n\n```sql\nSELECT c.CountryName\nFROM countries c\nLEFT JOIN car_makers cm ON c.CountryId = cm.Country\nGROUP BY c.CountryId, c.CountryName\nHAVING COUNT(cm.Id) <= 2;\n```","cost":0.0000873,"response_parsed":"SELECT c.CountryName\nFROM countries c\nLEFT JOIN car_makers cm ON c.CountryId = cm.Country\nGROUP BY c.CountryId, c.CountryName\nHAVING COUNT(cm.Id) <= 2;","time":1.2398715019}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `CountryName` FROM `countries` GROUP BY `CountryName` HAVING count(*) >= 1","question":"Find all the CountryName that have at least 1 records in table countries","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find all the `CountryName` that have at least one record in the `countries` table, you can use the following SQL query:\n\n```sql\nSELECT CountryName\nFROM countries\nWHERE CountryId IS NOT NULL;\n```\n\nThis query fetches all the country names from the `countries` table where there is a record present.","cost":0.00008475,"response_parsed":"SELECT CountryName\nFROM countries\nWHERE CountryId IS NOT NULL;","time":1.0756468773}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `CountryName` FROM `countries` GROUP BY `CountryName` HAVING count(*) <= 1","question":"Find all the CountryName that have at most 1 records in table countries","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find all the `CountryName` entries that have at most one record in the `countries` table, you can use the following SQL query. This query counts the number of records for each country and then filters those with a count of 1 or less.\n\n```sql\nSELECT CountryName \nFROM countries \nGROUP BY CountryName \nHAVING COUNT(*) <= 1;\n``` \n\nThis code groups the country names in the `countries` table and applies a condition to only select the countries that meet the criteria of having at most one record.","cost":0.00010935,"response_parsed":"SELECT CountryName \nFROM countries \nGROUP BY CountryName \nHAVING COUNT(*) <= 1;","time":1.9792356491}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `CountryName` FROM `countries` GROUP BY `CountryName` HAVING AVG(`Continent`) >= 2.6","question":"List the CountryName which average of Continent is at least 2.6 in table countries","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To answer the question and list the `CountryName` from the `countries` table where the average of the `Continent` is at least 2.6, you first need to calculate the average value for each continent based on their respective `CountryId`. Then, filter the countries that belong to continents meeting this criterion.\n\nHere is the SQL code to execute this:\n\n```sql\nSELECT c.CountryName\nFROM countries c\nJOIN continents co ON c.Continent = co.ContId\nGROUP BY c.Continent\nHAVING AVG(co.ContId) >= 2.6;\n```\n\nThis SQL query performs the following:\n1. Selects the `CountryName` from the `countries` table (`c`).\n2. Joins the `countries` table with the `continents` table (`co`) on the continent ID.\n3. Groups the results by the continent.\n4. Filters the groups using a `HAVING` clause to only include those where the average continent ID is at least 2.6. \n\nPlease adjust the context if there are any other specific rules regarding how the average of the continent should be calculated based on the provided schema.","cost":0.00018795,"response_parsed":"SELECT c.CountryName\nFROM countries c\nJOIN continents co ON c.Continent = co.ContId\nGROUP BY c.Continent\nHAVING AVG(co.ContId) >= 2.6;","time":3.4989454746}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `CountryName` FROM `countries` GROUP BY `CountryName` HAVING AVG(`Continent`) <= 2.6","question":"List the CountryName which average of Continent is at most 2.6 in table countries","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To aggregate the average of the continent for the countries in the `countries` table and retrieve those with an average of 2.6 or less, you can use the following SQL query:\n\n```sql\nSELECT c.CountryName \nFROM countries c\nJOIN continents ct ON c.Continent = ct.ContId\nGROUP BY c.CountryName\nHAVING AVG(ct.Continent) <= 2.6;\n```\n\nIn this code:\n- We select the `CountryName` from the `countries` table.\n- We join the `countries` and `continents` tables on their relationship.\n- We group by `CountryName` to aggregate the results.\n- We filter the results with `HAVING` to include only those with an average continent value that is at most 2.6. \n\n(Note: The logic presumes that the `Continent` is structured numerically in a way where such an average can be calculated, based on the schema provided).","cost":0.00016215,"response_parsed":"SELECT c.CountryName \nFROM countries c\nJOIN continents ct ON c.Continent = ct.ContId\nGROUP BY c.CountryName\nHAVING AVG(ct.Continent) <= 2.6;","time":3.4876625538}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `CountryName` FROM `countries` GROUP BY `CountryName` HAVING SUM(`Continent`) >= 2.6","question":"List the CountryName which summation of Continent is at least 2.6 in table countries","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To achieve the requested query that lists the `CountryName` where the summation of `Continent` is at least 2.6 in the `countries` table, we can utilize SQL aggregation functions. However, there's a bit of clarification needed regarding what is meant by \"summation of Continent.\" Assuming this relates to counting countries per continent and filtering those that sum up to at least 2.6 based on some metric like population, we can apply a standard SQL approach. \n\nHowever, as per the schema provided, we don't have direct metric data for the continents, just reference IDs. To clarify, if you want to group countries by their continents and count how many they total, you might consider:\n\n```sql\nSELECT cn.CountryName\nFROM countries cn\nJOIN continents ct ON cn.Continent = ct.ContId\nGROUP BY cn.CountryName\nHAVING COUNT(ct.Continent) >= 2.6;\n```\n\nNote: Since it's unusual to have a count of something be a float (i.e., 2.6), this SQL code might need to be adjusted based on the exact definition of \"summation\" for the continent in your context.\n\nIf what you meant is that you have to find all countries belonging to continents that, when counting countries, yields a sum greater than or equal to 3 (since country counts are whole numbers), you could use:\n\n```sql\nSELECT cn.CountryName\nFROM countries cn\nJOIN continents ct ON cn.Continent = ct.ContId\nGROUP BY ct.Continent\nHAVING COUNT(cn.CountryId) >= 3; -- if you're looking for at least 3 countries instead of 2.6\n```\nFeel free to adjust the numeric condition in the HAVING clause based on your specific requirements. The provided clauses should serve as a base from which to further tailor your needs.","cost":0.0002733,"response_parsed":"SELECT cn.CountryName\nFROM countries cn\nJOIN continents ct ON cn.Continent = ct.ContId\nGROUP BY ct.Continent\nHAVING COUNT(cn.CountryId) >= 3; -- if you're looking for at least 3 countries instead of 2.6","time":9.8394532204}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `CountryName` FROM `countries` GROUP BY `CountryName` HAVING SUM(`Continent`) <= 2.6","question":"List the CountryName which summation of Continent is at most 2.6 in table countries","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To address the question regarding countries with a summation of continents at most 2.6 in the \"countries\" table, we can write the following SQL query. However, it seems that summation of continents may not make clear sense, as continents are typically categorical rather than numeric. Assuming you might want to count the number of unique continents associated with the countries, here's a suitable query that counts distinct continents and filters the countries accordingly.\n\nHere is the SQL code to achieve that:\n\n```sql\nSELECT c.CountryName\nFROM countries c\nJOIN continents co ON c.Continent = co.ContId\nGROUP BY c.CountryName\nHAVING COUNT(DISTINCT co.Continent) <= 2.6;\n```\n\nThis query joins the \"countries\" and \"continents\" tables, groups the results by country, and then filters those groups using the `HAVING` clause to ensure that the count of distinct continents is at most 2.6. Adjust the logic according to the actual requirements, as summation in this context is typically misinterpreted.","cost":0.0001737,"response_parsed":"SELECT c.CountryName\nFROM countries c\nJOIN continents co ON c.Continent = co.ContId\nGROUP BY c.CountryName\nHAVING COUNT(DISTINCT co.Continent) <= 2.6;","time":3.9109694958}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"continents","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Continent` FROM `continents` GROUP BY `Continent` HAVING count(*) >= 1","question":"Find all the Continent that have at least 1 records in table continents","db_schema_normalized":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find all continents that have at least one record in the `continents` table, you can use the following SQL query:\n\n```sql\nSELECT Continent\nFROM continents\nWHERE ContId IS NOT NULL;\n```\n\nThis query fetches all the continents from the `continents` table where the `ContId` is not null, which ensures that only continents with records are returned.","cost":0.00009075,"response_parsed":"SELECT Continent\nFROM continents\nWHERE ContId IS NOT NULL;","time":1.6135818958}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"continents","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Continent` FROM `continents` GROUP BY `Continent` HAVING count(*) <= 1","question":"Find all the Continent that have at most 1 records in table continents","db_schema_normalized":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find all the continents that have at most 1 record in the `continents` table, you can use the following SQL code:\n\n```sql\nSELECT Continent \nFROM continents\nGROUP BY Continent\nHAVING COUNT(*) <= 1;\n``` \n\nThis query selects the `Continent` column from the `continents` table, groups the results by each continent, and then applies the `HAVING` clause to filter out continents that have more than one record, returning only those with one or no records.","cost":0.00010695,"response_parsed":"SELECT Continent \nFROM continents\nGROUP BY Continent\nHAVING COUNT(*) <= 1;","time":2.4964694977}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_names","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Model` FROM `car_names` GROUP BY `Model` HAVING count(*) >= 12","question":"Find all the Model that have at least 12 records in table car_names","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find all the models that have at least 12 records in the `car_names` table, you can use a SQL query that groups by the `Model` in the `car_names` table and counts the occurrences. Here's the SQL code to achieve this:\n\n```sql\nSELECT Model\nFROM car_names\nGROUP BY Model\nHAVING COUNT(*) >= 12;\n``` \n\nThis query selects the `Model` from the `car_names` table, groups the results by `Model`, and filters the groups to include only those that have a count of records greater than or equal to 12.","cost":0.00011595,"response_parsed":"SELECT Model\nFROM car_names\nGROUP BY Model\nHAVING COUNT(*) >= 12;","time":1.829564333}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_names","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Model` FROM `car_names` GROUP BY `Model` HAVING count(*) <= 12","question":"Find all the Model that have at most 12 records in table car_names","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find all the models that have at most 12 records in the `car_names` table, you can use the following SQL query. This query will count the number of records in the `car_names` table for each model and filter those models which have a count of 12 or less.\n\n```sql\nSELECT ml.Model\nFROM model_list ml\nJOIN car_names cn ON ml.Model = cn.Model\nGROUP BY ml.Model\nHAVING COUNT(cn.MakeId) <= 12;\n``` \n\nIn this query:\n- We are joining `model_list` (aliased as `ml`) with `car_names` (aliased as `cn`) on the model name.\n- We group the results by the model name to use the `COUNT` function.\n- The `HAVING` clause filters the results to only those with 12 or fewer `MakeId` records in `car_names`.","cost":0.00015315,"response_parsed":"SELECT ml.Model\nFROM model_list ml\nJOIN car_names cn ON ml.Model = cn.Model\nGROUP BY ml.Model\nHAVING COUNT(cn.MakeId) <= 12;","time":3.8577518463}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_names","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Make` FROM `car_names` GROUP BY `Make` HAVING count(*) >= 1","question":"Find all the Make that have at least 1 records in table car_names","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find all the `Make` entries that have at least one record in the `car_names` table, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT Make\nFROM car_names\nWHERE MakeId IS NOT NULL;\n```\n\nThis query selects distinct values from the `Make` column in the `car_names` table, ensuring that only makes with at least one record are returned. Since the `MakeId` serves as a primary key, the presence of any record for a `Make` indicates that it exists in the table.","cost":0.00010995,"response_parsed":"SELECT DISTINCT Make\nFROM car_names\nWHERE MakeId IS NOT NULL;","time":1.50847435}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_names","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Make` FROM `car_names` GROUP BY `Make` HAVING count(*) <= 1","question":"Find all the Make that have at most 1 records in table car_names","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find all the car makes that have at most one record in the `car_names` table, you can use a SQL query that groups the results by the `Make` and counts the occurrences. Then, you filter those groups to only include those with one or zero occurrences.\n\nHere is the SQL code to execute that:\n\n```sql\nSELECT Make \nFROM car_names \nGROUP BY Make \nHAVING COUNT(*) <= 1;\n```","cost":0.00009615,"response_parsed":"SELECT Make \nFROM car_names \nGROUP BY Make \nHAVING COUNT(*) <= 1;","time":2.0471410751}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Model` FROM `model_list` GROUP BY `Model` HAVING count(*) >= 1","question":"Find all the Model that have at least 1 records in table model_list","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find all the Models that have at least one record in the `model_list` table, you would typically perform a query that selects distinct Models from the `model_list` table. Here's the SQL code to achieve that:\n\n```sql\nSELECT DISTINCT Model \nFROM model_list\nWHERE ModelId IS NOT NULL;\n```\n\nThis query selects all unique Model entries from the `model_list` where there is at least one record present. The condition `ModelId IS NOT NULL` helps to ensure that you only fetch models that exist in the table.","cost":0.00010935,"response_parsed":"SELECT DISTINCT Model \nFROM model_list\nWHERE ModelId IS NOT NULL;","time":1.7206542492}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Model` FROM `model_list` GROUP BY `Model` HAVING count(*) <= 1","question":"Find all the Model that have at most 1 records in table model_list","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find all the models that have at most 1 record in the `model_list` table, you can use a SQL query that groups the records by `Model` and counts the occurrences. The query will then filter for models with a count of 1 or less.\n\nHere's the SQL code to achieve that:\n\n```sql\nSELECT Model\nFROM model_list\nGROUP BY Model\nHAVING COUNT(ModelId) <= 1;\n``` \n\nThis query selects the `Model` from the `model_list` table, groups the results by the `Model`, and includes only those groups that have a count of `ModelId` less than or equal to 1.","cost":0.00012375,"response_parsed":"SELECT Model\nFROM model_list\nGROUP BY Model\nHAVING COUNT(ModelId) <= 1;","time":2.1475231647}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `Model` FROM `model_list` GROUP BY `Model` HAVING AVG(`Maker`) >= 10.06","question":"List the Model which average of Maker is at least 10.06 in table model_list","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the models whose average Maker is at least 10.06 from the `model_list` table, you can use the following SQL code:\n\n```sql\nSELECT ml.Model \nFROM model_list ml\nJOIN car_makers cm ON ml.Maker = cm.Id\nGROUP BY ml.Model\nHAVING AVG(cm.Maker) >= 10.06;\n```\n\nIn this code:\n- We're selecting the `Model` from the `model_list` (aliased as `ml`).\n- We join the `car_makers` (aliased as `cm`) on the `Maker` foreign key.\n- We group the results by `Model` to calculate the average `Maker`.\n- The `HAVING` clause filters the results to include only those models with an average Maker of at least 10.06.","cost":0.000144,"response_parsed":"SELECT ml.Model \nFROM model_list ml\nJOIN car_makers cm ON ml.Maker = cm.Id\nGROUP BY ml.Model\nHAVING AVG(cm.Maker) >= 10.06;","time":2.6889715195}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `Model` FROM `model_list` GROUP BY `Model` HAVING AVG(`Maker`) <= 10.06","question":"List the Model which average of Maker is at most 10.06 in table model_list","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find the models from the `model_list` table that have an average `Maker` value of at most 10.06, we first need to clarify that the `Maker` field in the `model_list` table is actually a foreign key pointing to the `car_makers` table, which contains the `Maker` information. Since we are looking for \"average of Maker,\" I will assume you meant the average of some numeric attribute related to `car_makers`, but since no specific numeric field for `Maker` is mentioned in the schema, I will proceed with an assumption that each maker may have some associated attribute that can be averaged (for instance, if there existed a `Rating` for car makers).\n\nHowever, based on the provided schema, the requirement to determine an average doesn't directly relate to any available fields. Below is a SQL query that retrieves unique `Model`s from the `model_list` table. If we had an actual average to compute, you'd have to adapt the query based on the correct column used to calculate the average.\n\nHere's a possible SQL code snippet based on the table's characteristics without a specific average definition:\n\n```sql\nSELECT m.Model\nFROM model_list m\nJOIN car_makers c ON m.Maker = c.Id\n-- Assuming a fictitious and necessary 'Rating' or another numeric attribute of the car_makers table for average\nWHERE (SELECT AVG(c.SomeNumericField) FROM car_makers c) <= 10.06\nGROUP BY m.Model;\n```\n\nIf you could provide further clarification on what \"average of Maker\" refers to, I could refine this SQL query more accurately.","cost":0.0002424,"response_parsed":"SELECT m.Model\nFROM model_list m\nJOIN car_makers c ON m.Maker = c.Id\n-- Assuming a fictitious and necessary 'Rating' or another numeric attribute of the car_makers table for average\nWHERE (SELECT AVG(c.SomeNumericField) FROM car_makers c) <= 10.06\nGROUP BY m.Model;","time":4.596036911}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `Model` FROM `model_list` GROUP BY `Model` HAVING SUM(`Maker`) >= 10.06","question":"List the Model which summation of Maker is at least 10.06 in table model_list","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To list the models from the `model_list` table where the summation of the `Maker` is at least 10.06, you can use an SQL query that groups the records by `Model` and applies an aggregate function. However, it appears there was a misunderstanding in the question as the `Maker` column references car makers, and summing up the `Maker` field (which is likely an integer referencing the `car_makers` table) doesn't make logical sense in this context.\n\nInstead, I will assume you want to perform a summation of a specific attribute related to the car model that connects back to the `car_makers`. If we consider a related attribute from `car_makers` or perhaps the aggregated results it's tied to (like counting models), the SQL query might look like this:\n\nHere is a typical SQL statement that performs a summation of some relevant aggregates, adjusted to the structure you provided. Since there's no specific attribute to sum from the `car_makers` table, this is a basic representation.\n\n```sql\nSELECT ml.Model\nFROM model_list ml\nJOIN car_makers cm ON ml.Maker = cm.Id\nGROUP BY ml.Model\nHAVING SUM(cm.Id) >= 10.06;\n```\n\nIn this example, if you clarify what exact information if any can be summed, the final query can be adjusted accordingly. If there\u2019s a specific field in `car_makers` you intended to sum, just replace `SUM(cm.Id)` with that specific field you have in mind.","cost":0.00023055,"response_parsed":"SELECT ml.Model\nFROM model_list ml\nJOIN car_makers cm ON ml.Maker = cm.Id\nGROUP BY ml.Model\nHAVING SUM(cm.Id) >= 10.06;","time":9.4296674728}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `Model` FROM `model_list` GROUP BY `Model` HAVING SUM(`Maker`) <= 10.06","question":"List the Model which summation of Maker is at most 10.06 in table model_list","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the list of models from the `model_list` table where the summation of the `Maker` associated with those models is at most 10.06, we can use the following SQL code:\n\n```sql\nSELECT Model \nFROM model_list\nWHERE Maker <= 10.06;\n```\n\nThis query selects the `Model` from the `model_list` table where the `Maker` ID is less than or equal to 10.06. \n\nHowever, since `Maker` is likely a foreign key referencing `car_makers`, it seems there might be a misunderstanding in the provided question about \"summation of Maker.\" If you meant to check for models where the sum of a specific attribute associated with the car makers is at most 10.06, we need to modify the query accordingly. \n\nAssuming you want to find models where their associated `Maker`'s characteristics sum to be at most 10.06, we need more context on which characteristic is being summed (e.g., the number of models per maker, etc.).\n\nPlease clarify if you want to sum a specific attribute or if you meant to filter by a different criteria.","cost":0.00018495,"response_parsed":"SELECT Model \nFROM model_list\nWHERE Maker <= 10.06;","time":6.6187262535}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `MPG` FROM `cars_data` GROUP BY `MPG` HAVING count(*) >= 3","question":"Find all the MPG that have at least 3 records in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find all the `MPG` values that have at least 3 records in the table `cars_data`, you can use the following SQL code:\n\n```sql\nSELECT MPG\nFROM cars_data\nGROUP BY MPG\nHAVING COUNT(*) >= 3;\n``` \n\nThis query groups the records by `MPG`, counts how many records exist for each `MPG`, and returns those `MPG` values that have a count of 3 or more.","cost":0.00009975,"response_parsed":"SELECT MPG\nFROM cars_data\nGROUP BY MPG\nHAVING COUNT(*) >= 3;","time":4.3392949104}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `MPG` FROM `cars_data` GROUP BY `MPG` HAVING count(*) <= 3","question":"Find all the MPG that have at most 3 records in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find all the MPG values that have at most 3 records in the `cars_data` table, you can use the following SQL code:\n\n```sql\nSELECT MPG\nFROM cars_data\nGROUP BY MPG\nHAVING COUNT(*) <= 3;\n``` \n\nThis query groups the records in the `cars_data` table by the `MPG` column and filters the groups to include only those that have a count of records less than or equal to 3.","cost":0.00009975,"response_parsed":"SELECT MPG\nFROM cars_data\nGROUP BY MPG\nHAVING COUNT(*) <= 3;","time":1.8550920486}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Horsepower` FROM `cars_data` GROUP BY `Horsepower` HAVING count(*) >= 4","question":"Find all the Horsepower that have at least 4 records in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find all the horsepower values that have at least 4 records in the `cars_data` table, you can use the following SQL code:\n\n```sql\nSELECT Horsepower\nFROM cars_data\nGROUP BY Horsepower\nHAVING COUNT(*) >= 4;\n``` \n\nThis SQL query groups the records by `Horsepower` and filters the groups to include only those with a count of 4 or more records.","cost":0.0000939,"response_parsed":"SELECT Horsepower\nFROM cars_data\nGROUP BY Horsepower\nHAVING COUNT(*) >= 4;","time":2.5936436653}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Horsepower` FROM `cars_data` GROUP BY `Horsepower` HAVING count(*) <= 4","question":"Find all the Horsepower that have at most 4 records in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch all the Horsepower values that have at most 4 records in the `cars_data` table, you can use the following SQL code:\n\n```sql\nSELECT Horsepower\nFROM cars_data\nGROUP BY Horsepower\nHAVING COUNT(*) <= 4;\n``` \n\nThis SQL query groups the records by the `Horsepower` field and counts the number of occurrences of each horsepower value. The `HAVING` clause filters the groups to return only those with 4 or fewer records.","cost":0.0001035,"response_parsed":"SELECT Horsepower\nFROM cars_data\nGROUP BY Horsepower\nHAVING COUNT(*) <= 4;","time":3.4926812649}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `MPG` FROM `cars_data` GROUP BY `MPG` HAVING AVG(`Accelerate`) >= 16.12","question":"List the MPG which average of Accelerate is at least 16.12 in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the MPG values from the `cars_data` table where the average of `Accelerate` is at least 16.12, you can use the following SQL query:\n\n```sql\nSELECT MPG \nFROM cars_data \nGROUP BY MPG \nHAVING AVG(Accelerate) >= 16.12;\n```","cost":0.00008235,"response_parsed":"SELECT MPG \nFROM cars_data \nGROUP BY MPG \nHAVING AVG(Accelerate) >= 16.12;","time":2.2140631676}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `MPG` FROM `cars_data` GROUP BY `MPG` HAVING AVG(`Accelerate`) <= 16.12","question":"List the MPG which average of Accelerate is at most 16.12 in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT MPG\nFROM cars_data\nWHERE Accelerate <= 16.12\nGROUP BY MPG;\n```","cost":0.00005835,"response_parsed":"SELECT MPG\nFROM cars_data\nWHERE Accelerate <= 16.12\nGROUP BY MPG;","time":0.8364605904}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `MPG` FROM `cars_data` GROUP BY `MPG` HAVING SUM(`Accelerate`) >= 48.47","question":"List the MPG which summation of Accelerate is at least 48.47 in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To answer the question, we need to write an SQL query that fetches the \"MPG\" values from the \"cars_data\" table where the summation of the \"Accelerate\" values is at least 48.47. Here is how the SQL code looks:\n\n```sql\nSELECT MPG\nFROM cars_data\nGROUP BY MPG\nHAVING SUM(Accelerate) >= 48.47;\n```","cost":0.0000939,"response_parsed":"SELECT MPG\nFROM cars_data\nGROUP BY MPG\nHAVING SUM(Accelerate) >= 48.47;","time":1.7488207817}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `MPG` FROM `cars_data` GROUP BY `MPG` HAVING SUM(`Accelerate`) <= 48.47","question":"List the MPG which summation of Accelerate is at most 48.47 in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To retrieve the list of MPG where the summation of the `Accelerate` values is at most 48.47 from the `cars_data` table, you can use the following SQL query:\n\n```sql\nSELECT MPG\nFROM cars_data\nGROUP BY MPG\nHAVING SUM(Accelerate) <= 48.47;\n```","cost":0.0000849,"response_parsed":"SELECT MPG\nFROM cars_data\nGROUP BY MPG\nHAVING SUM(Accelerate) <= 48.47;","time":1.5277740955}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `MPG` FROM `cars_data` GROUP BY `MPG` HAVING AVG(`Edispl`) >= 160.57","question":"List the MPG which average of Edispl is at least 160.57 in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To retrieve the list of `MPG` values from the `cars_data` table where the average of `Edispl` is at least 160.57, you can use the following SQL query:\n\n```sql\nSELECT MPG\nFROM cars_data\nGROUP BY MPG\nHAVING AVG(Edispl) >= 160.57;\n```","cost":0.0000861,"response_parsed":"SELECT MPG\nFROM cars_data\nGROUP BY MPG\nHAVING AVG(Edispl) >= 160.57;","time":1.0847399235}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `MPG` FROM `cars_data` GROUP BY `MPG` HAVING AVG(`Edispl`) <= 160.57","question":"List the MPG which average of Edispl is at most 160.57 in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To list the MPG where the average of Edispl is at most 160.57 from the `cars_data` table, you can use the following SQL query:\n\n```sql\nSELECT MPG \nFROM cars_data \nGROUP BY MPG \nHAVING AVG(Edispl) <= 160.57;\n``` \n\nThis query groups the results by the `MPG` column and then filters those groups using the `HAVING` clause to ensure that only those with an average `Edispl` of 160.57 or less are included in the output.","cost":0.0001119,"response_parsed":"SELECT MPG \nFROM cars_data \nGROUP BY MPG \nHAVING AVG(Edispl) <= 160.57;","time":2.1291770935}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `MPG` FROM `cars_data` GROUP BY `MPG` HAVING SUM(`Edispl`) >= 608.31","question":"List the MPG which summation of Edispl is at least 608.31 in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To execute the question in SQL, you need to write a query to fetch the 'MPG' values from the 'cars_data' table where the summation of 'Edispl' is at least 608.31. Here is the SQL code:\n\n```sql\nSELECT MPG\nFROM cars_data\nGROUP BY MPG\nHAVING SUM(Edispl) >= 608.31;\n``` \n\nThis query groups the records by 'MPG' values and checks if the sum of 'Edispl' for each group meets or exceeds 608.31, returning those 'MPG' values.","cost":0.00011745,"response_parsed":"SELECT MPG\nFROM cars_data\nGROUP BY MPG\nHAVING SUM(Edispl) >= 608.31;","time":2.169457674}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `MPG` FROM `cars_data` GROUP BY `MPG` HAVING SUM(`Edispl`) <= 608.31","question":"List the MPG which summation of Edispl is at most 608.31 in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To retrieve the MPG values from the `cars_data` table where the summation of `Edispl` is at most 608.31, you can use the following SQL code:\n\n```sql\nSELECT MPG\nFROM cars_data\nGROUP BY MPG\nHAVING SUM(Edispl) <= 608.31;\n``` \n\nThis query groups the results by `MPG` and selects those groups where the total `Edispl` is at or below the specified limit.","cost":0.00010245,"response_parsed":"SELECT MPG\nFROM cars_data\nGROUP BY MPG\nHAVING SUM(Edispl) <= 608.31;","time":1.4732468128}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `Horsepower` FROM `cars_data` GROUP BY `Horsepower` HAVING AVG(`Accelerate`) >= 15.21","question":"List the Horsepower which average of Accelerate is at least 15.21 in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"Certainly! To list the Horsepower where the average of Accelerate is at least 15.21 from the `cars_data` table, you can use the following SQL query:\n\n```sql\nSELECT Horsepower\nFROM cars_data\nGROUP BY Horsepower\nHAVING AVG(Accelerate) >= 15.21;\n``` \n\nThis SQL code selects the `Horsepower` and groups the results by `Horsepower`, then filters those groups to include only those with an average `Accelerate` value of at least 15.21.","cost":0.0001095,"response_parsed":"SELECT Horsepower\nFROM cars_data\nGROUP BY Horsepower\nHAVING AVG(Accelerate) >= 15.21;","time":2.7933113575}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `Horsepower` FROM `cars_data` GROUP BY `Horsepower` HAVING AVG(`Accelerate`) <= 15.21","question":"List the Horsepower which average of Accelerate is at most 15.21 in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the Horsepower for cars where the average of Accelerate is at most 15.21 from the `cars_data` table, you can use the following SQL code:\n\n```sql\nSELECT Horsepower\nFROM cars_data\nWHERE Accelerate <= 15.21;\n``` \n\nThis SQL query selects the `Horsepower` column from the `cars_data` table for rows where the `Accelerate` value is at most 15.21. If you meant to find the average `Accelerate` for groups of `Horsepower` values instead, then the query would be structured differently. Let me know if that is the case!","cost":0.0001221,"response_parsed":"SELECT Horsepower\nFROM cars_data\nWHERE Accelerate <= 15.21;","time":2.2737510204}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `Horsepower` FROM `cars_data` GROUP BY `Horsepower` HAVING SUM(`Accelerate`) >= 67.03","question":"List the Horsepower which summation of Accelerate is at least 67.03 in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"Here is the SQL code to fetch the Horsepower where the summation of Accelerate is at least 67.03 in the `cars_data` table:\n\n```sql\nSELECT Horsepower\nFROM cars_data\nGROUP BY Horsepower\nHAVING SUM(Accelerate) >= 67.03;\n```","cost":0.00008145,"response_parsed":"SELECT Horsepower\nFROM cars_data\nGROUP BY Horsepower\nHAVING SUM(Accelerate) >= 67.03;","time":1.1400923729}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `Horsepower` FROM `cars_data` GROUP BY `Horsepower` HAVING SUM(`Accelerate`) <= 67.03","question":"List the Horsepower which summation of Accelerate is at most 67.03 in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To translate the specified question into SQL code, you want to compute the total of the `Accelerate` column from the `cars_data` table and filter for those records where the sum is at most 67.03. You are also interested in retrieving the `Horsepower` values associated with those records. Here's the SQL code that accomplishes this:\n\n```sql\nSELECT Horsepower\nFROM cars_data\nWHERE (SELECT SUM(Accelerate) FROM cars_data) <= 67.03;\n```\n\nThis code selects the `Horsepower` from the `cars_data` table, ensuring that the total of the `Accelerate` values does not exceed 67.03. However, be aware that the usage of a subquery in this context will provide the same result for every row, as it calculates the sum over the entire table rather than filtering individual rows based on their specific `Accelerate` values.","cost":0.00015465,"response_parsed":"SELECT Horsepower\nFROM cars_data\nWHERE (SELECT SUM(Accelerate) FROM cars_data) <= 67.03;","time":2.6434190273}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `Horsepower` FROM `cars_data` GROUP BY `Horsepower` HAVING AVG(`Edispl`) >= 208.17","question":"List the Horsepower which average of Edispl is at least 208.17 in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To write an SQL query that retrieves the Horsepower from the `cars_data` table where the average of `Edispl` is at least 208.17, you can use the following SQL code:\n\n```sql\nSELECT Horsepower\nFROM cars_data\nWHERE Edispl >= 208.17;\n```\n\nThis query selects the Horsepower values from the `cars_data` table, filtering for records where the `Edispl` is at least 208.17. If you specifically want to calculate the average `Edispl` across groups (for example, by `Horsepower`), a `GROUP BY` clause would be required, but it seems like the question is asking for direct values that meet the criteria. If you actually want to average and then filter, please clarify.","cost":0.00014145,"response_parsed":"SELECT Horsepower\nFROM cars_data\nWHERE Edispl >= 208.17;","time":2.2593767643}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `Horsepower` FROM `cars_data` GROUP BY `Horsepower` HAVING AVG(`Edispl`) <= 208.17","question":"List the Horsepower which average of Edispl is at most 208.17 in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the Horsepower where the average of Edispl is at most 208.17 from the `cars_data` table, you can use the following SQL query:\n\n```sql\nSELECT Horsepower\nFROM cars_data\nWHERE Edispl <= 208.17;\n``` \n\nThis SQL statement selects the `Horsepower` from the `cars_data` table for all records where the value of `Edispl` is at most 208.17. If you need to calculate an average and then filter based on that, you would typically do something like this:\n\n```sql\nSELECT AVG(Edispl) AS AverageEdispl\nFROM cars_data\nHAVING AverageEdispl <= 208.17;\n```\n\nHowever, this query does not directly select `Horsepower`. If you need to get the `Horsepower` for specific rows based on the Edispl average condition, you might consider using subqueries or joins depending on your exact needs. If you want to filter by models that are below the average instead, that would require a subquery. Please clarify if that's the case.","cost":0.00017925,"response_parsed":"SELECT AVG(Edispl) AS AverageEdispl\nFROM cars_data\nHAVING AverageEdispl <= 208.17;","time":2.9574513435}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `Horsepower` FROM `cars_data` GROUP BY `Horsepower` HAVING SUM(`Edispl`) >= 841.28","question":"List the Horsepower which summation of Edispl is at least 841.28 in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To get the Horsepower where the summation of Edispl is at least 841.28 from the `cars_data` table, you can execute the following SQL query:\n\n```sql\nSELECT Horsepower\nFROM cars_data\nGROUP BY Horsepower\nHAVING SUM(Edispl) >= 841.28;\n```","cost":0.000084,"response_parsed":"SELECT Horsepower\nFROM cars_data\nGROUP BY Horsepower\nHAVING SUM(Edispl) >= 841.28;","time":1.719389677}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `Horsepower` FROM `cars_data` GROUP BY `Horsepower` HAVING SUM(`Edispl`) <= 841.28","question":"List the Horsepower which summation of Edispl is at most 841.28 in table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"Certainly! Below is the SQL code that answers the question by fetching the Horsepower values from the `cars_data` table where the sum of `Edispl` is at most 841.28.\n\n```sql\nSELECT Horsepower\nFROM cars_data\nWHERE (SELECT SUM(Edispl) FROM cars_data) <= 841.28;\n``` \n\nThis code selects the `Horsepower` for all entries where the total (`SUM`) of `Edispl` across the `cars_data` table is at most 841.28. If you need to ensure that the selection of `Horsepower` is constrained to individual records conforming to this condition, feel free to clarify further!","cost":0.0001284,"response_parsed":"SELECT Horsepower\nFROM cars_data\nWHERE (SELECT SUM(Edispl) FROM cars_data) <= 841.28;","time":1.9500002861}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-ALL","query":"SELECT * FROM `car_makers` AS T1 JOIN `countries` AS T2 ON T1.`Country` = T2.`CountryId`","question":"Join all the records from table car_makers with table countries on Country","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To join all the records from the `car_makers` table with the `countries` table on the `Country` column, the SQL code would look like this:\n\n```sql\nSELECT *\nFROM car_makers\nJOIN countries ON car_makers.Country = countries.CountryId;\n```","cost":0.0000774,"response_parsed":"SELECT *\nFROM car_makers\nJOIN countries ON car_makers.Country = countries.CountryId;","time":2.446804285}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`Maker`, T2.`CountryName` FROM `car_makers` AS T1 JOIN `countries` AS T2 ON T1.`Country`=T2.`CountryId`","question":"List all the Maker and CountryName from the table car_makers and the table countries where Country is the same","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To list all the Maker and CountryName from the `car_makers` and `countries` tables where the Country is the same, you can execute the following SQL query:\n\n```sql\nSELECT cm.Maker, c.CountryName\nFROM car_makers cm\nJOIN countries c ON cm.Country = c.CountryId;\n``` \n\nThis query performs an inner join between the `car_makers` table (aliased as `cm`) and the `countries` table (aliased as `c`) on the condition that `Country` in `car_makers` matches `CountryId` in `countries`. It retrieves the `Maker` from `car_makers` and the `CountryName` from `countries`.","cost":0.0001308,"response_parsed":"SELECT cm.Maker, c.CountryName\nFROM car_makers cm\nJOIN countries c ON cm.Country = c.CountryId;","time":2.5069692135}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`FullName`, T2.`CountryName` FROM `car_makers` AS T1 JOIN `countries` AS T2 ON T1.`Country`=T2.`CountryId`","question":"List all the FullName and CountryName from the table car_makers and the table countries where Country is the same","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To list all the `FullName` and `CountryName` from the `car_makers` and `countries` tables where the country is the same, you will need to join the two tables based on the country criterion. Below is the SQL code to achieve this.\n\n```sql\nSELECT cm.FullName, c.CountryName\nFROM car_makers cm\nJOIN countries c ON cm.Country = c.CountryId;\n``` \n\nThis SQL query joins the `car_makers` table (`cm`) with the `countries` table (`c`) on the column that represents the country, which links `Country` from `car_makers` to `CountryId` in the `countries` table. It selects the `FullName` from the `car_makers` table and the `CountryName` from the `countries` table.","cost":0.00014535,"response_parsed":"SELECT cm.FullName, c.CountryName\nFROM car_makers cm\nJOIN countries c ON cm.Country = c.CountryId;","time":3.4940493107}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-ALL","query":"SELECT * FROM `countries` AS T1 JOIN `continents` AS T2 ON T1.`Continent` = T2.`ContId`","question":"Join all the records from table countries with table continents on Continent","db_schema_normalized":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"Here's the SQL code to join all records from the `countries` table with the `continents` table based on the `Continent` field:\n\n```sql\nSELECT *\nFROM countries\nJOIN continents ON countries.Continent = continents.ContId;\n```","cost":0.00007425,"response_parsed":"SELECT *\nFROM countries\nJOIN continents ON countries.Continent = continents.ContId;","time":4.4050207138}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`CountryName`, T2.`Continent` FROM `countries` AS T1 JOIN `continents` AS T2 ON T1.`Continent`=T2.`ContId`","question":"List all the CountryName and Continent from the table countries and the table continents where Continent is the same","db_schema_normalized":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To list all the CountryName and Continent from the `countries` and `continents` tables where the `Continent` matches, you can use the following SQL code:\n\n```sql\nSELECT c.CountryName, co.Continent\nFROM countries c\nJOIN continents co ON c.Continent = co.ContId;\n```","cost":0.0000852,"response_parsed":"SELECT c.CountryName, co.Continent\nFROM countries c\nJOIN continents co ON c.Continent = co.ContId;","time":2.0194864273}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_names","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-ALL","query":"SELECT * FROM `car_names` AS T1 JOIN `model_list` AS T2 ON T1.`Model` = T2.`Model`","question":"Join all the records from table car_names with table model_list on Model","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To join all the records from the `car_names` table with the `model_list` table on the `Model` column, you can use the following SQL code:\n\n```sql\nSELECT *\nFROM car_names\nJOIN model_list ON car_names.Model = model_list.Model;\n```","cost":0.0000768,"response_parsed":"SELECT *\nFROM car_names\nJOIN model_list ON car_names.Model = model_list.Model;","time":1.1628568172}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-ALL","query":"SELECT * FROM `model_list` AS T1 JOIN `car_makers` AS T2 ON T1.`Maker` = T2.`Id`","question":"Join all the records from table model_list with table car_makers on Maker","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT *\nFROM model_list\nJOIN car_makers ON model_list.Maker = car_makers.Id;\n```","cost":0.00005835,"response_parsed":"SELECT *\nFROM model_list\nJOIN car_makers ON model_list.Maker = car_makers.Id;","time":0.6975138187}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`Model`, T2.`Maker` FROM `model_list` AS T1 JOIN `car_makers` AS T2 ON T1.`Maker`=T2.`Id`","question":"List all the Model and Maker from the table model_list and the table car_makers where Maker is the same","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To list all the `Model` and `Maker` from the `model_list` and `car_makers` tables where the `Maker` is the same, you can use a SQL `JOIN` statement to combine the two tables based on the foreign key relationship. Here is the SQL code to achieve that:\n\n```sql\nSELECT ml.Model, cm.Maker\nFROM model_list ml\nJOIN car_makers cm ON ml.Maker = cm.Id;\n```","cost":0.0001002,"response_parsed":"SELECT ml.Model, cm.Maker\nFROM model_list ml\nJOIN car_makers cm ON ml.Maker = cm.Id;","time":1.5788743496}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`Model`, T2.`FullName` FROM `model_list` AS T1 JOIN `car_makers` AS T2 ON T1.`Maker`=T2.`Id`","question":"List all the Model and FullName from the table model_list and the table car_makers where Maker is the same","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To retrieve the `Model` and `FullName` from the `model_list` and `car_makers` tables where the `Maker` matches, you can use the following SQL code:\n\n```sql\nSELECT ml.Model, cm.FullName\nFROM model_list ml\nJOIN car_makers cm ON ml.Maker = cm.Id;\n``` \n\nThis query performs an inner join between the `model_list` (aliased as `ml`) and `car_makers` (aliased as `cm`) tables based on the `Maker` field in `model_list` and the `Id` field in `car_makers`. It selects the `Model` and `FullName` as required.","cost":0.00012915,"response_parsed":"SELECT ml.Model, cm.FullName\nFROM model_list ml\nJOIN car_makers cm ON ml.Maker = cm.Id;","time":2.0341079235}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`Model`, T2.`Country` FROM `model_list` AS T1 JOIN `car_makers` AS T2 ON T1.`Maker`=T2.`Id`","question":"List all the Model and Country from the table model_list and the table car_makers where Maker is the same","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the desired information, you can use a SQL `JOIN` operation to combine the `model_list` and `car_makers` tables based on the common `Maker` identifier. Here\u2019s the SQL code that accomplishes this:\n\n```sql\nSELECT ml.Model, cm.Country\nFROM model_list ml\nJOIN car_makers cm ON ml.Maker = cm.Id;\n``` \n\nThis query retrieves all models and their associated countries by joining the `model_list` table (`ml`) with the `car_makers` table (`cm`) on the `Maker` ID.","cost":0.000114,"response_parsed":"SELECT ml.Model, cm.Country\nFROM model_list ml\nJOIN car_makers cm ON ml.Maker = cm.Id;","time":2.2104001045}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-ALL","query":"SELECT * FROM `cars_data` AS T1 JOIN `car_names` AS T2 ON T1.`Id` = T2.`MakeId`","question":"Join all the records from table cars_data with table car_names on Id","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To join all the records from the `cars_data` table with the `car_names` table on the `Id` field, you can use the following SQL code:\n\n```sql\nSELECT *\nFROM cars_data\nJOIN car_names ON cars_data.Id = car_names.MakeId;\n```","cost":0.0000774,"response_parsed":"SELECT *\nFROM cars_data\nJOIN car_names ON cars_data.Id = car_names.MakeId;","time":1.1218371391}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`MPG`, T2.`Model` FROM `cars_data` AS T1 JOIN `car_names` AS T2 ON T1.`Id`=T2.`MakeId`","question":"List all the MPG and Model from the table cars_data and the table car_names where Id is the same","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To execute the query requested, you can use the following SQL code, which will join the `cars_data` table with the `car_names` table on the `Id` column from `cars_data` and the `MakeId` column from `car_names` to fetch the MPG and Model:\n\n```sql\nSELECT cars_data.MPG, car_names.Model\nFROM cars_data\nJOIN car_names ON cars_data.Id = car_names.MakeId;\n```","cost":0.00009885,"response_parsed":"SELECT cars_data.MPG, car_names.Model\nFROM cars_data\nJOIN car_names ON cars_data.Id = car_names.MakeId;","time":1.7968349457}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`MPG`, T2.`Make` FROM `cars_data` AS T1 JOIN `car_names` AS T2 ON T1.`Id`=T2.`MakeId`","question":"List all the MPG and Make from the table cars_data and the table car_names where Id is the same","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"Here is the SQL code that fetches the MPG and Make from the `cars_data` and `car_names` tables where the Id is the same:\n\n```sql\nSELECT cd.MPG, cn.Make\nFROM cars_data cd\nJOIN car_names cn ON cd.Id = cn.MakeId;\n```","cost":0.00008025,"response_parsed":"SELECT cd.MPG, cn.Make\nFROM cars_data cd\nJOIN car_names cn ON cd.Id = cn.MakeId;","time":1.22239995}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`Horsepower`, T2.`Model` FROM `cars_data` AS T1 JOIN `car_names` AS T2 ON T1.`Id`=T2.`MakeId`","question":"List all the Horsepower and Model from the table cars_data and the table car_names where Id is the same","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To list all the Horsepower and Model from the `cars_data` and `car_names` tables where the Id is the same, you can use the following SQL code:\n\n```sql\nSELECT cd.Horsepower, cn.Model\nFROM cars_data cd\nJOIN car_names cn ON cd.Id = cn.MakeId;\n```","cost":0.0000834,"response_parsed":"SELECT cd.Horsepower, cn.Model\nFROM cars_data cd\nJOIN car_names cn ON cd.Id = cn.MakeId;","time":1.4989340305}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`Horsepower`, T2.`Make` FROM `cars_data` AS T1 JOIN `car_names` AS T2 ON T1.`Id`=T2.`MakeId`","question":"List all the Horsepower and Make from the table cars_data and the table car_names where Id is the same","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To retrieve the Horsepower and Make from the `cars_data` and `car_names` tables where the Id (or MakeId) matches, you can use the following SQL query:\n\n```sql\nSELECT cars_data.Horsepower, car_names.Make\nFROM cars_data\nJOIN car_names ON cars_data.Id = car_names.MakeId;\n``` \n\nThis SQL code performs an inner join between the `cars_data` and `car_names` tables based on the condition that the `Id` in `cars_data` matches the `MakeId` in `car_names`, and it selects the required columns to list.","cost":0.0001182,"response_parsed":"SELECT cars_data.Horsepower, car_names.Make\nFROM cars_data\nJOIN car_names ON cars_data.Id = car_names.MakeId;","time":1.6030433178}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `car_makers` ORDER BY `Maker` ASC","question":"Show all data ordered by Maker in ascending order for the table car_makers","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch all data from the `car_makers` table ordered by the `Maker` column in ascending order, you can use the following SQL code:\n\n```sql\nSELECT * FROM car_makers\nORDER BY Maker ASC;\n```","cost":0.00007155,"response_parsed":"SELECT * FROM car_makers\nORDER BY Maker ASC;","time":1.2830233574}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `car_makers` ORDER BY `Maker` DESC","question":"Show all data ordered by Maker in descending order for the table car_makers","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch all data from the `car_makers` table ordered by the `Maker` column in descending order, you can use the following SQL code:\n\n```sql\nSELECT * FROM car_makers\nORDER BY Maker DESC;\n```","cost":0.00007155,"response_parsed":"SELECT * FROM car_makers\nORDER BY Maker DESC;","time":2.0226671696}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `car_makers` ORDER BY `FullName` ASC","question":"Show all data ordered by FullName in ascending order for the table car_makers","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"Here is the SQL code to fetch all data from the `car_makers` table ordered by `FullName` in ascending order:\n\n```sql\nSELECT * FROM car_makers\nORDER BY FullName ASC;\n```","cost":0.0000699,"response_parsed":"SELECT * FROM car_makers\nORDER BY FullName ASC;","time":0.9135866165}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `car_makers` ORDER BY `FullName` DESC","question":"Show all data ordered by FullName in descending order for the table car_makers","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT * FROM car_makers\nORDER BY FullName DESC;\n```","cost":0.0000537,"response_parsed":"SELECT * FROM car_makers\nORDER BY FullName DESC;","time":0.5189428329}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Maker` FROM `car_makers` ORDER BY `Maker` ASC","question":"Project the Maker ordered in ascending order for the table car_makers","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To project the Maker from the `car_makers` table in ascending order, you can use the following SQL query:\n\n```sql\nSELECT Maker \nFROM car_makers \nORDER BY Maker ASC;\n```","cost":0.00006765,"response_parsed":"SELECT Maker \nFROM car_makers \nORDER BY Maker ASC;","time":0.827149868}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Maker` FROM `car_makers` ORDER BY `Maker` DESC","question":"Project the Maker ordered in descending order for the table car_makers","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To project the \"Maker\" from the `car_makers` table in descending order, you can use the following SQL code:\n\n```sql\nSELECT Maker \nFROM car_makers \nORDER BY Maker DESC;\n```","cost":0.00006885,"response_parsed":"SELECT Maker \nFROM car_makers \nORDER BY Maker DESC;","time":0.8398594856}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Country` FROM `car_makers` ORDER BY `Country` ASC","question":"Project the Country ordered in ascending order for the table car_makers","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To project the \"Country\" ordered in ascending order from the \"car_makers\" table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT Country\nFROM car_makers\nORDER BY Country ASC;\n```","cost":0.00007005,"response_parsed":"SELECT DISTINCT Country\nFROM car_makers\nORDER BY Country ASC;","time":1.0537858009}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Country` FROM `car_makers` ORDER BY `Country` DESC","question":"Project the Country ordered in descending order for the table car_makers","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To project the `Country` from the `car_makers` table and order the results in descending order, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT Country \nFROM car_makers \nORDER BY Country DESC;\n``` \n\nThis SQL query selects distinct country names from the `car_makers` table and orders them in descending order.","cost":0.00008565,"response_parsed":"SELECT DISTINCT Country \nFROM car_makers \nORDER BY Country DESC;","time":1.3149342537}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `countries` ORDER BY `CountryName` ASC","question":"Show all data ordered by CountryName in ascending order for the table countries","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT *\nFROM countries\nORDER BY CountryName ASC;\n```","cost":0.0000522,"response_parsed":"SELECT *\nFROM countries\nORDER BY CountryName ASC;","time":0.5376989841}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `countries` ORDER BY `CountryName` DESC","question":"Show all data ordered by CountryName in descending order for the table countries","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT * FROM countries\nORDER BY CountryName DESC;\n```","cost":0.0000522,"response_parsed":"SELECT * FROM countries\nORDER BY CountryName DESC;","time":1.1806716919}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `countries` ORDER BY `CountryId` ASC","question":"Show all data ordered by CountryId in ascending order for the table countries","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT * FROM countries ORDER BY CountryId ASC;\n```","cost":0.0000516,"response_parsed":"SELECT * FROM countries ORDER BY CountryId ASC;","time":0.5766766071}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `countries` ORDER BY `CountryId` DESC","question":"Show all data ordered by CountryId in descending order for the table countries","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT * FROM countries\nORDER BY CountryId DESC;\n```","cost":0.0000522,"response_parsed":"SELECT * FROM countries\nORDER BY CountryId DESC;","time":0.5861947536}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `CountryName` FROM `countries` ORDER BY `CountryName` ASC","question":"Project the CountryName ordered in ascending order for the table countries","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the CountryName from the countries table and order it in ascending order, you can use the following SQL code:\n\n```sql\nSELECT CountryName\nFROM countries\nORDER BY CountryName ASC;\n```","cost":0.0000675,"response_parsed":"SELECT CountryName\nFROM countries\nORDER BY CountryName ASC;","time":1.2554013729}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `CountryName` FROM `countries` ORDER BY `CountryName` DESC","question":"Project the CountryName ordered in descending order for the table countries","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To retrieve the `CountryName` from the `countries` table ordered in descending order, the following SQL query can be used:\n\n```sql\nSELECT CountryName\nFROM countries\nORDER BY CountryName DESC;\n```","cost":0.0000687,"response_parsed":"SELECT CountryName\nFROM countries\nORDER BY CountryName DESC;","time":0.9099981785}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Continent` FROM `countries` ORDER BY `Continent` ASC","question":"Project the Continent ordered in ascending order for the table countries","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To get the distinct continents ordered in ascending order from the `countries` table, you would need to perform a query that retrieves the continent names and orders them appropriately, utilizing the `continents` table to translate the `Continent` foreign key in the `countries` table. The SQL query is as follows:\n\n```sql\nSELECT DISTINCT c.Continent\nFROM countries AS co\nJOIN continents AS c ON co.Continent = c.ContId\nORDER BY c.Continent ASC;\n```","cost":0.0001041,"response_parsed":"SELECT DISTINCT c.Continent\nFROM countries AS co\nJOIN continents AS c ON co.Continent = c.ContId\nORDER BY c.Continent ASC;","time":1.7601106167}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Continent` FROM `countries` ORDER BY `Continent` DESC","question":"Project the Continent ordered in descending order for the table countries","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To write the SQL code that projects the Continent ordered in descending order from the `countries` table, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT continents.Continent\nFROM countries\nJOIN continents ON countries.Continent = continents.ContId\nORDER BY continents.Continent DESC;\n``` \n\nThis query selects unique continent names from the `continents` table that are related to the entries in the `countries` table and orders them in descending order.","cost":0.0001011,"response_parsed":"SELECT DISTINCT continents.Continent\nFROM countries\nJOIN continents ON countries.Continent = continents.ContId\nORDER BY continents.Continent DESC;","time":2.3324389458}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"continents","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `continents` ORDER BY `ContId` ASC","question":"Show all data ordered by ContId in ascending order for the table continents","db_schema_normalized":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To retrieve all data from the `continents` table ordered by `ContId` in ascending order, you can use the following SQL code:\n\n```sql\nSELECT * FROM continents ORDER BY ContId ASC;\n```","cost":0.000069,"response_parsed":"SELECT * FROM continents ORDER BY ContId ASC;","time":0.9055373669}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"continents","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `continents` ORDER BY `ContId` DESC","question":"Show all data ordered by ContId in descending order for the table continents","db_schema_normalized":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT * FROM continents\nORDER BY ContId DESC;\n```","cost":0.0000522,"response_parsed":"SELECT * FROM continents\nORDER BY ContId DESC;","time":0.4145843983}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"continents","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `continents` ORDER BY `Continent` ASC","question":"Show all data ordered by Continent in ascending order for the table continents","db_schema_normalized":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT * FROM continents\nORDER BY Continent ASC;\n```","cost":0.0000522,"response_parsed":"SELECT * FROM continents\nORDER BY Continent ASC;","time":0.5894193649}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"continents","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `continents` ORDER BY `Continent` DESC","question":"Show all data ordered by Continent in descending order for the table continents","db_schema_normalized":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT * \nFROM continents \nORDER BY Continent DESC;\n```","cost":0.0000528,"response_parsed":"SELECT * \nFROM continents \nORDER BY Continent DESC;","time":0.4850523472}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"continents","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `ContId` FROM `continents` ORDER BY `ContId` ASC","question":"Project the ContId ordered in ascending order for the table continents","db_schema_normalized":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To project the `ContId` ordered in ascending order from the `continents` table, you can use the following SQL code:\n\n```sql\nSELECT ContId\nFROM continents\nORDER BY ContId ASC;\n```","cost":0.0000693,"response_parsed":"SELECT ContId\nFROM continents\nORDER BY ContId ASC;","time":0.7727105618}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"continents","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `ContId` FROM `continents` ORDER BY `ContId` DESC","question":"Project the ContId ordered in descending order for the table continents","db_schema_normalized":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT ContId \nFROM continents \nORDER BY ContId DESC;\n```","cost":0.0000531,"response_parsed":"SELECT ContId \nFROM continents \nORDER BY ContId DESC;","time":0.5507814884}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"continents","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Continent` FROM `continents` ORDER BY `Continent` ASC","question":"Project the Continent ordered in ascending order for the table continents","db_schema_normalized":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"Here is the SQL code to project the continent in ascending order from the `continents` table:\n\n```sql\nSELECT Continent \nFROM continents \nORDER BY Continent ASC;\n```","cost":0.0000651,"response_parsed":"SELECT Continent \nFROM continents \nORDER BY Continent ASC;","time":0.8044342995}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"continents","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Continent` FROM `continents` ORDER BY `Continent` DESC","question":"Project the Continent ordered in descending order for the table continents","db_schema_normalized":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To project the \"Continent\" values from the \"continents\" table in descending order, you can use the following SQL code:\n\n```sql\nSELECT Continent \nFROM continents \nORDER BY Continent DESC;\n```","cost":0.0000693,"response_parsed":"SELECT Continent \nFROM continents \nORDER BY Continent DESC;","time":0.729486227}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_names","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `car_names` ORDER BY `Model` ASC","question":"Show all data ordered by Model in ascending order for the table car_names","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch all data from the `car_names` table ordered by the `Model` in ascending order, you can use the following SQL query:\n\n```sql\nSELECT * FROM car_names\nORDER BY Model ASC;\n```","cost":0.0000696,"response_parsed":"SELECT * FROM car_names\nORDER BY Model ASC;","time":0.7485427856}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_names","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `car_names` ORDER BY `Model` DESC","question":"Show all data ordered by Model in descending order for the table car_names","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To retrieve all data from the `car_names` table and order it by the `Model` column in descending order, you can use the following SQL code:\n\n```sql\nSELECT * FROM car_names\nORDER BY Model DESC;\n```","cost":0.0000714,"response_parsed":"SELECT * FROM car_names\nORDER BY Model DESC;","time":0.8439335823}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_names","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `car_names` ORDER BY `Make` ASC","question":"Show all data ordered by Make in ascending order for the table car_names","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT * \nFROM car_names \nORDER BY Make ASC;\n```","cost":0.0000528,"response_parsed":"SELECT * \nFROM car_names \nORDER BY Make ASC;","time":0.5382654667}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_names","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `car_names` ORDER BY `Make` DESC","question":"Show all data ordered by Make in descending order for the table car_names","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT *\nFROM car_names\nORDER BY Make DESC;\n```","cost":0.0000522,"response_parsed":"SELECT *\nFROM car_names\nORDER BY Make DESC;","time":0.4484009743}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_names","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `MakeId` FROM `car_names` ORDER BY `MakeId` ASC","question":"Project the MakeId ordered in ascending order for the table car_names","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To project the `MakeId` ordered in ascending order from the `car_names` table, you can use the following SQL query:\n\n```sql\nSELECT MakeId\nFROM car_names\nORDER BY MakeId ASC;\n```","cost":0.00007005,"response_parsed":"SELECT MakeId\nFROM car_names\nORDER BY MakeId ASC;","time":0.978331089}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_names","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `MakeId` FROM `car_names` ORDER BY `MakeId` DESC","question":"Project the MakeId ordered in descending order for the table car_names","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"Here is the SQL code to project the `MakeId` from the `car_names` table ordered in descending order:\n\n```sql\nSELECT MakeId\nFROM car_names\nORDER BY MakeId DESC;\n```","cost":0.00006825,"response_parsed":"SELECT MakeId\nFROM car_names\nORDER BY MakeId DESC;","time":0.8665287495}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_names","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Model` FROM `car_names` ORDER BY `Model` ASC","question":"Project the Model ordered in ascending order for the table car_names","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To project the Model ordered in ascending order from the `car_names` table, you can use the following SQL code:\n\n```sql\nSELECT Model\nFROM car_names\nORDER BY Model ASC;\n```","cost":0.0000669,"response_parsed":"SELECT Model\nFROM car_names\nORDER BY Model ASC;","time":0.6748273373}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_names","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Model` FROM `car_names` ORDER BY `Model` DESC","question":"Project the Model ordered in descending order for the table car_names","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To project the `Model` from the `car_names` table in descending order, you can execute the following SQL query:\n\n```sql\nSELECT Model \nFROM car_names \nORDER BY Model DESC;\n```","cost":0.0000675,"response_parsed":"SELECT Model \nFROM car_names \nORDER BY Model DESC;","time":0.9085421562}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `model_list` ORDER BY `Model` ASC","question":"Show all data ordered by Model in ascending order for the table model_list","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"Here is the SQL code to fetch all data from the `model_list` table ordered by `Model` in ascending order:\n\n```sql\nSELECT * FROM model_list\nORDER BY Model ASC;\n```","cost":0.0000672,"response_parsed":"SELECT * FROM model_list\nORDER BY Model ASC;","time":0.7593479156}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `model_list` ORDER BY `Model` DESC","question":"Show all data ordered by Model in descending order for the table model_list","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT * FROM model_list\nORDER BY Model DESC;\n```","cost":0.0000522,"response_parsed":"SELECT * FROM model_list\nORDER BY Model DESC;","time":0.5038189888}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `model_list` ORDER BY `Maker` ASC","question":"Show all data ordered by Maker in ascending order for the table model_list","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"Here is the SQL code to fetch all data from the `model_list` table ordered by the `Maker` in ascending order:\n\n```sql\nSELECT *\nFROM model_list\nORDER BY Maker ASC;\n```","cost":0.0000678,"response_parsed":"SELECT *\nFROM model_list\nORDER BY Maker ASC;","time":1.0772836208}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `model_list` ORDER BY `Maker` DESC","question":"Show all data ordered by Maker in descending order for the table model_list","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT * \nFROM model_list \nORDER BY Maker DESC;\n```","cost":0.0000528,"response_parsed":"SELECT * \nFROM model_list \nORDER BY Maker DESC;","time":0.4532063007}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `ModelId` FROM `model_list` ORDER BY `ModelId` ASC","question":"Project the ModelId ordered in ascending order for the table model_list","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"Here is the SQL code to project the `ModelId` from the `model_list` table, ordered in ascending order:\n\n```sql\nSELECT ModelId FROM model_list ORDER BY ModelId ASC;\n```","cost":0.00006765,"response_parsed":"SELECT ModelId FROM model_list ORDER BY ModelId ASC;","time":1.4168081284}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `ModelId` FROM `model_list` ORDER BY `ModelId` DESC","question":"Project the ModelId ordered in descending order for the table model_list","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"Here is the SQL code that retrieves the `ModelId` from the `model_list` table, ordered in descending order:\n\n```sql\nSELECT ModelId \nFROM model_list \nORDER BY ModelId DESC;\n```","cost":0.00006885,"response_parsed":"SELECT ModelId \nFROM model_list \nORDER BY ModelId DESC;","time":2.0400583744}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Model` FROM `model_list` ORDER BY `Model` ASC","question":"Project the Model ordered in ascending order for the table model_list","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the models from the `model_list` table ordered in ascending order, you can use the following SQL query:\n\n```sql\nSELECT Model\nFROM model_list\nORDER BY Model ASC;\n```","cost":0.0000669,"response_parsed":"SELECT Model\nFROM model_list\nORDER BY Model ASC;","time":0.7411398888}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Model` FROM `model_list` ORDER BY `Model` DESC","question":"Project the Model ordered in descending order for the table model_list","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To project the Model from the `model_list` table in descending order, you would use the following SQL code:\n\n```sql\nSELECT Model\nFROM model_list\nORDER BY Model DESC;\n```","cost":0.0000663,"response_parsed":"SELECT Model\nFROM model_list\nORDER BY Model DESC;","time":0.6461801529}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `cars_data` ORDER BY `Edispl` ASC","question":"Show all data ordered by Edispl in ascending order for the table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch all data from the `cars_data` table ordered by `Edispl` in ascending order, the SQL code would be:\n\n```sql\nSELECT * FROM cars_data ORDER BY Edispl ASC;\n```","cost":0.0000699,"response_parsed":"SELECT * FROM cars_data ORDER BY Edispl ASC;","time":1.0646247864}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `cars_data` ORDER BY `Edispl` DESC","question":"Show all data ordered by Edispl in descending order for the table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"Below is the SQL code to fetch all data from the `cars_data` table ordered by `Edispl` in descending order:\n\n```sql\nSELECT * FROM cars_data\nORDER BY Edispl DESC;\n```","cost":0.0000699,"response_parsed":"SELECT * FROM cars_data\nORDER BY Edispl DESC;","time":1.2782201767}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `cars_data` ORDER BY `MPG` ASC","question":"Show all data ordered by MPG in ascending order for the table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT *\nFROM cars_data\nORDER BY MPG ASC;\n```","cost":0.0000522,"response_parsed":"SELECT *\nFROM cars_data\nORDER BY MPG ASC;","time":0.4888350964}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `cars_data` ORDER BY `MPG` DESC","question":"Show all data ordered by MPG in descending order for the table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT * \nFROM cars_data \nORDER BY MPG DESC;\n```","cost":0.0000528,"response_parsed":"SELECT * \nFROM cars_data \nORDER BY MPG DESC;","time":1.234436512}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Id` FROM `cars_data` ORDER BY `Id` ASC","question":"Project the Id ordered in ascending order for the table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To project the Id in ascending order from the `cars_data` table, you can use the following SQL query:\n\n```sql\nSELECT Id FROM cars_data ORDER BY Id ASC;\n```","cost":0.0000651,"response_parsed":"SELECT Id FROM cars_data ORDER BY Id ASC;","time":0.8485722542}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Id` FROM `cars_data` ORDER BY `Id` DESC","question":"Project the Id ordered in descending order for the table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To retrieve the `Id` from the `cars_data` table ordered in descending order, you can use the following SQL code:\n\n```sql\nSELECT Id \nFROM cars_data \nORDER BY Id DESC;\n```","cost":0.0000681,"response_parsed":"SELECT Id \nFROM cars_data \nORDER BY Id DESC;","time":1.3923726082}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Accelerate` FROM `cars_data` ORDER BY `Accelerate` ASC","question":"Project the Accelerate ordered in ascending order for the table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To project the \"Accelerate\" values from the `cars_data` table ordered in ascending order, you would execute the following SQL code:\n\n```sql\nSELECT Accelerate\nFROM cars_data\nORDER BY Accelerate ASC;\n```","cost":0.00007065,"response_parsed":"SELECT Accelerate\nFROM cars_data\nORDER BY Accelerate ASC;","time":0.9279413223}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Accelerate` FROM `cars_data` ORDER BY `Accelerate` DESC","question":"Project the Accelerate ordered in descending order for the table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the \"Accelerate\" values from the `cars_data` table ordered in descending order, you can use the following SQL query:\n\n```sql\nSELECT Accelerate\nFROM cars_data\nORDER BY Accelerate DESC;\n```","cost":0.00007065,"response_parsed":"SELECT Accelerate\nFROM cars_data\nORDER BY Accelerate DESC;","time":0.6696875095}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Id` FROM `car_makers`","question":"Show all Id in the table car_makers","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT Id FROM car_makers;\n```","cost":0.00004905,"response_parsed":"SELECT Id FROM car_makers;","time":0.3929929733}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Maker` FROM `car_makers`","question":"Show all Maker in the table car_makers","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"Here is the SQL code to fetch all makers from the `car_makers` table:\n\n```sql\nSELECT Maker FROM car_makers;\n```","cost":0.00005985,"response_parsed":"SELECT Maker FROM car_makers;","time":0.9539616108}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `FullName` FROM `car_makers`","question":"Show all FullName in the table car_makers","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT FullName FROM car_makers;\n```","cost":0.0000498,"response_parsed":"SELECT FullName FROM car_makers;","time":0.5755765438}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Country` FROM `car_makers`","question":"Show all Country in the table car_makers","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To show all countries in the `car_makers` table based on the provided database schema, you'll want to perform a `SELECT` statement to retrieve the `Country` column. However, since the `Country` field in the `car_makers` table is a foreign key referencing `countries`, you would actually want to retrieve the names of the countries from the `countries` table. Here\u2019s the SQL code to execute this:\n\n```sql\nSELECT DISTINCT CountryName \nFROM countries \nWHERE CountryId IN (SELECT DISTINCT Country FROM car_makers);\n```\n\nThis code retrieves all distinct country names that have at least one maker listed in the `car_makers` table.","cost":0.00012405,"response_parsed":"SELECT DISTINCT CountryName \nFROM countries \nWHERE CountryId IN (SELECT DISTINCT Country FROM car_makers);","time":2.348017931}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"PROJECT","sql_tag":"SELECT-ALL","query":"SELECT * FROM `car_makers`","question":"Show all the rows in the table car_makers","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT * FROM car_makers;\n```","cost":0.0000492,"response_parsed":"SELECT * FROM car_makers;","time":0.652380228}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Maker` FROM `car_makers`","question":"Show all Maker in the table car_makers","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To show all makers in the `car_makers` table, you can use the following SQL query:\n\n```sql\nSELECT Maker FROM car_makers;\n```","cost":0.00006165,"response_parsed":"SELECT Maker FROM car_makers;","time":1.0497186184}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `FullName`, `Id` FROM `car_makers`","question":"Show all FullName, Id in the table car_makers","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To retrieve the `FullName` and `Id` from the `car_makers` table, you can use the following SQL code:\n\n```sql\nSELECT FullName, Id FROM car_makers;\n```","cost":0.0000681,"response_parsed":"SELECT FullName, Id FROM car_makers;","time":1.5201334953}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `FullName`, `Country`, `Maker` FROM `car_makers`","question":"Show all FullName, Country, Maker in the table car_makers","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the required information (FullName, Country, Maker) from the `car_makers` table, you can use the following SQL query:\n\n```sql\nSELECT FullName, Country, Maker\nFROM car_makers;\n```","cost":0.0000714,"response_parsed":"SELECT FullName, Country, Maker\nFROM car_makers;","time":0.8620221615}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `CountryId` FROM `countries`","question":"Show all CountryId in the table countries","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT CountryId FROM countries;\n```","cost":0.0000483,"response_parsed":"SELECT CountryId FROM countries;","time":0.4381144047}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `CountryName` FROM `countries`","question":"Show all CountryName in the table countries","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch all `CountryName` values from the `countries` table, the SQL query would be as follows:\n\n```sql\nSELECT CountryName FROM countries;\n```","cost":0.0000621,"response_parsed":"SELECT CountryName FROM countries;","time":0.7161960602}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Continent` FROM `countries`","question":"Show all Continent in the table countries","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch all continents from the `continents` table, you can use the following SQL query:\n\n```sql\nSELECT * FROM continents;\n``` \n\nThis SQL code will return all the rows and columns from the `continents` table, effectively showing you all the continents stored in that table.","cost":0.0000777,"response_parsed":"SELECT * FROM continents;","time":0.9970340729}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"PROJECT","sql_tag":"SELECT-ALL","query":"SELECT * FROM `countries`","question":"Show all the rows in the table countries","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT * FROM countries;\n```","cost":0.0000477,"response_parsed":"SELECT * FROM countries;","time":0.2920644283}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `CountryId` FROM `countries`","question":"Show all CountryId in the table countries","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT CountryId FROM countries;\n```","cost":0.0000483,"response_parsed":"SELECT CountryId FROM countries;","time":0.3209605217}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Continent`, `CountryName` FROM `countries`","question":"Show all Continent, CountryName in the table countries","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch all continents along with their respective country names from the `countries` table, you can use the following SQL query. This query joins the `countries` table with the `continents` table based on the foreign key relationship defined in the schema.\n\n```sql\nSELECT c.Continent, co.CountryName\nFROM continents c\nJOIN countries co ON c.ContId = co.Continent;\n``` \n\nThis SQL code will return a list of all continents and their corresponding country names.","cost":0.00010275,"response_parsed":"SELECT c.Continent, co.CountryName\nFROM continents c\nJOIN countries co ON c.ContId = co.Continent;","time":1.6821119785}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"continents","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `ContId` FROM `continents`","question":"Show all ContId in the table continents","db_schema_normalized":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT ContId FROM continents;\n```","cost":0.0000483,"response_parsed":"SELECT ContId FROM continents;","time":0.3796052933}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"continents","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Continent` FROM `continents`","question":"Show all Continent in the table continents","db_schema_normalized":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"Here is the SQL code to fetch all continents from the \"continents\" table:\n\n```sql\nSELECT Continent FROM continents;\n```","cost":0.0000585,"response_parsed":"SELECT Continent FROM continents;","time":1.2461071014}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"continents","test_category":"PROJECT","sql_tag":"SELECT-ALL","query":"SELECT * FROM `continents`","question":"Show all the rows in the table continents","db_schema_normalized":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch all the rows from the `continents` table, you can use the following SQL code:\n\n```sql\nSELECT * FROM continents;\n```","cost":0.0000603,"response_parsed":"SELECT * FROM continents;","time":0.6504926682}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"continents","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `ContId` FROM `continents`","question":"Show all ContId in the table continents","db_schema_normalized":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch all `ContId` values from the `continents` table, you can use the following SQL code:\n\n```sql\nSELECT ContId FROM continents;\n```","cost":0.0000627,"response_parsed":"SELECT ContId FROM continents;","time":0.9857704639}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_names","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `MakeId` FROM `car_names`","question":"Show all MakeId in the table car_names","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch all `MakeId` values from the `car_names` table, you can use the following SQL code:\n\n```sql\nSELECT MakeId FROM car_names;\n```","cost":0.00006345,"response_parsed":"SELECT MakeId FROM car_names;","time":0.7856602669}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_names","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Model` FROM `car_names`","question":"Show all Model in the table car_names","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch all models from the `car_names` table, you can use the following SQL code:\n\n```sql\nSELECT Model FROM car_names;\n```","cost":0.0000603,"response_parsed":"SELECT Model FROM car_names;","time":0.8353617191}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_names","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Make` FROM `car_names`","question":"Show all Make in the table car_names","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"Here is the SQL code to fetch all distinct entries from the `Make` column in the `car_names` table:\n\n```sql\nSELECT DISTINCT Make FROM car_names;\n```","cost":0.0000633,"response_parsed":"SELECT DISTINCT Make FROM car_names;","time":0.788056612}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_names","test_category":"PROJECT","sql_tag":"SELECT-ALL","query":"SELECT * FROM `car_names`","question":"Show all the rows in the table car_names","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch all the rows from the `car_names` table as requested, you would use the following SQL code:\n\n```sql\nSELECT * FROM car_names;\n```","cost":0.00006225,"response_parsed":"SELECT * FROM car_names;","time":0.8253939152}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_names","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Make` FROM `car_names`","question":"Show all Make in the table car_names","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"Here is the SQL code to fetch all the values in the \"Make\" column from the \"car_names\" table:\n\n```sql\nSELECT Make FROM car_names;\n```","cost":0.0000627,"response_parsed":"SELECT Make FROM car_names;","time":1.1883144379}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_names","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `MakeId`, `Model` FROM `car_names`","question":"Show all MakeId, Model in the table car_names","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT MakeId, Model \nFROM car_names;\n```","cost":0.00005115,"response_parsed":"SELECT MakeId, Model \nFROM car_names;","time":0.4070971012}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `ModelId` FROM `model_list`","question":"Show all ModelId in the table model_list","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"Here is the SQL code to fetch all `ModelId` values from the `model_list` table:\n\n```sql\nSELECT ModelId FROM model_list;\n```","cost":0.00006165,"response_parsed":"SELECT ModelId FROM model_list;","time":0.8127222061}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Maker` FROM `model_list`","question":"Show all Maker in the table model_list","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch all the makers from the `model_list` table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT m.Maker\nFROM model_list ml\nJOIN car_makers m ON ml.Maker = m.Id;\n```\n\nThis query selects distinct makers from the `car_makers` table by joining it with the `model_list` table based on the `Maker` foreign key in `model_list`.","cost":0.0000939,"response_parsed":"SELECT DISTINCT m.Maker\nFROM model_list ml\nJOIN car_makers m ON ml.Maker = m.Id;","time":1.4127056599}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Model` FROM `model_list`","question":"Show all Model in the table model_list","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch all models from the `model_list` table, you can use the following SQL query:\n\n```sql\nSELECT Model FROM model_list;\n```","cost":0.0000603,"response_parsed":"SELECT Model FROM model_list;","time":0.7455041409}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"PROJECT","sql_tag":"SELECT-ALL","query":"SELECT * FROM `model_list`","question":"Show all the rows in the table model_list","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch all the rows from the `model_list` table, the SQL query would look like this:\n\n```sql\nSELECT * FROM model_list;\n```","cost":0.00006105,"response_parsed":"SELECT * FROM model_list;","time":0.894963026}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `ModelId` FROM `model_list`","question":"Show all ModelId in the table model_list","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch all `ModelId` from the `model_list` table, you can use the following SQL code:\n\n```sql\nSELECT ModelId FROM model_list;\n```","cost":0.00006285,"response_parsed":"SELECT ModelId FROM model_list;","time":0.6526894569}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Maker`, `Model` FROM `model_list`","question":"Show all Maker, Model in the table model_list","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"Here is the SQL code to fetch all Maker and Model from the `model_list` table:\n\n```sql\nSELECT cm.Maker, ml.Model\nFROM model_list ml\nJOIN car_makers cm ON ml.Maker = cm.Id;\n```","cost":0.000072,"response_parsed":"SELECT cm.Maker, ml.Model\nFROM model_list ml\nJOIN car_makers cm ON ml.Maker = cm.Id;","time":0.8173575401}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Year` FROM `cars_data`","question":"Show all Year in the table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch all the unique years from the `cars_data` table, the SQL query would be:\n\n```sql\nSELECT DISTINCT Year FROM cars_data;\n```","cost":0.0000609,"response_parsed":"SELECT DISTINCT Year FROM cars_data;","time":0.7177135944}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Accelerate` FROM `cars_data`","question":"Show all Accelerate in the table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To show all values of the \"Accelerate\" column from the \"cars_data\" table, you can use the following SQL code:\n\n```sql\nSELECT Accelerate FROM cars_data;\n```","cost":0.00006525,"response_parsed":"SELECT Accelerate FROM cars_data;","time":3.9469754696}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Weight` FROM `cars_data`","question":"Show all Weight in the table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT Weight FROM cars_data;\n```","cost":0.0000483,"response_parsed":"SELECT Weight FROM cars_data;","time":0.3346481323}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Id` FROM `cars_data`","question":"Show all Id in the table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To retrieve all IDs from the `cars_data` table, you can use the following SQL query:\n\n```sql\nSELECT Id FROM cars_data;\n```","cost":0.0000603,"response_parsed":"SELECT Id FROM cars_data;","time":0.7204546928}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Horsepower` FROM `cars_data`","question":"Show all Horsepower in the table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch all Horsepower values from the `cars_data` table, you can use the following SQL query:\n\n```sql\nSELECT Horsepower FROM cars_data;\n```","cost":0.00006225,"response_parsed":"SELECT Horsepower FROM cars_data;","time":1.5505781174}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"PROJECT","sql_tag":"SELECT-ALL","query":"SELECT * FROM `cars_data`","question":"Show all the rows in the table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To show all the rows in the `cars_data` table, you can use the following SQL query:\n\n```sql\nSELECT * FROM cars_data;\n```","cost":0.00006105,"response_parsed":"SELECT * FROM cars_data;","time":0.5812451839}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `MPG` FROM `cars_data`","question":"Show all MPG in the table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch all MPG values from the `cars_data` table, you can use the following SQL code:\n\n```sql\nSELECT MPG FROM cars_data;\n```","cost":0.0000609,"response_parsed":"SELECT MPG FROM cars_data;","time":0.7958731651}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Year`, `Id` FROM `cars_data`","question":"Show all Year, Id in the table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To retrieve all Year and Id from the `cars_data` table, you can use the following SQL code:\n\n```sql\nSELECT Year, Id FROM cars_data;\n```","cost":0.000063,"response_parsed":"SELECT Year, Id FROM cars_data;","time":0.6369845867}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Id`, `MPG`, `Weight` FROM `cars_data`","question":"Show all Id, MPG, Weight in the table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"Here is the SQL code to fetch the required columns from the `cars_data` table:\n\n```sql\nSELECT Id, MPG, Weight FROM cars_data;\n```","cost":0.0000621,"response_parsed":"SELECT Id, MPG, Weight FROM cars_data;","time":1.5353524685}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Edispl`, `Cylinders`, `Year`, `Horsepower` FROM `cars_data`","question":"Show all Edispl, Cylinders, Year, Horsepower in the table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the requested data (Edispl, Cylinders, Year, Horsepower) from the `cars_data` table, the SQL query would look like the following:\n\n```sql\nSELECT Edispl, Cylinders, Year, Horsepower FROM cars_data;\n```","cost":0.0000768,"response_parsed":"SELECT Edispl, Cylinders, Year, Horsepower FROM cars_data;","time":1.042037487}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Year`, `Cylinders`, `Accelerate`, `Edispl`, `MPG` FROM `cars_data`","question":"Show all Year, Cylinders, Accelerate, Edispl, MPG in the table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"Here is the SQL code to fetch the required data from the `cars_data` table:\n\n```sql\nSELECT Year, Cylinders, Accelerate, Edispl, MPG \nFROM cars_data;\n```","cost":0.0000687,"response_parsed":"SELECT Year, Cylinders, Accelerate, Edispl, MPG \nFROM cars_data;","time":0.9033417702}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Weight`, `Cylinders`, `Accelerate`, `MPG`, `Horsepower`, `Id` FROM `cars_data`","question":"Show all Weight, Cylinders, Accelerate, MPG, Horsepower, Id in the table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT Weight, Cylinders, Accelerate, MPG, Horsepower, Id \nFROM cars_data;\n```","cost":0.00005865,"response_parsed":"SELECT Weight, Cylinders, Accelerate, MPG, Horsepower, Id \nFROM cars_data;","time":0.8895418644}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Year`, `Weight`, `Cylinders`, `Accelerate`, `Horsepower`, `MPG`, `Id` FROM `cars_data`","question":"Show all Year, Weight, Cylinders, Accelerate, Horsepower, MPG, Id in the table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"You can retrieve the specified columns (Year, Weight, Cylinders, Accelerate, Horsepower, MPG, Id) from the `cars_data` table using the following SQL code:\n\n```sql\nSELECT Year, Weight, Cylinders, Accelerate, Horsepower, MPG, Id\nFROM cars_data;\n```","cost":0.00008235,"response_parsed":"SELECT Year, Weight, Cylinders, Accelerate, Horsepower, MPG, Id\nFROM cars_data;","time":4.0061614513}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `car_makers` WHERE `Maker` == 'bmw'","question":"Show the data of the table car_makers where Maker is equal to bmw","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT * FROM car_makers WHERE Maker = 'bmw';\n```","cost":0.0000537,"response_parsed":"SELECT * FROM car_makers WHERE Maker = 'bmw';","time":0.4953656197}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `car_makers` WHERE `Maker` != 'volkswagen'","question":"Show the data of the table car_makers where Maker is different from volkswagen","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the data from the `car_makers` table where the `Maker` is different from 'Volkswagen', you can use the following SQL query:\n\n```sql\nSELECT *\nFROM car_makers\nWHERE Maker <> 'Volkswagen';\n```","cost":0.0000735,"response_parsed":"SELECT *\nFROM car_makers\nWHERE Maker <> 'Volkswagen';","time":1.0309104919}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `car_makers` WHERE `Maker` != 'ford'","question":"Show the data of the table car_makers where Maker not equal to ford","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"Here is the SQL code to fetch the data from the `car_makers` table where the `Maker` is not equal to 'ford':\n\n```sql\nSELECT * FROM car_makers WHERE Maker != 'ford';\n```","cost":0.00007035,"response_parsed":"SELECT * FROM car_makers WHERE Maker != 'ford';","time":0.9058940411}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `car_makers` WHERE `FullName` == 'BMW'","question":"Show the data of the table car_makers where FullName is equal to BMW","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT * FROM car_makers WHERE FullName = 'BMW';\n```","cost":0.0000537,"response_parsed":"SELECT * FROM car_makers WHERE FullName = 'BMW';","time":0.4543795586}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `car_makers` WHERE `FullName` != 'General Motors'","question":"Show the data of the table car_makers where FullName is different from General Motors","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT * \nFROM car_makers \nWHERE FullName <> 'General Motors';\n```","cost":0.00005565,"response_parsed":"SELECT * \nFROM car_makers \nWHERE FullName <> 'General Motors';","time":0.5445401669}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `car_makers` WHERE `FullName` != 'American Motor Company'","question":"Show the data of the table car_makers where FullName not equal to American Motor Company","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the data from the `car_makers` table where the `FullName` is not equal to \"American Motor Company\", you can use the following SQL query:\n\n```sql\nSELECT * FROM car_makers WHERE FullName <> 'American Motor Company';\n```","cost":0.0000762,"response_parsed":"SELECT * FROM car_makers WHERE FullName <> 'American Motor Company';","time":0.8998453617}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `car_makers` WHERE `Country` == '1'","question":"Show the data of the table car_makers where Country is equal to 1","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT * FROM car_makers WHERE Country = 1;\n```","cost":0.0000531,"response_parsed":"SELECT * FROM car_makers WHERE Country = 1;","time":0.6423609257}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `car_makers` WHERE `Country` != '2'","question":"Show the data of the table car_makers where Country is different from 2","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the data from the `car_makers` table where the `Country` is different from 2, you can use the following SQL query:\n\n```sql\nSELECT *\nFROM car_makers\nWHERE Country != '2';\n```\n\nNote that since the `Country` field in the `car_makers` table is a text field (as per the schema), the value `2` is compared as a string.","cost":0.0000951,"response_parsed":"SELECT *\nFROM car_makers\nWHERE Country != '2';","time":1.6410088539}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `car_makers` WHERE `Country` != '1'","question":"Show the data of the table car_makers where Country not equal to 1","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"Here is the SQL code to fetch the data from the `car_makers` table where the `Country` is not equal to 1:\n\n```sql\nSELECT * FROM car_makers WHERE Country != '1';\n``` \n\nIn this query, we are selecting all columns (`*`) from the `car_makers` table where the `Country` column does not equal '1'. Note that the `Country` column is of type TEXT in the schema, so the comparison value is provided as a string.","cost":0.0001053,"response_parsed":"SELECT * FROM car_makers WHERE Country != '1';","time":1.7546441555}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `countries` WHERE `CountryName` == 'usa'","question":"Show the data of the table countries where CountryName is equal to usa","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"Here is the SQL code that fetches the data from the `countries` table where `CountryName` is equal to 'usa':\n\n```sql\nSELECT * FROM countries WHERE CountryName = 'usa';\n```","cost":0.0000684,"response_parsed":"SELECT * FROM countries WHERE CountryName = 'usa';","time":0.8152248859}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `countries` WHERE `CountryName` != 'france'","question":"Show the data of the table countries where CountryName is different from france","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT * \nFROM countries \nWHERE CountryName <> 'france';\n```","cost":0.000054,"response_parsed":"SELECT * \nFROM countries \nWHERE CountryName <> 'france';","time":0.6363606453}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `countries` WHERE `CountryName` != 'japan'","question":"Show the data of the table countries where CountryName not equal to japan","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To retrieve data from the `countries` table where the `CountryName` is not equal to \"japan\", you can use the following SQL code:\n\n```sql\nSELECT * FROM countries WHERE CountryName <> 'japan';\n```","cost":0.0000714,"response_parsed":"SELECT * FROM countries WHERE CountryName <> 'japan';","time":1.1547284126}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `countries` WHERE `Continent` > 2","question":"Show the data of the table countries where Continent is greater than 2","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the data from the `countries` table where the associated `Continent` (from the `continents` table) has an ID greater than 2, you would need to join the `countries` and `continents` tables. Here is the SQL code to accomplish this:\n\n```sql\nSELECT countries.*\nFROM countries\nJOIN continents ON countries.Continent = continents.ContId\nWHERE continents.ContId > 2;\n```","cost":0.00009795,"response_parsed":"SELECT countries.*\nFROM countries\nJOIN continents ON countries.Continent = continents.ContId\nWHERE continents.ContId > 2;","time":1.2121465206}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `countries` WHERE `Continent` < 2","question":"Show the data of the table countries where Continent is less than 2","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the data from the `countries` table where the `Continent` is less than 2, you can use the following SQL code:\n\n```sql\nSELECT *\nFROM countries\nWHERE Continent < 2;\n```","cost":0.00007095,"response_parsed":"SELECT *\nFROM countries\nWHERE Continent < 2;","time":0.7224626541}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"continents","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `continents` WHERE `Continent` == 'asia'","question":"Show the data of the table continents where Continent is equal to asia","db_schema_normalized":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"Here is the SQL code to fetch the data from the `continents` table where the `Continent` is equal to 'asia':\n\n```sql\nSELECT * FROM continents WHERE Continent = 'asia';\n```","cost":0.000069,"response_parsed":"SELECT * FROM continents WHERE Continent = 'asia';","time":0.6736264229}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"continents","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `continents` WHERE `Continent` != 'america'","question":"Show the data of the table continents where Continent is different from america","db_schema_normalized":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"Here's the SQL code to fetch the data from the `continents` table where the `Continent` is different from \"america\":\n\n```sql\nSELECT * FROM continents WHERE Continent <> 'america';\n```","cost":0.0000684,"response_parsed":"SELECT * FROM continents WHERE Continent <> 'america';","time":0.7461512089}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"continents","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `continents` WHERE `Continent` != 'europe'","question":"Show the data of the table continents where Continent not equal to europe","db_schema_normalized":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To retrieve data from the `continents` table where the `Continent` is not equal to 'Europe', you can use the following SQL query:\n\n```sql\nSELECT * FROM continents WHERE Continent <> 'Europe';\n```","cost":0.0000708,"response_parsed":"SELECT * FROM continents WHERE Continent <> 'Europe';","time":0.7420258522}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_names","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `car_names` WHERE `Model` == 'plymouth'","question":"Show the data of the table car_names where Model is equal to plymouth","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the data from the `car_names` table where the `Model` is equal to 'plymouth', you can use the following SQL code:\n\n```sql\nSELECT * FROM car_names WHERE Model = 'plymouth';\n``` \n\nThis query selects all columns from the `car_names` table for records where the `Model` field matches 'plymouth'.","cost":0.00008715,"response_parsed":"SELECT * FROM car_names WHERE Model = 'plymouth';","time":1.1347439289}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_names","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `car_names` WHERE `Model` != 'plymouth'","question":"Show the data of the table car_names where Model is different from plymouth","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the data from the `car_names` table where the `Model` is different from \"plymouth\", you can use the following SQL query:\n\n```sql\nSELECT * FROM car_names WHERE Model <> 'plymouth';\n``` \n\nThis SQL code selects all columns from the `car_names` table where the `Model` is not equal to \"plymouth\".","cost":0.00008775,"response_parsed":"SELECT * FROM car_names WHERE Model <> 'plymouth';","time":1.4322667122}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_names","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `car_names` WHERE `Model` != 'buick'","question":"Show the data of the table car_names where Model not equal to buick","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT * FROM car_names WHERE Model <> 'buick';\n```","cost":0.00005295,"response_parsed":"SELECT * FROM car_names WHERE Model <> 'buick';","time":0.5098419189}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_names","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `car_names` WHERE `Make` == 'amc rebel sst'","question":"Show the data of the table car_names where Make is equal to amc rebel sst","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT * FROM car_names WHERE Make = 'amc rebel sst';\n```","cost":0.0000552,"response_parsed":"SELECT * FROM car_names WHERE Make = 'amc rebel sst';","time":0.4959588051}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_names","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `car_names` WHERE `Make` != 'buick skylark 320'","question":"Show the data of the table car_names where Make is different from buick skylark 320","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the data from the `car_names` table where the `Make` is different from \"buick skylark 320\", you can use the following SQL code:\n\n```sql\nSELECT * FROM car_names WHERE Make <> 'buick skylark 320';\n```","cost":0.00007695,"response_parsed":"SELECT * FROM car_names WHERE Make <> 'buick skylark 320';","time":0.9544763565}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_names","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `car_names` WHERE `Make` != 'buick skylark 320'","question":"Show the data of the table car_names where Make not equal to buick skylark 320","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"Here is the SQL code to fetch the data from the `car_names` table where the `Make` is not equal to \"buick skylark 320\":\n\n```sql\nSELECT * FROM car_names WHERE Make != 'buick skylark 320';\n```","cost":0.00007575,"response_parsed":"SELECT * FROM car_names WHERE Make != 'buick skylark 320';","time":0.9430565834}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `model_list` WHERE `Model` == 'amc'","question":"Show the data of the table model_list where Model is equal to amc","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the data from the table `model_list` where the `Model` is equal to 'amc', you can use the following SQL code:\n\n```sql\nSELECT *\nFROM model_list\nWHERE Model = 'amc';\n```","cost":0.00007215,"response_parsed":"SELECT *\nFROM model_list\nWHERE Model = 'amc';","time":1.8196444511}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `model_list` WHERE `Model` != 'buick'","question":"Show the data of the table model_list where Model is different from buick","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the data from the `model_list` table where the `Model` is different from 'buick', you would execute the following SQL query:\n\n```sql\nSELECT * FROM model_list WHERE Model <> 'buick';\n```","cost":0.00007155,"response_parsed":"SELECT * FROM model_list WHERE Model <> 'buick';","time":0.9074060917}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `model_list` WHERE `Model` != 'bmw'","question":"Show the data of the table model_list where Model not equal to bmw","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT * FROM model_list WHERE Model != 'bmw';\n```","cost":0.00005295,"response_parsed":"SELECT * FROM model_list WHERE Model != 'bmw';","time":0.4715743065}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `model_list` WHERE `Maker` > 4","question":"Show the data of the table model_list where Maker is greater than 4","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the data from the `model_list` table where the `Maker` is greater than 4, you can use the following SQL query:\n\n```sql\nSELECT * FROM model_list WHERE Maker > 4;\n```","cost":0.00007035,"response_parsed":"SELECT * FROM model_list WHERE Maker > 4;","time":0.8243775368}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `model_list` WHERE `Maker` < 3","question":"Show the data of the table model_list where Maker is less than 3","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the data from the `model_list` table where the `Maker` is less than 3, you can use the following SQL query:\n\n```sql\nSELECT * FROM model_list WHERE Maker < 3;\n```","cost":0.00007035,"response_parsed":"SELECT * FROM model_list WHERE Maker < 3;","time":0.8021929264}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `cars_data` WHERE `MPG` == '14'","question":"Show the data of the table cars_data where MPG is equal to 14","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the data from the `cars_data` table where MPG is equal to 14, you can use the following SQL code:\n\n```sql\nSELECT *\nFROM cars_data\nWHERE MPG = '14';\n``` \n\nPlease note that the `MPG` column is defined as text in the schema, so the value '14' is enclosed in single quotes. This query will return all rows from the `cars_data` table that have an MPG of 14.","cost":0.00009975,"response_parsed":"SELECT *\nFROM cars_data\nWHERE MPG = '14';","time":2.0663917065}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `cars_data` WHERE `MPG` != '18'","question":"Show the data of the table cars_data where MPG is different from 18","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT * FROM cars_data WHERE MPG != '18';\n```","cost":0.00005235,"response_parsed":"SELECT * FROM cars_data WHERE MPG != '18';","time":0.4942677021}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `cars_data` WHERE `MPG` != '17'","question":"Show the data of the table cars_data where MPG not equal to 17","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the data from the `cars_data` table where `MPG` is not equal to 17, you can use the following SQL query:\n\n```sql\nSELECT *\nFROM cars_data\nWHERE MPG != '17';\n```\n\nNote: In this query, `MPG` is treated as a text field based on the schema provided, so the value '17' is enclosed in quotes.","cost":0.00009195,"response_parsed":"SELECT *\nFROM cars_data\nWHERE MPG != '17';","time":1.5295698643}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `cars_data` WHERE `Horsepower` == '198'","question":"Show the data of the table cars_data where Horsepower is equal to 198","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To retrieve the rows from the `cars_data` table where the `Horsepower` is equal to 198, the following SQL code can be used:\n\n```sql\nSELECT * FROM cars_data WHERE Horsepower = '198';\n``` \n\nNote: Since `Horsepower` is defined as a TEXT type in the schema, the value `198` is enclosed in single quotes.","cost":0.0000891,"response_parsed":"SELECT * FROM cars_data WHERE Horsepower = '198';","time":1.3842220306}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `cars_data` WHERE `Horsepower` != '130'","question":"Show the data of the table cars_data where Horsepower is different from 130","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT * FROM cars_data WHERE Horsepower <> '130';\n```","cost":0.0000531,"response_parsed":"SELECT * FROM cars_data WHERE Horsepower <> '130';","time":0.424957037}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `cars_data` WHERE `Horsepower` != '150'","question":"Show the data of the table cars_data where Horsepower not equal to 150","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT * FROM cars_data WHERE Horsepower != '150';\n```","cost":0.0000531,"response_parsed":"SELECT * FROM cars_data WHERE Horsepower != '150';","time":0.4122757912}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `cars_data` WHERE `Accelerate` > 11.5","question":"Show the data of the table cars_data where Accelerate is greater than 11.5","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT * FROM cars_data WHERE Accelerate > 11.5;\n```","cost":0.0000546,"response_parsed":"SELECT * FROM cars_data WHERE Accelerate > 11.5;","time":0.4982647896}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `cars_data` WHERE `Accelerate` < 10.5","question":"Show the data of the table cars_data where Accelerate is less than 10.5","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT * FROM cars_data WHERE Accelerate < 10.5;\n```","cost":0.0000546,"response_parsed":"SELECT * FROM cars_data WHERE Accelerate < 10.5;","time":0.37754035}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `cars_data` WHERE `Edispl` > 302.0","question":"Show the data of the table cars_data where Edispl is greater than 302.0","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT * FROM cars_data WHERE Edispl > 302.0;\n```","cost":0.00005535,"response_parsed":"SELECT * FROM cars_data WHERE Edispl > 302.0;","time":0.9264540672}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `cars_data` WHERE `Edispl` < 350.0","question":"Show the data of the table cars_data where Edispl is less than 350.0","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT * FROM cars_data WHERE Edispl < 350.0;\n```","cost":0.00005535,"response_parsed":"SELECT * FROM cars_data WHERE Edispl < 350.0;","time":0.4499957561}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `cars_data` WHERE `Cylinders` < 8","question":"Show the data of the table cars_data where Cylinders is less than 8","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"```sql\nSELECT * FROM cars_data WHERE Cylinders < 8;\n```","cost":0.0000531,"response_parsed":"SELECT * FROM cars_data WHERE Cylinders < 8;","time":0.8101222515}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Maker`) FROM `car_makers`","question":"How many different Maker are in table car_makers?","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To count the number of different makers in the `car_makers` table, you can use the following SQL query:\n\n```sql\nSELECT COUNT(DISTINCT Maker) AS NumberOfDifferentMakers\nFROM car_makers;\n```","cost":0.0000708,"response_parsed":"SELECT COUNT(DISTINCT Maker) AS NumberOfDifferentMakers\nFROM car_makers;","time":0.9521689415}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `FullName`) FROM `car_makers`","question":"How many different FullName are in table car_makers?","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To count the number of different `FullName` entries in the `car_makers` table, you can use the following SQL code:\n\n```sql\nSELECT COUNT(DISTINCT FullName) AS DifferentFullNamesCount\nFROM car_makers;\n```","cost":0.00007335,"response_parsed":"SELECT COUNT(DISTINCT FullName) AS DifferentFullNamesCount\nFROM car_makers;","time":1.0270900726}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_makers","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Country`) FROM `car_makers`","question":"How many different Country are in table car_makers?","db_schema_normalized":"`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To determine the number of different countries present in the `car_makers` table based on the given database schema, you can use the following SQL code:\n\n```sql\nSELECT COUNT(DISTINCT Country) AS DifferentCountries\nFROM car_makers;\n``` \n\nThis SQL query counts the distinct values in the `Country` column of the `car_makers` table, which gives you the number of different countries.","cost":0.0000924,"response_parsed":"SELECT COUNT(DISTINCT Country) AS DifferentCountries\nFROM car_makers;","time":1.8782641888}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `CountryName`) FROM `countries`","question":"How many different CountryName are in table countries?","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To retrieve the number of different `CountryName` entries in the `countries` table, you can use the `COUNT` function combined with `DISTINCT`. Here is the SQL code to achieve this:\n\n```sql\nSELECT COUNT(DISTINCT CountryName) AS DifferentCountryCount FROM countries;\n```","cost":0.00007845,"response_parsed":"SELECT COUNT(DISTINCT CountryName) AS DifferentCountryCount FROM countries;","time":1.2545928955}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MAX","query":"SELECT MAX(`Continent`) FROM `countries`","question":"Find the maximum Continent for the table countries","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the maximum Continent from the `countries` table, we can execute the following SQL query:\n\n```sql\nSELECT MAX(Continent) FROM countries;\n``` \n\nHowever, if we want to find the continent name corresponding to the maximum `ContId` in the `continents` table because the `Continent` field in the `countries` table references the `ContId`, it would look like this:\n\n```sql\nSELECT c.Continent \nFROM continents c \nJOIN countries co ON c.ContId = co.Continent \nORDER BY c.ContId DESC \nLIMIT 1;\n``` \n\nThis will return the name of the continent associated with the maximum `ContId`.","cost":0.00012765,"response_parsed":"SELECT c.Continent \nFROM continents c \nJOIN countries co ON c.ContId = co.Continent \nORDER BY c.ContId DESC \nLIMIT 1;","time":3.2213406563}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MIN","query":"SELECT MIN(`Continent`) FROM `countries`","question":"Find the minimum Continent for the table countries","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the minimum Continent from the `countries` table, you would typically want to join with the `continents` table to get the continent names. However, since the question asks for the minimum (which typically refers to some order), we can interpret this as needing the continent with the lowest `ContId`.\n\nHere is the SQL code to accomplish this:\n\n```sql\nSELECT Continent \nFROM continents \nORDER BY ContId \nLIMIT 1;\n```","cost":0.00009825,"response_parsed":"SELECT Continent \nFROM continents \nORDER BY ContId \nLIMIT 1;","time":1.886015892}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"countries","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-AVG","query":"SELECT AVG(`Continent`) FROM `countries`","question":"Find the average Continent for the table countries","db_schema_normalized":"`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find the average number of countries per continent, you can use the following SQL query. This will involve grouping the countries by continent and then calculating the average.\n\n```sql\nSELECT AVG(CountryCount) AS AverageCountriesPerContinent\nFROM (\n SELECT COUNT(*) AS CountryCount\n FROM countries\n GROUP BY Continent\n) AS Counts;\n```\n\nThis SQL code creates a subquery that counts the number of countries grouped by their continent and then calculates the average from those counts.","cost":0.00010245,"response_parsed":"SELECT AVG(CountryCount) AS AverageCountriesPerContinent\nFROM (\n SELECT COUNT(*) AS CountryCount\n FROM countries\n GROUP BY Continent\n) AS Counts;","time":1.4688098431}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"continents","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Continent`) FROM `continents`","question":"How many different Continent are in table continents?","db_schema_normalized":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To determine the number of different continents present in the `continents` table, you can use the following SQL query:\n\n```sql\nSELECT COUNT(DISTINCT Continent) AS NumberOfContinents\nFROM continents;\n```","cost":0.00006945,"response_parsed":"SELECT COUNT(DISTINCT Continent) AS NumberOfContinents\nFROM continents;","time":2.1814410686}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_names","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Model`) FROM `car_names`","question":"How many different Model are in table car_names?","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To fetch the number of different Models in the `car_names` table, you can execute the following SQL query:\n\n```sql\nSELECT COUNT(DISTINCT Model) AS DifferentModelCount\nFROM car_names;\n```","cost":0.00006825,"response_parsed":"SELECT COUNT(DISTINCT Model) AS DifferentModelCount\nFROM car_names;","time":0.6571393013}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"car_names","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Make`) FROM `car_names`","question":"How many different Make are in table car_names?","db_schema_normalized":"`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find out how many different `Make` entries are in the `car_names` table, you can use the `COUNT` function along with the `DISTINCT` keyword in SQL. Here\u2019s the SQL code to accomplish that:\n\n```sql\nSELECT COUNT(DISTINCT Make) AS NumberOfDifferentMakes\nFROM car_names;\n```","cost":0.00008325,"response_parsed":"SELECT COUNT(DISTINCT Make) AS NumberOfDifferentMakes\nFROM car_names;","time":4.6465950012}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Model`) FROM `model_list`","question":"How many different Model are in table model_list?","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To count the number of different models in the `model_list` table, you can use the following SQL query:\n\n```sql\nSELECT COUNT(DISTINCT Model) AS DifferentModelsCount \nFROM model_list;\n```","cost":0.00006825,"response_parsed":"SELECT COUNT(DISTINCT Model) AS DifferentModelsCount \nFROM model_list;","time":0.8896021843}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MAX","query":"SELECT MAX(`Maker`) FROM `model_list`","question":"Find the maximum Maker for the table model_list","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find the maximum \"Maker\" in the `model_list` table, you need to use the SQL `MAX()` function on the appropriate field within the `model_list` table. However, the `Maker` is a foreign key that references the `car_makers` table, and since you want the maximum of the \"Maker\" name, you will need to join these two tables. Below is the SQL code that accomplishes this:\n\n```sql\nSELECT MAX(cm.Maker) AS MaximumMaker\nFROM model_list ml\nJOIN car_makers cm ON ml.Maker = cm.Id;\n``` \n\nThis query joins the `model_list` table with the `car_makers` table using the foreign key relationship, then selects the maximum \"Maker\" from the `car_makers` table based on the `Maker` ids in the `model_list` table.","cost":0.00014745,"response_parsed":"SELECT MAX(cm.Maker) AS MaximumMaker\nFROM model_list ml\nJOIN car_makers cm ON ml.Maker = cm.Id;","time":8.3632047176}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MIN","query":"SELECT MIN(`Maker`) FROM `model_list`","question":"Find the minimum Maker for the table model_list","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find the minimum Maker for the table `model_list`, you would typically want to perform a query that selects the minimum value from the `Maker` column, which is a foreign key referencing `car_makers(Id)`. Since `Maker` is stored as an integer in `model_list`, we can aggregate it directly. However, since you might want the corresponding Maker name from the `car_makers` table, you would also need to join those tables.\n\nHere is the SQL code to accomplish this:\n\n```sql\nSELECT cm.Maker\nFROM model_list ml\nJOIN car_makers cm ON ml.Maker = cm.Id\nORDER BY ml.Maker ASC\nLIMIT 1;\n```\n\nThis query joins the `model_list` table with the `car_makers` table on the `Maker` field, sorts the results by the `Maker` value in ascending order, and limits the output to the first record, which effectively gives you the minimum Maker based on the `Id` (if `Maker` is thought of as a numerical ID).","cost":0.00017025,"response_parsed":"SELECT cm.Maker\nFROM model_list ml\nJOIN car_makers cm ON ml.Maker = cm.Id\nORDER BY ml.Maker ASC\nLIMIT 1;","time":3.1624400616}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"model_list","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-AVG","query":"SELECT AVG(`Maker`) FROM `model_list`","question":"Find the average Maker for the table model_list","db_schema_normalized":"`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find the average Maker in the `model_list` table, we can query the `car_makers` table to determine the average count of different car makers associated with models in the `model_list`. However, since \"average maker\" generally does not have a clear mathematical interpretation in this context (as it may imply an average of some sort), a common approach might be to aggregate the data based on the number of entries per maker and then compute the average.\n\nSince \"Maker\" is a string (as indicated by it being referenced in the `car_makers` table), we can't compute an average directly on it. Instead, I'll provide an SQL code to count the distinct makers per model and then calculate an average:\n\n```sql\nSELECT AVG(MakerCount) AS AverageMakerCount\nFROM (\n SELECT COUNT(Maker) AS MakerCount\n FROM model_list\n GROUP BY Maker\n) AS MakerCounts;\n```\n\nThis code piece counts the number of models each maker has in the `model_list` and then calculates the average of these counts.","cost":0.00017085,"response_parsed":"SELECT AVG(MakerCount) AS AverageMakerCount\nFROM (\n SELECT COUNT(Maker) AS MakerCount\n FROM model_list\n GROUP BY Maker\n) AS MakerCounts;","time":2.9475402832}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `MPG`) FROM `cars_data`","question":"How many different MPG are in table cars_data?","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find the number of different MPG values in the `cars_data` table, you can use the following SQL code:\n\n```sql\nSELECT COUNT(DISTINCT MPG) AS Different_MPG_Count\nFROM cars_data;\n```","cost":0.00006945,"response_parsed":"SELECT COUNT(DISTINCT MPG) AS Different_MPG_Count\nFROM cars_data;","time":1.1359632015}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Horsepower`) FROM `cars_data`","question":"How many different Horsepower are in table cars_data?","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find out how many different horsepower values are in the `cars_data` table, you can use the following SQL query:\n\n```sql\nSELECT COUNT(DISTINCT Horsepower) AS DifferentHorsepowerCount\nFROM cars_data;\n```","cost":0.0000708,"response_parsed":"SELECT COUNT(DISTINCT Horsepower) AS DifferentHorsepowerCount\nFROM cars_data;","time":1.2987914085}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MAX","query":"SELECT MAX(`Accelerate`) FROM `cars_data`","question":"Find the maximum Accelerate for the table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find the maximum value of the \"Accelerate\" column from the `cars_data` table, you can use the following SQL query:\n\n```sql\nSELECT MAX(Accelerate) AS MaxAccelerate FROM cars_data;\n```","cost":0.0000702,"response_parsed":"SELECT MAX(Accelerate) AS MaxAccelerate FROM cars_data;","time":1.1177504063}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MIN","query":"SELECT MIN(`Accelerate`) FROM `cars_data`","question":"Find the minimum Accelerate for the table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find the minimum value of the \"Accelerate\" column in the `cars_data` table, you can use the following SQL query:\n\n```sql\nSELECT MIN(Accelerate) AS Minimum_Accelerate\nFROM cars_data;\n```","cost":0.0000714,"response_parsed":"SELECT MIN(Accelerate) AS Minimum_Accelerate\nFROM cars_data;","time":1.0180160999}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-AVG","query":"SELECT AVG(`Accelerate`) FROM `cars_data`","question":"Find the average Accelerate for the table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find the average `Accelerate` in the `cars_data` table, you can use the following SQL code:\n\n```sql\nSELECT AVG(Accelerate) AS AverageAccelerate\nFROM cars_data;\n```","cost":0.0000684,"response_parsed":"SELECT AVG(Accelerate) AS AverageAccelerate\nFROM cars_data;","time":0.6305229664}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MAX","query":"SELECT MAX(`Cylinders`) FROM `cars_data`","question":"Find the maximum Cylinders for the table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find the maximum number of Cylinders from the `cars_data` table, you can use the following SQL query:\n\n```sql\nSELECT MAX(Cylinders) AS MaxCylinders\nFROM cars_data;\n```","cost":0.000069,"response_parsed":"SELECT MAX(Cylinders) AS MaxCylinders\nFROM cars_data;","time":1.2137100697}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MIN","query":"SELECT MIN(`Cylinders`) FROM `cars_data`","question":"Find the minimum Cylinders for the table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find the minimum value of the `Cylinders` column in the `cars_data` table, you can use the following SQL query:\n\n```sql\nSELECT MIN(Cylinders) AS MinimumCylinders\nFROM cars_data;\n```","cost":0.000072,"response_parsed":"SELECT MIN(Cylinders) AS MinimumCylinders\nFROM cars_data;","time":0.8605260849}} {"db_path":"QATCH-journal\/spider_data\/test_database\/car_1\/car_1.sqlite","db_id":"car_1","tbl_name":"cars_data","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-AVG","query":"SELECT AVG(`Cylinders`) FROM `cars_data`","question":"Find the average Cylinders for the table cars_data","db_schema_normalized":"`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","db_schema":"`\"continents\"` (\"ContId\" INTEGER PRIMARY KEY, \"Continent\" TEXT)\n`\"countries\"` (\"CountryId\" INTEGER PRIMARY KEY, \"CountryName\" TEXT, \"Continent\" INTEGER, FOREIGN KEY (Continent) REFERENCES continents(ContId))\n`\"car_makers\"` (\"Id\" INTEGER PRIMARY KEY, \"Maker\" TEXT, \"FullName\" TEXT, \"Country\" TEXT, FOREIGN KEY (Country) REFERENCES countries(CountryId))\n`\"model_list\"` (\"ModelId\" INTEGER PRIMARY KEY, \"Maker\" INTEGER, \"Model\" TEXT UNIQUE, FOREIGN KEY (Maker) REFERENCES car_makers (Id))\n`\"car_names\"` (\"MakeId\" INTEGER PRIMARY KEY, \"Model\" TEXT, \"Make\" TEXT, FOREIGN KEY (Model) REFERENCES model_list (Model))\n`\"cars_data\"` (\"Id\" INTEGER PRIMARY KEY, \"MPG\" TEXT, \"Cylinders\" INTEGER, \"Edispl\" REAL, \"Horsepower\" TEXT, \"Weight\" INTEGER, \"Accelerate\" REAL, \"Year\" INTEGER, FOREIGN KEY (Id) REFERENCES car_names (MakeId))","pred_dict":{"response":"To find the average value of the `Cylinders` column from the `cars_data` table, you can execute the following SQL query:\n\n```sql\nSELECT AVG(Cylinders) AS AverageCylinders\nFROM cars_data;\n```","cost":0.000072,"response_parsed":"SELECT AVG(Cylinders) AS AverageCylinders\nFROM cars_data;","time":0.871868372}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Airline` FROM `airlines`","question":"Show the different Airline in the table airlines","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To fetch the different airlines from the `airlines` table, you can use the `SELECT DISTINCT` statement in SQL. Here's how you can write the SQL query to accomplish this:\n\n```sql\nSELECT DISTINCT Airline FROM airlines;\n```","cost":0.00005205,"response_parsed":"SELECT DISTINCT Airline FROM airlines;","time":1.0071823597}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Abbreviation` FROM `airlines`","question":"Show the different Abbreviation in the table airlines","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To retrieve the different abbreviations from the `airlines` table, you can use the SQL `SELECT` statement with the `DISTINCT` keyword. Here is the SQL code you would execute:\n\n```sql\nSELECT DISTINCT Abbreviation FROM airlines;\n```","cost":0.0000546,"response_parsed":"SELECT DISTINCT Abbreviation FROM airlines;","time":0.9019258022}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Country` FROM `airlines`","question":"Show the different Country in the table airlines","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To show the different countries in the `airlines` table, you can use the `DISTINCT` keyword in your SQL query. Here is the SQL code to fetch the different countries from the `airlines` table:\n\n```sql\nSELECT DISTINCT Country FROM airlines;\n```","cost":0.00005685,"response_parsed":"SELECT DISTINCT Country FROM airlines;","time":1.4747126102}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `City` FROM `airports`","question":"Show the different City in the table airports","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT DISTINCT City FROM airports;\n```","cost":0.00002985,"response_parsed":"SELECT DISTINCT City FROM airports;","time":0.444578886}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `AirportCode` FROM `airports`","question":"Show the different AirportCode in the table airports","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT DISTINCT AirportCode FROM airports;\n```","cost":0.0000306,"response_parsed":"SELECT DISTINCT AirportCode FROM airports;","time":0.3697793484}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `AirportName` FROM `airports`","question":"Show the different AirportName in the table airports","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To return the distinct airport names from the `airports` table, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT AirportName FROM airports;\n```","cost":0.0000438,"response_parsed":"SELECT DISTINCT AirportName FROM airports;","time":0.6979751587}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Country` FROM `airports`","question":"Show the different Country in the table airports","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To show the different countries listed in the `airports` table, you can execute the following SQL query:\n\n```sql\nSELECT DISTINCT Country FROM airports;\n``` \n\nThis query retrieves unique country names from the `Country` column in the `airports` table.","cost":0.00005565,"response_parsed":"SELECT DISTINCT Country FROM airports;","time":1.0253486633}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `CountryAbbrev` FROM `airports`","question":"Show the different CountryAbbrev in the table airports","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To retrieve the different `CountryAbbrev` values from the `airports` table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT CountryAbbrev FROM airports;\n```","cost":0.00004695,"response_parsed":"SELECT DISTINCT CountryAbbrev FROM airports;","time":0.7812154293}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `SourceAirport` FROM `flights`","question":"Show the different SourceAirport in the table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT DISTINCT SourceAirport \nFROM flights;\n```","cost":0.0000312,"response_parsed":"SELECT DISTINCT SourceAirport \nFROM flights;","time":0.5094511509}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `DestAirport` FROM `flights`","question":"Show the different DestAirport in the table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To fetch the different destination airports from the `flights` table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT DestAirport FROM flights;\n```","cost":0.0000438,"response_parsed":"SELECT DISTINCT DestAirport FROM flights;","time":0.5997443199}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Airline`, COUNT(*) FROM `airlines` GROUP BY `Airline`","question":"For each Airline, count the number of rows in table airlines","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To count the number of rows for each airline in the `airlines` table, you can use the following SQL code:\n\n```sql\nSELECT Airline, COUNT(*) AS airline_count\nFROM airlines\nGROUP BY Airline;\n``` \n\nThis query selects each airline and counts the number of occurrences (rows) associated with each airline, grouping the results by the airline name.","cost":0.00006825,"response_parsed":"SELECT Airline, COUNT(*) AS airline_count\nFROM airlines\nGROUP BY Airline;","time":1.5918257236}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Abbreviation`, COUNT(*) FROM `airlines` GROUP BY `Abbreviation`","question":"For each Abbreviation, count the number of rows in table airlines","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To count the number of rows in the `airlines` table for each abbreviation, you can use the following SQL query:\n\n```sql\nSELECT Abbreviation, COUNT(*) AS NumberOfRows\nFROM airlines\nGROUP BY Abbreviation;\n``` \n\nThis query groups the results by the `Abbreviation` column and counts the number of occurrences for each abbreviation, returning the abbreviation alongside the count.","cost":0.0000714,"response_parsed":"SELECT Abbreviation, COUNT(*) AS NumberOfRows\nFROM airlines\nGROUP BY Abbreviation;","time":2.1712174416}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Country`, COUNT(*) FROM `airlines` GROUP BY `Country`","question":"For each Country, count the number of rows in table airlines","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To count the number of rows in the `airlines` table for each country, you can use the following SQL query:\n\n```sql\nSELECT Country, COUNT(*) AS NumberOfAirlines\nFROM airlines\nGROUP BY Country;\n```","cost":0.00005265,"response_parsed":"SELECT Country, COUNT(*) AS NumberOfAirlines\nFROM airlines\nGROUP BY Country;","time":3.9112696648}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `City`, COUNT(*) FROM `airports` GROUP BY `City`","question":"For each City, count the number of rows in table airports","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To count the number of rows in the `airports` table for each city, you can use the following SQL query:\n\n```sql\nSELECT City, COUNT(*) AS AirportCount\nFROM airports\nGROUP BY City;\n```","cost":0.00005145,"response_parsed":"SELECT City, COUNT(*) AS AirportCount\nFROM airports\nGROUP BY City;","time":0.8138289452}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `AirportCode`, COUNT(*) FROM `airports` GROUP BY `AirportCode`","question":"For each AirportCode, count the number of rows in table airports","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To count the number of rows in the `airports` table for each `AirportCode`, you can use the following SQL query:\n\n```sql\nSELECT AirportCode, COUNT(*) AS Count\nFROM airports\nGROUP BY AirportCode;\n``` \n\nThis query selects the `AirportCode` and counts the number of entries for each code, grouping the results by `AirportCode`.","cost":0.0000696,"response_parsed":"SELECT AirportCode, COUNT(*) AS Count\nFROM airports\nGROUP BY AirportCode;","time":1.0141170025}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `AirportName`, COUNT(*) FROM `airports` GROUP BY `AirportName`","question":"For each AirportName, count the number of rows in table airports","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To count the number of rows in the `airports` table for each `AirportName`, you can use the following SQL code:\n\n```sql\nSELECT AirportName, COUNT(*) AS NumberOfEntries\nFROM airports\nGROUP BY AirportName;\n``` \n\nThis query groups the rows in the `airports` table by `AirportName` and counts the number of occurrences for each name.","cost":0.0000714,"response_parsed":"SELECT AirportName, COUNT(*) AS NumberOfEntries\nFROM airports\nGROUP BY AirportName;","time":1.5176539421}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Country`, COUNT(*) FROM `airports` GROUP BY `Country`","question":"For each Country, count the number of rows in table airports","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"Here is the SQL code to count the number of rows in the `airports` table for each country:\n\n```sql\nSELECT Country, COUNT(*) AS AirportCount\nFROM airports\nGROUP BY Country;\n```","cost":0.00004965,"response_parsed":"SELECT Country, COUNT(*) AS AirportCount\nFROM airports\nGROUP BY Country;","time":0.881667614}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `CountryAbbrev`, COUNT(*) FROM `airports` GROUP BY `CountryAbbrev`","question":"For each CountryAbbrev, count the number of rows in table airports","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To count the number of rows in the `airports` table for each `CountryAbbrev`, you can use the following SQL code:\n\n```sql\nSELECT CountryAbbrev, COUNT(*) AS NumberOfAirports\nFROM airports\nGROUP BY CountryAbbrev;\n```","cost":0.00005715,"response_parsed":"SELECT CountryAbbrev, COUNT(*) AS NumberOfAirports\nFROM airports\nGROUP BY CountryAbbrev;","time":1.234865427}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `SourceAirport`, COUNT(*) FROM `flights` GROUP BY `SourceAirport`","question":"For each SourceAirport, count the number of rows in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"Here's the SQL code to count the number of rows in the `flights` table for each `SourceAirport`:\n\n```sql\nSELECT SourceAirport, COUNT(*) AS NumberOfFlights\nFROM flights\nGROUP BY SourceAirport;\n```","cost":0.0000528,"response_parsed":"SELECT SourceAirport, COUNT(*) AS NumberOfFlights\nFROM flights\nGROUP BY SourceAirport;","time":0.8901309967}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `DestAirport`, COUNT(*) FROM `flights` GROUP BY `DestAirport`","question":"For each DestAirport, count the number of rows in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To count the number of rows in the `flights` table for each `DestAirport`, you can use the following SQL code:\n\n```sql\nSELECT DestAirport, COUNT(*) AS FlightCount\nFROM flights\nGROUP BY DestAirport;\n```","cost":0.000054,"response_parsed":"SELECT DestAirport, COUNT(*) AS FlightCount\nFROM flights\nGROUP BY DestAirport;","time":0.9793503284}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `SourceAirport`, MIN(`Airline`) FROM `flights` GROUP BY `SourceAirport`","question":"For each SourceAirport, find the min of Airline in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To fetch the minimum Airline for each SourceAirport in the `flights` table, you need to join the `flights` table with the `airlines` table to get the Airline names instead of their IDs. The SQL code would look like this:\n\n```sql\nSELECT f.SourceAirport, MIN(a.Airline) AS MinAirline\nFROM flights f\nJOIN airlines a ON f.Airline = a.uid\nGROUP BY f.SourceAirport;\n``` \n\nThis query groups the results by `SourceAirport` and retrieves the minimum Airline name associated with that airport.","cost":0.0000942,"response_parsed":"SELECT f.SourceAirport, MIN(a.Airline) AS MinAirline\nFROM flights f\nJOIN airlines a ON f.Airline = a.uid\nGROUP BY f.SourceAirport;","time":1.7110536098}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `SourceAirport`, MAX(`Airline`) FROM `flights` GROUP BY `SourceAirport`","question":"For each SourceAirport, find the max of Airline in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To find the maximum Airline for each SourceAirport from the `flights` table, you need to join the `flights` table with the `airlines` table on the Airline ID and then group the results by the SourceAirport. Here is the SQL code to execute this query:\n\n```sql\nSELECT f.SourceAirport, MAX(a.Airline) AS MaxAirline\nFROM flights f\nJOIN airlines a ON f.Airline = a.uid\nGROUP BY f.SourceAirport;\n```","cost":0.0000846,"response_parsed":"SELECT f.SourceAirport, MAX(a.Airline) AS MaxAirline\nFROM flights f\nJOIN airlines a ON f.Airline = a.uid\nGROUP BY f.SourceAirport;","time":1.7716345787}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `SourceAirport`, AVG(`Airline`) FROM `flights` GROUP BY `SourceAirport`","question":"For each SourceAirport, find the avg of Airline in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To find the average number of flights per airline for each SourceAirport in the `flights` table, you can use the following SQL code. This SQL code performs a `GROUP BY` operation on `SourceAirport` and calculates the average for the Airline, joining the tables as necessary.\n\n```sql\nSELECT \n f.SourceAirport, \n AVG(f.Airline) AS AvgAirline\nFROM \n flights f\nGROUP BY \n f.SourceAirport;\n```\n\nHowever, it's important to note that the field `Airline` in the `flights` table is an integer foreign key that references the `uid` of the `airlines` table. Since it doesn't make sense to calculate an average of an integer ID, you may instead want to count the number of unique airlines for each source airport. Here's how you could do that:\n\n```sql\nSELECT \n f.SourceAirport, \n COUNT(DISTINCT f.Airline) AS UniqueAirlinesCount\nFROM \n flights f\nGROUP BY \n f.SourceAirport;\n```\n\nMake sure to adjust the query based on your specific needs regarding the understanding of \"average of Airline.\"","cost":0.0001662,"response_parsed":"SELECT \n f.SourceAirport, \n COUNT(DISTINCT f.Airline) AS UniqueAirlinesCount\nFROM \n flights f\nGROUP BY \n f.SourceAirport;","time":5.5246510506}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `SourceAirport`, SUM(`Airline`) FROM `flights` GROUP BY `SourceAirport`","question":"For each SourceAirport, find the sum of Airline in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To fetch the sum of flights for each SourceAirport grouped by the airport, you can use the SQL `GROUP BY` clause along with the `COUNT` function. Here\u2019s the SQL code to fulfill the requirement:\n\n```sql\nSELECT SourceAirport, COUNT(*) AS total_flights\nFROM flights\nGROUP BY SourceAirport;\n``` \n\nThis query will return a list of each `SourceAirport` along with the corresponding count of flights associated with that airport from the `flights` table.","cost":0.0000834,"response_parsed":"SELECT SourceAirport, COUNT(*) AS total_flights\nFROM flights\nGROUP BY SourceAirport;","time":1.3645262718}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `SourceAirport`, MIN(`FlightNo`) FROM `flights` GROUP BY `SourceAirport`","question":"For each SourceAirport, find the min of FlightNo in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To find the minimum FlightNo for each SourceAirport from the `flights` table, you can use the following SQL query:\n\n```sql\nSELECT SourceAirport, MIN(FlightNo) AS MinFlightNo\nFROM flights\nGROUP BY SourceAirport;\n``` \n\nThis SQL code selects the `SourceAirport` along with the minimum FlightNo for each source airport by grouping the results based on `SourceAirport`.","cost":0.00007395,"response_parsed":"SELECT SourceAirport, MIN(FlightNo) AS MinFlightNo\nFROM flights\nGROUP BY SourceAirport;","time":1.788687706}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `SourceAirport`, MAX(`FlightNo`) FROM `flights` GROUP BY `SourceAirport`","question":"For each SourceAirport, find the max of FlightNo in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To retrieve the maximum `FlightNo` for each `SourceAirport` from the `flights` table, you can use the following SQL query:\n\n```sql\nSELECT SourceAirport, MAX(FlightNo) AS MaxFlightNo\nFROM flights\nGROUP BY SourceAirport;\n```","cost":0.00005835,"response_parsed":"SELECT SourceAirport, MAX(FlightNo) AS MaxFlightNo\nFROM flights\nGROUP BY SourceAirport;","time":1.9199178219}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `SourceAirport`, AVG(`FlightNo`) FROM `flights` GROUP BY `SourceAirport`","question":"For each SourceAirport, find the avg of FlightNo in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To find the average of `FlightNo` for each `SourceAirport` in the `flights` table, you can use the following SQL query:\n\n```sql\nSELECT SourceAirport, AVG(FlightNo) AS AvgFlightNo\nFROM flights\nGROUP BY SourceAirport;\n```","cost":0.00005895,"response_parsed":"SELECT SourceAirport, AVG(FlightNo) AS AvgFlightNo\nFROM flights\nGROUP BY SourceAirport;","time":1.1111335754}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `SourceAirport`, SUM(`FlightNo`) FROM `flights` GROUP BY `SourceAirport`","question":"For each SourceAirport, find the sum of FlightNo in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To find the sum of `FlightNo` for each `SourceAirport` from the `flights` table, you can use the following SQL code:\n\n```sql\nSELECT SourceAirport, SUM(FlightNo) AS TotalFlightNo\nFROM flights\nGROUP BY SourceAirport;\n```","cost":0.00005895,"response_parsed":"SELECT SourceAirport, SUM(FlightNo) AS TotalFlightNo\nFROM flights\nGROUP BY SourceAirport;","time":0.965362072}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `DestAirport`, MIN(`Airline`) FROM `flights` GROUP BY `DestAirport`","question":"For each DestAirport, find the min of Airline in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To find the minimum of the Airline for each DestAirport in the `flights` table, you can use the following SQL query. This involves grouping the results by `DestAirport` and using an aggregate function to find the minimum `Airline`. Since the `Airline` is stored as an integer foreign key in the `flights` table that references the `airlines` table, you will need to join the two tables to get the actual Airline name.\n\nHere's the SQL code:\n\n```sql\nSELECT f.DestAirport, MIN(a.Airline) AS MinAirline\nFROM flights f\nJOIN airlines a ON f.Airline = a.uid\nGROUP BY f.DestAirport;\n``` \n\nThis query selects each destination airport and the minimum airline associated with flights to that destination, grouped by the destination airport.","cost":0.0001248,"response_parsed":"SELECT f.DestAirport, MIN(a.Airline) AS MinAirline\nFROM flights f\nJOIN airlines a ON f.Airline = a.uid\nGROUP BY f.DestAirport;","time":2.9493448734}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `DestAirport`, MAX(`Airline`) FROM `flights` GROUP BY `DestAirport`","question":"For each DestAirport, find the max of Airline in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To find the maximum of Airline for each DestAirport in the `flights` table, you can use the following SQL query:\n\n```sql\nSELECT DestAirport, MAX(Airline) AS MaxAirline\nFROM flights\nGROUP BY DestAirport;\n```","cost":0.0000558,"response_parsed":"SELECT DestAirport, MAX(Airline) AS MaxAirline\nFROM flights\nGROUP BY DestAirport;","time":1.0819311142}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `DestAirport`, AVG(`Airline`) FROM `flights` GROUP BY `DestAirport`","question":"For each DestAirport, find the avg of Airline in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To find the average number of flights by airline for each destination airport in the `flights` table, you need to join the `flights` table with the `airlines` table to get the names of the airlines. Then, you can group the results by `DestAirport` and calculate the average number of airlines associated with each destination. Here\u2019s how you can write the SQL query for this:\n\n```sql\nSELECT \n f.DestAirport, \n COUNT(DISTINCT f.Airline) AS AvgAirline\nFROM \n flights f\nGROUP BY \n f.DestAirport;\n```\n\nThis query counts the distinct airlines for each destination airport and provides the average number of airlines per destination in the results. If you want to get the average as a numerical value instead of just a count, you would need to adjust the logic based on more specific requirements, e.g., if you want the total flights and divide them by a number, but in this case, it typically returns the number of distinct airlines per destination.","cost":0.0001512,"response_parsed":"SELECT \n f.DestAirport, \n COUNT(DISTINCT f.Airline) AS AvgAirline\nFROM \n flights f\nGROUP BY \n f.DestAirport;","time":4.5108892918}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `DestAirport`, SUM(`Airline`) FROM `flights` GROUP BY `DestAirport`","question":"For each DestAirport, find the sum of Airline in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To fetch the sum of Airlines for each DestAirport from the `flights` table, you can use the following SQL code:\n\n```sql\nSELECT DestAirport, COUNT(Airline) AS AirlineCount\nFROM flights\nGROUP BY DestAirport;\n```\n\nThis SQL query counts the number of occurrences of each Airline for each DestAirport. It uses the `COUNT()` function to compute the sum of Airlines and groups the results by the `DestAirport`.","cost":0.0000792,"response_parsed":"SELECT DestAirport, COUNT(Airline) AS AirlineCount\nFROM flights\nGROUP BY DestAirport;","time":1.6677370071}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `DestAirport`, MIN(`FlightNo`) FROM `flights` GROUP BY `DestAirport`","question":"For each DestAirport, find the min of FlightNo in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To fetch the minimum FlightNo for each DestAirport from the flights table, you can use the following SQL code:\n\n```sql\nSELECT DestAirport, MIN(FlightNo) AS MinFlightNo\nFROM flights\nGROUP BY DestAirport;\n```","cost":0.00005415,"response_parsed":"SELECT DestAirport, MIN(FlightNo) AS MinFlightNo\nFROM flights\nGROUP BY DestAirport;","time":0.9415380955}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `DestAirport`, MAX(`FlightNo`) FROM `flights` GROUP BY `DestAirport`","question":"For each DestAirport, find the max of FlightNo in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT DestAirport, MAX(FlightNo) AS MaxFlightNo\nFROM flights\nGROUP BY DestAirport;\n```","cost":0.00004035,"response_parsed":"SELECT DestAirport, MAX(FlightNo) AS MaxFlightNo\nFROM flights\nGROUP BY DestAirport;","time":0.6914775372}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `DestAirport`, AVG(`FlightNo`) FROM `flights` GROUP BY `DestAirport`","question":"For each DestAirport, find the avg of FlightNo in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To calculate the average of `FlightNo` grouped by `DestAirport` from the `flights` table, you would use the following SQL query:\n\n```sql\nSELECT DestAirport, AVG(FlightNo) AS AvgFlightNo\nFROM flights\nGROUP BY DestAirport;\n```","cost":0.00005895,"response_parsed":"SELECT DestAirport, AVG(FlightNo) AS AvgFlightNo\nFROM flights\nGROUP BY DestAirport;","time":0.9732937813}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `DestAirport`, SUM(`FlightNo`) FROM `flights` GROUP BY `DestAirport`","question":"For each DestAirport, find the sum of FlightNo in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To find the sum of `FlightNo` for each `DestAirport` in the `flights` table, you can use the following SQL code:\n\n```sql\nSELECT DestAirport, SUM(FlightNo) AS SumFlightNo\nFROM flights\nGROUP BY DestAirport;\n```","cost":0.00005895,"response_parsed":"SELECT DestAirport, SUM(FlightNo) AS SumFlightNo\nFROM flights\nGROUP BY DestAirport;","time":1.3422062397}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Airline` FROM `airlines` GROUP BY `Airline` HAVING count(*) >= 1","question":"Find all the Airline that have at least 1 records in table airlines","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT DISTINCT Airline \nFROM airlines \nWHERE uid IS NOT NULL;\n```","cost":0.00003495,"response_parsed":"SELECT DISTINCT Airline \nFROM airlines \nWHERE uid IS NOT NULL;","time":0.5145637989}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Airline` FROM `airlines` GROUP BY `Airline` HAVING count(*) <= 1","question":"Find all the Airline that have at most 1 records in table airlines","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To find all airlines that have at most 1 record in the `airlines` table, you can use the following SQL query:\n\n```sql\nSELECT Airline \nFROM airlines \nGROUP BY Airline \nHAVING COUNT(*) <= 1;\n``` \n\nThis SQL code groups records in the `airlines` table by the `Airline` name and then filters the groups, returning only those airlines with 1 or 0 entries in the table.","cost":0.00007875,"response_parsed":"SELECT Airline \nFROM airlines \nGROUP BY Airline \nHAVING COUNT(*) <= 1;","time":4.1877865791}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Abbreviation` FROM `airlines` GROUP BY `Abbreviation` HAVING count(*) >= 1","question":"Find all the Abbreviation that have at least 1 records in table airlines","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To find all the abbreviations that have at least one record in the `airlines` table, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT Abbreviation \nFROM airlines \nWHERE Abbreviation IS NOT NULL;\n```\n\nThis SQL code selects distinct abbreviations from the `airlines` table, ensuring that only non-null abbreviations are returned.","cost":0.0000687,"response_parsed":"SELECT DISTINCT Abbreviation \nFROM airlines \nWHERE Abbreviation IS NOT NULL;","time":1.2365715504}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Abbreviation` FROM `airlines` GROUP BY `Abbreviation` HAVING count(*) <= 1","question":"Find all the Abbreviation that have at most 1 records in table airlines","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To find all the Abbreviations that have at most 1 record in the `airlines` table, you can use the following SQL query:\n\n```sql\nSELECT Abbreviation\nFROM airlines\nGROUP BY Abbreviation\nHAVING COUNT(*) <= 1;\n``` \n\nThis query groups the records by `Abbreviation` and then uses the `HAVING` clause to filter out those groups that have more than one record, returning only those with one or zero records.","cost":0.0000819,"response_parsed":"SELECT Abbreviation\nFROM airlines\nGROUP BY Abbreviation\nHAVING COUNT(*) <= 1;","time":1.2688210011}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Country` FROM `airlines` GROUP BY `Country` HAVING count(*) >= 12","question":"Find all the Country that have at least 12 records in table airlines","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To find all the countries that have at least 12 records in the `airlines` table, you can use the following SQL query:\n\n```sql\nSELECT Country\nFROM airlines\nGROUP BY Country\nHAVING COUNT(*) >= 12;\n```","cost":0.00005475,"response_parsed":"SELECT Country\nFROM airlines\nGROUP BY Country\nHAVING COUNT(*) >= 12;","time":0.8729479313}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Country` FROM `airlines` GROUP BY `Country` HAVING count(*) <= 12","question":"Find all the Country that have at most 12 records in table airlines","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To find all countries that have at most 12 records in the `airlines` table, you can use the following SQL query:\n\n```sql\nSELECT Country\nFROM airlines\nGROUP BY Country\nHAVING COUNT(*) <= 12;\n``` \n\nThis query groups the records in the `airlines` table by the `Country` field and counts the number of records for each country. The `HAVING` clause is used to filter the results, retrieving only those countries that have 12 or fewer records.","cost":0.00008655,"response_parsed":"SELECT Country\nFROM airlines\nGROUP BY Country\nHAVING COUNT(*) <= 12;","time":2.2539849281}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `City` FROM `airports` GROUP BY `City` HAVING count(*) >= 1","question":"Find all the City that have at least 1 records in table airports","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To find all the cities that have at least one record in the `airports` table, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT City\nFROM airports;\n``` \n\nThis query selects distinct cities from the `airports` table, ensuring that each city is listed only once, even if there are multiple records for that city.","cost":0.00006735,"response_parsed":"SELECT DISTINCT City\nFROM airports;","time":1.2046124935}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `City` FROM `airports` GROUP BY `City` HAVING count(*) <= 1","question":"Find all the City that have at most 1 records in table airports","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To find all the cities that have at most 1 record in the `airports` table, you can use the following SQL code. This code uses the `GROUP BY` clause to group the records by city and the `HAVING` clause to filter for cities with a count of records that is less than or equal to 1.\n\n```sql\nSELECT City\nFROM airports\nGROUP BY City\nHAVING COUNT(*) <= 1;\n```","cost":0.00007935,"response_parsed":"SELECT City\nFROM airports\nGROUP BY City\nHAVING COUNT(*) <= 1;","time":1.5411229134}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Country` FROM `airports` GROUP BY `Country` HAVING count(*) >= 100","question":"Find all the Country that have at least 100 records in table airports","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To find all the countries that have at least 100 records in the `airports` table, you can use the following SQL query:\n\n```sql\nSELECT Country\nFROM airports\nGROUP BY Country\nHAVING COUNT(*) >= 100;\n```","cost":0.00005475,"response_parsed":"SELECT Country\nFROM airports\nGROUP BY Country\nHAVING COUNT(*) >= 100;","time":1.2099297047}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Country` FROM `airports` GROUP BY `Country` HAVING count(*) <= 100","question":"Find all the Country that have at most 100 records in table airports","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To find all the countries that have at most 100 records in the `airports` table, you can use the following SQL code:\n\n```sql\nSELECT Country\nFROM airports\nGROUP BY Country\nHAVING COUNT(*) <= 100;\n``` \n\nThis query selects the countries from the `airports` table, groups the results by country, and filters them to include only those with 100 or fewer airport records.","cost":0.00007575,"response_parsed":"SELECT Country\nFROM airports\nGROUP BY Country\nHAVING COUNT(*) <= 100;","time":1.5480134487}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `AirportName` FROM `airports` GROUP BY `AirportName` HAVING count(*) >= 1","question":"Find all the AirportName that have at least 1 records in table airports","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To fetch the names of all airports that have at least one record in the `airports` table, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT AirportName \nFROM airports \nWHERE AirportName IS NOT NULL;\n``` \n\nThis query selects unique airport names from the `airports` table, ensuring that only valid entries are included.","cost":0.0000675,"response_parsed":"SELECT DISTINCT AirportName \nFROM airports \nWHERE AirportName IS NOT NULL;","time":1.4415485859}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `AirportName` FROM `airports` GROUP BY `AirportName` HAVING count(*) <= 1","question":"Find all the AirportName that have at most 1 records in table airports","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To find all the `AirportName` entries that have at most 1 record in the `airports` table, you can use the following SQL query:\n\n```sql\nSELECT AirportName\nFROM airports\nGROUP BY AirportName\nHAVING COUNT(*) <= 1;\n``` \n\nThis code groups the records by `AirportName` and filters out those groups that have a count greater than 1, thus returning only those with at most one record.","cost":0.0000795,"response_parsed":"SELECT AirportName\nFROM airports\nGROUP BY AirportName\nHAVING COUNT(*) <= 1;","time":1.551027298}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `SourceAirport` FROM `flights` GROUP BY `SourceAirport` HAVING count(*) >= 12","question":"Find all the SourceAirport that have at least 12 records in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To fetch all the SourceAirport values that have at least 12 records in the `flights` table, you can use the following SQL query:\n\n```sql\nSELECT SourceAirport\nFROM flights\nGROUP BY SourceAirport\nHAVING COUNT(*) >= 12;\n```","cost":0.0000573,"response_parsed":"SELECT SourceAirport\nFROM flights\nGROUP BY SourceAirport\nHAVING COUNT(*) >= 12;","time":0.8969707489}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `SourceAirport` FROM `flights` GROUP BY `SourceAirport` HAVING count(*) <= 12","question":"Find all the SourceAirport that have at most 12 records in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To find all the `SourceAirport` values that have at most 12 records in the `flights` table, you can use the following SQL query:\n\n```sql\nSELECT SourceAirport\nFROM flights\nGROUP BY SourceAirport\nHAVING COUNT(*) <= 12;\n``` \n\nThis query groups the records in the `flights` table by the `SourceAirport` and then applies a condition to only include those airports with 12 or fewer associated flight records.","cost":0.0000813,"response_parsed":"SELECT SourceAirport\nFROM flights\nGROUP BY SourceAirport\nHAVING COUNT(*) <= 12;","time":2.7712814808}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `DestAirport` FROM `flights` GROUP BY `DestAirport` HAVING count(*) >= 12","question":"Find all the DestAirport that have at least 12 records in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To find all the `DestAirport` values from the `flights` table that have at least 12 records, you can use the following SQL query:\n\n```sql\nSELECT DestAirport\nFROM flights\nGROUP BY DestAirport\nHAVING COUNT(*) >= 12;\n``` \n\nThis query selects the `DestAirport` from the `flights` table, groups the results by `DestAirport`, and filters the groups to include only those that have 12 or more records.","cost":0.0000831,"response_parsed":"SELECT DestAirport\nFROM flights\nGROUP BY DestAirport\nHAVING COUNT(*) >= 12;","time":1.9135527611}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `DestAirport` FROM `flights` GROUP BY `DestAirport` HAVING count(*) <= 12","question":"Find all the DestAirport that have at most 12 records in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To find all `DestAirport` values that have at most 12 records in the `flights` table, you can use the following SQL code:\n\n```sql\nSELECT DestAirport\nFROM flights\nGROUP BY DestAirport\nHAVING COUNT(*) <= 12;\n```","cost":0.0000579,"response_parsed":"SELECT DestAirport\nFROM flights\nGROUP BY DestAirport\nHAVING COUNT(*) <= 12;","time":0.9934523106}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `SourceAirport` FROM `flights` GROUP BY `SourceAirport` HAVING AVG(`Airline`) >= 6.51","question":"List the SourceAirport which average of Airline is at least 6.51 in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To formulate the SQL query based on the requirements given, you need to join the `flights` and `airlines` tables to compute the average of the Airlines for each SourceAirport and filter those where the average is at least 6.51. \n\nHere's the SQL code to achieve this:\n\n```sql\nSELECT f.SourceAirport\nFROM flights f\nJOIN airlines a ON f.Airline = a.uid\nGROUP BY f.SourceAirport\nHAVING AVG(a.Airline) >= 6.51;\n``` \n\nThis query will list all `SourceAirport` entries from the `flights` table where the average of the Airline ratings (assuming the Airline column represents a rating or score) is at least 6.51. Make sure the `Airline` field in the `airlines` table actually holds numerical values for the average calculation to be meaningful.","cost":0.00013095,"response_parsed":"SELECT f.SourceAirport\nFROM flights f\nJOIN airlines a ON f.Airline = a.uid\nGROUP BY f.SourceAirport\nHAVING AVG(a.Airline) >= 6.51;","time":4.1694664955}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `SourceAirport` FROM `flights` GROUP BY `SourceAirport` HAVING AVG(`Airline`) <= 6.51","question":"List the SourceAirport which average of Airline is at most 6.51 in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To answer the question, the SQL query needs to calculate the average of the Airline from the `flights` table grouped by `SourceAirport`, and then filter those averages to find which ones are at most 6.51. Here is the SQL code for that:\n\n```sql\nSELECT SourceAirport\nFROM flights\nGROUP BY SourceAirport\nHAVING AVG(Airline) <= 6.51;\n```","cost":0.00007515,"response_parsed":"SELECT SourceAirport\nFROM flights\nGROUP BY SourceAirport\nHAVING AVG(Airline) <= 6.51;","time":1.3900697231}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `SourceAirport` FROM `flights` GROUP BY `SourceAirport` HAVING SUM(`Airline`) >= 78.0","question":"List the SourceAirport which summation of Airline is at least 78.0 in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"Here is the SQL code to fetch the SourceAirport which has a summation of Airline counts of at least 78.0 from the `flights` table:\n\n```sql\nSELECT SourceAirport\nFROM flights\nGROUP BY SourceAirport\nHAVING COUNT(Airline) >= 78;\n```","cost":0.0000615,"response_parsed":"SELECT SourceAirport\nFROM flights\nGROUP BY SourceAirport\nHAVING COUNT(Airline) >= 78;","time":0.9971268177}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `SourceAirport` FROM `flights` GROUP BY `SourceAirport` HAVING SUM(`Airline`) <= 78.0","question":"List the SourceAirport which summation of Airline is at most 78.0 in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"Here is the SQL code to fetch the SourceAirport for which the summation of Airline is at most 78.0 in the `flights` table:\n\n```sql\nSELECT SourceAirport\nFROM flights\nGROUP BY SourceAirport\nHAVING COUNT(Airline) <= 78;\n```","cost":0.0000609,"response_parsed":"SELECT SourceAirport\nFROM flights\nGROUP BY SourceAirport\nHAVING COUNT(Airline) <= 78;","time":1.1080288887}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `SourceAirport` FROM `flights` GROUP BY `SourceAirport` HAVING AVG(`FlightNo`) >= 664.35","question":"List the SourceAirport which average of FlightNo is at least 664.35 in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To achieve the goal of listing the `SourceAirport` which has an average `FlightNo` of at least 664.35 from the `flights` table, you can use the following SQL query:\n\n```sql\nSELECT SourceAirport\nFROM flights\nGROUP BY SourceAirport\nHAVING AVG(FlightNo) >= 664.35;\n``` \n\nThis query selects the `SourceAirport` from the `flights` table, groups the results by `SourceAirport`, and filters those groups to only include ones where the average `FlightNo` is at least 664.35.","cost":0.0000969,"response_parsed":"SELECT SourceAirport\nFROM flights\nGROUP BY SourceAirport\nHAVING AVG(FlightNo) >= 664.35;","time":2.8995306492}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `SourceAirport` FROM `flights` GROUP BY `SourceAirport` HAVING AVG(`FlightNo`) <= 664.35","question":"List the SourceAirport which average of FlightNo is at most 664.35 in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To answer the question, you would need to calculate the average of `FlightNo` grouped by `SourceAirport` and then filter for those with an average less than or equal to 664.35. Here\u2019s the SQL code that accomplishes this:\n\n```sql\nSELECT SourceAirport\nFROM flights\nGROUP BY SourceAirport\nHAVING AVG(FlightNo) <= 664.35;\n```","cost":0.0000735,"response_parsed":"SELECT SourceAirport\nFROM flights\nGROUP BY SourceAirport\nHAVING AVG(FlightNo) <= 664.35;","time":1.5740787983}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `SourceAirport` FROM `flights` GROUP BY `SourceAirport` HAVING SUM(`FlightNo`) >= 7970.2","question":"List the SourceAirport which summation of FlightNo is at least 7970.2 in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To obtain the list of `SourceAirport` where the summation of `FlightNo` is at least 7970.2 from the `flights` table, you can use the following SQL query:\n\n```sql\nSELECT SourceAirport\nFROM flights\nGROUP BY SourceAirport\nHAVING SUM(FlightNo) >= 7970.2;\n```","cost":0.000069,"response_parsed":"SELECT SourceAirport\nFROM flights\nGROUP BY SourceAirport\nHAVING SUM(FlightNo) >= 7970.2;","time":1.6906228065}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `SourceAirport` FROM `flights` GROUP BY `SourceAirport` HAVING SUM(`FlightNo`) <= 7970.2","question":"List the SourceAirport which summation of FlightNo is at most 7970.2 in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"Here is the SQL code to fetch the list of `SourceAirport` where the summation of `FlightNo` is at most 7970.2 from the `flights` table:\n\n```sql\nSELECT SourceAirport\nFROM flights\nGROUP BY SourceAirport\nHAVING SUM(FlightNo) <= 7970.2;\n```","cost":0.0000672,"response_parsed":"SELECT SourceAirport\nFROM flights\nGROUP BY SourceAirport\nHAVING SUM(FlightNo) <= 7970.2;","time":1.293046236}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `DestAirport` FROM `flights` GROUP BY `DestAirport` HAVING AVG(`Airline`) >= 6.51","question":"List the DestAirport which average of Airline is at least 6.51 in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To retrieve the list of destination airports where the average rating of the airlines is at least 6.51 from the `flights` table, we need to ensure the proper joins between the relevant tables. However, the given schema does not provide a direct column for ratings in the `airlines` table. Assuming there's an implicit understanding that each airline has some ratings stored elsewhere, we can proceed with a mock structure.\n\nAssuming we had a hypothetical column `Rating` in the `airlines` table, the SQL query would look something like this:\n\n```sql\nSELECT f.DestAirport\nFROM flights f\nJOIN airlines a ON f.Airline = a.uid\nGROUP BY f.DestAirport\nHAVING AVG(a.Rating) >= 6.51;\n```\n\nPlease adjust the query according to your actual schema if the `Rating` information needs to be retrieved from another source or table.","cost":0.00013515,"response_parsed":"SELECT f.DestAirport\nFROM flights f\nJOIN airlines a ON f.Airline = a.uid\nGROUP BY f.DestAirport\nHAVING AVG(a.Rating) >= 6.51;","time":2.8230872154}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `DestAirport` FROM `flights` GROUP BY `DestAirport` HAVING AVG(`Airline`) <= 6.51","question":"List the DestAirport which average of Airline is at most 6.51 in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To retrieve the destination airports (DestAirport) where the average rating of the airlines is at most 6.51, you need to join the `flights` table with the `airlines` table, perform an aggregation to calculate the average per DestAirport, and filter the results based on the average. Here\u2019s the SQL code for this query:\n\n```sql\nSELECT f.DestAirport\nFROM flights f\nJOIN airlines a ON f.Airline = a.uid\nGROUP BY f.DestAirport\nHAVING AVG(a.rating) <= 6.51;\n```\n\nNote: You may need to ensure that the `airlines` table has a `rating` column which contains the required ratings. If such a column does not exist, please provide the correct data structure and I'll assist you accordingly.","cost":0.00012315,"response_parsed":"SELECT f.DestAirport\nFROM flights f\nJOIN airlines a ON f.Airline = a.uid\nGROUP BY f.DestAirport\nHAVING AVG(a.rating) <= 6.51;","time":3.0361378193}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `DestAirport` FROM `flights` GROUP BY `DestAirport` HAVING SUM(`Airline`) >= 78.0","question":"List the DestAirport which summation of Airline is at least 78.0 in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To translate the question into SQL code, you can use the following query. This query will group the data by `DestAirport`, sum the number of flights for each destination, and filter for those destinations where the sum is at least 78.0.\n\n```sql\nSELECT f.DestAirport\nFROM flights f\nGROUP BY f.DestAirport\nHAVING SUM(f.Airline) >= 78.0;\n``` \n\nThis SQL code first selects the `DestAirport` from the `flights` table, groups the results by `DestAirport`, and then uses the `HAVING` clause to filter those results where the summation of `Airline` is at least 78.0.","cost":0.0001113,"response_parsed":"SELECT f.DestAirport\nFROM flights f\nGROUP BY f.DestAirport\nHAVING SUM(f.Airline) >= 78.0;","time":2.4219219685}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `DestAirport` FROM `flights` GROUP BY `DestAirport` HAVING SUM(`Airline`) <= 78.0","question":"List the DestAirport which summation of Airline is at most 78.0 in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To get the list of destination airports (`DestAirport`) where the sum of occurrences of each airline in the `flights` table is at most 78.0, you can use the following SQL code:\n\n```sql\nSELECT DestAirport\nFROM flights\nGROUP BY DestAirport\nHAVING SUM(Airline) <= 78.0;\n```\n\nPlease note that the `SUM(Airline)` in this context may not make sense if `Airline` is treated as an integer (which in this schema refers to a foreign key to the airlines table). If you instead want to count unique airlines leading to each destination, you may want to use a count on distinct airlines. If that's what you meant, here's the corrected code:\n\n```sql\nSELECT DestAirport\nFROM flights\nGROUP BY DestAirport\nHAVING COUNT(DISTINCT Airline) <= 78;\n```\n\nMake sure to clarify whether you want to sum numeric values or count distinct entries for airlines when executing the query.","cost":0.0001455,"response_parsed":"SELECT DestAirport\nFROM flights\nGROUP BY DestAirport\nHAVING COUNT(DISTINCT Airline) <= 78;","time":3.2350518703}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `DestAirport` FROM `flights` GROUP BY `DestAirport` HAVING AVG(`FlightNo`) >= 664.36","question":"List the DestAirport which average of FlightNo is at least 664.36 in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To retrieve the `DestAirport` where the average of `FlightNo` is at least 664.36 from the `flights` table, you can use the following SQL query:\n\n```sql\nSELECT DestAirport\nFROM flights\nGROUP BY DestAirport\nHAVING AVG(FlightNo) >= 664.36;\n```","cost":0.0000657,"response_parsed":"SELECT DestAirport\nFROM flights\nGROUP BY DestAirport\nHAVING AVG(FlightNo) >= 664.36;","time":1.3417422771}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `DestAirport` FROM `flights` GROUP BY `DestAirport` HAVING AVG(`FlightNo`) <= 664.36","question":"List the DestAirport which average of FlightNo is at most 664.36 in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To fetch the desired information based on the provided question and database schema, you can use the following SQL code:\n\n```sql\nSELECT DestAirport\nFROM flights\nGROUP BY DestAirport\nHAVING AVG(FlightNo) <= 664.36;\n``` \n\nThis SQL code groups the records in the `flights` table by `DestAirport` and retrieves only those destinations where the average of `FlightNo` is at most 664.36.","cost":0.0000801,"response_parsed":"SELECT DestAirport\nFROM flights\nGROUP BY DestAirport\nHAVING AVG(FlightNo) <= 664.36;","time":1.8857660294}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `DestAirport` FROM `flights` GROUP BY `DestAirport` HAVING SUM(`FlightNo`) >= 7970.2","question":"List the DestAirport which summation of FlightNo is at least 7970.2 in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To construct the SQL query based on the provided question, you need to perform a grouping operation on the `flights` table. You will group the results by `DestAirport` and then filter the groups where the sum of `FlightNo` is at least `7970.2`.\n\nHere is the SQL code that accomplishes this:\n\n```sql\nSELECT DestAirport\nFROM flights\nGROUP BY DestAirport\nHAVING SUM(FlightNo) >= 7970.2;\n```","cost":0.0000846,"response_parsed":"SELECT DestAirport\nFROM flights\nGROUP BY DestAirport\nHAVING SUM(FlightNo) >= 7970.2;","time":1.9584860802}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `DestAirport` FROM `flights` GROUP BY `DestAirport` HAVING SUM(`FlightNo`) <= 7970.2","question":"List the DestAirport which summation of FlightNo is at most 7970.2 in table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To fetch the `DestAirport` where the summation of `FlightNo` is at most 7970.2 from the `flights` table, you can use the following SQL code:\n\n```sql\nSELECT DestAirport\nFROM flights\nGROUP BY DestAirport\nHAVING SUM(FlightNo) <= 7970.2;\n```","cost":0.0000678,"response_parsed":"SELECT DestAirport\nFROM flights\nGROUP BY DestAirport\nHAVING SUM(FlightNo) <= 7970.2;","time":1.0973722935}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"many-to-many-generator","sql_tag":"many-to-many","query":"SELECT `Airline` FROM `airlines` GROUP BY `Airline` HAVING COUNT(DISTINCT `Country`) = (SELECT COUNT(DISTINCT `Country`) FROM `airlines`)","question":"What are the Airline with all the Country in table airlines?","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To fetch the airlines along with their corresponding countries from the `airlines` table, you can use the following SQL query:\n\n```sql\nSELECT Airline, Country\nFROM airlines;\n```\n\nThis query will select the `Airline` and `Country` columns from the `airlines` table, providing you with a list of all airlines and the countries they belong to.","cost":0.0000693,"response_parsed":"SELECT Airline, Country\nFROM airlines;","time":1.5979888439}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"many-to-many-generator","sql_tag":"many-to-many","query":"SELECT `Abbreviation` FROM `airlines` GROUP BY `Abbreviation` HAVING COUNT(DISTINCT `Country`) = (SELECT COUNT(DISTINCT `Country`) FROM `airlines`)","question":"What are the Abbreviation with all the Country in table airlines?","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To retrieve the abbreviations along with the corresponding countries from the `airlines` table, you can use the following SQL query:\n\n```sql\nSELECT Abbreviation, Country \nFROM airlines;\n```","cost":0.00004785,"response_parsed":"SELECT Abbreviation, Country \nFROM airlines;","time":0.9297053814}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"many-to-many-generator","sql_tag":"many-to-many","query":"SELECT `City` FROM `airports` GROUP BY `City` HAVING COUNT(DISTINCT `Country`) = (SELECT COUNT(DISTINCT `Country`) FROM `airports`)","question":"What are the City with all the Country in table airports?","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To fetch the cities along with their corresponding countries from the `airports` table, you can use the following SQL query:\n\n```sql\nSELECT City, Country FROM airports;\n``` \n\nThis query selects the `City` and `Country` columns from the `airports` table, which contains the necessary information for the question asked.","cost":0.0000645,"response_parsed":"SELECT City, Country FROM airports;","time":4.5078237057}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"many-to-many-generator","sql_tag":"many-to-many","query":"SELECT `City` FROM `airports` GROUP BY `City` HAVING COUNT(DISTINCT `CountryAbbrev`) = (SELECT COUNT(DISTINCT `CountryAbbrev`) FROM `airports`)","question":"What are the City with all the CountryAbbrev in table airports?","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To fetch the cities along with all associated country abbreviations from the `airports` table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT City, CountryAbbrev\nFROM airports;\n```\n\nThis query selects distinct combinations of cities and their corresponding country abbreviations from the `airports` table.","cost":0.000063,"response_parsed":"SELECT DISTINCT City, CountryAbbrev\nFROM airports;","time":1.4193153381}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"many-to-many-generator","sql_tag":"many-to-many","query":"SELECT `AirportCode` FROM `airports` GROUP BY `AirportCode` HAVING COUNT(DISTINCT `Country`) = (SELECT COUNT(DISTINCT `Country`) FROM `airports`)","question":"What are the AirportCode with all the Country in table airports?","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To fetch the AirportCode along with their corresponding Country from the `airports` table, you can use the following SQL query:\n\n```sql\nSELECT AirportCode, Country\nFROM airports;\n```","cost":0.00004785,"response_parsed":"SELECT AirportCode, Country\nFROM airports;","time":0.7986829281}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"many-to-many-generator","sql_tag":"many-to-many","query":"SELECT `AirportName` FROM `airports` GROUP BY `AirportName` HAVING COUNT(DISTINCT `Country`) = (SELECT COUNT(DISTINCT `Country`) FROM `airports`)","question":"What are the AirportName with all the Country in table airports?","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To retrieve the AirportName along with their corresponding Country from the `airports` table, you can use the following SQL query:\n\n```sql\nSELECT AirportName, Country FROM airports;\n```","cost":0.00004725,"response_parsed":"SELECT AirportName, Country FROM airports;","time":0.8723711967}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"many-to-many-generator","sql_tag":"many-to-many","query":"SELECT `Country` FROM `airports` GROUP BY `Country` HAVING COUNT(DISTINCT `CountryAbbrev`) = (SELECT COUNT(DISTINCT `CountryAbbrev`) FROM `airports`)","question":"What are the Country with all the CountryAbbrev in table airports?","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To find the countries that have all the country abbreviations listed in the `airports` table, you can execute the following SQL query:\n\n```sql\nSELECT DISTINCT Country\nFROM airports\nWHERE CountryAbbrev IN (SELECT DISTINCT CountryAbbrev FROM airports)\nGROUP BY Country\nHAVING COUNT(DISTINCT CountryAbbrev) = (SELECT COUNT(DISTINCT CountryAbbrev) FROM airports);\n```\n\nThis SQL code:\n\n1. Selects the distinct `Country` from the `airports` table.\n2. Filters countries where each `CountryAbbrev` matches the abbreviations in the `airports` table.\n3. Groups the results by `Country`.\n4. Uses the `HAVING` clause to ensure that the count of distinct `CountryAbbrev` for each country matches the total count of distinct `CountryAbbrev` found in the `airports` table.","cost":0.000132,"response_parsed":"SELECT DISTINCT Country\nFROM airports\nWHERE CountryAbbrev IN (SELECT DISTINCT CountryAbbrev FROM airports)\nGROUP BY Country\nHAVING COUNT(DISTINCT CountryAbbrev) = (SELECT COUNT(DISTINCT CountryAbbrev) FROM airports);","time":2.8028588295}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `airlines` ORDER BY `Country` ASC","question":"Show all data ordered by Country in ascending order for the table airlines","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT * FROM airlines\nORDER BY Country ASC;\n```","cost":0.000033,"response_parsed":"SELECT * FROM airlines\nORDER BY Country ASC;","time":0.6101746559}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `airlines` ORDER BY `Country` DESC","question":"Show all data ordered by Country in descending order for the table airlines","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT * FROM airlines\nORDER BY Country DESC;\n```","cost":0.000033,"response_parsed":"SELECT * FROM airlines\nORDER BY Country DESC;","time":0.4351716042}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `airlines` ORDER BY `Abbreviation` ASC","question":"Show all data ordered by Abbreviation in ascending order for the table airlines","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"Here is the SQL code to fetch all data from the `airlines` table ordered by the `Abbreviation` column in ascending order:\n\n```sql\nSELECT * FROM airlines\nORDER BY Abbreviation ASC;\n```","cost":0.00005055,"response_parsed":"SELECT * FROM airlines\nORDER BY Abbreviation ASC;","time":0.7532734871}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `airlines` ORDER BY `Abbreviation` DESC","question":"Show all data ordered by Abbreviation in descending order for the table airlines","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To fetch all data from the `airlines` table ordered by the `Abbreviation` column in descending order, you can use the following SQL code:\n\n```sql\nSELECT * FROM airlines\nORDER BY Abbreviation DESC;\n```","cost":0.00005235,"response_parsed":"SELECT * FROM airlines\nORDER BY Abbreviation DESC;","time":0.9418103695}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Abbreviation` FROM `airlines` ORDER BY `Abbreviation` ASC","question":"Project the Abbreviation ordered in ascending order for the table airlines","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT Abbreviation\nFROM airlines\nORDER BY Abbreviation ASC;\n```","cost":0.00003465,"response_parsed":"SELECT Abbreviation\nFROM airlines\nORDER BY Abbreviation ASC;","time":0.4696218967}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Abbreviation` FROM `airlines` ORDER BY `Abbreviation` DESC","question":"Project the Abbreviation ordered in descending order for the table airlines","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To retrieve the Abbreviation from the airlines table ordered in descending order, you can use the following SQL code:\n\n```sql\nSELECT Abbreviation\nFROM airlines\nORDER BY Abbreviation DESC;\n```","cost":0.00004785,"response_parsed":"SELECT Abbreviation\nFROM airlines\nORDER BY Abbreviation DESC;","time":1.4578552246}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Country` FROM `airlines` ORDER BY `Country` ASC","question":"Project the Country ordered in ascending order for the table airlines","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To fetch the distinct countries from the `airlines` table and order them in ascending order, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT Country \nFROM airlines \nORDER BY Country ASC;\n```","cost":0.0000501,"response_parsed":"SELECT DISTINCT Country \nFROM airlines \nORDER BY Country ASC;","time":0.9788954258}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Country` FROM `airlines` ORDER BY `Country` DESC","question":"Project the Country ordered in descending order for the table airlines","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To project the Country ordered in descending order from the `airlines` table, you can use the following SQL code:\n\n```sql\nSELECT Country\nFROM airlines\nORDER BY Country DESC;\n```","cost":0.0000477,"response_parsed":"SELECT Country\nFROM airlines\nORDER BY Country DESC;","time":0.6535506248}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `airports` ORDER BY `Country` ASC","question":"Show all data ordered by Country in ascending order for the table airports","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT * FROM airports\nORDER BY Country ASC;\n```","cost":0.000033,"response_parsed":"SELECT * FROM airports\nORDER BY Country ASC;","time":0.8804042339}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `airports` ORDER BY `Country` DESC","question":"Show all data ordered by Country in descending order for the table airports","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT * \nFROM airports \nORDER BY Country DESC;\n```","cost":0.0000336,"response_parsed":"SELECT * \nFROM airports \nORDER BY Country DESC;","time":0.7083024979}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `airports` ORDER BY `AirportName` ASC","question":"Show all data ordered by AirportName in ascending order for the table airports","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT * FROM airports\nORDER BY AirportName ASC;\n```","cost":0.00003375,"response_parsed":"SELECT * FROM airports\nORDER BY AirportName ASC;","time":0.4306263924}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `airports` ORDER BY `AirportName` DESC","question":"Show all data ordered by AirportName in descending order for the table airports","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To fetch all data from the `airports` table and order it by `AirportName` in descending order, you can use the following SQL code:\n\n```sql\nSELECT * \nFROM airports \nORDER BY AirportName DESC;\n```","cost":0.00005295,"response_parsed":"SELECT * \nFROM airports \nORDER BY AirportName DESC;","time":3.4929745197}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `AirportName` FROM `airports` ORDER BY `AirportName` ASC","question":"Project the AirportName ordered in ascending order for the table airports","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"Here is the SQL code to project the `AirportName` ordered in ascending order from the `airports` table:\n\n```sql\nSELECT AirportName\nFROM airports\nORDER BY AirportName ASC;\n```","cost":0.00004905,"response_parsed":"SELECT AirportName\nFROM airports\nORDER BY AirportName ASC;","time":0.8407332897}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `AirportName` FROM `airports` ORDER BY `AirportName` DESC","question":"Project the AirportName ordered in descending order for the table airports","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT AirportName \nFROM airports \nORDER BY AirportName DESC;\n```","cost":0.00003465,"response_parsed":"SELECT AirportName \nFROM airports \nORDER BY AirportName DESC;","time":0.3931381702}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Country` FROM `airports` ORDER BY `Country` ASC","question":"Project the Country ordered in ascending order for the table airports","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To retrieve a list of countries from the `airports` table, ordered in ascending order, the SQL query would be as follows:\n\n```sql\nSELECT DISTINCT Country FROM airports ORDER BY Country ASC;\n```","cost":0.0000489,"response_parsed":"SELECT DISTINCT Country FROM airports ORDER BY Country ASC;","time":0.934322834}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Country` FROM `airports` ORDER BY `Country` DESC","question":"Project the Country ordered in descending order for the table airports","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To fetch the distinct countries from the `airports` table and order them in descending order, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT Country\nFROM airports\nORDER BY Country DESC;\n```","cost":0.0000501,"response_parsed":"SELECT DISTINCT Country\nFROM airports\nORDER BY Country DESC;","time":1.4686391354}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `flights` ORDER BY `SourceAirport` ASC","question":"Show all data ordered by SourceAirport in ascending order for the table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT * \nFROM flights \nORDER BY SourceAirport ASC;\n```","cost":0.00003435,"response_parsed":"SELECT * \nFROM flights \nORDER BY SourceAirport ASC;","time":0.4481868744}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `flights` ORDER BY `SourceAirport` DESC","question":"Show all data ordered by SourceAirport in descending order for the table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT * \nFROM flights \nORDER BY SourceAirport DESC;\n```","cost":0.00003435,"response_parsed":"SELECT * \nFROM flights \nORDER BY SourceAirport DESC;","time":0.5125336647}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `flights` ORDER BY `FlightNo` ASC","question":"Show all data ordered by FlightNo in ascending order for the table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT * FROM flights\nORDER BY FlightNo ASC;\n```","cost":0.00003375,"response_parsed":"SELECT * FROM flights\nORDER BY FlightNo ASC;","time":0.548199892}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `flights` ORDER BY `FlightNo` DESC","question":"Show all data ordered by FlightNo in descending order for the table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT * FROM flights\nORDER BY FlightNo DESC;\n```","cost":0.00003375,"response_parsed":"SELECT * FROM flights\nORDER BY FlightNo DESC;","time":0.4541800022}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `DestAirport` FROM `flights` ORDER BY `DestAirport` ASC","question":"Project the DestAirport ordered in ascending order for the table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT DestAirport\nFROM flights\nORDER BY DestAirport ASC;\n```","cost":0.00003465,"response_parsed":"SELECT DestAirport\nFROM flights\nORDER BY DestAirport ASC;","time":0.5997846127}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `DestAirport` FROM `flights` ORDER BY `DestAirport` DESC","question":"Project the DestAirport ordered in descending order for the table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To project the `DestAirport` column from the `flights` table and order the results in descending order, you can use the following SQL code:\n\n```sql\nSELECT DestAirport\nFROM flights\nORDER BY DestAirport DESC;\n```","cost":0.00005325,"response_parsed":"SELECT DestAirport\nFROM flights\nORDER BY DestAirport DESC;","time":0.8284225464}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `SourceAirport` FROM `flights` ORDER BY `SourceAirport` ASC","question":"Project the SourceAirport ordered in ascending order for the table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To retrieve the `SourceAirport` from the `flights` table and order them in ascending order, you can use the following SQL query:\n\n```sql\nSELECT SourceAirport \nFROM flights \nORDER BY SourceAirport ASC;\n```","cost":0.00005205,"response_parsed":"SELECT SourceAirport \nFROM flights \nORDER BY SourceAirport ASC;","time":1.336605072}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `SourceAirport` FROM `flights` ORDER BY `SourceAirport` DESC","question":"Project the SourceAirport ordered in descending order for the table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"Here is the SQL code to project the `SourceAirport` from the `flights` table and order it in descending order:\n\n```sql\nSELECT SourceAirport \nFROM flights \nORDER BY SourceAirport DESC;\n```","cost":0.00005025,"response_parsed":"SELECT SourceAirport \nFROM flights \nORDER BY SourceAirport DESC;","time":0.6713993549}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `uid` FROM `airlines`","question":"Show all uid in the table airlines","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT uid FROM airlines;\n```","cost":0.0000291,"response_parsed":"SELECT uid FROM airlines;","time":0.3362810612}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Airline` FROM `airlines`","question":"Show all Airline in the table airlines","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To fetch all airlines from the `airlines` table, you can use the following SQL code:\n\n```sql\nSELECT * FROM airlines;\n```","cost":0.0000411,"response_parsed":"SELECT * FROM airlines;","time":1.1241388321}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Abbreviation` FROM `airlines`","question":"Show all Abbreviation in the table airlines","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT Abbreviation FROM airlines;\n```","cost":0.00002985,"response_parsed":"SELECT Abbreviation FROM airlines;","time":0.3388600349}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Country` FROM `airlines`","question":"Show all Country in the table airlines","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT Country FROM airlines;\n```","cost":0.0000291,"response_parsed":"SELECT Country FROM airlines;","time":0.3785402775}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"PROJECT","sql_tag":"SELECT-ALL","query":"SELECT * FROM `airlines`","question":"Show all the rows in the table airlines","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT * FROM airlines;\n```","cost":0.00002925,"response_parsed":"SELECT * FROM airlines;","time":0.4741470814}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `uid` FROM `airlines`","question":"Show all uid in the table airlines","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT uid FROM airlines;\n```","cost":0.0000291,"response_parsed":"SELECT uid FROM airlines;","time":0.3918261528}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Abbreviation`, `uid` FROM `airlines`","question":"Show all Abbreviation, uid in the table airlines","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To fetch all the Abbreviation and uid from the 'airlines' table, you can use the following SQL code:\n\n```sql\nSELECT Abbreviation, uid FROM airlines;\n```","cost":0.00004575,"response_parsed":"SELECT Abbreviation, uid FROM airlines;","time":0.7806847095}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Country`, `uid`, `Abbreviation` FROM `airlines`","question":"Show all Country, uid, Abbreviation in the table airlines","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"Here is the SQL code to fetch the requested information from the `airlines` table:\n\n```sql\nSELECT Country, uid, Abbreviation FROM airlines;\n```","cost":0.00004365,"response_parsed":"SELECT Country, uid, Abbreviation FROM airlines;","time":1.4782652855}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `City` FROM `airports`","question":"Show all City in the table airports","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT City FROM airports;\n```","cost":0.0000291,"response_parsed":"SELECT City FROM airports;","time":0.494230032}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `AirportCode` FROM `airports`","question":"Show all AirportCode in the table airports","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT AirportCode FROM airports;\n```","cost":0.00002985,"response_parsed":"SELECT AirportCode FROM airports;","time":5.2156345844}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `AirportName` FROM `airports`","question":"Show all AirportName in the table airports","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT AirportName FROM airports;\n```","cost":0.00002985,"response_parsed":"SELECT AirportName FROM airports;","time":0.4330458641}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Country` FROM `airports`","question":"Show all Country in the table airports","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To retrieve all distinct countries from the `airports` table, the SQL query would look like this:\n\n```sql\nSELECT DISTINCT Country FROM airports;\n```","cost":0.0000423,"response_parsed":"SELECT DISTINCT Country FROM airports;","time":0.6800885201}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `CountryAbbrev` FROM `airports`","question":"Show all CountryAbbrev in the table airports","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT CountryAbbrev FROM airports;\n```","cost":0.0000306,"response_parsed":"SELECT CountryAbbrev FROM airports;","time":0.4149327278}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"PROJECT","sql_tag":"SELECT-ALL","query":"SELECT * FROM `airports`","question":"Show all the rows in the table airports","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To fetch all the rows from the `airports` table, you can use the following SQL code:\n\n```sql\nSELECT * FROM airports;\n```","cost":0.00004185,"response_parsed":"SELECT * FROM airports;","time":1.1554665565}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `City` FROM `airports`","question":"Show all City in the table airports","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT City FROM airports;\n```","cost":0.0000291,"response_parsed":"SELECT City FROM airports;","time":0.4599814415}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Country`, `CountryAbbrev` FROM `airports`","question":"Show all Country, CountryAbbrev in the table airports","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"Here is the SQL code to fetch all Country and CountryAbbrev from the `airports` table:\n\n```sql\nSELECT Country, CountryAbbrev FROM airports;\n```","cost":0.0000447,"response_parsed":"SELECT Country, CountryAbbrev FROM airports;","time":0.8787236214}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `AirportCode`, `City`, `AirportName` FROM `airports`","question":"Show all AirportCode, City, AirportName in the table airports","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT AirportCode, City, AirportName \nFROM airports;\n```","cost":0.0000342,"response_parsed":"SELECT AirportCode, City, AirportName \nFROM airports;","time":0.544574976}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Country`, `CountryAbbrev`, `City`, `AirportName` FROM `airports`","question":"Show all Country, CountryAbbrev, City, AirportName in the table airports","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To retrieve all the columns \"Country\", \"CountryAbbrev\", \"City\", and \"AirportName\" from the \"airports\" table, you can use the following SQL query:\n\n```sql\nSELECT Country, CountryAbbrev, City, AirportName \nFROM airports;\n```","cost":0.00005865,"response_parsed":"SELECT Country, CountryAbbrev, City, AirportName \nFROM airports;","time":3.3334407806}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Airline` FROM `flights`","question":"Show all Airline in the table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT DISTINCT a.Airline\nFROM airlines a\nJOIN flights f ON a.uid = f.Airline;\n```","cost":0.0000399,"response_parsed":"SELECT DISTINCT a.Airline\nFROM airlines a\nJOIN flights f ON a.uid = f.Airline;","time":0.8690218925}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `FlightNo` FROM `flights`","question":"Show all FlightNo in the table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT FlightNo FROM flights;\n```","cost":0.00002985,"response_parsed":"SELECT FlightNo FROM flights;","time":0.6537110806}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `SourceAirport` FROM `flights`","question":"Show all SourceAirport in the table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT DISTINCT SourceAirport\nFROM flights;\n```","cost":0.00003105,"response_parsed":"SELECT DISTINCT SourceAirport\nFROM flights;","time":0.4916722775}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `DestAirport` FROM `flights`","question":"Show all DestAirport in the table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT DISTINCT DestAirport FROM flights;\n```","cost":0.00003045,"response_parsed":"SELECT DISTINCT DestAirport FROM flights;","time":0.379529953}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"PROJECT","sql_tag":"SELECT-ALL","query":"SELECT * FROM `flights`","question":"Show all the rows in the table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT * FROM flights;\n```","cost":0.00002925,"response_parsed":"SELECT * FROM flights;","time":0.4557807446}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `DestAirport` FROM `flights`","question":"Show all DestAirport in the table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To fetch all distinct destination airports from the `flights` table, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT DestAirport FROM flights;\n```","cost":0.00004365,"response_parsed":"SELECT DISTINCT DestAirport FROM flights;","time":0.7032485008}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `SourceAirport`, `DestAirport` FROM `flights`","question":"Show all SourceAirport, DestAirport in the table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT SourceAirport, DestAirport\nFROM flights;\n```","cost":0.0000327,"response_parsed":"SELECT SourceAirport, DestAirport\nFROM flights;","time":0.6858310699}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Airline`, `SourceAirport`, `FlightNo` FROM `flights`","question":"Show all Airline, SourceAirport, FlightNo in the table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To retrieve the required information from the `flights` table while also including the corresponding `Airline` names from the `airlines` table, you will need to perform a SQL `JOIN` operation. Here is the SQL code to execute the query:\n\n```sql\nSELECT a.Airline, f.SourceAirport, f.FlightNo\nFROM flights f\nJOIN airlines a ON f.Airline = a.uid;\n``` \n\nThis SQL statement selects the `Airline`, `SourceAirport`, and `FlightNo` and joins the `flights` table with the `airlines` table using the `Airline` foreign key to get the names of the airlines.","cost":0.0001068,"response_parsed":"SELECT a.Airline, f.SourceAirport, f.FlightNo\nFROM flights f\nJOIN airlines a ON f.Airline = a.uid;","time":1.9391355515}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `airlines` WHERE `Airline` == 'Delta Airlines'","question":"Show the data of the table airlines where Airline is equal to Delta Airlines","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT * FROM airlines WHERE Airline = 'Delta Airlines';\n```","cost":0.00003375,"response_parsed":"SELECT * FROM airlines WHERE Airline = 'Delta Airlines';","time":0.4839835167}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `airlines` WHERE `Airline` != 'United Airlines'","question":"Show the data of the table airlines where Airline is different from United Airlines","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT * FROM airlines WHERE Airline <> 'United Airlines';\n```","cost":0.00003375,"response_parsed":"SELECT * FROM airlines WHERE Airline <> 'United Airlines';","time":0.612121582}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `airlines` WHERE `Airline` != 'Delta Airlines'","question":"Show the data of the table airlines where Airline not equal to Delta Airlines","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT *\nFROM airlines\nWHERE Airline != 'Delta Airlines';\n```","cost":0.00003435,"response_parsed":"SELECT *\nFROM airlines\nWHERE Airline != 'Delta Airlines';","time":0.3718292713}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `airlines` WHERE `Abbreviation` == 'USAir'","question":"Show the data of the table airlines where Abbreviation is equal to USAir","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"Here is the SQL code to fetch the data from the `airlines` table where the Abbreviation is equal to 'USAir':\n\n```sql\nSELECT * FROM airlines WHERE Abbreviation = 'USAir';\n```","cost":0.0000507,"response_parsed":"SELECT * FROM airlines WHERE Abbreviation = 'USAir';","time":4.6091082096}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `airlines` WHERE `Abbreviation` != 'Southwest'","question":"Show the data of the table airlines where Abbreviation is different from Southwest","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"Here is the SQL code to fetch the data from the `airlines` table where the Abbreviation is different from \"Southwest\":\n\n```sql\nSELECT *\nFROM airlines\nWHERE Abbreviation <> 'Southwest';\n```","cost":0.00005115,"response_parsed":"SELECT *\nFROM airlines\nWHERE Abbreviation <> 'Southwest';","time":1.0547726154}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `airlines` WHERE `Abbreviation` != 'American'","question":"Show the data of the table airlines where Abbreviation not equal to American","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT * FROM airlines WHERE Abbreviation <> 'American';\n```","cost":0.00003375,"response_parsed":"SELECT * FROM airlines WHERE Abbreviation <> 'American';","time":0.6750779152}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `airlines` WHERE `Country` == 'USA'","question":"Show the data of the table airlines where Country is equal to USA","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"Here's the SQL code to fetch the data from the `airlines` table where the Country is equal to USA:\n\n```sql\nSELECT * FROM airlines WHERE Country = 'USA';\n```","cost":0.0000468,"response_parsed":"SELECT * FROM airlines WHERE Country = 'USA';","time":0.8224313259}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `airports` WHERE `City` == 'Abingdon '","question":"Show the data of the table airports where City is equal to Abingdon ","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT * FROM airports WHERE City = 'Abingdon';\n```","cost":0.0000345,"response_parsed":"SELECT * FROM airports WHERE City = 'Abingdon';","time":0.9486424923}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `airports` WHERE `City` != 'Ada '","question":"Show the data of the table airports where City is different from Ada ","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT * FROM airports WHERE City <> 'Ada';\n```","cost":0.000033,"response_parsed":"SELECT * FROM airports WHERE City <> 'Ada';","time":0.5342173576}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `airports` WHERE `City` != 'Abingdon '","question":"Show the data of the table airports where City not equal to Abingdon ","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To fetch the data from the `airports` table where the city is not equal to 'Abingdon', you can use the following SQL query:\n\n```sql\nSELECT * FROM airports WHERE City <> 'Abingdon';\n```","cost":0.0000531,"response_parsed":"SELECT * FROM airports WHERE City <> 'Abingdon';","time":1.7613022327}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `airports` WHERE `CountryAbbrev` == 'US'","question":"Show the data of the table airports where CountryAbbrev is equal to US","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT *\nFROM airports\nWHERE CountryAbbrev = 'US';\n```","cost":0.0000351,"response_parsed":"SELECT *\nFROM airports\nWHERE CountryAbbrev = 'US';","time":0.6529500484}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `airports` WHERE `CountryAbbrev` != 'US '","question":"Show the data of the table airports where CountryAbbrev is different from US ","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT *\nFROM airports\nWHERE CountryAbbrev != 'US';\n```","cost":0.0000351,"response_parsed":"SELECT *\nFROM airports\nWHERE CountryAbbrev != 'US';","time":0.4279952049}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `airports` WHERE `CountryAbbrev` != 'US'","question":"Show the data of the table airports where CountryAbbrev not equal to US","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT * FROM airports WHERE CountryAbbrev <> 'US';\n```","cost":0.0000345,"response_parsed":"SELECT * FROM airports WHERE CountryAbbrev <> 'US';","time":0.6799066067}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `airports` WHERE `Country` == 'United States '","question":"Show the data of the table airports where Country is equal to United States ","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT * FROM airports WHERE Country = 'United States';\n```","cost":0.00003375,"response_parsed":"SELECT * FROM airports WHERE Country = 'United States';","time":0.5499064922}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `flights` WHERE `SourceAirport` == ' ACV'","question":"Show the data of the table flights where SourceAirport is equal to ACV","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT * \nFROM flights \nWHERE SourceAirport = 'ACV';\n```","cost":0.00003585,"response_parsed":"SELECT * \nFROM flights \nWHERE SourceAirport = 'ACV';","time":0.9602000713}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `flights` WHERE `SourceAirport` != ' ASY'","question":"Show the data of the table flights where SourceAirport is different from ASY","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT *\nFROM flights\nWHERE SourceAirport <> 'ASY';\n```","cost":0.00003465,"response_parsed":"SELECT *\nFROM flights\nWHERE SourceAirport <> 'ASY';","time":0.4014089108}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `flights` WHERE `SourceAirport` != ' ACV'","question":"Show the data of the table flights where SourceAirport not equal to ACV","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT *\nFROM flights\nWHERE SourceAirport <> 'ACV';\n```","cost":0.00003525,"response_parsed":"SELECT *\nFROM flights\nWHERE SourceAirport <> 'ACV';","time":0.6787528992}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `flights` WHERE `DestAirport` == ' AHT'","question":"Show the data of the table flights where DestAirport is equal to AHT","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT * FROM flights WHERE DestAirport = 'AHT';\n```","cost":0.00003465,"response_parsed":"SELECT * FROM flights WHERE DestAirport = 'AHT';","time":0.5775740147}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `flights` WHERE `DestAirport` != ' ASY'","question":"Show the data of the table flights where DestAirport is different from ASY","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"Here is the SQL code to fetch the data from the `flights` table where `DestAirport` is different from 'ASY':\n\n```sql\nSELECT * \nFROM flights \nWHERE DestAirport <> 'ASY';\n```","cost":0.00005145,"response_parsed":"SELECT * \nFROM flights \nWHERE DestAirport <> 'ASY';","time":5.0559532642}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `flights` WHERE `DestAirport` != ' ASY'","question":"Show the data of the table flights where DestAirport not equal to ASY","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT * \nFROM flights \nWHERE DestAirport <> 'ASY';\n```","cost":0.00003525,"response_parsed":"SELECT * \nFROM flights \nWHERE DestAirport <> 'ASY';","time":0.5503914356}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `flights` WHERE `Airline` > 1","question":"Show the data of the table flights where Airline is greater than 1","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To fetch the data from the `flights` table where the `Airline` value is greater than 1, you can use the following SQL code:\n\n```sql\nSELECT * FROM flights WHERE Airline > 1;\n```","cost":0.00005235,"response_parsed":"SELECT * FROM flights WHERE Airline > 1;","time":1.6770143509}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `flights` WHERE `FlightNo` > 54","question":"Show the data of the table flights where FlightNo is greater than 54","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"Here is the SQL code to fetch the data from the `flights` table where `FlightNo` is greater than 54:\n\n```sql\nSELECT * FROM flights WHERE FlightNo > 54;\n```","cost":0.0000501,"response_parsed":"SELECT * FROM flights WHERE FlightNo > 54;","time":0.8574075699}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `flights` WHERE `FlightNo` < 28","question":"Show the data of the table flights where FlightNo is less than 28","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT * FROM flights WHERE FlightNo < 28;\n```","cost":0.0000339,"response_parsed":"SELECT * FROM flights WHERE FlightNo < 28;","time":0.5280172825}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Airline`) FROM `airlines`","question":"How many different Airline are in table airlines?","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To count the number of different airlines in the `airlines` table, you can use the `COUNT(DISTINCT ...)` function in SQL. Here is the SQL code to execute the query:\n\n```sql\nSELECT COUNT(DISTINCT Airline) AS NumberOfDifferentAirlines FROM airlines;\n```","cost":0.00005985,"response_parsed":"SELECT COUNT(DISTINCT Airline) AS NumberOfDifferentAirlines FROM airlines;","time":0.8946835995}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Abbreviation`) FROM `airlines`","question":"How many different Abbreviation are in table airlines?","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To fetch the number of different abbreviations in the `airlines` table, you can use the following SQL code:\n\n```sql\nSELECT COUNT(DISTINCT Abbreviation) AS DifferentAbbreviations\nFROM airlines;\n```","cost":0.000051,"response_parsed":"SELECT COUNT(DISTINCT Abbreviation) AS DifferentAbbreviations\nFROM airlines;","time":1.2261469364}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airlines","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Country`) FROM `airlines`","question":"How many different Country are in table airlines?","db_schema_normalized":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To count the number of different countries in the `airlines` table, you can use the following SQL query:\n\n```sql\nSELECT COUNT(DISTINCT Country) AS DifferentCountries\nFROM airlines;\n```","cost":0.00004845,"response_parsed":"SELECT COUNT(DISTINCT Country) AS DifferentCountries\nFROM airlines;","time":4.7701354027}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `City`) FROM `airports`","question":"How many different City are in table airports?","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT COUNT(DISTINCT City) AS NumberOfDifferentCities\nFROM airports;\n```","cost":0.00003585,"response_parsed":"SELECT COUNT(DISTINCT City) AS NumberOfDifferentCities\nFROM airports;","time":0.5268578529}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `AirportCode`) FROM `airports`","question":"How many different AirportCode are in table airports?","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To fetch the count of different `AirportCode` entries in the `airports` table, you can use the following SQL code:\n\n```sql\nSELECT COUNT(DISTINCT AirportCode) AS DifferentAirportCodes\nFROM airports;\n```","cost":0.0000522,"response_parsed":"SELECT COUNT(DISTINCT AirportCode) AS DifferentAirportCodes\nFROM airports;","time":0.8273363113}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `AirportName`) FROM `airports`","question":"How many different AirportName are in table airports?","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT COUNT(DISTINCT AirportName) AS DifferentAirportNames\nFROM airports;\n```","cost":0.000036,"response_parsed":"SELECT COUNT(DISTINCT AirportName) AS DifferentAirportNames\nFROM airports;","time":0.5707526207}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Country`) FROM `airports`","question":"How many different Country are in table airports?","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To fetch the number of different countries in the `airports` table, you can use the following SQL query:\n\n```sql\nSELECT COUNT(DISTINCT Country) AS DifferentCountries\nFROM airports;\n```","cost":0.00004845,"response_parsed":"SELECT COUNT(DISTINCT Country) AS DifferentCountries\nFROM airports;","time":0.7478895187}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"airports","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `CountryAbbrev`) FROM `airports`","question":"How many different CountryAbbrev are in table airports?","db_schema_normalized":"`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To count the number of distinct `CountryAbbrev` values in the `airports` table, you can use the following SQL code:\n\n```sql\nSELECT COUNT(DISTINCT CountryAbbrev) AS NumberOfDistinctCountryAbbrev\nFROM airports;\n```","cost":0.00005535,"response_parsed":"SELECT COUNT(DISTINCT CountryAbbrev) AS NumberOfDistinctCountryAbbrev\nFROM airports;","time":1.0358221531}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `SourceAirport`) FROM `flights`","question":"How many different SourceAirport are in table flights?","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT COUNT(DISTINCT SourceAirport) AS DifferentSourceAirports\nFROM flights;\n```","cost":0.0000366,"response_parsed":"SELECT COUNT(DISTINCT SourceAirport) AS DifferentSourceAirports\nFROM flights;","time":0.7729244232}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `DestAirport`) FROM `flights`","question":"How many different DestAirport are in table flights?","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To count how many different destination airports are present in the `flights` table, you can use the following SQL code:\n\n```sql\nSELECT COUNT(DISTINCT DestAirport) AS DifferentDestAirports\nFROM flights;\n```","cost":0.0000516,"response_parsed":"SELECT COUNT(DISTINCT DestAirport) AS DifferentDestAirports\nFROM flights;","time":4.6546373367}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MAX","query":"SELECT MAX(`Airline`) FROM `flights`","question":"Find the maximum Airline for the table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To find the maximum Airline from the `flights` table, you can use the following SQL code. Note that in this context, \"maximum\" applies to the numeric identifier associated with the Airline, which corresponds to the `uid` in the `airlines` table. The result will return the maximum `Airline` identifier (uid):\n\n```sql\nSELECT MAX(Airline) AS MaxAirline\nFROM flights;\n``` \n\nThis will give you the maximum integer value found in the `Airline` column of the `flights` table. If you need more information or to get the corresponding airline name, you can join with the `airlines` table as follows:\n\n```sql\nSELECT a.Airline\nFROM airlines a\nJOIN flights f ON a.uid = f.Airline\nWHERE f.Airline = (SELECT MAX(Airline) FROM flights);\n``` \n\nThis query retrieves the Airline associated with the maximum Airline identifier present in the `flights` table.","cost":0.00014445,"response_parsed":"SELECT a.Airline\nFROM airlines a\nJOIN flights f ON a.uid = f.Airline\nWHERE f.Airline = (SELECT MAX(Airline) FROM flights);","time":3.8015418053}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MIN","query":"SELECT MIN(`Airline`) FROM `flights`","question":"Find the minimum Airline for the table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To find the minimum Airline in the `flights` table, you need to use the `MIN` function on the `Airline` column of the `flights` table. Here\u2019s the SQL code to do that:\n\n```sql\nSELECT MIN(Airline) AS MinimumAirline\nFROM flights;\n```","cost":0.00006225,"response_parsed":"SELECT MIN(Airline) AS MinimumAirline\nFROM flights;","time":1.330075264}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-AVG","query":"SELECT AVG(`Airline`) FROM `flights`","question":"Find the average Airline for the table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To calculate the average number of flights per airline from the `flights` table, you can write the following SQL query:\n\n```sql\nSELECT AVG(flight_count) AS AverageFlights\nFROM (\n SELECT Airline, COUNT(*) AS flight_count\n FROM flights\n GROUP BY Airline\n) AS airline_flight_counts;\n```\n\nThis SQL code first counts the number of flights for each airline, and then it calculates the average of those counts.","cost":0.00007845,"response_parsed":"SELECT AVG(flight_count) AS AverageFlights\nFROM (\n SELECT Airline, COUNT(*) AS flight_count\n FROM flights\n GROUP BY Airline\n) AS airline_flight_counts;","time":1.594379425}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MAX","query":"SELECT MAX(`FlightNo`) FROM `flights`","question":"Find the maximum FlightNo for the table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"Here is the SQL code to find the maximum FlightNo from the `flights` table:\n\n```sql\nSELECT MAX(FlightNo) AS MaxFlightNo FROM flights;\n```","cost":0.0000456,"response_parsed":"SELECT MAX(FlightNo) AS MaxFlightNo FROM flights;","time":1.03120327}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MIN","query":"SELECT MIN(`FlightNo`) FROM `flights`","question":"Find the minimum FlightNo for the table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"```sql\nSELECT MIN(FlightNo) AS MinimumFlightNo\nFROM flights;\n```","cost":0.0000348,"response_parsed":"SELECT MIN(FlightNo) AS MinimumFlightNo\nFROM flights;","time":0.5008041859}} {"db_path":"QATCH-journal\/spider_data\/test_database\/flight_2\/flight_2.sqlite","db_id":"flight_2","tbl_name":"flights","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-AVG","query":"SELECT AVG(`FlightNo`) FROM `flights`","question":"Find the average FlightNo for the table flights","db_schema_normalized":"`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","db_schema":"`'airlines'` (uid INTEGER PRIMARY KEY, Airline TEXT, Abbreviation TEXT, Country TEXT)\n`'airports'` (City TEXT, AirportCode TEXT PRIMARY KEY, AirportName TEXT, Country TEXT, CountryAbbrev TEXT)\n`'flights'` (Airline INTEGER, FlightNo INTEGER, SourceAirport TEXT, DestAirport TEXT, PRIMARY KEY(Airline, FlightNo), FOREIGN KEY (SourceAirport) REFERENCES airports(AirportCode), FOREIGN KEY (DestAirport) REFERENCES airports(AirportCode))","pred_dict":{"response":"To find the average FlightNo from the `flights` table, you can use the following SQL code:\n\n```sql\nSELECT AVG(FlightNo) AS AverageFlightNo\nFROM flights;\n```","cost":0.000048,"response_parsed":"SELECT AVG(FlightNo) AS AverageFlightNo\nFROM flights;","time":1.3275723457}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Name` FROM `employee`","question":"Show the different Name in the table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To show the different names in the `employee` table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT Name FROM employee;\n```","cost":0.0000537,"response_parsed":"SELECT DISTINCT Name FROM employee;","time":1.4861302376}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `City` FROM `employee`","question":"Show the different City in the table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch the distinct cities from the `employee` table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT City FROM employee;\n```","cost":0.0000537,"response_parsed":"SELECT DISTINCT City FROM employee;","time":0.6868257523}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Employee_ID` FROM `evaluation`","question":"Show the different Employee_ID in the table evaluation","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To retrieve the distinct `Employee_ID` values from the `evaluation` table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT \"Employee_ID\" FROM \"evaluation\";\n```","cost":0.00005865,"response_parsed":"SELECT DISTINCT \"Employee_ID\" FROM \"evaluation\";","time":0.8308031559}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Year_awarded` FROM `evaluation`","question":"Show the different Year_awarded in the table evaluation","db_schema_normalized":"`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To show the different `Year_awarded` in the `evaluation` table, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT Year_awarded FROM evaluation;\n```","cost":0.0000576,"response_parsed":"SELECT DISTINCT Year_awarded FROM evaluation;","time":0.6522505283}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"hiring","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Start_from` FROM `hiring`","question":"Show the different Start_from in the table hiring","db_schema_normalized":"`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To retrieve the different `Start_from` values from the `hiring` table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT Start_from \nFROM hiring;\n```","cost":0.00005805,"response_parsed":"SELECT DISTINCT Start_from \nFROM hiring;","time":0.6929080486}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Name` FROM `shop`","question":"Show the different Name in the table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To retrieve the distinct names from the `shop` table, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT Name FROM shop;\n```","cost":0.0000537,"response_parsed":"SELECT DISTINCT Name FROM shop;","time":0.7757909298}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Location` FROM `shop`","question":"Show the different Location in the table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch the different locations from the `shop` table, you can use the `SELECT` statement with the `DISTINCT` keyword. Here's the SQL code you would use:\n\n```sql\nSELECT DISTINCT Location FROM shop;\n```","cost":0.0000633,"response_parsed":"SELECT DISTINCT Location FROM shop;","time":2.0766370296}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `District` FROM `shop`","question":"Show the different District in the table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch the distinct districts from the `shop` table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT District\nFROM shop;\n```","cost":0.0000543,"response_parsed":"SELECT DISTINCT District\nFROM shop;","time":0.9929492474}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Manager_name` FROM `shop`","question":"Show the different Manager_name in the table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch the different `Manager_name` values from the `shop` table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT Manager_name\nFROM shop;\n```","cost":0.00005745,"response_parsed":"SELECT DISTINCT Manager_name\nFROM shop;","time":0.8235313892}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Name`, COUNT(*) FROM `employee` GROUP BY `Name`","question":"For each Name, count the number of rows in table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To count the number of rows in the `employee` table for each unique `Name`, you can use the following SQL query:\n\n```sql\nSELECT Name, COUNT(*) AS row_count\nFROM employee\nGROUP BY Name;\n``` \n\nThis code will group the rows by `Name` and count how many times each `Name` appears in the `employee` table, returning the result as `row_count`.","cost":0.0000855,"response_parsed":"SELECT Name, COUNT(*) AS row_count\nFROM employee\nGROUP BY Name;","time":1.9287035465}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `City`, COUNT(*) FROM `employee` GROUP BY `City`","question":"For each City, count the number of rows in table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"Here's the SQL code that counts the number of employees in each city:\n\n```sql\nSELECT City, COUNT(*) AS Employee_Count\nFROM employee\nGROUP BY City;\n```","cost":0.0000567,"response_parsed":"SELECT City, COUNT(*) AS Employee_Count\nFROM employee\nGROUP BY City;","time":0.8634498119}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `Name`, MIN(`Age`) FROM `employee` GROUP BY `Name`","question":"For each Name, find the min of Age in table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find the minimum age for each employee's name in the `employee` table, you can use the following SQL query:\n\n```sql\nSELECT Name, MIN(Age) AS Min_Age\nFROM employee\nGROUP BY Name;\n```","cost":0.0000651,"response_parsed":"SELECT Name, MIN(Age) AS Min_Age\nFROM employee\nGROUP BY Name;","time":1.0075550079}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `Name`, MAX(`Age`) FROM `employee` GROUP BY `Name`","question":"For each Name, find the max of Age in table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"Here is the SQL code that retrieves the maximum age for each name in the employee table:\n\n```sql\nSELECT Name, MAX(Age) AS Max_Age\nFROM employee\nGROUP BY Name;\n```","cost":0.0000609,"response_parsed":"SELECT Name, MAX(Age) AS Max_Age\nFROM employee\nGROUP BY Name;","time":0.7448148727}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `Name`, AVG(`Age`) FROM `employee` GROUP BY `Name`","question":"For each Name, find the avg of Age in table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch the average age for each employee's name from the `employee` table, you can use the following SQL query:\n\n```sql\nSELECT Name, AVG(Age) AS Average_Age\nFROM employee\nGROUP BY Name;\n```","cost":0.0000651,"response_parsed":"SELECT Name, AVG(Age) AS Average_Age\nFROM employee\nGROUP BY Name;","time":0.9208495617}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `Name`, SUM(`Age`) FROM `employee` GROUP BY `Name`","question":"For each Name, find the sum of Age in table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"Here is the SQL code to fetch the sum of Age for each Name in the `employee` table:\n\n```sql\nSELECT Name, SUM(Age) AS Total_Age\nFROM employee\nGROUP BY Name;\n```","cost":0.0000627,"response_parsed":"SELECT Name, SUM(Age) AS Total_Age\nFROM employee\nGROUP BY Name;","time":0.7432289124}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `City`, MIN(`Age`) FROM `employee` GROUP BY `City`","question":"For each City, find the min of Age in table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch the minimum age for each city from the `employee` table, you can use the following SQL query:\n\n```sql\nSELECT City, MIN(Age) AS Min_Age\nFROM employee\nGROUP BY City;\n``` \n\nThis query selects the city and the minimum age of employees grouped by each city.","cost":0.0000741,"response_parsed":"SELECT City, MIN(Age) AS Min_Age\nFROM employee\nGROUP BY City;","time":1.1733286381}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `City`, MAX(`Age`) FROM `employee` GROUP BY `City`","question":"For each City, find the max of Age in table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find the maximum age of employees for each city from the `employee` table, you can use the following SQL query:\n\n```sql\nSELECT City, MAX(Age) AS Max_Age\nFROM employee\nGROUP BY City;\n``` \n\nThis query retrieves the maximum age of employees grouped by their respective cities.","cost":0.0000741,"response_parsed":"SELECT City, MAX(Age) AS Max_Age\nFROM employee\nGROUP BY City;","time":0.9895992279}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `City`, AVG(`Age`) FROM `employee` GROUP BY `City`","question":"For each City, find the avg of Age in table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"Here is the SQL code to find the average age of employees for each city in the \"employee\" table:\n\n```sql\nSELECT City, AVG(Age) AS Average_Age\nFROM employee\nGROUP BY City;\n```","cost":0.0000633,"response_parsed":"SELECT City, AVG(Age) AS Average_Age\nFROM employee\nGROUP BY City;","time":0.8134591579}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `City`, SUM(`Age`) FROM `employee` GROUP BY `City`","question":"For each City, find the sum of Age in table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To retrieve the sum of ages for each city from the `employee` table, the SQL query would look as follows:\n\n```sql\nSELECT City, SUM(Age) AS Total_Age\nFROM employee\nGROUP BY City;\n```","cost":0.0000645,"response_parsed":"SELECT City, SUM(Age) AS Total_Age\nFROM employee\nGROUP BY City;","time":2.7657797337}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Employee_ID`, COUNT(*) FROM `evaluation` GROUP BY `Employee_ID`","question":"For each Employee_ID, count the number of rows in table evaluation","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To count the number of rows in the `evaluation` table for each `Employee_ID`, you can use the following SQL query:\n\n```sql\nSELECT Employee_ID, COUNT(*) AS Evaluation_Count\nFROM evaluation\nGROUP BY Employee_ID;\n```","cost":0.00006525,"response_parsed":"SELECT Employee_ID, COUNT(*) AS Evaluation_Count\nFROM evaluation\nGROUP BY Employee_ID;","time":2.4067370892}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Year_awarded`, COUNT(*) FROM `evaluation` GROUP BY `Year_awarded`","question":"For each Year_awarded, count the number of rows in table evaluation","db_schema_normalized":"`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To count the number of rows in the `evaluation` table for each `Year_awarded`, you can use the following SQL code:\n\n```sql\nSELECT Year_awarded, COUNT(*) AS count\nFROM evaluation\nGROUP BY Year_awarded;\n``` \n\nThis query selects the `Year_awarded` column from the `evaluation` table and counts the number of entries for each distinct year, grouping the results by `Year_awarded`.","cost":0.0000888,"response_parsed":"SELECT Year_awarded, COUNT(*) AS count\nFROM evaluation\nGROUP BY Year_awarded;","time":1.2235739231}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `Employee_ID`, MIN(`Bonus`) FROM `evaluation` GROUP BY `Employee_ID`","question":"For each Employee_ID, find the min of Bonus in table evaluation","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find the minimum bonus for each Employee_ID in the `evaluation` table, you can use the following SQL query:\n\n```sql\nSELECT Employee_ID, MIN(Bonus) AS Min_Bonus\nFROM evaluation\nGROUP BY Employee_ID;\n``` \n\nThis query groups the results by `Employee_ID` and computes the minimum bonus for each employee.","cost":0.00007785,"response_parsed":"SELECT Employee_ID, MIN(Bonus) AS Min_Bonus\nFROM evaluation\nGROUP BY Employee_ID;","time":1.0653917789}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `Employee_ID`, MAX(`Bonus`) FROM `evaluation` GROUP BY `Employee_ID`","question":"For each Employee_ID, find the max of Bonus in table evaluation","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"Here is the SQL code to fetch the maximum bonus for each `Employee_ID` in the `evaluation` table:\n\n```sql\nSELECT Employee_ID, MAX(Bonus) AS Max_Bonus\nFROM evaluation\nGROUP BY Employee_ID;\n```","cost":0.00006525,"response_parsed":"SELECT Employee_ID, MAX(Bonus) AS Max_Bonus\nFROM evaluation\nGROUP BY Employee_ID;","time":1.3660647869}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `Employee_ID`, AVG(`Bonus`) FROM `evaluation` GROUP BY `Employee_ID`","question":"For each Employee_ID, find the avg of Bonus in table evaluation","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"Here is the SQL code to fetch the average bonus for each Employee_ID from the evaluation table:\n\n```sql\nSELECT \n Employee_ID, \n AVG(Bonus) AS Average_Bonus\nFROM \n evaluation\nGROUP BY \n Employee_ID;\n```","cost":0.00006765,"response_parsed":"SELECT \n Employee_ID, \n AVG(Bonus) AS Average_Bonus\nFROM \n evaluation\nGROUP BY \n Employee_ID;","time":0.8503863811}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `Employee_ID`, SUM(`Bonus`) FROM `evaluation` GROUP BY `Employee_ID`","question":"For each Employee_ID, find the sum of Bonus in table evaluation","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch the sum of Bonus for each Employee_ID from the `evaluation` table, you can use the following SQL query:\n\n```sql\nSELECT Employee_ID, SUM(Bonus) AS Total_Bonus\nFROM evaluation\nGROUP BY Employee_ID;\n```","cost":0.00006645,"response_parsed":"SELECT Employee_ID, SUM(Bonus) AS Total_Bonus\nFROM evaluation\nGROUP BY Employee_ID;","time":0.9656567574}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `Year_awarded`, MIN(`Bonus`) FROM `evaluation` GROUP BY `Year_awarded`","question":"For each Year_awarded, find the min of Bonus in table evaluation","db_schema_normalized":"`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find the minimum bonus for each year awarded in the `evaluation` table, you can use the following SQL query:\n\n```sql\nSELECT Year_awarded, MIN(Bonus) AS Min_Bonus\nFROM evaluation\nGROUP BY Year_awarded;\n```","cost":0.0000672,"response_parsed":"SELECT Year_awarded, MIN(Bonus) AS Min_Bonus\nFROM evaluation\nGROUP BY Year_awarded;","time":0.9915206432}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `Year_awarded`, MAX(`Bonus`) FROM `evaluation` GROUP BY `Year_awarded`","question":"For each Year_awarded, find the max of Bonus in table evaluation","db_schema_normalized":"`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch the maximum bonus for each `Year_awarded` from the `evaluation` table, the SQL query would look as follows:\n\n```sql\nSELECT Year_awarded, MAX(Bonus) AS Max_Bonus\nFROM evaluation\nGROUP BY Year_awarded;\n```","cost":0.000069,"response_parsed":"SELECT Year_awarded, MAX(Bonus) AS Max_Bonus\nFROM evaluation\nGROUP BY Year_awarded;","time":1.6442582607}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `Year_awarded`, AVG(`Bonus`) FROM `evaluation` GROUP BY `Year_awarded`","question":"For each Year_awarded, find the avg of Bonus in table evaluation","db_schema_normalized":"`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find the average of the Bonus for each Year_awarded from the `evaluation` table, you can use the following SQL code:\n\n```sql\nSELECT Year_awarded, AVG(Bonus) AS avg_bonus\nFROM evaluation\nGROUP BY Year_awarded;\n```","cost":0.0000684,"response_parsed":"SELECT Year_awarded, AVG(Bonus) AS avg_bonus\nFROM evaluation\nGROUP BY Year_awarded;","time":0.9622941017}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `Year_awarded`, SUM(`Bonus`) FROM `evaluation` GROUP BY `Year_awarded`","question":"For each Year_awarded, find the sum of Bonus in table evaluation","db_schema_normalized":"`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To obtain the sum of Bonus for each Year_awarded in the `evaluation` table, you can use the following SQL query:\n\n```sql\nSELECT Year_awarded, SUM(Bonus) AS Total_Bonus\nFROM evaluation\nGROUP BY Year_awarded;\n```","cost":0.0000684,"response_parsed":"SELECT Year_awarded, SUM(Bonus) AS Total_Bonus\nFROM evaluation\nGROUP BY Year_awarded;","time":1.1575927734}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"hiring","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Start_from`, COUNT(*) FROM `hiring` GROUP BY `Start_from`","question":"For each Start_from, count the number of rows in table hiring","db_schema_normalized":"`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To count the number of rows in the `hiring` table for each distinct `Start_from`, you can use the following SQL code:\n\n```sql\nSELECT Start_from, COUNT(*) AS number_of_rows\nFROM hiring\nGROUP BY Start_from;\n``` \n\nThis query selects the `Start_from` column and counts the number of rows for each unique value of `Start_from`, grouping the results accordingly.","cost":0.00008505,"response_parsed":"SELECT Start_from, COUNT(*) AS number_of_rows\nFROM hiring\nGROUP BY Start_from;","time":2.6675057411}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Name`, COUNT(*) FROM `shop` GROUP BY `Name`","question":"For each Name, count the number of rows in table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To count the number of rows in the `shop` table grouped by each `Name`, you can use the following SQL query:\n\n```sql\nSELECT Name, COUNT(*) AS Shop_Count\nFROM shop\nGROUP BY Name;\n``` \n\nThis query selects the `Name` column from the `shop` table and counts the number of occurrences for each unique name, grouping the results by `Name`. The result will show each name along with the number of rows that correspond to that name in the `shop` table.","cost":0.0000981,"response_parsed":"SELECT Name, COUNT(*) AS Shop_Count\nFROM shop\nGROUP BY Name;","time":1.8089475632}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Location`, COUNT(*) FROM `shop` GROUP BY `Location`","question":"For each Location, count the number of rows in table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To count the number of rows in the `shop` table for each `Location`, you can use the following SQL query:\n\n```sql\nSELECT Location, COUNT(*) AS Shop_Count\nFROM shop\nGROUP BY Location;\n```","cost":0.0000633,"response_parsed":"SELECT Location, COUNT(*) AS Shop_Count\nFROM shop\nGROUP BY Location;","time":0.8808500767}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `District`, COUNT(*) FROM `shop` GROUP BY `District`","question":"For each District, count the number of rows in table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To count the number of rows in the `shop` table grouped by each District, you can use the following SQL query:\n\n```sql\nSELECT District, COUNT(*) AS Shop_Count\nFROM shop\nGROUP BY District;\n```","cost":0.0000633,"response_parsed":"SELECT District, COUNT(*) AS Shop_Count\nFROM shop\nGROUP BY District;","time":1.039730072}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Manager_name`, COUNT(*) FROM `shop` GROUP BY `Manager_name`","question":"For each Manager_name, count the number of rows in table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To count the number of rows in the `shop` table for each `Manager_name`, you can use the following SQL query:\n\n```sql\nSELECT Manager_name, COUNT(*) AS Shop_Count\nFROM shop\nGROUP BY Manager_name;\n```","cost":0.00006525,"response_parsed":"SELECT Manager_name, COUNT(*) AS Shop_Count\nFROM shop\nGROUP BY Manager_name;","time":1.3682792187}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `Manager_name`, MIN(`Number_products`) FROM `shop` GROUP BY `Manager_name`","question":"For each Manager_name, find the min of Number_products in table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find the minimum `Number_products` for each `Manager_name` in the `shop` table, you can use the following SQL query:\n\n```sql\nSELECT Manager_name, MIN(Number_products) AS Min_Number_Products\nFROM shop\nGROUP BY Manager_name;\n``` \n\nThis query selects the `Manager_name` and the minimum of `Number_products`, grouping the results by `Manager_name` to get the desired output.","cost":0.0000882,"response_parsed":"SELECT Manager_name, MIN(Number_products) AS Min_Number_Products\nFROM shop\nGROUP BY Manager_name;","time":1.7875537872}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `Manager_name`, MAX(`Number_products`) FROM `shop` GROUP BY `Manager_name`","question":"For each Manager_name, find the max of Number_products in table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch the maximum number of products for each manager in the `shop` table, you can use the following SQL query:\n\n```sql\nSELECT Manager_name, MAX(Number_products) AS Max_Number_Products\nFROM shop\nGROUP BY Manager_name;\n```","cost":0.0000672,"response_parsed":"SELECT Manager_name, MAX(Number_products) AS Max_Number_Products\nFROM shop\nGROUP BY Manager_name;","time":0.9182424545}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `Manager_name`, AVG(`Number_products`) FROM `shop` GROUP BY `Manager_name`","question":"For each Manager_name, find the avg of Number_products in table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To retrieve the average number of products for each manager in the `shop` table, you can use the following SQL code:\n\n```sql\nSELECT Manager_name, AVG(Number_products) AS Average_Number_Products\nFROM shop\nGROUP BY Manager_name;\n```","cost":0.0000672,"response_parsed":"SELECT Manager_name, AVG(Number_products) AS Average_Number_Products\nFROM shop\nGROUP BY Manager_name;","time":1.2096431255}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `Manager_name`, SUM(`Number_products`) FROM `shop` GROUP BY `Manager_name`","question":"For each Manager_name, find the sum of Number_products in table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find the sum of `Number_products` for each `Manager_name` in the `shop` table, you can use the following SQL query:\n\n```sql\nSELECT Manager_name, SUM(Number_products) AS Total_Products\nFROM shop\nGROUP BY Manager_name;\n```","cost":0.0000696,"response_parsed":"SELECT Manager_name, SUM(Number_products) AS Total_Products\nFROM shop\nGROUP BY Manager_name;","time":0.9591627121}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `Location`, MIN(`Number_products`) FROM `shop` GROUP BY `Location`","question":"For each Location, find the min of Number_products in table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find the minimum number of products for each location in the `shop` table, you can use the following SQL code:\n\n```sql\nSELECT Location, MIN(Number_products) AS Min_Number_Products\nFROM shop\nGROUP BY Location;\n``` \n\nThis SQL statement selects the `Location` and calculates the minimum value of `Number_products`, grouping the results by `Location`.","cost":0.00008145,"response_parsed":"SELECT Location, MIN(Number_products) AS Min_Number_Products\nFROM shop\nGROUP BY Location;","time":1.1612858772}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `Location`, MAX(`Number_products`) FROM `shop` GROUP BY `Location`","question":"For each Location, find the max of Number_products in table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find the maximum number of products in the `shop` table for each location, you can use the following SQL query:\n\n```sql\nSELECT Location, MAX(Number_products) AS Max_Number_Products\nFROM shop\nGROUP BY Location;\n```","cost":0.00006585,"response_parsed":"SELECT Location, MAX(Number_products) AS Max_Number_Products\nFROM shop\nGROUP BY Location;","time":1.0603058338}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `Location`, AVG(`Number_products`) FROM `shop` GROUP BY `Location`","question":"For each Location, find the avg of Number_products in table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find the average number of products for each location in the `shop` table, you can use the following SQL code:\n\n```sql\nSELECT Location, AVG(Number_products) AS Avg_Number_Products\nFROM shop\nGROUP BY Location;\n``` \n\nThis SQL query selects the `Location` and calculates the average of `Number_products`, grouping the results by `Location`.","cost":0.00008085,"response_parsed":"SELECT Location, AVG(Number_products) AS Avg_Number_Products\nFROM shop\nGROUP BY Location;","time":1.5984909534}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `Location`, SUM(`Number_products`) FROM `shop` GROUP BY `Location`","question":"For each Location, find the sum of Number_products in table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find the sum of `Number_products` for each `Location` in the `shop` table, you can use the following SQL query:\n\n```sql\nSELECT Location, SUM(Number_products) AS Total_Products\nFROM shop\nGROUP BY Location;\n```","cost":0.00006765,"response_parsed":"SELECT Location, SUM(Number_products) AS Total_Products\nFROM shop\nGROUP BY Location;","time":1.1258964539}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Name` FROM `employee` GROUP BY `Name` HAVING count(*) >= 1","question":"Find all the Name that have at least 1 records in table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find all the names of employees who have at least one record in the `employee` table, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT Name \nFROM employee \nWHERE Employee_ID IN (SELECT Employee_ID FROM hiring);\n```\n\nThis query selects unique names from the `employee` table where their `Employee_ID` exists in the `hiring` table, indicating that the employee has at least one record.","cost":0.0000888,"response_parsed":"SELECT DISTINCT Name \nFROM employee \nWHERE Employee_ID IN (SELECT Employee_ID FROM hiring);","time":4.7977194786}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Name` FROM `employee` GROUP BY `Name` HAVING count(*) <= 1","question":"Find all the Name that have at most 1 records in table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find all names that have at most 1 record in the \"employee\" table, you can use the following SQL code:\n\n```sql\nSELECT Name\nFROM employee\nGROUP BY Name\nHAVING COUNT(*) <= 1;\n``` \n\nThis SQL query will group the records by the \"Name\" field and return those names which have a count of records less than or equal to 1.","cost":0.0000846,"response_parsed":"SELECT Name\nFROM employee\nGROUP BY Name\nHAVING COUNT(*) <= 1;","time":1.7406134605}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `City` FROM `employee` GROUP BY `City` HAVING count(*) >= 2","question":"Find all the City that have at least 2 records in table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find all the cities that have at least 2 records in the `employee` table, you can use the following SQL query:\n\n```sql\nSELECT City\nFROM employee\nGROUP BY City\nHAVING COUNT(*) >= 2;\n``` \n\nThis query groups the records in the `employee` table by the `City` column and filters the groups to only include those with a count of records that is 2 or more.","cost":0.0000888,"response_parsed":"SELECT City\nFROM employee\nGROUP BY City\nHAVING COUNT(*) >= 2;","time":1.2162978649}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `City` FROM `employee` GROUP BY `City` HAVING count(*) <= 2","question":"Find all the City that have at most 2 records in table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find all the cities that have at most 2 records in the `employee` table, you can use the following SQL query:\n\n```sql\nSELECT City\nFROM employee\nGROUP BY City\nHAVING COUNT(*) <= 2;\n``` \n\nThis query groups the records in the `employee` table by the `City` field and counts the number of employees in each city. The `HAVING` clause is then used to filter the groups to only those cities where the count of employees is 2 or less.","cost":0.0000996,"response_parsed":"SELECT City\nFROM employee\nGROUP BY City\nHAVING COUNT(*) <= 2;","time":2.1363489628}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `Name` FROM `employee` GROUP BY `Name` HAVING AVG(`Age`) >= 31.9","question":"List the Name which average of Age is at least 31.9 in table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch the names of employees whose average age is at least 31.9 from the \"employee\" table, you would use the following SQL code:\n\n```sql\nSELECT Name\nFROM employee\nGROUP BY Name\nHAVING AVG(Age) >= 31.9;\n``` \n\nThis SQL statement selects the names from the employee table, groups the results by name, and filters those groups to include only those with an average age of 31.9 or higher.","cost":0.00009405,"response_parsed":"SELECT Name\nFROM employee\nGROUP BY Name\nHAVING AVG(Age) >= 31.9;","time":1.9927098751}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `Name` FROM `employee` GROUP BY `Name` HAVING AVG(`Age`) <= 31.9","question":"List the Name which average of Age is at most 31.9 in table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To retrieve the names of employees whose average age is at most 31.9, you can use the following SQL code:\n\n```sql\nSELECT Name \nFROM employee \nGROUP BY Name \nHAVING AVG(Age) <= 31.9;\n``` \n\nThis query groups the employees by their names and calculates the average age, filtering the results to return only names with an average age of 31.9 or lower.","cost":0.00008805,"response_parsed":"SELECT Name \nFROM employee \nGROUP BY Name \nHAVING AVG(Age) <= 31.9;","time":1.3797171116}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `Name` FROM `employee` GROUP BY `Name` HAVING SUM(`Age`) >= 31.9","question":"List the Name which summation of Age is at least 31.9 in table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch the names of employees whose summation of age is at least 31.9, you first need to group the employees and sum their ages, then filter the results based on the sum. Here's the SQL code that accomplishes that:\n\n```sql\nSELECT Name\nFROM employee\nGROUP BY Name\nHAVING SUM(Age) >= 31.9;\n```","cost":0.0000822,"response_parsed":"SELECT Name\nFROM employee\nGROUP BY Name\nHAVING SUM(Age) >= 31.9;","time":1.4548368454}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `Name` FROM `employee` GROUP BY `Name` HAVING SUM(`Age`) <= 31.9","question":"List the Name which summation of Age is at most 31.9 in table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To create an SQL query that lists the names of employees whose total age is at most 31.9, you will need to group the records by Name and use the SUM() function. Here is the SQL code:\n\n```sql\nSELECT Name\nFROM employee\nGROUP BY Name\nHAVING SUM(Age) <= 31.9;\n``` \n\nThis query groups the employees by their names and calculates the total age for each name. It then filters the results to include only those with a total age that does not exceed 31.9.","cost":0.0001032,"response_parsed":"SELECT Name\nFROM employee\nGROUP BY Name\nHAVING SUM(Age) <= 31.9;","time":1.5531241894}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `City` FROM `employee` GROUP BY `City` HAVING AVG(`Age`) >= 32.1","question":"List the City which average of Age is at least 32.1 in table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"Here is the SQL code to list the cities where the average age of employees is at least 32.1, based on the provided schema:\n\n```sql\nSELECT City\nFROM employee\nGROUP BY City\nHAVING AVG(Age) >= 32.1;\n```","cost":0.00007005,"response_parsed":"SELECT City\nFROM employee\nGROUP BY City\nHAVING AVG(Age) >= 32.1;","time":1.0711255074}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `City` FROM `employee` GROUP BY `City` HAVING AVG(`Age`) <= 32.1","question":"List the City which average of Age is at most 32.1 in table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To list the cities where the average age of employees is at most 32.1 from the `employee` table, you can use the following SQL code:\n\n```sql\nSELECT City\nFROM employee\nGROUP BY City\nHAVING AVG(Age) <= 32.1;\n``` \n\nThis code groups the employees by their city and calculates the average age for each city, then filters the results to include only those cities where the average age is less than or equal to 32.1.","cost":0.00009705,"response_parsed":"SELECT City\nFROM employee\nGROUP BY City\nHAVING AVG(Age) <= 32.1;","time":1.9776582718}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `City` FROM `employee` GROUP BY `City` HAVING SUM(`Age`) >= 63.8","question":"List the City which summation of Age is at least 63.8 in table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To answer the question of listing the cities where the summation of age is at least 63.8 in the `employee` table, you would use the following SQL query:\n\n```sql\nSELECT City\nFROM employee\nGROUP BY City\nHAVING SUM(Age) >= 63.8;\n```","cost":0.0000744,"response_parsed":"SELECT City\nFROM employee\nGROUP BY City\nHAVING SUM(Age) >= 63.8;","time":1.3523821831}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `City` FROM `employee` GROUP BY `City` HAVING SUM(`Age`) <= 63.8","question":"List the City which summation of Age is at most 63.8 in table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To answer the given question using SQL code, you want to sum the ages of employees grouped by their city, and filter those cities where the total age is at most 63.8. Below is the SQL query to achieve this:\n\n```sql\nSELECT City\nFROM employee\nGROUP BY City\nHAVING SUM(Age) <= 63.8;\n```","cost":0.000081,"response_parsed":"SELECT City\nFROM employee\nGROUP BY City\nHAVING SUM(Age) <= 63.8;","time":1.2830665112}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Employee_ID` FROM `evaluation` GROUP BY `Employee_ID` HAVING count(*) >= 1","question":"Find all the Employee_ID that have at least 1 records in table evaluation","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find all the `Employee_ID`s that have at least one record in the `evaluation` table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT Employee_ID\nFROM evaluation;\n``` \n\nThis query selects all unique `Employee_ID`s from the `evaluation` table, ensuring that only those who have at least one record are returned.","cost":0.00007935,"response_parsed":"SELECT DISTINCT Employee_ID\nFROM evaluation;","time":1.3037083149}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Employee_ID` FROM `evaluation` GROUP BY `Employee_ID` HAVING count(*) <= 1","question":"Find all the Employee_ID that have at most 1 records in table evaluation","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find all the `Employee_ID`s that have at most 1 record in the `evaluation` table, you can use the following SQL query:\n\n```sql\nSELECT Employee_ID\nFROM evaluation\nGROUP BY Employee_ID\nHAVING COUNT(*) <= 1;\n```","cost":0.00006915,"response_parsed":"SELECT Employee_ID\nFROM evaluation\nGROUP BY Employee_ID\nHAVING COUNT(*) <= 1;","time":1.0032742023}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Year_awarded` FROM `evaluation` GROUP BY `Year_awarded` HAVING count(*) >= 1","question":"Find all the Year_awarded that have at least 1 records in table evaluation","db_schema_normalized":"`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch all the `Year_awarded` values that have at least one record in the `evaluation` table, you would use the following SQL query:\n\n```sql\nSELECT DISTINCT Year_awarded\nFROM evaluation;\n``` \n\nThis SQL query selects distinct values of `Year_awarded` from the `evaluation` table, effectively returning all years that have at least one record.","cost":0.0000819,"response_parsed":"SELECT DISTINCT Year_awarded\nFROM evaluation;","time":1.2650079727}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Year_awarded` FROM `evaluation` GROUP BY `Year_awarded` HAVING count(*) <= 1","question":"Find all the Year_awarded that have at most 1 records in table evaluation","db_schema_normalized":"`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find all the `Year_awarded` values that have at most 1 record in the `evaluation` table, you can use the following SQL query:\n\n```sql\nSELECT Year_awarded\nFROM evaluation\nGROUP BY Year_awarded\nHAVING COUNT(*) <= 1;\n```","cost":0.0000717,"response_parsed":"SELECT Year_awarded\nFROM evaluation\nGROUP BY Year_awarded\nHAVING COUNT(*) <= 1;","time":1.2527189255}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `Employee_ID` FROM `evaluation` GROUP BY `Employee_ID` HAVING AVG(`Bonus`) >= 3310.0","question":"List the Employee_ID which average of Bonus is at least 3310.0 in table evaluation","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT Employee_ID\nFROM evaluation\nGROUP BY Employee_ID\nHAVING AVG(Bonus) >= 3310.0;\n```","cost":0.00005475,"response_parsed":"SELECT Employee_ID\nFROM evaluation\nGROUP BY Employee_ID\nHAVING AVG(Bonus) >= 3310.0;","time":0.7773928642}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `Employee_ID` FROM `evaluation` GROUP BY `Employee_ID` HAVING AVG(`Bonus`) <= 3310.0","question":"List the Employee_ID which average of Bonus is at most 3310.0 in table evaluation","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To retrieve the `Employee_ID` from the `evaluation` table where the average of the `Bonus` is at most 3310.0, you can use the following SQL query:\n\n```sql\nSELECT Employee_ID\nFROM evaluation\nGROUP BY Employee_ID\nHAVING AVG(Bonus) <= 3310.0;\n```","cost":0.00007755,"response_parsed":"SELECT Employee_ID\nFROM evaluation\nGROUP BY Employee_ID\nHAVING AVG(Bonus) <= 3310.0;","time":1.4085047245}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `Employee_ID` FROM `evaluation` GROUP BY `Employee_ID` HAVING SUM(`Bonus`) >= 3900.0","question":"List the Employee_ID which summation of Bonus is at least 3900.0 in table evaluation","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To list the `Employee_ID` where the sum of `Bonus` in the `evaluation` table is at least 3900.0, you can use the following SQL query:\n\n```sql\nSELECT Employee_ID\nFROM evaluation\nGROUP BY Employee_ID\nHAVING SUM(Bonus) >= 3900.0;\n``` \n\nThis query groups the records in the `evaluation` table by `Employee_ID`, calculates the total bonus for each `Employee_ID`, and filters the results to include only those whose total bonus is equal to or greater than 3900.0.","cost":0.0001071,"response_parsed":"SELECT Employee_ID\nFROM evaluation\nGROUP BY Employee_ID\nHAVING SUM(Bonus) >= 3900.0;","time":1.8951916695}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `Employee_ID` FROM `evaluation` GROUP BY `Employee_ID` HAVING SUM(`Bonus`) <= 3900.0","question":"List the Employee_ID which summation of Bonus is at most 3900.0 in table evaluation","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To retrieve the `Employee_ID` from the `evaluation` table where the sum of the `Bonus` is at most 3900.0, you can use the following SQL query:\n\n```sql\nSELECT Employee_ID\nFROM evaluation\nGROUP BY Employee_ID\nHAVING SUM(Bonus) <= 3900.0;\n``` \n\nThis code will group the records by `Employee_ID`, calculate the sum of `Bonus` for each employee, and then filter the results to only include those employees whose total bonus is at most 3900.0.","cost":0.0001047,"response_parsed":"SELECT Employee_ID\nFROM evaluation\nGROUP BY Employee_ID\nHAVING SUM(Bonus) <= 3900.0;","time":1.8406951427}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `Year_awarded` FROM `evaluation` GROUP BY `Year_awarded` HAVING AVG(`Bonus`) >= 3210.0","question":"List the Year_awarded which average of Bonus is at least 3210.0 in table evaluation","db_schema_normalized":"`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT Year_awarded\nFROM evaluation\nGROUP BY Year_awarded\nHAVING AVG(Bonus) >= 3210.0;\n```","cost":0.0000561,"response_parsed":"SELECT Year_awarded\nFROM evaluation\nGROUP BY Year_awarded\nHAVING AVG(Bonus) >= 3210.0;","time":0.7583706379}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `Year_awarded` FROM `evaluation` GROUP BY `Year_awarded` HAVING AVG(`Bonus`) <= 3210.0","question":"List the Year_awarded which average of Bonus is at most 3210.0 in table evaluation","db_schema_normalized":"`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch the `Year_awarded` where the average `Bonus` is at most 3210.0 from the `evaluation` table, you can use the following SQL query:\n\n```sql\nSELECT Year_awarded\nFROM evaluation\nGROUP BY Year_awarded\nHAVING AVG(Bonus) <= 3210.0;\n```","cost":0.0000783,"response_parsed":"SELECT Year_awarded\nFROM evaluation\nGROUP BY Year_awarded\nHAVING AVG(Bonus) <= 3210.0;","time":1.1691007614}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `Year_awarded` FROM `evaluation` GROUP BY `Year_awarded` HAVING SUM(`Bonus`) >= 3900.0","question":"List the Year_awarded which summation of Bonus is at least 3900.0 in table evaluation","db_schema_normalized":"`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch the `Year_awarded` where the summation of `Bonus` is at least 3900.0 from the `evaluation` table, you can use the following SQL code:\n\n```sql\nSELECT Year_awarded\nFROM evaluation\nGROUP BY Year_awarded\nHAVING SUM(Bonus) >= 3900.0;\n```","cost":0.00007965,"response_parsed":"SELECT Year_awarded\nFROM evaluation\nGROUP BY Year_awarded\nHAVING SUM(Bonus) >= 3900.0;","time":1.4680752754}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `Year_awarded` FROM `evaluation` GROUP BY `Year_awarded` HAVING SUM(`Bonus`) <= 3900.0","question":"List the Year_awarded which summation of Bonus is at most 3900.0 in table evaluation","db_schema_normalized":"`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To list the `Year_awarded` where the summation of `Bonus` is at most 3900.0 in the `evaluation` table, you would use the following SQL code:\n\n```sql\nSELECT Year_awarded\nFROM evaluation\nGROUP BY Year_awarded\nHAVING SUM(Bonus) <= 3900.0;\n```","cost":0.00007965,"response_parsed":"SELECT Year_awarded\nFROM evaluation\nGROUP BY Year_awarded\nHAVING SUM(Bonus) <= 3900.0;","time":1.4152941704}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"hiring","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Start_from` FROM `hiring` GROUP BY `Start_from` HAVING count(*) >= 1","question":"Find all the Start_from that have at least 1 records in table hiring","db_schema_normalized":"`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find all the `Start_from` values that have at least 1 record in the `hiring` table, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT Start_from\nFROM hiring\nWHERE Start_from IS NOT NULL;\n```\n\nThis SQL code retrieves all unique (distinct) values of `Start_from` from the `hiring` table, ensuring that only those with at least one associated record are returned.","cost":0.00008955,"response_parsed":"SELECT DISTINCT Start_from\nFROM hiring\nWHERE Start_from IS NOT NULL;","time":1.5635480881}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"hiring","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Start_from` FROM `hiring` GROUP BY `Start_from` HAVING count(*) <= 1","question":"Find all the Start_from that have at most 1 records in table hiring","db_schema_normalized":"`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find all the `Start_from` values that have at most 1 record in the `hiring` table, you can use the following SQL code:\n\n```sql\nSELECT Start_from\nFROM hiring\nGROUP BY Start_from\nHAVING COUNT(*) <= 1;\n``` \n\nThis query selects the `Start_from` column from the `hiring` table, groups the results by `Start_from`, and filters to those groups that have a count of records that is less than or equal to 1.","cost":0.00009855,"response_parsed":"SELECT Start_from\nFROM hiring\nGROUP BY Start_from\nHAVING COUNT(*) <= 1;","time":1.5783388615}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Location` FROM `shop` GROUP BY `Location` HAVING count(*) >= 1","question":"Find all the Location that have at least 1 records in table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find all the locations that have at least one record in the `shop` table, you can execute the following SQL query:\n\n```sql\nSELECT DISTINCT Location\nFROM shop\nWHERE Location IS NOT NULL;\n```\n\nThis query selects distinct locations from the `shop` table, ensuring that it includes only those locations that are associated with at least one shop record. The condition `WHERE Location IS NOT NULL` ensures that the result does not include any null locations.","cost":0.0000924,"response_parsed":"SELECT DISTINCT Location\nFROM shop\nWHERE Location IS NOT NULL;","time":2.882997036}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Location` FROM `shop` GROUP BY `Location` HAVING count(*) <= 1","question":"Find all the Location that have at most 1 records in table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find all the locations that have at most 1 record in the `shop` table, you can use the following SQL query:\n\n```sql\nSELECT Location\nFROM shop\nGROUP BY Location\nHAVING COUNT(*) <= 1;\n``` \n\nThis query groups the results by `Location` and uses the `HAVING` clause to filter the groups where the count of `Shop_ID` (or any other non-null field) is less than or equal to 1.","cost":0.0000942,"response_parsed":"SELECT Location\nFROM shop\nGROUP BY Location\nHAVING COUNT(*) <= 1;","time":1.4256668091}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Manager_name` FROM `shop` GROUP BY `Manager_name` HAVING count(*) >= 1","question":"Find all the Manager_name that have at least 1 records in table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find all the `Manager_name` entries that have at least one record in the `shop` table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT Manager_name\nFROM shop\nWHERE Manager_name IS NOT NULL;\n``` \n\nThis code retrieves distinct manager names from the `shop` table, ensuring that the manager name is not null, which implies that they have at least one record in the table.","cost":0.00008775,"response_parsed":"SELECT DISTINCT Manager_name\nFROM shop\nWHERE Manager_name IS NOT NULL;","time":1.407327652}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Manager_name` FROM `shop` GROUP BY `Manager_name` HAVING count(*) <= 1","question":"Find all the Manager_name that have at most 1 records in table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find all the `Manager_name` values from the `shop` table that have at most 1 corresponding record, you can use the following SQL code:\n\n```sql\nSELECT Manager_name\nFROM shop\nGROUP BY Manager_name\nHAVING COUNT(*) <= 1;\n``` \n\nThis query groups the records in the `shop` table by `Manager_name` and uses the `HAVING` clause to ensure that only those managers with 1 or no shops are selected.","cost":0.00009435,"response_parsed":"SELECT Manager_name\nFROM shop\nGROUP BY Manager_name\nHAVING COUNT(*) <= 1;","time":2.0115952492}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `District` FROM `shop` GROUP BY `District` HAVING count(*) >= 1","question":"Find all the District that have at least 1 records in table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find all the Districts that have at least one record in the `shop` table, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT District\nFROM shop\nWHERE District IS NOT NULL;\n``` \n\nThis query selects distinct `District` values from the `shop` table, ensuring that only districts that have at least one record are returned. It also filters out any potential `NULL` values from the results.","cost":0.0000888,"response_parsed":"SELECT DISTINCT District\nFROM shop\nWHERE District IS NOT NULL;","time":1.320016861}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `District` FROM `shop` GROUP BY `District` HAVING count(*) <= 1","question":"Find all the District that have at most 1 records in table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find all the districts that have at most 1 record in the `shop` table, you can use the following SQL code:\n\n```sql\nSELECT District\nFROM shop\nGROUP BY District\nHAVING COUNT(Shop_ID) <= 1;\n``` \n\nThis query groups the records in the `shop` table by the `District` and then filters those groups to include only those districts that have one or no records according to the `COUNT()` of `Shop_ID`.","cost":0.0000942,"response_parsed":"SELECT District\nFROM shop\nGROUP BY District\nHAVING COUNT(Shop_ID) <= 1;","time":3.145154953}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `Name` FROM `shop` GROUP BY `Name` HAVING AVG(`Number_products`) >= 6685.11","question":"List the Name which average of Number_products is at least 6685.11 in table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch the names of shops where the average number of products is at least 6685.11 from the `shop` table, you can use the following SQL query:\n\n```sql\nSELECT Name \nFROM shop \nGROUP BY Name \nHAVING AVG(Number_products) >= 6685.11;\n``` \n\nThis query groups the shop records by name and calculates the average of `Number_products` for each group, filtering out those with an average less than 6685.11.","cost":0.00009615,"response_parsed":"SELECT Name \nFROM shop \nGROUP BY Name \nHAVING AVG(Number_products) >= 6685.11;","time":1.2381763458}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `Name` FROM `shop` GROUP BY `Name` HAVING AVG(`Number_products`) <= 6685.11","question":"List the Name which average of Number_products is at most 6685.11 in table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch the names of shops where the average number of products is at most 6685.11 from the \"shop\" table, you can use the following SQL query:\n\n```sql\nSELECT Name\nFROM shop\nGROUP BY Name\nHAVING AVG(Number_products) <= 6685.11;\n```","cost":0.00007455,"response_parsed":"SELECT Name\nFROM shop\nGROUP BY Name\nHAVING AVG(Number_products) <= 6685.11;","time":1.0803580284}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `Name` FROM `shop` GROUP BY `Name` HAVING SUM(`Number_products`) >= 6685.11","question":"List the Name which summation of Number_products is at least 6685.11 in table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"Here's the SQL code to fetch the names of shops where the summation of `Number_products` is at least 6685.11 in the `shop` table:\n\n```sql\nSELECT Name\nFROM shop\nGROUP BY Name\nHAVING SUM(Number_products) >= 6685.11;\n```","cost":0.0000741,"response_parsed":"SELECT Name\nFROM shop\nGROUP BY Name\nHAVING SUM(Number_products) >= 6685.11;","time":1.0758464336}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `Name` FROM `shop` GROUP BY `Name` HAVING SUM(`Number_products`) <= 6685.11","question":"List the Name which summation of Number_products is at most 6685.11 in table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch the names of shops where the summation of `Number_products` is at most 6685.11 from the `shop` table, you can use the following SQL query:\n\n```sql\nSELECT Name\nFROM shop\nWHERE Number_products <= 6685.11;\n``` \n\nThis query selects the `Name` from the `shop` table where the `Number_products` is less than or equal to 6685.11.","cost":0.0000915,"response_parsed":"SELECT Name\nFROM shop\nWHERE Number_products <= 6685.11;","time":1.3896944523}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `Manager_name` FROM `shop` GROUP BY `Manager_name` HAVING AVG(`Number_products`) >= 6685.11","question":"List the Manager_name which average of Number_products is at least 6685.11 in table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To answer the question, we need to compute the average of `Number_products` for each manager in the `shop` table and filter out those with an average of at least 6685.11. The SQL code for this would look like the following:\n\n```sql\nSELECT Manager_name\nFROM shop\nGROUP BY Manager_name\nHAVING AVG(Number_products) >= 6685.11;\n``` \n\nThis SQL query selects the distinct `Manager_name` from the `shop` table, groups the results by `Manager_name`, and uses the `HAVING` clause to filter for those managers whose average number of products across their shops is at least 6685.11.","cost":0.0001197,"response_parsed":"SELECT Manager_name\nFROM shop\nGROUP BY Manager_name\nHAVING AVG(Number_products) >= 6685.11;","time":2.774132967}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `Manager_name` FROM `shop` GROUP BY `Manager_name` HAVING AVG(`Number_products`) <= 6685.11","question":"List the Manager_name which average of Number_products is at most 6685.11 in table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"Here is the SQL code to fetch the desired result based on the given question:\n\n```sql\nSELECT Manager_name\nFROM shop\nGROUP BY Manager_name\nHAVING AVG(Number_products) <= 6685.11;\n```","cost":0.0000645,"response_parsed":"SELECT Manager_name\nFROM shop\nGROUP BY Manager_name\nHAVING AVG(Number_products) <= 6685.11;","time":1.0499191284}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `Manager_name` FROM `shop` GROUP BY `Manager_name` HAVING SUM(`Number_products`) >= 6685.11","question":"List the Manager_name which summation of Number_products is at least 6685.11 in table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"Here is the SQL code to list the `Manager_name` whose summation of `Number_products` is at least 6685.11 from the `shop` table:\n\n```sql\nSELECT Manager_name\nFROM shop\nGROUP BY Manager_name\nHAVING SUM(Number_products) >= 6685.11;\n```","cost":0.00007605,"response_parsed":"SELECT Manager_name\nFROM shop\nGROUP BY Manager_name\nHAVING SUM(Number_products) >= 6685.11;","time":1.0963540077}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `Manager_name` FROM `shop` GROUP BY `Manager_name` HAVING SUM(`Number_products`) <= 6685.11","question":"List the Manager_name which summation of Number_products is at most 6685.11 in table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch the Manager_name whose summation of Number_products is at most 6685.11 in the `shop` table, we can use the following SQL code:\n\n```sql\nSELECT Manager_name\nFROM shop\nGROUP BY Manager_name\nHAVING SUM(Number_products) <= 6685.11;\n``` \n\nThis SQL statement groups the records by `Manager_name`, calculates the sum of `Number_products` for each manager, and then filters the results to only include those managers whose total number of products is at most 6685.11.","cost":0.00010425,"response_parsed":"SELECT Manager_name\nFROM shop\nGROUP BY Manager_name\nHAVING SUM(Number_products) <= 6685.11;","time":2.0847284794}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-ALL","query":"SELECT * FROM `evaluation` AS T1 JOIN `employee` AS T2 ON T1.`Employee_ID` = T2.`Employee_ID`","question":"Join all the records from table evaluation with table employee on Employee_ID","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To join all the records from the `evaluation` table with the `employee` table on the `Employee_ID`, you can use the following SQL code:\n\n```sql\nSELECT *\nFROM evaluation\nJOIN employee ON evaluation.Employee_ID = employee.Employee_ID;\n```","cost":0.00006705,"response_parsed":"SELECT *\nFROM evaluation\nJOIN employee ON evaluation.Employee_ID = employee.Employee_ID;","time":1.0357320309}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`Year_awarded`, T2.`Name` FROM `evaluation` AS T1 JOIN `employee` AS T2 ON T1.`Employee_ID`=T2.`Employee_ID`","question":"List all the Year_awarded and Name from the table evaluation and the table employee where Employee_ID is the same","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"Here is the SQL code to fetch the requested information by joining the `evaluation` and `employee` tables on the `Employee_ID`:\n\n```sql\nSELECT e.Year_awarded, emp.Name\nFROM evaluation e\nJOIN employee emp ON e.Employee_ID = emp.Employee_ID;\n```","cost":0.000072,"response_parsed":"SELECT e.Year_awarded, emp.Name\nFROM evaluation e\nJOIN employee emp ON e.Employee_ID = emp.Employee_ID;","time":1.0446476936}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`Year_awarded`, T2.`City` FROM `evaluation` AS T1 JOIN `employee` AS T2 ON T1.`Employee_ID`=T2.`Employee_ID`","question":"List all the Year_awarded and City from the table evaluation and the table employee where Employee_ID is the same","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To retrieve the `Year_awarded` and `City` from the tables `evaluation` and `employee` where `Employee_ID` matches in both tables, you can use the following SQL query:\n\n```sql\nSELECT e.Year_awarded, emp.City\nFROM evaluation e\nJOIN employee emp ON e.Employee_ID = emp.Employee_ID;\n```","cost":0.0000792,"response_parsed":"SELECT e.Year_awarded, emp.City\nFROM evaluation e\nJOIN employee emp ON e.Employee_ID = emp.Employee_ID;","time":1.5647280216}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"hiring","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-ALL","query":"SELECT * FROM `hiring` AS T1 JOIN `employee` AS T2 ON T1.`Employee_ID` = T2.`Employee_ID`","question":"Join all the records from table hiring with table employee on Employee_ID","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"Here is the SQL code to join all the records from the `hiring` table with the `employee` table on `Employee_ID`:\n\n```sql\nSELECT *\nFROM hiring\nJOIN employee ON hiring.Employee_ID = employee.Employee_ID;\n```","cost":0.00006585,"response_parsed":"SELECT *\nFROM hiring\nJOIN employee ON hiring.Employee_ID = employee.Employee_ID;","time":1.5259313583}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"hiring","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-ALL","query":"SELECT * FROM `hiring` AS T1 JOIN `shop` AS T2 ON T1.`Shop_ID` = T2.`Shop_ID`","question":"Join all the records from table hiring with table shop on Shop_ID","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT *\nFROM hiring\nJOIN shop ON hiring.Shop_ID = shop.Shop_ID;\n```","cost":0.00004845,"response_parsed":"SELECT *\nFROM hiring\nJOIN shop ON hiring.Shop_ID = shop.Shop_ID;","time":0.5434887409}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"hiring","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`Start_from`, T2.`Name` FROM `hiring` AS T1 JOIN `employee` AS T2 ON T1.`Employee_ID`=T2.`Employee_ID`","question":"List all the Start_from and Name from the table hiring and the table employee where Employee_ID is the same","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To list all the `Start_from` and `Name` from the `hiring` and `employee` tables where `Employee_ID` matches, you can use the following SQL query:\n\n```sql\nSELECT hiring.Start_from, employee.Name\nFROM hiring\nJOIN employee ON hiring.Employee_ID = employee.Employee_ID;\n```","cost":0.00007605,"response_parsed":"SELECT hiring.Start_from, employee.Name\nFROM hiring\nJOIN employee ON hiring.Employee_ID = employee.Employee_ID;","time":1.3633060455}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"hiring","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`Start_from`, T2.`City` FROM `hiring` AS T1 JOIN `employee` AS T2 ON T1.`Employee_ID`=T2.`Employee_ID`","question":"List all the Start_from and City from the table hiring and the table employee where Employee_ID is the same","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch the required information from the `hiring` and `employee` tables where `Employee_ID` matches, you can use the following SQL code:\n\n```sql\nSELECT h.Start_from, e.City\nFROM hiring h\nJOIN employee e ON h.Employee_ID = e.Employee_ID;\n``` \n\nThis SQL query performs an inner join between the `hiring` table (`h`) and the `employee` table (`e`) on the `Employee_ID` field and retrieves the `Start_from` from the `hiring` table and the `City` from the `employee` table.","cost":0.00010905,"response_parsed":"SELECT h.Start_from, e.City\nFROM hiring h\nJOIN employee e ON h.Employee_ID = e.Employee_ID;","time":1.8533658981}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"hiring","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`Start_from`, T2.`District` FROM `hiring` AS T1 JOIN `shop` AS T2 ON T1.`Shop_ID`=T2.`Shop_ID`","question":"List all the Start_from and District from the table hiring and the table shop where Shop_ID is the same","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To retrieve the `Start_from` and `District` from the `hiring` and `shop` tables where `Shop_ID` is the same, you can use the following SQL query:\n\n```sql\nSELECT h.Start_from, s.District\nFROM hiring h\nJOIN shop s ON h.Shop_ID = s.Shop_ID;\n```","cost":0.00007845,"response_parsed":"SELECT h.Start_from, s.District\nFROM hiring h\nJOIN shop s ON h.Shop_ID = s.Shop_ID;","time":1.3918712139}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"hiring","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`Start_from`, T2.`Location` FROM `hiring` AS T1 JOIN `shop` AS T2 ON T1.`Shop_ID`=T2.`Shop_ID`","question":"List all the Start_from and Location from the table hiring and the table shop where Shop_ID is the same","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To retrieve the `Start_from` and `Location` from the `hiring` and `shop` tables where `Shop_ID` matches, you can use the following SQL query:\n\n```sql\nSELECT h.Start_from, s.Location\nFROM hiring h\nJOIN shop s ON h.Shop_ID = s.Shop_ID;\n``` \n\nThis query performs an inner join between the `hiring` table (aliased as `h`) and the `shop` table (aliased as `s`) on the `Shop_ID` column, selecting the desired columns from both tables.","cost":0.00010665,"response_parsed":"SELECT h.Start_from, s.Location\nFROM hiring h\nJOIN shop s ON h.Shop_ID = s.Shop_ID;","time":2.3486227989}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"hiring","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`Start_from`, T2.`Name` FROM `hiring` AS T1 JOIN `shop` AS T2 ON T1.`Shop_ID`=T2.`Shop_ID`","question":"List all the Start_from and Name from the table hiring and the table shop where Shop_ID is the same","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To list all the `Start_from` and `Name` from the `hiring` table and the `shop` table where `Shop_ID` is the same, you would use a SQL query that joins both tables based on the `Shop_ID`. Here's how the SQL code would look:\n\n```sql\nSELECT h.Start_from, s.Name\nFROM hiring h\nJOIN shop s ON h.Shop_ID = s.Shop_ID;\n```","cost":0.00008985,"response_parsed":"SELECT h.Start_from, s.Name\nFROM hiring h\nJOIN shop s ON h.Shop_ID = s.Shop_ID;","time":1.6807689667}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `employee` ORDER BY `City` ASC","question":"Show all data ordered by City in ascending order for the table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT * FROM employee\nORDER BY City ASC;\n```","cost":0.00004485,"response_parsed":"SELECT * FROM employee\nORDER BY City ASC;","time":0.5415482521}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `employee` ORDER BY `City` DESC","question":"Show all data ordered by City in descending order for the table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"Here is the SQL code to fetch all data from the \"employee\" table, ordered by \"City\" in descending order:\n\n```sql\nSELECT * FROM employee\nORDER BY City DESC;\n```","cost":0.00005985,"response_parsed":"SELECT * FROM employee\nORDER BY City DESC;","time":0.8896081448}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `employee` ORDER BY `Name` ASC","question":"Show all data ordered by Name in ascending order for the table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT * FROM employee\nORDER BY Name ASC;\n```","cost":0.00004485,"response_parsed":"SELECT * FROM employee\nORDER BY Name ASC;","time":0.3602499962}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `employee` ORDER BY `Name` DESC","question":"Show all data ordered by Name in descending order for the table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT * \nFROM employee \nORDER BY Name DESC;\n```","cost":0.00004545,"response_parsed":"SELECT * \nFROM employee \nORDER BY Name DESC;","time":0.7173054218}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Age` FROM `employee` ORDER BY `Age` ASC","question":"Project the Age ordered in ascending order for the table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To project the Age from the `employee` table ordered in ascending order, you can use the following SQL query:\n\n```sql\nSELECT Age \nFROM employee \nORDER BY Age ASC;\n```","cost":0.00005895,"response_parsed":"SELECT Age \nFROM employee \nORDER BY Age ASC;","time":4.3085465431}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Age` FROM `employee` ORDER BY `Age` DESC","question":"Project the Age ordered in descending order for the table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"Here is the SQL code to fetch the Age of employees from the `employee` table, ordered in descending order:\n\n```sql\nSELECT Age\nFROM employee\nORDER BY Age DESC;\n```","cost":0.00005895,"response_parsed":"SELECT Age\nFROM employee\nORDER BY Age DESC;","time":0.9331488609}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Employee_ID` FROM `employee` ORDER BY `Employee_ID` ASC","question":"Project the Employee_ID ordered in ascending order for the table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To retrieve the `Employee_ID` from the `employee` table ordered in ascending order, you can use the following SQL code:\n\n```sql\nSELECT Employee_ID \nFROM employee \nORDER BY Employee_ID ASC;\n```","cost":0.0000621,"response_parsed":"SELECT Employee_ID \nFROM employee \nORDER BY Employee_ID ASC;","time":0.8052299023}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Employee_ID` FROM `employee` ORDER BY `Employee_ID` DESC","question":"Project the Employee_ID ordered in descending order for the table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"Here is the SQL code to fetch the `Employee_ID` ordered in descending order from the `employee` table:\n\n```sql\nSELECT Employee_ID \nFROM employee \nORDER BY Employee_ID DESC;\n```","cost":0.0000603,"response_parsed":"SELECT Employee_ID \nFROM employee \nORDER BY Employee_ID DESC;","time":1.3626761436}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `evaluation` ORDER BY `Year_awarded` ASC","question":"Show all data ordered by Year_awarded in ascending order for the table evaluation","db_schema_normalized":"`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To retrieve all data from the `evaluation` table ordered by `Year_awarded` in ascending order, you can use the following SQL code:\n\n```sql\nSELECT * FROM evaluation\nORDER BY Year_awarded ASC;\n```","cost":0.00006375,"response_parsed":"SELECT * FROM evaluation\nORDER BY Year_awarded ASC;","time":1.3495960236}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `evaluation` ORDER BY `Year_awarded` DESC","question":"Show all data ordered by Year_awarded in descending order for the table evaluation","db_schema_normalized":"`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"Here is the SQL code to fetch the data from the `evaluation` table ordered by `Year_awarded` in descending order:\n\n```sql\nSELECT *\nFROM evaluation\nORDER BY Year_awarded DESC;\n```","cost":0.00006195,"response_parsed":"SELECT *\nFROM evaluation\nORDER BY Year_awarded DESC;","time":0.7609148026}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `evaluation` ORDER BY `Employee_ID` ASC","question":"Show all data ordered by Employee_ID in ascending order for the table evaluation","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch all data from the `\"evaluation\"` table ordered by `Employee_ID` in ascending order, you can use the following SQL query:\n\n```sql\nSELECT * FROM evaluation\nORDER BY Employee_ID ASC;\n```","cost":0.0000624,"response_parsed":"SELECT * FROM evaluation\nORDER BY Employee_ID ASC;","time":1.2600533962}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `evaluation` ORDER BY `Employee_ID` DESC","question":"Show all data ordered by Employee_ID in descending order for the table evaluation","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch all data from the `evaluation` table ordered by `Employee_ID` in descending order, you can use the following SQL code:\n\n```sql\nSELECT *\nFROM evaluation\nORDER BY Employee_ID DESC;\n```","cost":0.0000624,"response_parsed":"SELECT *\nFROM evaluation\nORDER BY Employee_ID DESC;","time":1.1058051586}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Year_awarded` FROM `evaluation` ORDER BY `Year_awarded` ASC","question":"Project the Year_awarded ordered in ascending order for the table evaluation","db_schema_normalized":"`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To project the `Year_awarded` from the `evaluation` table and order the results in ascending order, you can use the following SQL code:\n\n```sql\nSELECT Year_awarded\nFROM evaluation\nORDER BY Year_awarded ASC;\n```","cost":0.00006585,"response_parsed":"SELECT Year_awarded\nFROM evaluation\nORDER BY Year_awarded ASC;","time":0.8828363419}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Year_awarded` FROM `evaluation` ORDER BY `Year_awarded` DESC","question":"Project the Year_awarded ordered in descending order for the table evaluation","db_schema_normalized":"`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"Here's the SQL code to project the `Year_awarded` from the `evaluation` table, ordered in descending order:\n\n```sql\nSELECT Year_awarded\nFROM evaluation\nORDER BY Year_awarded DESC;\n```","cost":0.00006225,"response_parsed":"SELECT Year_awarded\nFROM evaluation\nORDER BY Year_awarded DESC;","time":0.9261300564}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Employee_ID` FROM `evaluation` ORDER BY `Employee_ID` ASC","question":"Project the Employee_ID ordered in ascending order for the table evaluation","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch the Employee_IDs from the `evaluation` table ordered in ascending order, you can use the following SQL code:\n\n```sql\nSELECT Employee_ID \nFROM evaluation \nORDER BY Employee_ID ASC;\n```","cost":0.0000615,"response_parsed":"SELECT Employee_ID \nFROM evaluation \nORDER BY Employee_ID ASC;","time":0.8991396427}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Employee_ID` FROM `evaluation` ORDER BY `Employee_ID` DESC","question":"Project the Employee_ID ordered in descending order for the table evaluation","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To retrieve the Employee_IDs from the `evaluation` table ordered in descending order, you can use the following SQL query:\n\n```sql\nSELECT Employee_ID \nFROM evaluation \nORDER BY Employee_ID DESC;\n```","cost":0.0000615,"response_parsed":"SELECT Employee_ID \nFROM evaluation \nORDER BY Employee_ID DESC;","time":1.3202126026}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"hiring","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `hiring` ORDER BY `Employee_ID` ASC","question":"Show all data ordered by Employee_ID in ascending order for the table hiring","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch all data from the `hiring` table ordered by `Employee_ID` in ascending order, you can use the following SQL query:\n\n```sql\nSELECT * FROM hiring\nORDER BY Employee_ID ASC;\n```","cost":0.000063,"response_parsed":"SELECT * FROM hiring\nORDER BY Employee_ID ASC;","time":1.0387618542}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"hiring","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `hiring` ORDER BY `Employee_ID` DESC","question":"Show all data ordered by Employee_ID in descending order for the table hiring","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT * FROM hiring\nORDER BY Employee_ID DESC;\n```","cost":0.0000456,"response_parsed":"SELECT * FROM hiring\nORDER BY Employee_ID DESC;","time":0.3961222172}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"hiring","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `hiring` ORDER BY `Start_from` ASC","question":"Show all data ordered by Start_from in ascending order for the table hiring","db_schema_normalized":"`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT * FROM hiring\nORDER BY Start_from ASC;\n```","cost":0.0000456,"response_parsed":"SELECT * FROM hiring\nORDER BY Start_from ASC;","time":0.5386705399}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"hiring","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `hiring` ORDER BY `Start_from` DESC","question":"Show all data ordered by Start_from in descending order for the table hiring","db_schema_normalized":"`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch all data from the `hiring` table ordered by the `Start_from` column in descending order, you can use the following SQL code:\n\n```sql\nSELECT * FROM hiring\nORDER BY Start_from DESC;\n```","cost":0.0000642,"response_parsed":"SELECT * FROM hiring\nORDER BY Start_from DESC;","time":0.9318134785}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"hiring","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Start_from` FROM `hiring` ORDER BY `Start_from` ASC","question":"Project the Start_from ordered in ascending order for the table hiring","db_schema_normalized":"`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To project the `Start_from` field ordered in ascending order from the `hiring` table, you can use the following SQL code:\n\n```sql\nSELECT Start_from\nFROM hiring\nORDER BY Start_from ASC;\n```","cost":0.0000633,"response_parsed":"SELECT Start_from\nFROM hiring\nORDER BY Start_from ASC;","time":0.7968218327}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"hiring","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Start_from` FROM `hiring` ORDER BY `Start_from` DESC","question":"Project the Start_from ordered in descending order for the table hiring","db_schema_normalized":"`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To achieve the desired projection of the `Start_from` field ordered in descending order from the `hiring` table, you can use the following SQL code:\n\n```sql\nSELECT Start_from\nFROM hiring\nORDER BY Start_from DESC;\n```","cost":0.0000657,"response_parsed":"SELECT Start_from\nFROM hiring\nORDER BY Start_from DESC;","time":1.1657795906}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"hiring","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Employee_ID` FROM `hiring` ORDER BY `Employee_ID` ASC","question":"Project the Employee_ID ordered in ascending order for the table hiring","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To project the `Employee_ID` ordered in ascending order from the `hiring` table, the SQL code would be as follows:\n\n```sql\nSELECT Employee_ID\nFROM hiring\nORDER BY Employee_ID ASC;\n```","cost":0.0000627,"response_parsed":"SELECT Employee_ID\nFROM hiring\nORDER BY Employee_ID ASC;","time":1.1245839596}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"hiring","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Employee_ID` FROM `hiring` ORDER BY `Employee_ID` DESC","question":"Project the Employee_ID ordered in descending order for the table hiring","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"Here is the SQL code to fetch the `Employee_ID` from the `hiring` table ordered in descending order:\n\n```sql\nSELECT Employee_ID\nFROM hiring\nORDER BY Employee_ID DESC;\n```","cost":0.0000609,"response_parsed":"SELECT Employee_ID\nFROM hiring\nORDER BY Employee_ID DESC;","time":1.1807961464}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `shop` ORDER BY `District` ASC","question":"Show all data ordered by District in ascending order for the table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To retrieve all data from the `shop` table ordered by the `District` in ascending order, you can use the following SQL query:\n\n```sql\nSELECT * FROM shop\nORDER BY District ASC;\n```","cost":0.00006165,"response_parsed":"SELECT * FROM shop\nORDER BY District ASC;","time":1.3344399929}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `shop` ORDER BY `District` DESC","question":"Show all data ordered by District in descending order for the table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch all data from the `shop` table ordered by `District` in descending order, you can use the following SQL code:\n\n```sql\nSELECT * FROM shop\nORDER BY District DESC;\n```","cost":0.00006105,"response_parsed":"SELECT * FROM shop\nORDER BY District DESC;","time":0.7084300518}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `shop` ORDER BY `Number_products` ASC","question":"Show all data ordered by Number_products in ascending order for the table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT * FROM shop\nORDER BY Number_products ASC;\n```","cost":0.0000456,"response_parsed":"SELECT * FROM shop\nORDER BY Number_products ASC;","time":0.6437952518}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `shop` ORDER BY `Number_products` DESC","question":"Show all data ordered by Number_products in descending order for the table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"Here is the SQL code to fetch all data from the `shop` table ordered by `Number_products` in descending order:\n\n```sql\nSELECT *\nFROM shop\nORDER BY Number_products DESC;\n```","cost":0.0000606,"response_parsed":"SELECT *\nFROM shop\nORDER BY Number_products DESC;","time":0.8650605679}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Location` FROM `shop` ORDER BY `Location` ASC","question":"Project the Location ordered in ascending order for the table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT Location\nFROM shop\nORDER BY Location ASC;\n```","cost":0.00004515,"response_parsed":"SELECT Location\nFROM shop\nORDER BY Location ASC;","time":0.5437633991}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Location` FROM `shop` ORDER BY `Location` DESC","question":"Project the Location ordered in descending order for the table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch the Location from the table `shop` ordered in descending order, you can use the following SQL code:\n\n```sql\nSELECT Location\nFROM shop\nORDER BY Location DESC;\n```","cost":0.00005895,"response_parsed":"SELECT Location\nFROM shop\nORDER BY Location DESC;","time":0.7788696289}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Shop_ID` FROM `shop` ORDER BY `Shop_ID` ASC","question":"Project the Shop_ID ordered in ascending order for the table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"Here is the SQL code to project the `Shop_ID` from the `shop` table ordered in ascending order:\n\n```sql\nSELECT Shop_ID\nFROM shop\nORDER BY Shop_ID ASC;\n```","cost":0.0000603,"response_parsed":"SELECT Shop_ID\nFROM shop\nORDER BY Shop_ID ASC;","time":1.3311402798}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Shop_ID` FROM `shop` ORDER BY `Shop_ID` DESC","question":"Project the Shop_ID ordered in descending order for the table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT Shop_ID \nFROM shop \nORDER BY Shop_ID DESC;\n```","cost":0.0000465,"response_parsed":"SELECT Shop_ID \nFROM shop \nORDER BY Shop_ID DESC;","time":0.4797735214}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Employee_ID` FROM `employee`","question":"Show all Employee_ID in the table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch all `Employee_ID` values from the `employee` table, you can use the following SQL code:\n\n```sql\nSELECT Employee_ID FROM employee;\n```","cost":0.0000555,"response_parsed":"SELECT Employee_ID FROM employee;","time":0.6501193047}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Name` FROM `employee`","question":"Show all Name in the table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch all names from the \"employee\" table, here is the SQL code:\n\n```sql\nSELECT Name FROM employee;\n```","cost":0.00005115,"response_parsed":"SELECT Name FROM employee;","time":0.6460392475}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Age` FROM `employee`","question":"Show all Age in the table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch all ages from the `employee` table, you can use the following SQL code:\n\n```sql\nSELECT Age FROM employee;\n```","cost":0.00005235,"response_parsed":"SELECT Age FROM employee;","time":0.6249935627}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `City` FROM `employee`","question":"Show all City in the table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch all distinct cities from the `employee` table, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT City FROM employee;\n```","cost":0.00005355,"response_parsed":"SELECT DISTINCT City FROM employee;","time":0.557539463}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"PROJECT","sql_tag":"SELECT-ALL","query":"SELECT * FROM `employee`","question":"Show all the rows in the table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch all the rows in the `employee` table, you can use the following SQL code:\n\n```sql\nSELECT * FROM employee;\n```","cost":0.0000531,"response_parsed":"SELECT * FROM employee;","time":0.4429907799}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `City` FROM `employee`","question":"Show all City in the table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To retrieve all unique cities from the `employee` table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT City FROM employee;\n```","cost":0.00005355,"response_parsed":"SELECT DISTINCT City FROM employee;","time":0.7559015751}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Name`, `Employee_ID` FROM `employee`","question":"Show all Name, Employee_ID in the table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT Name, Employee_ID FROM employee;\n```","cost":0.0000432,"response_parsed":"SELECT Name, Employee_ID FROM employee;","time":0.3290503025}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Name`, `Age`, `Employee_ID` FROM `employee`","question":"Show all Name, Age, Employee_ID in the table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT Name, Age, Employee_ID FROM employee;\n```","cost":0.0000447,"response_parsed":"SELECT Name, Age, Employee_ID FROM employee;","time":0.568571806}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Employee_ID` FROM `evaluation`","question":"Show all Employee_ID in the table evaluation","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT \"Employee_ID\" FROM \"evaluation\";\n```","cost":0.0000435,"response_parsed":"SELECT \"Employee_ID\" FROM \"evaluation\";","time":0.721047163}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Year_awarded` FROM `evaluation`","question":"Show all Year_awarded in the table evaluation","db_schema_normalized":"`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT Year_awarded FROM evaluation;\n```","cost":0.00004245,"response_parsed":"SELECT Year_awarded FROM evaluation;","time":0.5044174194}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Bonus` FROM `evaluation`","question":"Show all Bonus in the table evaluation","db_schema_normalized":"`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch all bonuses from the `evaluation` table, you can use the following SQL code:\n\n```sql\nSELECT Bonus FROM evaluation;\n```","cost":0.00005235,"response_parsed":"SELECT Bonus FROM evaluation;","time":1.0076286793}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"PROJECT","sql_tag":"SELECT-ALL","query":"SELECT * FROM `evaluation`","question":"Show all the rows in the table evaluation","db_schema_normalized":"`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT * FROM evaluation;\n```","cost":0.0000411,"response_parsed":"SELECT * FROM evaluation;","time":0.3411476612}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Year_awarded` FROM `evaluation`","question":"Show all Year_awarded in the table evaluation","db_schema_normalized":"`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT Year_awarded\nFROM evaluation;\n```","cost":0.00004305,"response_parsed":"SELECT Year_awarded\nFROM evaluation;","time":0.3671898842}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Bonus`, `Employee_ID` FROM `evaluation`","question":"Show all Bonus, Employee_ID in the table evaluation","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch all the Bonus and Employee_ID from the \"evaluation\" table, you can use the following SQL query:\n\n```sql\nSELECT Bonus, Employee_ID \nFROM evaluation;\n```","cost":0.0000576,"response_parsed":"SELECT Bonus, Employee_ID \nFROM evaluation;","time":0.6000669003}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"hiring","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Shop_ID` FROM `hiring`","question":"Show all Shop_ID in the table hiring","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT DISTINCT Shop_ID FROM hiring;\n```","cost":0.0000423,"response_parsed":"SELECT DISTINCT Shop_ID FROM hiring;","time":0.4514117241}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"hiring","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Employee_ID` FROM `hiring`","question":"Show all Employee_ID in the table hiring","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch all `Employee_IDs` from the `hiring` table, you can use the following SQL query:\n\n```sql\nSELECT Employee_ID FROM hiring;\n```","cost":0.0000561,"response_parsed":"SELECT Employee_ID FROM hiring;","time":0.7857940197}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"hiring","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Start_from` FROM `hiring`","question":"Show all Start_from in the table hiring","db_schema_normalized":"`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"Here is the SQL code to fetch all `Start_from` values from the `hiring` table:\n\n```sql\nSELECT Start_from FROM hiring;\n```","cost":0.0000543,"response_parsed":"SELECT Start_from FROM hiring;","time":0.7018182278}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"hiring","test_category":"PROJECT","sql_tag":"SELECT-ALL","query":"SELECT * FROM `hiring`","question":"Show all the rows in the table hiring","db_schema_normalized":"`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch all the rows from the `hiring` table, you can use the following SQL code:\n\n```sql\nSELECT * FROM hiring;\n```","cost":0.0000537,"response_parsed":"SELECT * FROM hiring;","time":0.7115616798}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"hiring","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Employee_ID` FROM `hiring`","question":"Show all Employee_ID in the table hiring","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"Here is the SQL code to fetch all `Employee_ID` from the `hiring` table:\n\n```sql\nSELECT Employee_ID FROM hiring;\n```","cost":0.0000537,"response_parsed":"SELECT Employee_ID FROM hiring;","time":0.6866817474}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"hiring","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Start_from`, `Employee_ID` FROM `hiring`","question":"Show all Start_from, Employee_ID in the table hiring","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"Here is the SQL code to fetch all `Start_from` and `Employee_ID` from the `hiring` table:\n\n```sql\nSELECT Start_from, Employee_ID\nFROM hiring;\n```","cost":0.00005955,"response_parsed":"SELECT Start_from, Employee_ID\nFROM hiring;","time":0.8411762714}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `District` FROM `shop`","question":"Show all District in the table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch all the unique District values from the \"shop\" table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT District FROM shop;\n```","cost":0.00005475,"response_parsed":"SELECT DISTINCT District FROM shop;","time":0.7393796444}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Location` FROM `shop`","question":"Show all Location in the table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch all locations from the `shop` table, you can use the following SQL code:\n\n```sql\nSELECT Location FROM shop;\n```","cost":0.00005235,"response_parsed":"SELECT Location FROM shop;","time":0.6882653236}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Name` FROM `shop`","question":"Show all Name in the table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"Here is the SQL code to fetch all names from the `shop` table:\n\n```sql\nSELECT \"Name\" FROM \"shop\";\n```","cost":0.00005235,"response_parsed":"SELECT \"Name\" FROM \"shop\";","time":0.5409903526}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Number_products` FROM `shop`","question":"Show all Number_products in the table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch all `Number_products` from the `shop` table, you can use the following SQL code:\n\n```sql\nSELECT Number_products FROM shop;\n```","cost":0.0000549,"response_parsed":"SELECT Number_products FROM shop;","time":0.6967244148}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Shop_ID` FROM `shop`","question":"Show all Shop_ID in the table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT Shop_ID FROM shop;\n```","cost":0.0000417,"response_parsed":"SELECT Shop_ID FROM shop;","time":0.3301274776}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"PROJECT","sql_tag":"SELECT-ALL","query":"SELECT * FROM `shop`","question":"Show all the rows in the table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT * FROM shop;\n```","cost":0.0000411,"response_parsed":"SELECT * FROM shop;","time":0.7227737904}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Location` FROM `shop`","question":"Show all Location in the table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To show all locations in the `shop` table from the given database schema, you can use the following SQL code:\n\n```sql\nSELECT Location FROM shop;\n```","cost":0.00005535,"response_parsed":"SELECT Location FROM shop;","time":0.7281415462}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Name`, `Manager_name` FROM `shop`","question":"Show all Name, Manager_name in the table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch the `Name` and `Manager_name` from the `shop` table, you can use the following SQL code:\n\n```sql\nSELECT Name, Manager_name FROM shop;\n```","cost":0.0000588,"response_parsed":"SELECT Name, Manager_name FROM shop;","time":0.8691895008}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Number_products`, `Shop_ID`, `Manager_name` FROM `shop`","question":"Show all Number_products, Shop_ID, Manager_name in the table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"Here's the SQL code to fetch the required information from the `shop` table as specified in your question:\n\n```sql\nSELECT Number_products, Shop_ID, Manager_name\nFROM shop;\n```","cost":0.0000594,"response_parsed":"SELECT Number_products, Shop_ID, Manager_name\nFROM shop;","time":0.7914223671}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Location`, `Name`, `Manager_name`, `District` FROM `shop`","question":"Show all Location, Name, Manager_name, District in the table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To retrieve the desired information from the `shop` table, you can use the following SQL query:\n\n```sql\nSELECT Location, Name, Manager_name, District\nFROM shop;\n``` \n\nThis SQL statement selects all the columns specified (Location, Name, Manager_name, and District) from the `shop` table.","cost":0.000075,"response_parsed":"SELECT Location, Name, Manager_name, District\nFROM shop;","time":1.3130595684}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `District`, `Number_products`, `Shop_ID`, `Location`, `Manager_name` FROM `shop`","question":"Show all District, Number_products, Shop_ID, Location, Manager_name in the table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"Here is the SQL code to fetch the required information from the `shop` table:\n\n```sql\nSELECT District, Number_products, Shop_ID, Location, Manager_name\nFROM shop;\n```","cost":0.00006,"response_parsed":"SELECT District, Number_products, Shop_ID, Location, Manager_name\nFROM shop;","time":0.6302950382}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `employee` WHERE `Name` == 'Mark Regan'","question":"Show the data of the table employee where Name is equal to Mark Regan","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT *\nFROM employee\nWHERE Name = 'Mark Regan';\n```","cost":0.00004695,"response_parsed":"SELECT *\nFROM employee\nWHERE Name = 'Mark Regan';","time":0.6909561157}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `employee` WHERE `Name` != 'George Chuter'","question":"Show the data of the table employee where Name is different from George Chuter","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"Here is the SQL code to fetch the data from the `employee` table where the `Name` is different from \"George Chuter\":\n\n```sql\nSELECT * FROM employee WHERE Name <> 'George Chuter';\n```","cost":0.00006315,"response_parsed":"SELECT * FROM employee WHERE Name <> 'George Chuter';","time":0.883749485}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `employee` WHERE `Name` != 'Lee Mears'","question":"Show the data of the table employee where Name not equal to Lee Mears","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT * FROM employee WHERE Name <> 'Lee Mears';\n```","cost":0.00004635,"response_parsed":"SELECT * FROM employee WHERE Name <> 'Lee Mears';","time":0.4729235172}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `employee` WHERE `City` == 'Bristol'","question":"Show the data of the table employee where City is equal to Bristol","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT * FROM employee WHERE City = 'Bristol';\n```","cost":0.00004605,"response_parsed":"SELECT * FROM employee WHERE City = 'Bristol';","time":0.3233602047}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `employee` WHERE `City` != 'Bath'","question":"Show the data of the table employee where City is different from Bath","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT * FROM employee WHERE City <> 'Bath';\n```","cost":0.00004485,"response_parsed":"SELECT * FROM employee WHERE City <> 'Bath';","time":0.8337495327}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `employee` WHERE `City` != 'Bath'","question":"Show the data of the table employee where City not equal to Bath","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT * FROM employee WHERE City != 'Bath';\n```","cost":0.00004485,"response_parsed":"SELECT * FROM employee WHERE City != 'Bath';","time":0.5268232822}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `employee` WHERE `Age` > 23","question":"Show the data of the table employee where Age is greater than 23","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT * FROM employee WHERE Age > 23;\n```","cost":0.000045,"response_parsed":"SELECT * FROM employee WHERE Age > 23;","time":0.3581464291}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `evaluation` WHERE `Employee_ID` == '4'","question":"Show the data of the table evaluation where Employee_ID is equal to 4","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT *\nFROM evaluation\nWHERE Employee_ID = '4';\n```","cost":0.00004635,"response_parsed":"SELECT *\nFROM evaluation\nWHERE Employee_ID = '4';","time":0.3837580681}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `evaluation` WHERE `Employee_ID` != '2'","question":"Show the data of the table evaluation where Employee_ID is different from 2","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch the data from the `evaluation` table where the `Employee_ID` is different from 2, you can use the following SQL code:\n\n```sql\nSELECT *\nFROM evaluation\nWHERE Employee_ID <> '2';\n```\n\nNote: Since `Employee_ID` in the `evaluation` table is of type `text`, the number `2` is enclosed in quotes to match the data type.","cost":0.00008535,"response_parsed":"SELECT *\nFROM evaluation\nWHERE Employee_ID <> '2';","time":1.3126316071}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `evaluation` WHERE `Employee_ID` != '10'","question":"Show the data of the table evaluation where Employee_ID not equal to 10","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To retrieve the data from the `evaluation` table where `Employee_ID` is not equal to 10, you can execute the following SQL code:\n\n```sql\nSELECT * FROM evaluation WHERE Employee_ID <> '10';\n```","cost":0.00006375,"response_parsed":"SELECT * FROM evaluation WHERE Employee_ID <> '10';","time":1.0035605431}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `evaluation` WHERE `Year_awarded` == '2017'","question":"Show the data of the table evaluation where Year_awarded is equal to 2017","db_schema_normalized":"`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT * \nFROM evaluation \nWHERE Year_awarded = '2017';\n```","cost":0.00004845,"response_parsed":"SELECT * \nFROM evaluation \nWHERE Year_awarded = '2017';","time":0.6436214447}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `evaluation` WHERE `Year_awarded` != '2017'","question":"Show the data of the table evaluation where Year_awarded is different from 2017","db_schema_normalized":"`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch the data from the `evaluation` table where `Year_awarded` is different from 2017, you can use the following SQL code:\n\n```sql\nSELECT *\nFROM evaluation\nWHERE Year_awarded <> '2017';\n```","cost":0.00006645,"response_parsed":"SELECT *\nFROM evaluation\nWHERE Year_awarded <> '2017';","time":4.5276279449}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `evaluation` WHERE `Year_awarded` != '2015'","question":"Show the data of the table evaluation where Year_awarded not equal to 2015","db_schema_normalized":"`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"Here is the SQL code to fetch the data from the `evaluation` table where `Year_awarded` is not equal to 2015:\n\n```sql\nSELECT * FROM evaluation WHERE Year_awarded <> '2015';\n```","cost":0.00006465,"response_parsed":"SELECT * FROM evaluation WHERE Year_awarded <> '2015';","time":1.2348086834}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `evaluation` WHERE `Bonus` > 3200.0","question":"Show the data of the table evaluation where Bonus is greater than 3200.0","db_schema_normalized":"`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch the data from the `evaluation` table where the `Bonus` is greater than 3200.0, you can use the following SQL query:\n\n```sql\nSELECT *\nFROM evaluation\nWHERE Bonus > 3200.0;\n```","cost":0.00006705,"response_parsed":"SELECT *\nFROM evaluation\nWHERE Bonus > 3200.0;","time":0.8979036808}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `evaluation` WHERE `Bonus` < 3000.0","question":"Show the data of the table evaluation where Bonus is less than 3000.0","db_schema_normalized":"`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT * FROM evaluation WHERE Bonus < 3000.0;\n```","cost":0.00004725,"response_parsed":"SELECT * FROM evaluation WHERE Bonus < 3000.0;","time":0.570543766}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"hiring","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `hiring` WHERE `Start_from` == '2011'","question":"Show the data of the table hiring where Start_from is equal to 2011","db_schema_normalized":"`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch the data from the `hiring` table where `Start_from` is equal to 2011, you can use the following SQL code:\n\n```sql\nSELECT * FROM hiring WHERE Start_from = '2011';\n```","cost":0.0000651,"response_parsed":"SELECT * FROM hiring WHERE Start_from = '2011';","time":0.9131300449}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"hiring","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `hiring` WHERE `Start_from` != '2009'","question":"Show the data of the table hiring where Start_from is different from 2009","db_schema_normalized":"`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"Here is the SQL code to fetch the data from the `hiring` table where `Start_from` is different from 2009:\n\n```sql\nSELECT *\nFROM hiring\nWHERE Start_from <> '2009';\n```","cost":0.0000639,"response_parsed":"SELECT *\nFROM hiring\nWHERE Start_from <> '2009';","time":0.7914125919}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"hiring","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `hiring` WHERE `Start_from` != '2013'","question":"Show the data of the table hiring where Start_from not equal to 2013","db_schema_normalized":"`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"Here is the SQL code to fetch the data from the \"hiring\" table where the \"Start_from\" is not equal to 2013:\n\n```sql\nSELECT *\nFROM hiring\nWHERE Start_from <> '2013';\n```","cost":0.0000651,"response_parsed":"SELECT *\nFROM hiring\nWHERE Start_from <> '2013';","time":1.0946240425}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `shop` WHERE `Location` == 'Turku'","question":"Show the data of the table shop where Location is equal to Turku","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT * FROM shop WHERE Location = 'Turku';\n```","cost":0.0000456,"response_parsed":"SELECT * FROM shop WHERE Location = 'Turku';","time":0.4989178181}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `shop` WHERE `Location` != 'Turku'","question":"Show the data of the table shop where Location is different from Turku","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT * FROM shop WHERE Location <> 'Turku';\n```","cost":0.0000456,"response_parsed":"SELECT * FROM shop WHERE Location <> 'Turku';","time":0.5550193787}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `shop` WHERE `Location` != 'Espoo'","question":"Show the data of the table shop where Location not equal to Espoo","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT *\nFROM shop\nWHERE Location <> 'Espoo';\n```","cost":0.0000462,"response_parsed":"SELECT *\nFROM shop\nWHERE Location <> 'Espoo';","time":0.708947897}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `shop` WHERE `District` == 'Jakobstads Centralplan'","question":"Show the data of the table shop where District is equal to Jakobstads Centralplan","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT * FROM shop WHERE District = 'Jakobstads Centralplan';\n```","cost":0.00004845,"response_parsed":"SELECT * FROM shop WHERE District = 'Jakobstads Centralplan';","time":0.52064991}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `shop` WHERE `District` != 'Tehtaan kentt\u00e4'","question":"Show the data of the table shop where District is different from Tehtaan kentt\u00e4","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT *\nFROM shop\nWHERE District != 'Tehtaan kentt\u00e4';\n```","cost":0.00004845,"response_parsed":"SELECT *\nFROM shop\nWHERE District != 'Tehtaan kentt\u00e4';","time":0.5315098763}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `shop` WHERE `District` != 'Jakobstads Centralplan'","question":"Show the data of the table shop where District not equal to Jakobstads Centralplan","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"Here is the SQL code to retrieve the data from the `shop` table where the `District` is not equal to \"Jakobstads Centralplan\":\n\n```sql\nSELECT * FROM shop WHERE District <> 'Jakobstads Centralplan';\n```","cost":0.00006765,"response_parsed":"SELECT * FROM shop WHERE District <> 'Jakobstads Centralplan';","time":0.888920784}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `shop` WHERE `Manager_name` == 'Mika Laurikainen'","question":"Show the data of the table shop where Manager_name is equal to Mika Laurikainen","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch the data from the `shop` table where the `Manager_name` is equal to \"Mika Laurikainen\", you can use the following SQL code:\n\n```sql\nSELECT * FROM shop WHERE Manager_name = 'Mika Laurikainen';\n```","cost":0.00006885,"response_parsed":"SELECT * FROM shop WHERE Manager_name = 'Mika Laurikainen';","time":1.4791376591}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `shop` WHERE `Manager_name` != 'Antti Muurinen'","question":"Show the data of the table shop where Manager_name is different from Antti Muurinen","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT * \nFROM shop \nWHERE Manager_name <> 'Antti Muurinen';\n```","cost":0.0000498,"response_parsed":"SELECT * \nFROM shop \nWHERE Manager_name <> 'Antti Muurinen';","time":0.6213538647}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `shop` WHERE `Manager_name` != 'Olli Huttunen'","question":"Show the data of the table shop where Manager_name not equal to Olli Huttunen","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To retrieve the data from the `shop` table where the `Manager_name` is not equal to 'Olli Huttunen', you can use the following SQL code:\n\n```sql\nSELECT * FROM shop WHERE Manager_name <> 'Olli Huttunen';\n```","cost":0.0000696,"response_parsed":"SELECT * FROM shop WHERE Manager_name <> 'Olli Huttunen';","time":0.8954339027}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `shop` WHERE `Number_products` > 10770","question":"Show the data of the table shop where Number_products is greater than 10770","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT * FROM shop \nWHERE Number_products > 10770;\n```","cost":0.0000471,"response_parsed":"SELECT * FROM shop \nWHERE Number_products > 10770;","time":0.3590328693}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `shop` WHERE `Number_products` < 5000","question":"Show the data of the table shop where Number_products is less than 5000","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT *\nFROM shop\nWHERE Number_products < 5000;\n```","cost":0.0000471,"response_parsed":"SELECT *\nFROM shop\nWHERE Number_products < 5000;","time":0.5069861412}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Name`) FROM `employee`","question":"How many different Name are in table employee?","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"Here is the SQL code to fetch the number of different names in the `employee` table:\n\n```sql\nSELECT COUNT(DISTINCT \"Name\") AS different_name_count\nFROM \"employee\";\n```","cost":0.0000597,"response_parsed":"SELECT COUNT(DISTINCT \"Name\") AS different_name_count\nFROM \"employee\";","time":0.9663832188}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `City`) FROM `employee`","question":"How many different City are in table employee?","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To count the number of different cities in the `employee` table, you can use the following SQL code:\n\n```sql\nSELECT COUNT(DISTINCT City) AS NumberOfUniqueCities\nFROM employee;\n```","cost":0.0000609,"response_parsed":"SELECT COUNT(DISTINCT City) AS NumberOfUniqueCities\nFROM employee;","time":0.7645666599}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MAX","query":"SELECT MAX(`Age`) FROM `employee`","question":"Find the maximum Age for the table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find the maximum age from the \"employee\" table, you can use the following SQL code:\n\n```sql\nSELECT MAX(Age) AS Maximum_Age\nFROM employee;\n```","cost":0.0000579,"response_parsed":"SELECT MAX(Age) AS Maximum_Age\nFROM employee;","time":0.8385818005}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MIN","query":"SELECT MIN(`Age`) FROM `employee`","question":"Find the minimum Age for the table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find the minimum Age from the `employee` table, you can use the following SQL query:\n\n```sql\nSELECT MIN(Age) AS Minimum_Age\nFROM employee;\n```","cost":0.0000579,"response_parsed":"SELECT MIN(Age) AS Minimum_Age\nFROM employee;","time":0.7926335335}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"employee","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-AVG","query":"SELECT AVG(`Age`) FROM `employee`","question":"Find the average Age for the table employee","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"Here is the SQL code to find the average Age for the `employee` table:\n\n```sql\nSELECT AVG(Age) AS Average_Age\nFROM employee;\n```","cost":0.0000561,"response_parsed":"SELECT AVG(Age) AS Average_Age\nFROM employee;","time":4.8557741642}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Employee_ID`) FROM `evaluation`","question":"How many different Employee_ID are in table evaluation?","db_schema_normalized":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To count the distinct `Employee_ID` values in the `evaluation` table, you can use the following SQL code:\n\n```sql\nSELECT COUNT(DISTINCT \"Employee_ID\") AS \"Distinct_Employee_Count\"\nFROM \"evaluation\";\n```","cost":0.00006465,"response_parsed":"SELECT COUNT(DISTINCT \"Employee_ID\") AS \"Distinct_Employee_Count\"\nFROM \"evaluation\";","time":0.8469822407}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Year_awarded`) FROM `evaluation`","question":"How many different Year_awarded are in table evaluation?","db_schema_normalized":"`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find out how many different `Year_awarded` values are in the `evaluation` table, you can use the following SQL code:\n\n```sql\nSELECT COUNT(DISTINCT Year_awarded) AS Different_Year_Awarded_Count\nFROM evaluation;\n```","cost":0.0000678,"response_parsed":"SELECT COUNT(DISTINCT Year_awarded) AS Different_Year_Awarded_Count\nFROM evaluation;","time":1.2190303802}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MAX","query":"SELECT MAX(`Bonus`) FROM `evaluation`","question":"Find the maximum Bonus for the table evaluation","db_schema_normalized":"`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find the maximum Bonus from the `evaluation` table, you can use the following SQL query:\n\n```sql\nSELECT MAX(Bonus) AS Maximum_Bonus\nFROM evaluation;\n```","cost":0.0000579,"response_parsed":"SELECT MAX(Bonus) AS Maximum_Bonus\nFROM evaluation;","time":0.973600626}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MIN","query":"SELECT MIN(`Bonus`) FROM `evaluation`","question":"Find the minimum Bonus for the table evaluation","db_schema_normalized":"`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find the minimum Bonus from the `evaluation` table, you can use the following SQL code:\n\n```sql\nSELECT MIN(Bonus) AS Minimum_Bonus\nFROM evaluation;\n```","cost":0.0000579,"response_parsed":"SELECT MIN(Bonus) AS Minimum_Bonus\nFROM evaluation;","time":0.8107368946}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"evaluation","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-AVG","query":"SELECT AVG(`Bonus`) FROM `evaluation`","question":"Find the average Bonus for the table evaluation","db_schema_normalized":"`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find the average Bonus from the `evaluation` table, you can use the following SQL query:\n\n```sql\nSELECT AVG(\"Bonus\") AS average_bonus\nFROM \"evaluation\";\n```","cost":0.0000579,"response_parsed":"SELECT AVG(\"Bonus\") AS average_bonus\nFROM \"evaluation\";","time":0.6417176723}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"hiring","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Start_from`) FROM `hiring`","question":"How many different Start_from are in table hiring?","db_schema_normalized":"`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To count the number of different values in the \"Start_from\" column of the \"hiring\" table, you can use the following SQL query:\n\n```sql\nSELECT COUNT(DISTINCT Start_from) AS Different_Start_From\nFROM hiring;\n```","cost":0.00006585,"response_parsed":"SELECT COUNT(DISTINCT Start_from) AS Different_Start_From\nFROM hiring;","time":1.1585316658}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Name`) FROM `shop`","question":"How many different Name are in table shop?","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To fetch the number of different names in the `shop` table, you can use the following SQL query:\n\n```sql\nSELECT COUNT(DISTINCT Name) AS Different_Names_Count\nFROM shop;\n```","cost":0.0000609,"response_parsed":"SELECT COUNT(DISTINCT Name) AS Different_Names_Count\nFROM shop;","time":0.9710121155}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Location`) FROM `shop`","question":"How many different Location are in table shop?","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To determine how many different locations are in the `shop` table, you can use the following SQL query:\n\n```sql\nSELECT COUNT(DISTINCT Location) AS Different_Locations\nFROM shop;\n``` \n\nThis query counts the distinct locations in the `shop` table and returns the count.","cost":0.0000711,"response_parsed":"SELECT COUNT(DISTINCT Location) AS Different_Locations\nFROM shop;","time":0.8984336853}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `District`) FROM `shop`","question":"How many different District are in table shop?","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find out how many different districts are in the `shop` table, you can use the following SQL query:\n\n```sql\nSELECT COUNT(DISTINCT District) AS Number_of_Districts\nFROM shop;\n```","cost":0.0000621,"response_parsed":"SELECT COUNT(DISTINCT District) AS Number_of_Districts\nFROM shop;","time":0.7447221279}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Manager_name`) FROM `shop`","question":"How many different Manager_name are in table shop?","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To answer the question \"How many different Manager_name are in table shop?\", you can use the following SQL query:\n\n```sql\nSELECT COUNT(DISTINCT Manager_name) AS Different_Manager_Count\nFROM shop;\n```","cost":0.00006165,"response_parsed":"SELECT COUNT(DISTINCT Manager_name) AS Different_Manager_Count\nFROM shop;","time":1.0953001976}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MAX","query":"SELECT MAX(`Number_products`) FROM `shop`","question":"Find the maximum Number_products for the table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find the maximum `Number_products` from the `shop` table, you can use the following SQL query:\n\n```sql\nSELECT MAX(Number_products) AS Max_Number_Products\nFROM shop;\n```","cost":0.00006045,"response_parsed":"SELECT MAX(Number_products) AS Max_Number_Products\nFROM shop;","time":0.8789484501}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MIN","query":"SELECT MIN(`Number_products`) FROM `shop`","question":"Find the minimum Number_products for the table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"To find the minimum `Number_products` in the `shop` table, you can use the following SQL query:\n\n```sql\nSELECT MIN(Number_products) AS Minimum_Number_Products\nFROM shop;\n```","cost":0.00006045,"response_parsed":"SELECT MIN(Number_products) AS Minimum_Number_Products\nFROM shop;","time":0.7328827381}} {"db_path":"QATCH-journal\/spider_data\/test_database\/employee_hire_evaluation\/employee_hire_evaluation.sqlite","db_id":"employee_hire_evaluation","tbl_name":"shop","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-AVG","query":"SELECT AVG(`Number_products`) FROM `shop`","question":"Find the average Number_products for the table shop","db_schema_normalized":"`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))","db_schema":"`\"employee\"` (\"Employee_ID\" int, \"Name\" text, \"Age\" int, \"City\" text, PRIMARY KEY (\"Employee_ID\"))\n`\"shop\"` (\"Shop_ID\" int, \"Name\" text, \"Location\" text, \"District\" text, \"Number_products\" int, \"Manager_name\" text, PRIMARY KEY (\"Shop_ID\"))\n`\"hiring\"` (\"Shop_ID\" int, \"Employee_ID\" int, \"Start_from\" text, \"Is_full_time\" bool, PRIMARY KEY (\"Employee_ID\"), FOREIGN KEY (`Shop_ID`) REFERENCES `shop`(`Shop_ID`), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))\n`\"evaluation\"` (\"Employee_ID\" text, \"Year_awarded\" text, \"Bonus\" real, PRIMARY KEY (\"Employee_ID\",\"Year_awarded\"), FOREIGN KEY (`Employee_ID`) REFERENCES `employee`(`Employee_ID`))","pred_dict":{"response":"```sql\nSELECT AVG(Number_products) AS average_number_products\nFROM shop;\n```","cost":0.00004605,"response_parsed":"SELECT AVG(Number_products) AS average_number_products\nFROM shop;","time":0.5652146339}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Document_Name` FROM `Documents`","question":"Show the different Document_Name in the table Documents","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"Here is the SQL code to fetch the distinct `Document_Name` from the `Documents` table:\n\n```sql\nSELECT DISTINCT Document_Name\nFROM Documents;\n```","cost":0.0000582,"response_parsed":"SELECT DISTINCT Document_Name\nFROM Documents;","time":0.5833098888}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Document_Description` FROM `Documents`","question":"Show the different Document_Description in the table Documents","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the different `Document_Description` values from the `Documents` table, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT Document_Description \nFROM Documents;\n```","cost":0.00006195,"response_parsed":"SELECT DISTINCT Document_Description \nFROM Documents;","time":0.6589241028}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Other_Details` FROM `Documents`","question":"Show the different Other_Details in the table Documents","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the different values of `Other_Details` from the `Documents` table, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT Other_Details\nFROM Documents;\n``` \n\nThis query selects distinct values of the `Other_Details` column from the `Documents` table, ensuring that only unique entries are returned.","cost":0.00007995,"response_parsed":"SELECT DISTINCT Other_Details\nFROM Documents;","time":0.9206626415}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Template_Type_Code` FROM `Templates`","question":"Show the different Template_Type_Code in the table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT DISTINCT Template_Type_Code\nFROM Templates;\n```","cost":0.00004695,"response_parsed":"SELECT DISTINCT Template_Type_Code\nFROM Templates;","time":0.3814592361}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Template_Details` FROM `Templates`","question":"Show the different Template_Details in the table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the different `Template_Details` from the `Templates` table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT Template_Details \nFROM Templates;\n``` \n\nThis query retrieves all unique `Template_Details` from the `Templates` table.","cost":0.00007215,"response_parsed":"SELECT DISTINCT Template_Details \nFROM Templates;","time":0.8976960182}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Ref_Template_Types","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Template_Type_Code` FROM `Ref_Template_Types`","question":"Show the different Template_Type_Code in the table Ref_Template_Types","db_schema_normalized":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT DISTINCT Template_Type_Code \nFROM Ref_Template_Types;\n```","cost":0.0000492,"response_parsed":"SELECT DISTINCT Template_Type_Code \nFROM Ref_Template_Types;","time":0.4340612888}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Ref_Template_Types","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Template_Type_Description` FROM `Ref_Template_Types`","question":"Show the different Template_Type_Description in the table Ref_Template_Types","db_schema_normalized":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"Here is the SQL code to show the different `Template_Type_Description` from the table `Ref_Template_Types`:\n\n```sql\nSELECT DISTINCT Template_Type_Description \nFROM Ref_Template_Types;\n```","cost":0.00006495,"response_parsed":"SELECT DISTINCT Template_Type_Description \nFROM Ref_Template_Types;","time":1.002425909}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Paragraph_Text` FROM `Paragraphs`","question":"Show the different Paragraph_Text in the table Paragraphs","db_schema_normalized":"`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To retrieve the distinct `Paragraph_Text` values from the `Paragraphs` table, you can use the SQL `SELECT` statement combined with the `DISTINCT` keyword. Here is the SQL code to execute:\n\n```sql\nSELECT DISTINCT Paragraph_Text\nFROM Paragraphs;\n```","cost":0.00007275,"response_parsed":"SELECT DISTINCT Paragraph_Text\nFROM Paragraphs;","time":1.0777113438}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Other_Details` FROM `Paragraphs`","question":"Show the different Other_Details in the table Paragraphs","db_schema_normalized":"`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the different `Other_Details` from the `Paragraphs` table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT Other_Details \nFROM Paragraphs;\n```","cost":0.0000627,"response_parsed":"SELECT DISTINCT Other_Details \nFROM Paragraphs;","time":1.0276944637}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Document_Name`, COUNT(*) FROM `Documents` GROUP BY `Document_Name`","question":"For each Document_Name, count the number of rows in table Documents","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To count the number of rows in the `Documents` table for each unique `Document_Name`, you can use the following SQL query:\n\n```sql\nSELECT Document_Name, COUNT(*) AS Document_Count\nFROM Documents\nGROUP BY Document_Name;\n``` \n\nThis query selects the `Document_Name` from the `Documents` table and counts the occurrences of each name, grouping the results by `Document_Name`.","cost":0.0000876,"response_parsed":"SELECT Document_Name, COUNT(*) AS Document_Count\nFROM Documents\nGROUP BY Document_Name;","time":3.1700694561}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Document_Description`, COUNT(*) FROM `Documents` GROUP BY `Document_Description`","question":"For each Document_Description, count the number of rows in table Documents","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To count the number of rows in the `Documents` table for each `Document_Description`, you can use the following SQL query:\n\n```sql\nSELECT Document_Description, COUNT(*) AS Document_Count\nFROM Documents\nGROUP BY Document_Description;\n``` \n\nThis query selects each unique `Document_Description` from the `Documents` table and counts how many times each description appears, grouping the results by `Document_Description`.","cost":0.00009135,"response_parsed":"SELECT Document_Description, COUNT(*) AS Document_Count\nFROM Documents\nGROUP BY Document_Description;","time":1.4896099567}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Other_Details`, COUNT(*) FROM `Documents` GROUP BY `Other_Details`","question":"For each Other_Details, count the number of rows in table Documents","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To count the number of rows in the `Documents` table for each distinct value in `Other_Details`, you can use the following SQL query:\n\n```sql\nSELECT Other_Details, COUNT(*) AS Document_Count\nFROM Documents\nGROUP BY Other_Details;\n``` \n\nThis query groups the records in the `Documents` table by the `Other_Details` field and counts the number of documents for each distinct `Other_Details`.","cost":0.00009255,"response_parsed":"SELECT Other_Details, COUNT(*) AS Document_Count\nFROM Documents\nGROUP BY Other_Details;","time":1.9787371159}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Template_Type_Code`, COUNT(*) FROM `Templates` GROUP BY `Template_Type_Code`","question":"For each Template_Type_Code, count the number of rows in table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To count the number of rows in the `Templates` table for each `Template_Type_Code`, you can execute the following SQL query:\n\n```sql\nSELECT t.Template_Type_Code, COUNT(*) AS Template_Count\nFROM Templates t\nGROUP BY t.Template_Type_Code;\n```","cost":0.00007215,"response_parsed":"SELECT t.Template_Type_Code, COUNT(*) AS Template_Count\nFROM Templates t\nGROUP BY t.Template_Type_Code;","time":1.0653820038}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Template_Details`, COUNT(*) FROM `Templates` GROUP BY `Template_Details`","question":"For each Template_Details, count the number of rows in table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To count the number of rows in the `Templates` table for each `Template_Details`, you can use the following SQL query:\n\n```sql\nSELECT Template_Details, COUNT(*) AS Template_Count\nFROM Templates\nGROUP BY Template_Details;\n``` \n\nThis SQL code selects the `Template_Details` from the `Templates` table, counts the occurrences of each distinct `Template_Details`, and groups the results accordingly.","cost":0.00009135,"response_parsed":"SELECT Template_Details, COUNT(*) AS Template_Count\nFROM Templates\nGROUP BY Template_Details;","time":1.4146199226}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `Template_Type_Code`, MIN(`Version_Number`) FROM `Templates` GROUP BY `Template_Type_Code`","question":"For each Template_Type_Code, find the min of Version_Number in table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT Template_Type_Code, MIN(Version_Number) AS Min_Version_Number\nFROM Templates\nGROUP BY Template_Type_Code;\n```","cost":0.0000573,"response_parsed":"SELECT Template_Type_Code, MIN(Version_Number) AS Min_Version_Number\nFROM Templates\nGROUP BY Template_Type_Code;","time":0.6906945705}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `Template_Type_Code`, MAX(`Version_Number`) FROM `Templates` GROUP BY `Template_Type_Code`","question":"For each Template_Type_Code, find the max of Version_Number in table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To find the maximum `Version_Number` for each `Template_Type_Code` in the `Templates` table, you can use the following SQL query:\n\n```sql\nSELECT \n t.Template_Type_Code,\n MAX(t.Version_Number) AS Max_Version_Number\nFROM \n Templates t\nGROUP BY \n t.Template_Type_Code;\n```","cost":0.0000813,"response_parsed":"SELECT \n t.Template_Type_Code,\n MAX(t.Version_Number) AS Max_Version_Number\nFROM \n Templates t\nGROUP BY \n t.Template_Type_Code;","time":1.797287941}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `Template_Type_Code`, AVG(`Version_Number`) FROM `Templates` GROUP BY `Template_Type_Code`","question":"For each Template_Type_Code, find the avg of Version_Number in table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the average of `Version_Number` for each `Template_Type_Code` from the `Templates` table, here is the SQL code you can execute:\n\n```sql\nSELECT \n Template_Type_Code,\n AVG(Version_Number) AS Avg_Version_Number\nFROM \n Templates\nGROUP BY \n Template_Type_Code;\n```","cost":0.0000807,"response_parsed":"SELECT \n Template_Type_Code,\n AVG(Version_Number) AS Avg_Version_Number\nFROM \n Templates\nGROUP BY \n Template_Type_Code;","time":1.1667413712}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `Template_Type_Code`, SUM(`Version_Number`) FROM `Templates` GROUP BY `Template_Type_Code`","question":"For each Template_Type_Code, find the sum of Version_Number in table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the sum of `Version_Number` for each `Template_Type_Code` from the `Templates` table, the following SQL query can be used:\n\n```sql\nSELECT T.Template_Type_Code, SUM(T.Version_Number) AS Total_Version_Number\nFROM Templates T\nJOIN Ref_Template_Types R ON T.Template_Type_Code = R.Template_Type_Code\nGROUP BY T.Template_Type_Code;\n```","cost":0.0000879,"response_parsed":"SELECT T.Template_Type_Code, SUM(T.Version_Number) AS Total_Version_Number\nFROM Templates T\nJOIN Ref_Template_Types R ON T.Template_Type_Code = R.Template_Type_Code\nGROUP BY T.Template_Type_Code;","time":1.7510647774}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `Template_Details`, MIN(`Version_Number`) FROM `Templates` GROUP BY `Template_Details`","question":"For each Template_Details, find the min of Version_Number in table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To retrieve the minimum `Version_Number` for each `Template_Details` in the `Templates` table, you can use the following SQL query:\n\n```sql\nSELECT Template_Details, MIN(Version_Number) AS Min_Version_Number\nFROM Templates\nGROUP BY Template_Details;\n```\n\nThis query groups the results by `Template_Details` and computes the minimum `Version_Number` for each group.","cost":0.0000897,"response_parsed":"SELECT Template_Details, MIN(Version_Number) AS Min_Version_Number\nFROM Templates\nGROUP BY Template_Details;","time":1.5843305588}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `Template_Details`, MAX(`Version_Number`) FROM `Templates` GROUP BY `Template_Details`","question":"For each Template_Details, find the max of Version_Number in table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the maximum `Version_Number` for each `Template_Details` from the `Templates` table, you can execute the following SQL code:\n\n```sql\nSELECT Template_Details, MAX(Version_Number) AS Max_Version_Number\nFROM Templates\nGROUP BY Template_Details;\n``` \n\nThis query groups the results by `Template_Details` and selects the maximum `Version_Number` for each group.","cost":0.0000897,"response_parsed":"SELECT Template_Details, MAX(Version_Number) AS Max_Version_Number\nFROM Templates\nGROUP BY Template_Details;","time":1.4390699863}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `Template_Details`, AVG(`Version_Number`) FROM `Templates` GROUP BY `Template_Details`","question":"For each Template_Details, find the avg of Version_Number in table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To find the average of `Version_Number` for each `Template_Details` in the `Templates` table, you can use the following SQL code:\n\n```sql\nSELECT Template_Details, AVG(Version_Number) AS Average_Version_Number\nFROM Templates\nGROUP BY Template_Details;\n```","cost":0.0000759,"response_parsed":"SELECT Template_Details, AVG(Version_Number) AS Average_Version_Number\nFROM Templates\nGROUP BY Template_Details;","time":0.7648193836}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `Template_Details`, SUM(`Version_Number`) FROM `Templates` GROUP BY `Template_Details`","question":"For each Template_Details, find the sum of Version_Number in table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"The SQL code to fetch the sum of `Version_Number` for each `Template_Details` in the `Templates` table is as follows:\n\n```sql\nSELECT \n Template_Details,\n SUM(Version_Number) AS Total_Version_Number\nFROM \n Templates\nGROUP BY \n Template_Details;\n```","cost":0.0000789,"response_parsed":"SELECT \n Template_Details,\n SUM(Version_Number) AS Total_Version_Number\nFROM \n Templates\nGROUP BY \n Template_Details;","time":2.3345654011}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Ref_Template_Types","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Template_Type_Code`, COUNT(*) FROM `Ref_Template_Types` GROUP BY `Template_Type_Code`","question":"For each Template_Type_Code, count the number of rows in table Ref_Template_Types","db_schema_normalized":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To count the number of rows in the table `Ref_Template_Types` for each `Template_Type_Code`, you can use the following SQL query:\n\n```sql\nSELECT Template_Type_Code, COUNT(*) AS Row_Count\nFROM Ref_Template_Types\nGROUP BY Template_Type_Code;\n```","cost":0.0000744,"response_parsed":"SELECT Template_Type_Code, COUNT(*) AS Row_Count\nFROM Ref_Template_Types\nGROUP BY Template_Type_Code;","time":5.105918169}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Ref_Template_Types","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Template_Type_Description`, COUNT(*) FROM `Ref_Template_Types` GROUP BY `Template_Type_Description`","question":"For each Template_Type_Description, count the number of rows in table Ref_Template_Types","db_schema_normalized":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the count of rows for each `Template_Type_Description` from the `Ref_Template_Types` table, you can use the following SQL code:\n\n```sql\nSELECT Template_Type_Description, COUNT(*) AS Row_Count\nFROM Ref_Template_Types\nGROUP BY Template_Type_Description;\n``` \n\nThis query selects the `Template_Type_Description` and counts the number of rows associated with each description, grouping the results by `Template_Type_Description`.","cost":0.00009615,"response_parsed":"SELECT Template_Type_Description, COUNT(*) AS Row_Count\nFROM Ref_Template_Types\nGROUP BY Template_Type_Description;","time":1.4240665436}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Paragraph_Text`, COUNT(*) FROM `Paragraphs` GROUP BY `Paragraph_Text`","question":"For each Paragraph_Text, count the number of rows in table Paragraphs","db_schema_normalized":"`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To count the number of rows for each `Paragraph_Text` in the `Paragraphs` table, you can use the following SQL query:\n\n```sql\nSELECT Paragraph_Text, COUNT(*) AS Paragraph_Count\nFROM Paragraphs\nGROUP BY Paragraph_Text;\n```","cost":0.00007035,"response_parsed":"SELECT Paragraph_Text, COUNT(*) AS Paragraph_Count\nFROM Paragraphs\nGROUP BY Paragraph_Text;","time":2.0522797108}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Other_Details`, COUNT(*) FROM `Paragraphs` GROUP BY `Other_Details`","question":"For each Other_Details, count the number of rows in table Paragraphs","db_schema_normalized":"`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To count the number of rows in the `Paragraphs` table for each unique `Other_Details` value, you can execute the following SQL query:\n\n```sql\nSELECT Other_Details, COUNT(*) AS Paragraph_Count\nFROM Paragraphs\nGROUP BY Other_Details;\n```\n\nThis query selects the `Other_Details` column from the `Paragraphs` table, counts the number of rows for each distinct `Other_Details`, and groups the result by that column.","cost":0.0000975,"response_parsed":"SELECT Other_Details, COUNT(*) AS Paragraph_Count\nFROM Paragraphs\nGROUP BY Other_Details;","time":1.565005064}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Document_Name` FROM `Documents` GROUP BY `Document_Name` HAVING count(*) >= 1","question":"Find all the Document_Name that have at least 1 records in table Documents","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To find all the `Document_Name` values that have at least one record in the `Documents` table, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT Document_Name\nFROM Documents\nWHERE Document_Name IS NOT NULL;\n``` \n\nThis query retrieves unique document names from the `Documents` table where the document name is not null, ensuring that only valid entries are included.","cost":0.0000867,"response_parsed":"SELECT DISTINCT Document_Name\nFROM Documents\nWHERE Document_Name IS NOT NULL;","time":1.3888409138}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Document_Name` FROM `Documents` GROUP BY `Document_Name` HAVING count(*) <= 1","question":"Find all the Document_Name that have at most 1 records in table Documents","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To find all the `Document_Name` that have at most 1 record in the `Documents` table, you can use the following SQL query:\n\n```sql\nSELECT Document_Name\nFROM Documents\nGROUP BY Document_Name\nHAVING COUNT(*) <= 1;\n``` \n\nThis query groups the results by `Document_Name` and uses the `HAVING` clause to filter for those names that appear in 1 or no records.","cost":0.0000921,"response_parsed":"SELECT Document_Name\nFROM Documents\nGROUP BY Document_Name\nHAVING COUNT(*) <= 1;","time":4.3696091175}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Document_Description` FROM `Documents` GROUP BY `Document_Description` HAVING count(*) >= 1","question":"Find all the Document_Description that have at least 1 records in table Documents","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To find all the `Document_Description` values that have at least one record in the `Documents` table, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT Document_Description \nFROM Documents \nWHERE Document_ID IS NOT NULL;\n```\n\nThis query selects distinct `Document_Description` values from the `Documents` table where there are valid document records. Since `Document_ID` is a primary key, it will always be non-null for valid records, ensuring that only existing records are considered.","cost":0.00010185,"response_parsed":"SELECT DISTINCT Document_Description \nFROM Documents \nWHERE Document_ID IS NOT NULL;","time":2.1716618538}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Document_Description` FROM `Documents` GROUP BY `Document_Description` HAVING count(*) <= 1","question":"Find all the Document_Description that have at most 1 records in table Documents","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To find all the `Document_Description` entries in the `Documents` table that have at most one record, you can use the following SQL code:\n\n```sql\nSELECT Document_Description\nFROM Documents\nGROUP BY Document_Description\nHAVING COUNT(*) <= 1;\n``` \n\nThis code groups the records by `Document_Description` and filters the groups to include only those with a count of one or fewer records.","cost":0.00009165,"response_parsed":"SELECT Document_Description\nFROM Documents\nGROUP BY Document_Description\nHAVING COUNT(*) <= 1;","time":1.9354434013}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Other_Details` FROM `Documents` GROUP BY `Other_Details` HAVING count(*) >= 15","question":"Find all the Other_Details that have at least 15 records in table Documents","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To find all the `Other_Details` that have at least 15 records in the `Documents` table, you can use the following SQL code:\n\n```sql\nSELECT Other_Details\nFROM Documents\nGROUP BY Other_Details\nHAVING COUNT(*) >= 15;\n``` \n\nThis query groups the records in the `Documents` table by the `Other_Details` field and filters the results to include only those with 15 or more records.","cost":0.00009525,"response_parsed":"SELECT Other_Details\nFROM Documents\nGROUP BY Other_Details\nHAVING COUNT(*) >= 15;","time":1.7431402206}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Other_Details` FROM `Documents` GROUP BY `Other_Details` HAVING count(*) <= 15","question":"Find all the Other_Details that have at most 15 records in table Documents","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To find all the `Other_Details` that have at most 15 records in the `Documents` table, you can use the following SQL code. This code counts the occurrences of each `Other_Details` in the `Documents` table and retrieves those with a count of 15 or less.\n\n```sql\nSELECT Other_Details\nFROM Documents\nGROUP BY Other_Details\nHAVING COUNT(*) <= 15;\n``` \n\nThis query groups the records in the `Documents` table by the `Other_Details` column and applies the `HAVING` clause to filter out only those groups that have 15 or fewer records.","cost":0.00011745,"response_parsed":"SELECT Other_Details\nFROM Documents\nGROUP BY Other_Details\nHAVING COUNT(*) <= 15;","time":2.826294899}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Template_Type_Code` FROM `Templates` GROUP BY `Template_Type_Code` HAVING count(*) >= 4","question":"Find all the Template_Type_Code that have at least 4 records in table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To find all the `Template_Type_Code` values that have at least 4 records in the `Templates` table, you can use the following SQL query:\n\n```sql\nSELECT Template_Type_Code\nFROM Templates\nGROUP BY Template_Type_Code\nHAVING COUNT(*) >= 4;\n``` \n\nThis SQL code groups the records in the `Templates` table by `Template_Type_Code` and filters the groups to include only those with a count of 4 or more records.","cost":0.00009705,"response_parsed":"SELECT Template_Type_Code\nFROM Templates\nGROUP BY Template_Type_Code\nHAVING COUNT(*) >= 4;","time":1.8332896233}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Template_Type_Code` FROM `Templates` GROUP BY `Template_Type_Code` HAVING count(*) <= 4","question":"Find all the Template_Type_Code that have at most 4 records in table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To find all the `Template_Type_Code` values that have at most 4 records in the `Templates` table, you can use the following SQL query:\n\n```sql\nSELECT Template_Type_Code\nFROM Templates\nGROUP BY Template_Type_Code\nHAVING COUNT(*) <= 4;\n``` \n\nThis SQL code selects the `Template_Type_Code` from the `Templates` table, groups the results by `Template_Type_Code`, and filters the groups to include only those that have a count of records less than or equal to 4.","cost":0.00010425,"response_parsed":"SELECT Template_Type_Code\nFROM Templates\nGROUP BY Template_Type_Code\nHAVING COUNT(*) <= 4;","time":1.886677742}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Template_Details` FROM `Templates` GROUP BY `Template_Details` HAVING count(*) >= 20","question":"Find all the Template_Details that have at least 20 records in table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To find all the `Template_Details` that have at least 20 records in the `Templates` table based on the provided schema, you can use a SQL query that groups the entries in the `Templates` table by `Template_Details` and counts the occurrences, filtering out those that meet the criteria. Here is the SQL code to achieve this:\n\n```sql\nSELECT Template_Details\nFROM Templates\nGROUP BY Template_Details\nHAVING COUNT(*) >= 20;\n``` \n\nThis query will return all unique `Template_Details` from the `Templates` table that have 20 or more associated records.","cost":0.00011505,"response_parsed":"SELECT Template_Details\nFROM Templates\nGROUP BY Template_Details\nHAVING COUNT(*) >= 20;","time":1.9323430061}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Template_Details` FROM `Templates` GROUP BY `Template_Details` HAVING count(*) <= 20","question":"Find all the Template_Details that have at most 20 records in table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To find all the `Template_Details` that have at most 20 records in the `Templates` table, you can use the following SQL query. This will count the number of records for each `Template_Details`, filter those to include only those with 20 or fewer records, and select the corresponding `Template_Details`. \n\nHere's how you can write this in SQL:\n\n```sql\nSELECT Template_Details\nFROM Templates\nGROUP BY Template_Details\nHAVING COUNT(*) <= 20;\n```","cost":0.00010185,"response_parsed":"SELECT Template_Details\nFROM Templates\nGROUP BY Template_Details\nHAVING COUNT(*) <= 20;","time":2.0132198334}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `Template_Type_Code` FROM `Templates` GROUP BY `Template_Type_Code` HAVING AVG(`Version_Number`) >= 5.5","question":"List the Template_Type_Code which average of Version_Number is at least 5.5 in table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To retrieve the `Template_Type_Code` from the `Templates` table where the average `Version_Number` is at least 5.5, you can use the following SQL query. This will group the results by `Template_Type_Code` and use the `AVG()` function to calculate the average version number.\n\n```sql\nSELECT Template_Type_Code\nFROM Templates\nGROUP BY Template_Type_Code\nHAVING AVG(Version_Number) >= 5.5;\n```","cost":0.00009645,"response_parsed":"SELECT Template_Type_Code\nFROM Templates\nGROUP BY Template_Type_Code\nHAVING AVG(Version_Number) >= 5.5;","time":1.5306792259}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `Template_Type_Code` FROM `Templates` GROUP BY `Template_Type_Code` HAVING AVG(`Version_Number`) <= 5.5","question":"List the Template_Type_Code which average of Version_Number is at most 5.5 in table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT Template_Type_Code\nFROM Templates\nGROUP BY Template_Type_Code\nHAVING AVG(Version_Number) <= 5.5;\n```","cost":0.00005925,"response_parsed":"SELECT Template_Type_Code\nFROM Templates\nGROUP BY Template_Type_Code\nHAVING AVG(Version_Number) <= 5.5;","time":0.8725390434}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `Template_Type_Code` FROM `Templates` GROUP BY `Template_Type_Code` HAVING SUM(`Version_Number`) >= 20.6","question":"List the Template_Type_Code which summation of Version_Number is at least 20.6 in table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the `Template_Type_Code` with a summation of `Version_Number` that is at least 20.6 from the `Templates` table, you can use the following SQL query:\n\n```sql\nSELECT Template_Type_Code\nFROM Templates\nGROUP BY Template_Type_Code\nHAVING SUM(Version_Number) >= 20.6;\n```","cost":0.0000834,"response_parsed":"SELECT Template_Type_Code\nFROM Templates\nGROUP BY Template_Type_Code\nHAVING SUM(Version_Number) >= 20.6;","time":1.6722095013}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `Template_Type_Code` FROM `Templates` GROUP BY `Template_Type_Code` HAVING SUM(`Version_Number`) <= 20.6","question":"List the Template_Type_Code which summation of Version_Number is at most 20.6 in table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the `Template_Type_Code` for which the summation of `Version_Number` is at most 20.6 in the `Templates` table, you can use the following SQL code:\n\n```sql\nSELECT Template_Type_Code\nFROM Templates\nGROUP BY Template_Type_Code\nHAVING SUM(Version_Number) <= 20.6;\n```","cost":0.0000834,"response_parsed":"SELECT Template_Type_Code\nFROM Templates\nGROUP BY Template_Type_Code\nHAVING SUM(Version_Number) <= 20.6;","time":1.4554121494}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `Template_Details` FROM `Templates` GROUP BY `Template_Details` HAVING AVG(`Version_Number`) >= 5.15","question":"List the Template_Details which average of Version_Number is at least 5.15 in table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the `Template_Details` from the `Templates` table where the average of `Version_Number` is at least 5.15, you can use the following SQL query:\n\n```sql\nSELECT Template_Details \nFROM Templates \nGROUP BY Template_Details \nHAVING AVG(Version_Number) >= 5.15;\n``` \n\nThis query groups the records by `Template_Details` and calculates the average of `Version_Number` for each group, filtering out those groups with an average less than 5.15.","cost":0.00010545,"response_parsed":"SELECT Template_Details \nFROM Templates \nGROUP BY Template_Details \nHAVING AVG(Version_Number) >= 5.15;","time":1.6455645561}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `Template_Details` FROM `Templates` GROUP BY `Template_Details` HAVING AVG(`Version_Number`) <= 5.15","question":"List the Template_Details which average of Version_Number is at most 5.15 in table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the Template_Details from the `Templates` table where the average of `Version_Number` is at most 5.15, you can use the following SQL code:\n\n```sql\nSELECT Template_Details\nFROM Templates\nGROUP BY Template_Details\nHAVING AVG(Version_Number) <= 5.15;\n```","cost":0.00008085,"response_parsed":"SELECT Template_Details\nFROM Templates\nGROUP BY Template_Details\nHAVING AVG(Version_Number) <= 5.15;","time":1.3964400291}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `Template_Details` FROM `Templates` GROUP BY `Template_Details` HAVING SUM(`Version_Number`) >= 103.0","question":"List the Template_Details which summation of Version_Number is at least 103.0 in table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the Template_Details from the Templates table where the summation of Version_Number is at least 103.0, you can use the following SQL code:\n\n```sql\nSELECT Template_Details\nFROM Templates\nGROUP BY Template_Details\nHAVING SUM(Version_Number) >= 103.0;\n```","cost":0.0000792,"response_parsed":"SELECT Template_Details\nFROM Templates\nGROUP BY Template_Details\nHAVING SUM(Version_Number) >= 103.0;","time":1.4135870934}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `Template_Details` FROM `Templates` GROUP BY `Template_Details` HAVING SUM(`Version_Number`) <= 103.0","question":"List the Template_Details which summation of Version_Number is at most 103.0 in table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the `Template_Details` from the `Templates` table where the summation of `Version_Number` is at most 103.0, you can write the SQL query as follows:\n\n```sql\nSELECT Template_Details \nFROM Templates \nGROUP BY Template_Details \nHAVING SUM(Version_Number) <= 103.0;\n```","cost":0.0000834,"response_parsed":"SELECT Template_Details \nFROM Templates \nGROUP BY Template_Details \nHAVING SUM(Version_Number) <= 103.0;","time":1.2812345028}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Ref_Template_Types","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Template_Type_Code` FROM `Ref_Template_Types` GROUP BY `Template_Type_Code` HAVING count(*) >= 1","question":"Find all the Template_Type_Code that have at least 1 records in table Ref_Template_Types","db_schema_normalized":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To find all the `Template_Type_Code` values that have at least one record in the `Ref_Template_Types` table, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT Template_Type_Code\nFROM Ref_Template_Types\nWHERE Template_Type_Code IS NOT NULL;\n```\n\nThis query selects distinct `Template_Type_Code` values from the `Ref_Template_Types` table, ensuring that it retrieves only those codes that exist within the table.","cost":0.0000957,"response_parsed":"SELECT DISTINCT Template_Type_Code\nFROM Ref_Template_Types\nWHERE Template_Type_Code IS NOT NULL;","time":1.7753727436}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Ref_Template_Types","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Template_Type_Code` FROM `Ref_Template_Types` GROUP BY `Template_Type_Code` HAVING count(*) <= 1","question":"Find all the Template_Type_Code that have at most 1 records in table Ref_Template_Types","db_schema_normalized":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To find all the `Template_Type_Code` that have at most 1 record in the `Ref_Template_Types` table, you can use the following SQL query:\n\n```sql\nSELECT Template_Type_Code\nFROM Ref_Template_Types\nGROUP BY Template_Type_Code\nHAVING COUNT(*) <= 1;\n``` \n\nThis query groups the records in `Ref_Template_Types` by `Template_Type_Code` and filters the groups to return only those that have a count of records less than or equal to 1.","cost":0.0001029,"response_parsed":"SELECT Template_Type_Code\nFROM Ref_Template_Types\nGROUP BY Template_Type_Code\nHAVING COUNT(*) <= 1;","time":3.0081050396}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Ref_Template_Types","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Template_Type_Description` FROM `Ref_Template_Types` GROUP BY `Template_Type_Description` HAVING count(*) >= 1","question":"Find all the Template_Type_Description that have at least 1 records in table Ref_Template_Types","db_schema_normalized":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To find all the `Template_Type_Description` entries from the `Ref_Template_Types` table that have at least one corresponding record in the `Templates` table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT r.Template_Type_Description\nFROM Ref_Template_Types r\nJOIN Templates t ON r.Template_Type_Code = t.Template_Type_Code;\n``` \n\nThis SQL code selects distinct descriptions of template types from the `Ref_Template_Types` table that have at least one matching record in the `Templates` table based on the foreign key relationship.","cost":0.00010905,"response_parsed":"SELECT DISTINCT r.Template_Type_Description\nFROM Ref_Template_Types r\nJOIN Templates t ON r.Template_Type_Code = t.Template_Type_Code;","time":2.3781533241}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Ref_Template_Types","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Template_Type_Description` FROM `Ref_Template_Types` GROUP BY `Template_Type_Description` HAVING count(*) <= 1","question":"Find all the Template_Type_Description that have at most 1 records in table Ref_Template_Types","db_schema_normalized":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To find all `Template_Type_Description` that have at most 1 record in the `Ref_Template_Types` table, the relevant SQL query would look like this:\n\n```sql\nSELECT Template_Type_Description\nFROM Ref_Template_Types\nGROUP BY Template_Type_Code, Template_Type_Description\nHAVING COUNT(*) <= 1;\n``` \n\nThis query groups the records in the `Ref_Template_Types` table by `Template_Type_Code` and `Template_Type_Description`, and uses the `HAVING` clause to filter for those groups that have 1 or fewer records.","cost":0.00011205,"response_parsed":"SELECT Template_Type_Description\nFROM Ref_Template_Types\nGROUP BY Template_Type_Code, Template_Type_Description\nHAVING COUNT(*) <= 1;","time":6.9111564159}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Paragraph_Text` FROM `Paragraphs` GROUP BY `Paragraph_Text` HAVING count(*) >= 1","question":"Find all the Paragraph_Text that have at least 1 records in table Paragraphs","db_schema_normalized":"`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch all the `Paragraph_Text` that have at least 1 record in the `Paragraphs` table, you can execute the following SQL code:\n\n```sql\nSELECT Paragraph_Text\nFROM Paragraphs\nWHERE Paragraph_Text IS NOT NULL;\n```\n\nThis SQL query retrieves all `Paragraph_Text` values from the `Paragraphs` table, ensuring that they exist (i.e., are not NULL).","cost":0.00008865,"response_parsed":"SELECT Paragraph_Text\nFROM Paragraphs\nWHERE Paragraph_Text IS NOT NULL;","time":1.5339112282}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Paragraph_Text` FROM `Paragraphs` GROUP BY `Paragraph_Text` HAVING count(*) <= 1","question":"Find all the Paragraph_Text that have at most 1 records in table Paragraphs","db_schema_normalized":"`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch all `Paragraph_Text` entries from the `Paragraphs` table that have at most 1 record, you can use the following SQL query:\n\n```sql\nSELECT Paragraph_Text\nFROM Paragraphs\nGROUP BY Paragraph_Text\nHAVING COUNT(*) <= 1;\n``` \n\nThis query groups the `Paragraph_Text` and uses the `HAVING` clause to filter groups with a count of records that is less than or equal to 1.","cost":0.00009465,"response_parsed":"SELECT Paragraph_Text\nFROM Paragraphs\nGROUP BY Paragraph_Text\nHAVING COUNT(*) <= 1;","time":1.2914981842}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Other_Details` FROM `Paragraphs` GROUP BY `Other_Details` HAVING count(*) >= 15","question":"Find all the Other_Details that have at least 15 records in table Paragraphs","db_schema_normalized":"`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To find all the `Other_Details` that have at least 15 records in the `Paragraphs` table, you can use the following SQL query. This query groups the `Paragraphs` table by `Other_Details`, counts the number of records for each `Other_Details`, and filters to include only those with 15 or more records.\n\n```sql\nSELECT Other_Details\nFROM Paragraphs\nGROUP BY Other_Details\nHAVING COUNT(*) >= 15;\n```","cost":0.0000996,"response_parsed":"SELECT Other_Details\nFROM Paragraphs\nGROUP BY Other_Details\nHAVING COUNT(*) >= 15;","time":2.1157085896}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Other_Details` FROM `Paragraphs` GROUP BY `Other_Details` HAVING count(*) <= 15","question":"Find all the Other_Details that have at most 15 records in table Paragraphs","db_schema_normalized":"`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To answer the question of finding all the `Other_Details` that have at most 15 records in the `Paragraphs` table, you would need to group by the `Other_Details` field in the `Paragraphs` table and use the HAVING clause to filter those groups based on their count.\n\nHere\u2019s the SQL code to achieve this:\n\n```sql\nSELECT Other_Details\nFROM Paragraphs\nGROUP BY Other_Details\nHAVING COUNT(*) <= 15;\n``` \n\nThis SQL query groups the records in the `Paragraphs` table by `Other_Details`, counting the number of records for each group, and then filters to return only those groups where the count is 15 or fewer.","cost":0.0001272,"response_parsed":"SELECT Other_Details\nFROM Paragraphs\nGROUP BY Other_Details\nHAVING COUNT(*) <= 15;","time":2.6882250309}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-ALL","query":"SELECT * FROM `Documents` AS T1 JOIN `Templates` AS T2 ON T1.`Template_ID` = T2.`Template_ID`","question":"Join all the records from table Documents with table Templates on Template_ID","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"Here is the SQL code to join all records from the `Documents` table with the `Templates` table on `Template_ID`:\n\n```sql\nSELECT *\nFROM Documents d\nJOIN Templates t ON d.Template_ID = t.Template_ID;\n```","cost":0.000069,"response_parsed":"SELECT *\nFROM Documents d\nJOIN Templates t ON d.Template_ID = t.Template_ID;","time":1.044768095}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`Document_Name`, T2.`Template_Type_Code` FROM `Documents` AS T1 JOIN `Templates` AS T2 ON T1.`Template_ID`=T2.`Template_ID`","question":"List all the Document_Name and Template_Type_Code from the table Documents and the table Templates where Template_ID is the same","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the `Document_Name` and `Template_Type_Code` from the `Documents` and `Templates` tables where `Template_ID` is the same, you can use a SQL `JOIN` to combine the two tables based on the `Template_ID`. Here is the SQL code for your request:\n\n```sql\nSELECT \n D.Document_Name,\n T.Template_Type_Code\nFROM \n Documents D\nJOIN \n Templates T ON D.Template_ID = T.Template_ID;\n``` \n\nThis query selects the relevant columns from the `Documents` and `Templates` tables where their `Template_ID` matches.","cost":0.0001149,"response_parsed":"SELECT \n D.Document_Name,\n T.Template_Type_Code\nFROM \n Documents D\nJOIN \n Templates T ON D.Template_ID = T.Template_ID;","time":2.4631779194}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`Document_Name`, T2.`Template_Details` FROM `Documents` AS T1 JOIN `Templates` AS T2 ON T1.`Template_ID`=T2.`Template_ID`","question":"List all the Document_Name and Template_Details from the table Documents and the table Templates where Template_ID is the same","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To list all `Document_Name` and `Template_Details` from the `Documents` and `Templates` tables where `Template_ID` is the same, you can use the following SQL code:\n\n```sql\nSELECT \n D.Document_Name, \n T.Template_Details \nFROM \n Documents D\nJOIN \n Templates T ON D.Template_ID = T.Template_ID;\n```\n\nThis SQL code retrieves the desired columns by joining the `Documents` table with the `Templates` table on the `Template_ID` field.","cost":0.0001053,"response_parsed":"SELECT \n D.Document_Name, \n T.Template_Details \nFROM \n Documents D\nJOIN \n Templates T ON D.Template_ID = T.Template_ID;","time":2.5983080864}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`Document_Description`, T2.`Template_Type_Code` FROM `Documents` AS T1 JOIN `Templates` AS T2 ON T1.`Template_ID`=T2.`Template_ID`","question":"List all the Document_Description and Template_Type_Code from the table Documents and the table Templates where Template_ID is the same","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the `Document_Description` and `Template_Type_Code` from the `Documents` and `Templates` tables where the `Template_ID` is the same, you can use a SQL `JOIN` statement as follows:\n\n```sql\nSELECT \n D.Document_Description,\n T.Template_Type_Code\nFROM \n Documents D\nJOIN \n Templates T ON D.Template_ID = T.Template_ID;\n``` \n\nThis SQL query joins the `Documents` table (aliased as `D`) with the `Templates` table (aliased as `T`) using the `Template_ID` as the linking key, and selects the desired fields from both tables.","cost":0.00012165,"response_parsed":"SELECT \n D.Document_Description,\n T.Template_Type_Code\nFROM \n Documents D\nJOIN \n Templates T ON D.Template_ID = T.Template_ID;","time":2.3822450638}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`Document_Description`, T2.`Template_Details` FROM `Documents` AS T1 JOIN `Templates` AS T2 ON T1.`Template_ID`=T2.`Template_ID`","question":"List all the Document_Description and Template_Details from the table Documents and the table Templates where Template_ID is the same","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the `Document_Description` and `Template_Details` from the `Documents` and `Templates` tables where the `Template_ID` is the same, you can use the following SQL query:\n\n```sql\nSELECT \n d.Document_Description, \n t.Template_Details \nFROM \n Documents d\nJOIN \n Templates t ON d.Template_ID = t.Template_ID;\n``` \n\nThis query uses an INNER JOIN to match rows from the `Documents` table (`d`) with rows from the `Templates` table (`t`) based on the shared `Template_ID`, and it selects the specified columns.","cost":0.00011685,"response_parsed":"SELECT \n d.Document_Description, \n t.Template_Details \nFROM \n Documents d\nJOIN \n Templates t ON d.Template_ID = t.Template_ID;","time":2.1123523712}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`Other_Details`, T2.`Template_Type_Code` FROM `Documents` AS T1 JOIN `Templates` AS T2 ON T1.`Template_ID`=T2.`Template_ID`","question":"List all the Other_Details and Template_Type_Code from the table Documents and the table Templates where Template_ID is the same","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the `Other_Details` from the `Documents` table and `Template_Type_Code` from the `Templates` table where `Template_ID` matches, you can use the following SQL query:\n\n```sql\nSELECT D.Other_Details, T.Template_Type_Code\nFROM Documents D\nJOIN Templates T ON D.Template_ID = T.Template_ID;\n```","cost":0.00008445,"response_parsed":"SELECT D.Other_Details, T.Template_Type_Code\nFROM Documents D\nJOIN Templates T ON D.Template_ID = T.Template_ID;","time":1.0717537403}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`Other_Details`, T2.`Template_Details` FROM `Documents` AS T1 JOIN `Templates` AS T2 ON T1.`Template_ID`=T2.`Template_ID`","question":"List all the Other_Details and Template_Details from the table Documents and the table Templates where Template_ID is the same","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To address the question by fetching `Other_Details` from the `Documents` table and `Template_Details` from the `Templates` table where `Template_ID` matches in both tables, you can use the following SQL query:\n\n```sql\nSELECT D.Other_Details, T.Template_Details \nFROM Documents D \nJOIN Templates T ON D.Template_ID = T.Template_ID;\n``` \n\nThis SQL query performs an inner join between the `Documents` and `Templates` tables based on the `Template_ID` and selects the relevant fields.","cost":0.00010665,"response_parsed":"SELECT D.Other_Details, T.Template_Details \nFROM Documents D \nJOIN Templates T ON D.Template_ID = T.Template_ID;","time":2.0915849209}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-ALL","query":"SELECT * FROM `Templates` AS T1 JOIN `Ref_Template_Types` AS T2 ON T1.`Template_Type_Code` = T2.`Template_Type_Code`","question":"Join all the records from table Templates with table Ref_Template_Types on Template_Type_Code","db_schema_normalized":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"Here is the SQL code to join all records from the `Templates` table with the `Ref_Template_Types` table on the `Template_Type_Code`:\n\n```sql\nSELECT *\nFROM Templates T\nJOIN Ref_Template_Types R\nON T.Template_Type_Code = R.Template_Type_Code;\n```","cost":0.0000762,"response_parsed":"SELECT *\nFROM Templates T\nJOIN Ref_Template_Types R\nON T.Template_Type_Code = R.Template_Type_Code;","time":1.0080552101}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`Template_Details`, T2.`Template_Type_Description` FROM `Templates` AS T1 JOIN `Ref_Template_Types` AS T2 ON T1.`Template_Type_Code`=T2.`Template_Type_Code`","question":"List all the Template_Details and Template_Type_Description from the table Templates and the table Ref_Template_Types where Template_Type_Code is the same","db_schema_normalized":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT T.Template_Details, R.Template_Type_Description\nFROM Templates T\nJOIN Ref_Template_Types R ON T.Template_Type_Code = R.Template_Type_Code;\n```","cost":0.0000642,"response_parsed":"SELECT T.Template_Details, R.Template_Type_Description\nFROM Templates T\nJOIN Ref_Template_Types R ON T.Template_Type_Code = R.Template_Type_Code;","time":0.5419955254}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-ALL","query":"SELECT * FROM `Paragraphs` AS T1 JOIN `Documents` AS T2 ON T1.`Document_ID` = T2.`Document_ID`","question":"Join all the records from table Paragraphs with table Documents on Document_ID","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"Here is the SQL code to join all records from the `Paragraphs` table with the `Documents` table on `Document_ID`:\n\n```sql\nSELECT *\nFROM Paragraphs p\nJOIN Documents d ON p.Document_ID = d.Document_ID;\n```","cost":0.00007035,"response_parsed":"SELECT *\nFROM Paragraphs p\nJOIN Documents d ON p.Document_ID = d.Document_ID;","time":0.8344237804}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`Paragraph_Text`, T2.`Document_Name` FROM `Paragraphs` AS T1 JOIN `Documents` AS T2 ON T1.`Document_ID`=T2.`Document_ID`","question":"List all the Paragraph_Text and Document_Name from the table Paragraphs and the table Documents where Document_ID is the same","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To retrieve the `Paragraph_Text` and `Document_Name` from the `Paragraphs` and `Documents` tables where the `Document_ID` is the same, you can use the following SQL code:\n\n```sql\nSELECT p.Paragraph_Text, d.Document_Name\nFROM Paragraphs p\nJOIN Documents d ON p.Document_ID = d.Document_ID;\n``` \n\nThis query performs an inner join between the `Paragraphs` and `Documents` tables on the `Document_ID` column to fetch the desired result set.","cost":0.0001035,"response_parsed":"SELECT p.Paragraph_Text, d.Document_Name\nFROM Paragraphs p\nJOIN Documents d ON p.Document_ID = d.Document_ID;","time":1.7762966156}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`Paragraph_Text`, T2.`Document_Description` FROM `Paragraphs` AS T1 JOIN `Documents` AS T2 ON T1.`Document_ID`=T2.`Document_ID`","question":"List all the Paragraph_Text and Document_Description from the table Paragraphs and the table Documents where Document_ID is the same","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the `Paragraph_Text` from the `Paragraphs` table and the `Document_Description` from the `Documents` table where the `Document_ID` is the same, you can use the following SQL query:\n\n```sql\nSELECT p.Paragraph_Text, d.Document_Description\nFROM Paragraphs p\nJOIN Documents d ON p.Document_ID = d.Document_ID;\n``` \n\nThis query uses a JOIN operation to combine records from both tables where the Document_ID matches, and then selects the desired fields from each table.","cost":0.00010485,"response_parsed":"SELECT p.Paragraph_Text, d.Document_Description\nFROM Paragraphs p\nJOIN Documents d ON p.Document_ID = d.Document_ID;","time":1.5443730354}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`Paragraph_Text`, T2.`Other_Details` FROM `Paragraphs` AS T1 JOIN `Documents` AS T2 ON T1.`Document_ID`=T2.`Document_ID`","question":"List all the Paragraph_Text and Other_Details from the table Paragraphs and the table Documents where Document_ID is the same","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the `Paragraph_Text` and `Other_Details` from the `Paragraphs` table as well as the corresponding `Other_Details` from the `Documents` table where `Document_ID` matches, you can use a SQL query that performs a join between the two tables based on `Document_ID`. Here is the SQL code to execute:\n\n```sql\nSELECT \n P.Paragraph_Text, \n P.Other_Details AS Paragraph_Other_Details, \n D.Other_Details AS Document_Other_Details\nFROM \n Paragraphs P\nJOIN \n Documents D ON P.Document_ID = D.Document_ID;\n```","cost":0.00011925,"response_parsed":"SELECT \n P.Paragraph_Text, \n P.Other_Details AS Paragraph_Other_Details, \n D.Other_Details AS Document_Other_Details\nFROM \n Paragraphs P\nJOIN \n Documents D ON P.Document_ID = D.Document_ID;","time":1.8484480381}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`Other_Details`, T2.`Document_Name` FROM `Paragraphs` AS T1 JOIN `Documents` AS T2 ON T1.`Document_ID`=T2.`Document_ID`","question":"List all the Other_Details and Document_Name from the table Paragraphs and the table Documents where Document_ID is the same","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"Here is the SQL code to fetch the required information from the `Paragraphs` and `Documents` tables based on the condition that `Document_ID` is the same:\n\n```sql\nSELECT p.Other_Details, d.Document_Name\nFROM Paragraphs p\nJOIN Documents d ON p.Document_ID = d.Document_ID;\n```","cost":0.00008025,"response_parsed":"SELECT p.Other_Details, d.Document_Name\nFROM Paragraphs p\nJOIN Documents d ON p.Document_ID = d.Document_ID;","time":1.2323591709}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`Other_Details`, T2.`Document_Description` FROM `Paragraphs` AS T1 JOIN `Documents` AS T2 ON T1.`Document_ID`=T2.`Document_ID`","question":"List all the Other_Details and Document_Description from the table Paragraphs and the table Documents where Document_ID is the same","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the `Other_Details` and `Document_Description` from the `Paragraphs` and `Documents` tables where `Document_ID` is the same, you can use a `JOIN` in SQL to combine the two tables based on the `Document_ID`. Below is the SQL code to accomplish this:\n\n```sql\nSELECT \n p.Other_Details AS Paragraph_Other_Details, \n d.Document_Description \nFROM \n Paragraphs p\nJOIN \n Documents d ON p.Document_ID = d.Document_ID;\n```","cost":0.0001074,"response_parsed":"SELECT \n p.Other_Details AS Paragraph_Other_Details, \n d.Document_Description \nFROM \n Paragraphs p\nJOIN \n Documents d ON p.Document_ID = d.Document_ID;","time":1.7623872757}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`Other_Details`, T2.`Other_Details` FROM `Paragraphs` AS T1 JOIN `Documents` AS T2 ON T1.`Document_ID`=T2.`Document_ID`","question":"List all the Other_Details and Other_Details from the table Paragraphs and the table Documents where Document_ID is the same","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To list all the `Other_Details` from both the `Paragraphs` and `Documents` tables where the `Document_ID` is the same, you can use the following SQL query:\n\n```sql\nSELECT \n P.Other_Details AS Paragraph_Other_Details,\n D.Other_Details AS Document_Other_Details\nFROM \n Paragraphs P\nJOIN \n Documents D ON P.Document_ID = D.Document_ID;\n```\n\nThis query retrieves the `Other_Details` from both the `Paragraphs` table (aliased as `P`) and the `Documents` table (aliased as `D`), ensuring that they are matched based on the `Document_ID`.","cost":0.000126,"response_parsed":"SELECT \n P.Other_Details AS Paragraph_Other_Details,\n D.Other_Details AS Document_Other_Details\nFROM \n Paragraphs P\nJOIN \n Documents D ON P.Document_ID = D.Document_ID;","time":2.5555083752}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"many-to-many-generator","sql_tag":"many-to-many","query":"SELECT `Document_Name` FROM `Documents` GROUP BY `Document_Name` HAVING COUNT(DISTINCT `Other_Details`) = (SELECT COUNT(DISTINCT `Other_Details`) FROM `Documents`)","question":"What are the Document_Name with all the Other_Details in table Documents?","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the `Document_Name` along with all `Other_Details` from the `Documents` table, you can use the following SQL code:\n\n```sql\nSELECT Document_Name, Other_Details \nFROM Documents;\n```","cost":0.00006675,"response_parsed":"SELECT Document_Name, Other_Details \nFROM Documents;","time":0.9985477924}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"many-to-many-generator","sql_tag":"many-to-many","query":"SELECT `Document_Description` FROM `Documents` GROUP BY `Document_Description` HAVING COUNT(DISTINCT `Other_Details`) = (SELECT COUNT(DISTINCT `Other_Details`) FROM `Documents`)","question":"What are the Document_Description with all the Other_Details in table Documents?","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the `Document_Description` along with the corresponding `Other_Details` from the `Documents` table, you can use the following SQL code:\n\n```sql\nSELECT Document_Description, Other_Details\nFROM Documents;\n```","cost":0.0000687,"response_parsed":"SELECT Document_Description, Other_Details\nFROM Documents;","time":0.7710645199}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"many-to-many-generator","sql_tag":"many-to-many","query":"SELECT `Template_Type_Code` FROM `Templates` GROUP BY `Template_Type_Code` HAVING COUNT(DISTINCT `Template_Details`) = (SELECT COUNT(DISTINCT `Template_Details`) FROM `Templates`)","question":"What are the Template_Type_Code with all the Template_Details in table Templates?","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the `Template_Type_Code` along with all the `Template_Details` from the `Templates` table, you can use the following SQL query with a `JOIN` between the `Ref_Template_Types` and `Templates` tables:\n\n```sql\nSELECT \n rt.Template_Type_Code, \n t.Template_Details \nFROM \n Ref_Template_Types rt\nJOIN \n Templates t ON rt.Template_Type_Code = t.Template_Type_Code;\n```\n\nThis query selects the `Template_Type_Code` from the `Ref_Template_Types` table and the corresponding `Template_Details` from the `Templates` table, using a join on the `Template_Type_Code` field which is common to both tables.","cost":0.0001275,"response_parsed":"SELECT \n rt.Template_Type_Code, \n t.Template_Details \nFROM \n Ref_Template_Types rt\nJOIN \n Templates t ON rt.Template_Type_Code = t.Template_Type_Code;","time":2.3966696262}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"many-to-many-generator","sql_tag":"many-to-many","query":"SELECT `Paragraph_Text` FROM `Paragraphs` GROUP BY `Paragraph_Text` HAVING COUNT(DISTINCT `Other_Details`) = (SELECT COUNT(DISTINCT `Other_Details`) FROM `Paragraphs`)","question":"What are the Paragraph_Text with all the Other_Details in table Paragraphs?","db_schema_normalized":"`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the `Paragraph_Text` along with the `Other_Details` from the `Paragraphs` table, you can use the following SQL code:\n\n```sql\nSELECT Paragraph_Text, Other_Details\nFROM Paragraphs;\n```","cost":0.0000681,"response_parsed":"SELECT Paragraph_Text, Other_Details\nFROM Paragraphs;","time":0.8778162003}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `Documents` ORDER BY `Template_ID` ASC","question":"Show all data ordered by Template_ID in ascending order for the table Documents","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT *\nFROM Documents\nORDER BY Template_ID ASC;\n```","cost":0.00004875,"response_parsed":"SELECT *\nFROM Documents\nORDER BY Template_ID ASC;","time":0.4138183594}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `Documents` ORDER BY `Template_ID` DESC","question":"Show all data ordered by Template_ID in descending order for the table Documents","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT * \nFROM Documents \nORDER BY Template_ID DESC;\n```","cost":0.00004935,"response_parsed":"SELECT * \nFROM Documents \nORDER BY Template_ID DESC;","time":0.8041396141}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `Documents` ORDER BY `Document_Description` ASC","question":"Show all data ordered by Document_Description in ascending order for the table Documents","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT * \nFROM Documents \nORDER BY Document_Description ASC;\n```","cost":0.0000501,"response_parsed":"SELECT * \nFROM Documents \nORDER BY Document_Description ASC;","time":0.5517365932}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `Documents` ORDER BY `Document_Description` DESC","question":"Show all data ordered by Document_Description in descending order for the table Documents","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch all data from the `Documents` table ordered by `Document_Description` in descending order, you can use the following SQL code:\n\n```sql\nSELECT * \nFROM Documents \nORDER BY Document_Description DESC;\n```","cost":0.0000675,"response_parsed":"SELECT * \nFROM Documents \nORDER BY Document_Description DESC;","time":0.6962764263}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Document_Description` FROM `Documents` ORDER BY `Document_Description` ASC","question":"Project the Document_Description ordered in ascending order for the table Documents","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To project the `Document_Description` column from the `Documents` table and order the results in ascending order, you can use the following SQL code:\n\n```sql\nSELECT Document_Description \nFROM Documents \nORDER BY Document_Description ASC;\n```","cost":0.0000696,"response_parsed":"SELECT Document_Description \nFROM Documents \nORDER BY Document_Description ASC;","time":1.0089530945}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Document_Description` FROM `Documents` ORDER BY `Document_Description` DESC","question":"Project the Document_Description ordered in descending order for the table Documents","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the `Document_Description` from the `Documents` table and order the results in descending order, the SQL code would look like this:\n\n```sql\nSELECT Document_Description\nFROM Documents\nORDER BY Document_Description DESC;\n```","cost":0.000069,"response_parsed":"SELECT Document_Description\nFROM Documents\nORDER BY Document_Description DESC;","time":1.5613365173}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Template_ID` FROM `Documents` ORDER BY `Template_ID` ASC","question":"Project the Template_ID ordered in ascending order for the table Documents","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"Here is the SQL code to project `Template_ID` ordered in ascending order from the `Documents` table:\n\n```sql\nSELECT Template_ID\nFROM Documents\nORDER BY Template_ID ASC;\n```","cost":0.00006285,"response_parsed":"SELECT Template_ID\nFROM Documents\nORDER BY Template_ID ASC;","time":0.7069633007}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Template_ID` FROM `Documents` ORDER BY `Template_ID` DESC","question":"Project the Template_ID ordered in descending order for the table Documents","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the `Template_ID` from the `Documents` table ordered in descending order, you can use the following SQL query:\n\n```sql\nSELECT Template_ID\nFROM Documents\nORDER BY Template_ID DESC;\n```","cost":0.00006525,"response_parsed":"SELECT Template_ID\nFROM Documents\nORDER BY Template_ID DESC;","time":1.033053875}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `Templates` ORDER BY `Version_Number` ASC","question":"Show all data ordered by Version_Number in ascending order for the table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT * \nFROM Templates \nORDER BY Version_Number ASC;\n```","cost":0.00004935,"response_parsed":"SELECT * \nFROM Templates \nORDER BY Version_Number ASC;","time":0.5430824757}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `Templates` ORDER BY `Version_Number` DESC","question":"Show all data ordered by Version_Number in descending order for the table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT * FROM Templates\nORDER BY Version_Number DESC;\n```","cost":0.00004875,"response_parsed":"SELECT * FROM Templates\nORDER BY Version_Number DESC;","time":0.6084604263}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `Templates` ORDER BY `Template_Type_Code` ASC","question":"Show all data ordered by Template_Type_Code in ascending order for the table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To retrieve all the data from the `Templates` table ordered by `Template_Type_Code` in ascending order, you can use the following SQL query:\n\n```sql\nSELECT *\nFROM Templates\nORDER BY Template_Type_Code ASC;\n```","cost":0.0000675,"response_parsed":"SELECT *\nFROM Templates\nORDER BY Template_Type_Code ASC;","time":0.9580285549}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `Templates` ORDER BY `Template_Type_Code` DESC","question":"Show all data ordered by Template_Type_Code in descending order for the table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch all data from the `Templates` table ordered by `Template_Type_Code` in descending order, you can use the following SQL query:\n\n```sql\nSELECT *\nFROM Templates\nORDER BY Template_Type_Code DESC;\n```","cost":0.0000669,"response_parsed":"SELECT *\nFROM Templates\nORDER BY Template_Type_Code DESC;","time":0.7773020267}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Template_Type_Code` FROM `Templates` ORDER BY `Template_Type_Code` ASC","question":"Project the Template_Type_Code ordered in ascending order for the table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To project the `Template_Type_Code` from the `Templates` table and order it in ascending order, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT Template_Type_Code\nFROM Templates\nORDER BY Template_Type_Code ASC;\n```","cost":0.000069,"response_parsed":"SELECT DISTINCT Template_Type_Code\nFROM Templates\nORDER BY Template_Type_Code ASC;","time":3.1447823048}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Template_Type_Code` FROM `Templates` ORDER BY `Template_Type_Code` DESC","question":"Project the Template_Type_Code ordered in descending order for the table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To project the `Template_Type_Code` from the `Templates` table and order it in descending order, you can use the following SQL query:\n\n```sql\nSELECT Template_Type_Code\nFROM Templates\nORDER BY Template_Type_Code DESC;\n```","cost":0.0000684,"response_parsed":"SELECT Template_Type_Code\nFROM Templates\nORDER BY Template_Type_Code DESC;","time":1.7134177685}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Version_Number` FROM `Templates` ORDER BY `Version_Number` ASC","question":"Project the Version_Number ordered in ascending order for the table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To retrieve the `Version_Number` from the `Templates` table and order it in ascending order, you can use the following SQL code:\n\n```sql\nSELECT Version_Number\nFROM Templates\nORDER BY Version_Number ASC;\n```","cost":0.00006645,"response_parsed":"SELECT Version_Number\nFROM Templates\nORDER BY Version_Number ASC;","time":0.8707864285}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Version_Number` FROM `Templates` ORDER BY `Version_Number` DESC","question":"Project the Version_Number ordered in descending order for the table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"Here is the SQL code to project the `Version_Number` from the `Templates` table, ordered in descending order:\n\n```sql\nSELECT Version_Number\nFROM Templates\nORDER BY Version_Number DESC;\n```","cost":0.00006405,"response_parsed":"SELECT Version_Number\nFROM Templates\nORDER BY Version_Number DESC;","time":0.8091583252}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Ref_Template_Types","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `Ref_Template_Types` ORDER BY `Template_Type_Code` ASC","question":"Show all data ordered by Template_Type_Code in ascending order for the table Ref_Template_Types","db_schema_normalized":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"Here is the SQL code to fetch all data ordered by `Template_Type_Code` in ascending order from the `Ref_Template_Types` table:\n\n```sql\nSELECT *\nFROM Ref_Template_Types\nORDER BY Template_Type_Code ASC;\n```","cost":0.00006915,"response_parsed":"SELECT *\nFROM Ref_Template_Types\nORDER BY Template_Type_Code ASC;","time":1.7124180794}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Ref_Template_Types","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `Ref_Template_Types` ORDER BY `Template_Type_Code` DESC","question":"Show all data ordered by Template_Type_Code in descending order for the table Ref_Template_Types","db_schema_normalized":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT *\nFROM Ref_Template_Types\nORDER BY Template_Type_Code DESC;\n```","cost":0.00005175,"response_parsed":"SELECT *\nFROM Ref_Template_Types\nORDER BY Template_Type_Code DESC;","time":0.5291984081}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Ref_Template_Types","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `Ref_Template_Types` ORDER BY `Template_Type_Description` ASC","question":"Show all data ordered by Template_Type_Description in ascending order for the table Ref_Template_Types","db_schema_normalized":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"Here is the SQL code to retrieve all data from the `Ref_Template_Types` table, ordered by `Template_Type_Description` in ascending order:\n\n```sql\nSELECT *\nFROM Ref_Template_Types\nORDER BY Template_Type_Description ASC;\n```","cost":0.0000711,"response_parsed":"SELECT *\nFROM Ref_Template_Types\nORDER BY Template_Type_Description ASC;","time":1.4951694012}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Ref_Template_Types","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `Ref_Template_Types` ORDER BY `Template_Type_Description` DESC","question":"Show all data ordered by Template_Type_Description in descending order for the table Ref_Template_Types","db_schema_normalized":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT * \nFROM Ref_Template_Types \nORDER BY Template_Type_Description DESC;\n```","cost":0.0000531,"response_parsed":"SELECT * \nFROM Ref_Template_Types \nORDER BY Template_Type_Description DESC;","time":0.923779726}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Ref_Template_Types","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Template_Type_Code` FROM `Ref_Template_Types` ORDER BY `Template_Type_Code` ASC","question":"Project the Template_Type_Code ordered in ascending order for the table Ref_Template_Types","db_schema_normalized":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT Template_Type_Code \nFROM Ref_Template_Types \nORDER BY Template_Type_Code ASC;\n```","cost":0.00005325,"response_parsed":"SELECT Template_Type_Code \nFROM Ref_Template_Types \nORDER BY Template_Type_Code ASC;","time":0.7040855885}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Ref_Template_Types","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Template_Type_Code` FROM `Ref_Template_Types` ORDER BY `Template_Type_Code` DESC","question":"Project the Template_Type_Code ordered in descending order for the table Ref_Template_Types","db_schema_normalized":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"Here is the SQL code to project the `Template_Type_Code` ordered in descending order for the table `Ref_Template_Types`:\n\n```sql\nSELECT Template_Type_Code \nFROM Ref_Template_Types \nORDER BY Template_Type_Code DESC;\n```","cost":0.00006945,"response_parsed":"SELECT Template_Type_Code \nFROM Ref_Template_Types \nORDER BY Template_Type_Code DESC;","time":2.1983089447}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Ref_Template_Types","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Template_Type_Description` FROM `Ref_Template_Types` ORDER BY `Template_Type_Description` ASC","question":"Project the Template_Type_Description ordered in ascending order for the table Ref_Template_Types","db_schema_normalized":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To project the `Template_Type_Description` from the `Ref_Template_Types` table and order it in ascending order, you can use the following SQL code:\n\n```sql\nSELECT Template_Type_Description\nFROM Ref_Template_Types\nORDER BY Template_Type_Description ASC;\n```","cost":0.0000744,"response_parsed":"SELECT Template_Type_Description\nFROM Ref_Template_Types\nORDER BY Template_Type_Description ASC;","time":1.4132142067}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Ref_Template_Types","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Template_Type_Description` FROM `Ref_Template_Types` ORDER BY `Template_Type_Description` DESC","question":"Project the Template_Type_Description ordered in descending order for the table Ref_Template_Types","db_schema_normalized":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To project the `Template_Type_Description` from the `Ref_Template_Types` table and order the results in descending order, you can use the following SQL query:\n\n```sql\nSELECT Template_Type_Description\nFROM Ref_Template_Types\nORDER BY Template_Type_Description DESC;\n```","cost":0.000075,"response_parsed":"SELECT Template_Type_Description\nFROM Ref_Template_Types\nORDER BY Template_Type_Description DESC;","time":2.0287349224}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `Paragraphs` ORDER BY `Paragraph_Text` ASC","question":"Show all data ordered by Paragraph_Text in ascending order for the table Paragraphs","db_schema_normalized":"`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT *\nFROM Paragraphs\nORDER BY Paragraph_Text ASC;\n```","cost":0.0000495,"response_parsed":"SELECT *\nFROM Paragraphs\nORDER BY Paragraph_Text ASC;","time":0.4329109192}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `Paragraphs` ORDER BY `Paragraph_Text` DESC","question":"Show all data ordered by Paragraph_Text in descending order for the table Paragraphs","db_schema_normalized":"`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT *\nFROM Paragraphs\nORDER BY Paragraph_Text DESC;\n```","cost":0.0000495,"response_parsed":"SELECT *\nFROM Paragraphs\nORDER BY Paragraph_Text DESC;","time":0.3468437195}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `Paragraphs` ORDER BY `Other_Details` ASC","question":"Show all data ordered by Other_Details in ascending order for the table Paragraphs","db_schema_normalized":"`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"Here is the SQL code to fetch all data from the `Paragraphs` table ordered by `Other_Details` in ascending order:\n\n```sql\nSELECT *\nFROM Paragraphs\nORDER BY Other_Details ASC;\n```","cost":0.00006645,"response_parsed":"SELECT *\nFROM Paragraphs\nORDER BY Other_Details ASC;","time":0.7752718925}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `Paragraphs` ORDER BY `Other_Details` DESC","question":"Show all data ordered by Other_Details in descending order for the table Paragraphs","db_schema_normalized":"`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"Here is the SQL code to fetch all data from the `Paragraphs` table ordered by `Other_Details` in descending order:\n\n```sql\nSELECT *\nFROM Paragraphs\nORDER BY Other_Details DESC;\n```","cost":0.00006645,"response_parsed":"SELECT *\nFROM Paragraphs\nORDER BY Other_Details DESC;","time":0.875317812}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Paragraph_Text` FROM `Paragraphs` ORDER BY `Paragraph_Text` ASC","question":"Project the Paragraph_Text ordered in ascending order for the table Paragraphs","db_schema_normalized":"`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT Paragraph_Text\nFROM Paragraphs\nORDER BY Paragraph_Text ASC;\n```","cost":0.0000504,"response_parsed":"SELECT Paragraph_Text\nFROM Paragraphs\nORDER BY Paragraph_Text ASC;","time":0.5536375046}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Paragraph_Text` FROM `Paragraphs` ORDER BY `Paragraph_Text` DESC","question":"Project the Paragraph_Text ordered in descending order for the table Paragraphs","db_schema_normalized":"`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"Here is the SQL code to project the `Paragraph_Text` ordered in descending order for the table `Paragraphs`:\n\n```sql\nSELECT Paragraph_Text\nFROM Paragraphs\nORDER BY Paragraph_Text DESC;\n```","cost":0.0000648,"response_parsed":"SELECT Paragraph_Text\nFROM Paragraphs\nORDER BY Paragraph_Text DESC;","time":0.7649621964}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Other_Details` FROM `Paragraphs` ORDER BY `Other_Details` ASC","question":"Project the Other_Details ordered in ascending order for the table Paragraphs","db_schema_normalized":"`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"Here is the SQL code to project the `Other_Details` from the `Paragraphs` table and order them in ascending order:\n\n```sql\nSELECT Other_Details\nFROM Paragraphs\nORDER BY Other_Details ASC;\n```","cost":0.00006795,"response_parsed":"SELECT Other_Details\nFROM Paragraphs\nORDER BY Other_Details ASC;","time":0.9649646282}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Other_Details` FROM `Paragraphs` ORDER BY `Other_Details` DESC","question":"Project the Other_Details ordered in descending order for the table Paragraphs","db_schema_normalized":"`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT Other_Details\nFROM Paragraphs\nORDER BY Other_Details DESC;\n```","cost":0.00005175,"response_parsed":"SELECT Other_Details\nFROM Paragraphs\nORDER BY Other_Details DESC;","time":0.619781971}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Document_ID` FROM `Documents`","question":"Show all Document_ID in the table Documents","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch all `Document_ID` values from the `Documents` table, you can use the following SQL code:\n\n```sql\nSELECT Document_ID FROM Documents;\n```","cost":0.00005865,"response_parsed":"SELECT Document_ID FROM Documents;","time":1.0026586056}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Template_ID` FROM `Documents`","question":"Show all Template_ID in the table Documents","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch all `Template_ID`s from the `Documents` table, you can use the following SQL code:\n\n```sql\nSELECT Template_ID \nFROM Documents;\n```","cost":0.00005865,"response_parsed":"SELECT Template_ID \nFROM Documents;","time":0.6706969738}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Document_Name` FROM `Documents`","question":"Show all Document_Name in the table Documents","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT Document_Name FROM Documents;\n```","cost":0.00004485,"response_parsed":"SELECT Document_Name FROM Documents;","time":0.4574503899}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Document_Description` FROM `Documents`","question":"Show all Document_Description in the table Documents","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT Document_Description FROM Documents;\n```","cost":0.0000456,"response_parsed":"SELECT Document_Description FROM Documents;","time":0.4879572392}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Other_Details` FROM `Documents`","question":"Show all Other_Details in the table Documents","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"You can use the following SQL query to fetch all the `Other_Details` from the `Documents` table:\n\n```sql\nSELECT Other_Details FROM Documents;\n```","cost":0.0000594,"response_parsed":"SELECT Other_Details FROM Documents;","time":1.1174151897}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"PROJECT","sql_tag":"SELECT-ALL","query":"SELECT * FROM `Documents`","question":"Show all the rows in the table Documents","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch all the rows from the `Documents` table, you can use the following SQL code:\n\n```sql\nSELECT * FROM Documents;\n```","cost":0.00005625,"response_parsed":"SELECT * FROM Documents;","time":1.0078649521}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Other_Details` FROM `Documents`","question":"Show all Other_Details in the table Documents","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"Here is the SQL code to fetch all `Other_Details` from the `Documents` table:\n\n```sql\nSELECT Other_Details FROM Documents;\n```","cost":0.0000576,"response_parsed":"SELECT Other_Details FROM Documents;","time":1.2352223396}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Document_Description`, `Other_Details` FROM `Documents`","question":"Show all Document_Description, Other_Details in the table Documents","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT Document_Description, Other_Details \nFROM Documents;\n```","cost":0.0000492,"response_parsed":"SELECT Document_Description, Other_Details \nFROM Documents;","time":0.4395337105}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Document_ID`, `Document_Name`, `Other_Details` FROM `Documents`","question":"Show all Document_ID, Document_Name, Other_Details in the table Documents","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT Document_ID, Document_Name, Other_Details \nFROM Documents;\n```","cost":0.0000507,"response_parsed":"SELECT Document_ID, Document_Name, Other_Details \nFROM Documents;","time":0.4223453999}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Template_ID`, `Document_Name`, `Document_Description`, `Document_ID` FROM `Documents`","question":"Show all Template_ID, Document_Name, Document_Description, Document_ID in the table Documents","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the required information (Template_ID, Document_Name, Document_Description, and Document_ID) from the Documents table along with the corresponding Template_ID from the Templates table using SQL, you can use the following query:\n\n```sql\nSELECT \n T.Template_ID, \n D.Document_Name, \n D.Document_Description, \n D.Document_ID \nFROM \n Documents D\nJOIN \n Templates T ON D.Template_ID = T.Template_ID;\n``` \n\nThis SQL code performs an inner join between the `Documents` and `Templates` tables to retrieve the necessary columns.","cost":0.00011115,"response_parsed":"SELECT \n T.Template_ID, \n D.Document_Name, \n D.Document_Description, \n D.Document_ID \nFROM \n Documents D\nJOIN \n Templates T ON D.Template_ID = T.Template_ID;","time":1.7992076874}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Template_ID` FROM `Templates`","question":"Show all Template_ID in the table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch all `Template_ID` values from the `Templates` table, you can use the following SQL query:\n\n```sql\nSELECT Template_ID FROM Templates;\n```","cost":0.00005865,"response_parsed":"SELECT Template_ID FROM Templates;","time":1.487375021}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Version_Number` FROM `Templates`","question":"Show all Version_Number in the table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To show all the `Version_Number` from the `Templates` table, you can use the following SQL query:\n\n```sql\nSELECT Version_Number FROM Templates;\n```","cost":0.00005865,"response_parsed":"SELECT Version_Number FROM Templates;","time":0.6142709255}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Template_Type_Code` FROM `Templates`","question":"Show all Template_Type_Code in the table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch all `Template_Type_Code` entries from the `Templates` table, you can use the following SQL code:\n\n```sql\nSELECT Template_Type_Code \nFROM Templates;\n```","cost":0.0000606,"response_parsed":"SELECT Template_Type_Code \nFROM Templates;","time":0.874557972}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Template_Details` FROM `Templates`","question":"Show all Template_Details in the table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch all the `Template_Details` from the `Templates` table, you can use the following SQL query:\n\n```sql\nSELECT Template_Details FROM Templates;\n```","cost":0.00006,"response_parsed":"SELECT Template_Details FROM Templates;","time":1.0022563934}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"PROJECT","sql_tag":"SELECT-ALL","query":"SELECT * FROM `Templates`","question":"Show all the rows in the table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch all the rows from the `Templates` table, you can use the following SQL code:\n\n```sql\nSELECT * FROM Templates;\n```","cost":0.00005625,"response_parsed":"SELECT * FROM Templates;","time":0.6046419144}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Template_Type_Code` FROM `Templates`","question":"Show all Template_Type_Code in the table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch all `Template_Type_Code` values from the `Templates` table, you would execute the following SQL query:\n\n```sql\nSELECT Template_Type_Code FROM Templates;\n```","cost":0.00006,"response_parsed":"SELECT Template_Type_Code FROM Templates;","time":0.6069025993}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Version_Number`, `Template_ID` FROM `Templates`","question":"Show all Version_Number, Template_ID in the table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"You can use the following SQL code to retrieve all `Version_Number` and `Template_ID` from the `Templates` table:\n\n```sql\nSELECT Version_Number, Template_ID\nFROM Templates;\n```","cost":0.0000633,"response_parsed":"SELECT Version_Number, Template_ID\nFROM Templates;","time":0.7767081261}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Template_ID`, `Template_Type_Code`, `Template_Details` FROM `Templates`","question":"Show all Template_ID, Template_Type_Code, Template_Details in the table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT Template_ID, Template_Type_Code, Template_Details \nFROM Templates;\n```","cost":0.00005145,"response_parsed":"SELECT Template_ID, Template_Type_Code, Template_Details \nFROM Templates;","time":0.4970154762}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Ref_Template_Types","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Template_Type_Code` FROM `Ref_Template_Types`","question":"Show all Template_Type_Code in the table Ref_Template_Types","db_schema_normalized":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To retrieve all `Template_Type_Code` values from the `Ref_Template_Types` table, you can use the following SQL query:\n\n```sql\nSELECT Template_Type_Code FROM Ref_Template_Types;\n```","cost":0.00006405,"response_parsed":"SELECT Template_Type_Code FROM Ref_Template_Types;","time":0.7092449665}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Ref_Template_Types","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Template_Type_Description` FROM `Ref_Template_Types`","question":"Show all Template_Type_Description in the table Ref_Template_Types","db_schema_normalized":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT Template_Type_Description \nFROM Ref_Template_Types;\n```","cost":0.0000492,"response_parsed":"SELECT Template_Type_Description \nFROM Ref_Template_Types;","time":0.6515960693}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Ref_Template_Types","test_category":"PROJECT","sql_tag":"SELECT-ALL","query":"SELECT * FROM `Ref_Template_Types`","question":"Show all the rows in the table Ref_Template_Types","db_schema_normalized":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT * FROM Ref_Template_Types;\n```","cost":0.0000465,"response_parsed":"SELECT * FROM Ref_Template_Types;","time":0.4046330452}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Ref_Template_Types","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Template_Type_Description` FROM `Ref_Template_Types`","question":"Show all Template_Type_Description in the table Ref_Template_Types","db_schema_normalized":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch all `Template_Type_Description` from the `Ref_Template_Types` table, you can use the following SQL code:\n\n```sql\nSELECT Template_Type_Description \nFROM Ref_Template_Types;\n```","cost":0.0000654,"response_parsed":"SELECT Template_Type_Description \nFROM Ref_Template_Types;","time":0.8372189999}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Paragraph_ID` FROM `Paragraphs`","question":"Show all Paragraph_ID in the table Paragraphs","db_schema_normalized":"`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT Paragraph_ID FROM Paragraphs;\n```","cost":0.0000456,"response_parsed":"SELECT Paragraph_ID FROM Paragraphs;","time":0.3215179443}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Document_ID` FROM `Paragraphs`","question":"Show all Document_ID in the table Paragraphs","db_schema_normalized":"`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT Document_ID FROM Paragraphs;\n```","cost":0.0000456,"response_parsed":"SELECT Document_ID FROM Paragraphs;","time":0.4656982422}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Paragraph_Text` FROM `Paragraphs`","question":"Show all Paragraph_Text in the table Paragraphs","db_schema_normalized":"`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch all `Paragraph_Text` entries from the `Paragraphs` table in the database, you can use the following SQL query:\n\n```sql\nSELECT Paragraph_Text FROM Paragraphs;\n```","cost":0.0000618,"response_parsed":"SELECT Paragraph_Text FROM Paragraphs;","time":0.6423938274}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Other_Details` FROM `Paragraphs`","question":"Show all Other_Details in the table Paragraphs","db_schema_normalized":"`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT Other_Details FROM Paragraphs;\n```","cost":0.00004635,"response_parsed":"SELECT Other_Details FROM Paragraphs;","time":0.3743574619}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"PROJECT","sql_tag":"SELECT-ALL","query":"SELECT * FROM `Paragraphs`","question":"Show all the rows in the table Paragraphs","db_schema_normalized":"`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT * FROM Paragraphs;\n```","cost":0.000045,"response_parsed":"SELECT * FROM Paragraphs;","time":0.3289659023}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Paragraph_Text` FROM `Paragraphs`","question":"Show all Paragraph_Text in the table Paragraphs","db_schema_normalized":"`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT Paragraph_Text FROM Paragraphs;\n```","cost":0.0000456,"response_parsed":"SELECT Paragraph_Text FROM Paragraphs;","time":0.5728623867}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Paragraph_ID`, `Document_ID` FROM `Paragraphs`","question":"Show all Paragraph_ID, Document_ID in the table Paragraphs","db_schema_normalized":"`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT Paragraph_ID, Document_ID\nFROM Paragraphs;\n```","cost":0.00004845,"response_parsed":"SELECT Paragraph_ID, Document_ID\nFROM Paragraphs;","time":0.3699698448}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Other_Details`, `Paragraph_Text`, `Document_ID` FROM `Paragraphs`","question":"Show all Other_Details, Paragraph_Text, Document_ID in the table Paragraphs","db_schema_normalized":"`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"Here is the SQL code to fetch the requested data from the `Paragraphs` table:\n\n```sql\nSELECT Other_Details, Paragraph_Text, Document_ID\nFROM Paragraphs;\n```","cost":0.00006225,"response_parsed":"SELECT Other_Details, Paragraph_Text, Document_ID\nFROM Paragraphs;","time":0.5869896412}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `Documents` WHERE `Document_Name` == 'Introduction of OS'","question":"Show the data of the table Documents where Document_Name is equal to Introduction of OS","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"Here is the SQL code to fetch the data from the Documents table where Document_Name is equal to \"Introduction of OS\":\n\n```sql\nSELECT * \nFROM Documents \nWHERE Document_Name = 'Introduction of OS';\n```","cost":0.00006585,"response_parsed":"SELECT * \nFROM Documents \nWHERE Document_Name = 'Introduction of OS';","time":0.7731986046}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `Documents` WHERE `Document_Name` != 'Welcome to NY'","question":"Show the data of the table Documents where Document_Name is different from Welcome to NY","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"Here is the SQL code to retrieve data from the `Documents` table where the `Document_Name` is different from \"Welcome to NY\":\n\n```sql\nSELECT *\nFROM Documents\nWHERE Document_Name != 'Welcome to NY';\n```","cost":0.00006765,"response_parsed":"SELECT *\nFROM Documents\nWHERE Document_Name != 'Welcome to NY';","time":0.8325264454}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `Documents` WHERE `Document_Name` != 'Understanding DB'","question":"Show the data of the table Documents where Document_Name not equal to Understanding DB","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"Here is the SQL code to fetch the data from the `Documents` table where `Document_Name` is not equal to 'Understanding DB':\n\n```sql\nSELECT * FROM Documents WHERE Document_Name <> 'Understanding DB';\n```","cost":0.0000663,"response_parsed":"SELECT * FROM Documents WHERE Document_Name <> 'Understanding DB';","time":0.7623445988}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `Documents` WHERE `Document_Description` == 'w'","question":"Show the data of the table Documents where Document_Description is equal to w","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT *\nFROM Documents\nWHERE Document_Description = 'w';\n```","cost":0.0000501,"response_parsed":"SELECT *\nFROM Documents\nWHERE Document_Description = 'w';","time":0.4606413841}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `Documents` WHERE `Document_Description` != 'n'","question":"Show the data of the table Documents where Document_Description is different from n","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"Here is the SQL code to retrieve the data from the `Documents` table where the `Document_Description` is different from 'n':\n\n```sql\nSELECT *\nFROM Documents\nWHERE Document_Description <> 'n';\n```","cost":0.0000669,"response_parsed":"SELECT *\nFROM Documents\nWHERE Document_Description <> 'n';","time":0.6939229965}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `Documents` WHERE `Document_Description` != 'h'","question":"Show the data of the table Documents where Document_Description not equal to h","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"Here is the SQL code to fetch the data from the `Documents` table where `Document_Description` is not equal to 'h':\n\n```sql\nSELECT *\nFROM Documents\nWHERE Document_Description <> 'h';\n```","cost":0.0000669,"response_parsed":"SELECT *\nFROM Documents\nWHERE Document_Description <> 'h';","time":0.9626677036}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `Templates` WHERE `Template_Type_Code` == 'BK'","question":"Show the data of the table Templates where Template_Type_Code is equal to BK","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the data from the `Templates` table where `Template_Type_Code` is equal to 'BK', you can use the following SQL code:\n\n```sql\nSELECT *\nFROM Templates\nWHERE Template_Type_Code = 'BK';\n```","cost":0.0000681,"response_parsed":"SELECT *\nFROM Templates\nWHERE Template_Type_Code = 'BK';","time":1.7087349892}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `Templates` WHERE `Template_Type_Code` != 'PPT'","question":"Show the data of the table Templates where Template_Type_Code is different from PPT","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT *\nFROM Templates\nWHERE Template_Type_Code <> 'PPT';\n```","cost":0.0000507,"response_parsed":"SELECT *\nFROM Templates\nWHERE Template_Type_Code <> 'PPT';","time":0.426910162}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `Templates` WHERE `Template_Type_Code` != 'PP'","question":"Show the data of the table Templates where Template_Type_Code not equal to PP","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"Here is the SQL code to fetch the data from the `Templates` table where the `Template_Type_Code` is not equal to 'PP':\n\n```sql\nSELECT *\nFROM Templates\nWHERE Template_Type_Code <> 'PP';\n```","cost":0.0000675,"response_parsed":"SELECT *\nFROM Templates\nWHERE Template_Type_Code <> 'PP';","time":0.7635183334}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `Templates` WHERE `Template_Details` == ''","question":"Show the data of the table Templates where Template_Details is equal to ","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the data from the `Templates` table where `Template_Details` is equal to a specific value, you can use the following SQL code. In this case, I'll use a placeholder value `'Your_Template_Detail_Value'` that you can replace with the desired template detail you want to query.\n\n```sql\nSELECT * \nFROM Templates \nWHERE Template_Details = 'Your_Template_Detail_Value';\n```\n\nMake sure to replace `'Your_Template_Detail_Value'` with the actual value you want to filter by.","cost":0.00010395,"response_parsed":"SELECT * \nFROM Templates \nWHERE Template_Details = 'Your_Template_Detail_Value';","time":1.8107964993}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `Templates` WHERE `Version_Number` > 2","question":"Show the data of the table Templates where Version_Number is greater than 2","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"Here is the SQL code to fetch data from the `Templates` table where `Version_Number` is greater than 2:\n\n```sql\nSELECT *\nFROM Templates\nWHERE Version_Number > 2;\n```","cost":0.0000645,"response_parsed":"SELECT *\nFROM Templates\nWHERE Version_Number > 2;","time":0.7211916447}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `Templates` WHERE `Version_Number` < 4","question":"Show the data of the table Templates where Version_Number is less than 4","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT *\nFROM Templates\nWHERE Version_Number < 4;\n```","cost":0.0000495,"response_parsed":"SELECT *\nFROM Templates\nWHERE Version_Number < 4;","time":0.4154517651}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Ref_Template_Types","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `Ref_Template_Types` WHERE `Template_Type_Code` == 'BK'","question":"Show the data of the table Ref_Template_Types where Template_Type_Code is equal to BK","db_schema_normalized":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT *\nFROM Ref_Template_Types\nWHERE Template_Type_Code = 'BK';\n```","cost":0.00005235,"response_parsed":"SELECT *\nFROM Ref_Template_Types\nWHERE Template_Type_Code = 'BK';","time":0.6427547932}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Ref_Template_Types","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `Ref_Template_Types` WHERE `Template_Type_Code` != 'PPT'","question":"Show the data of the table Ref_Template_Types where Template_Type_Code is different from PPT","db_schema_normalized":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"Here's the SQL code to fetch the data from the `Ref_Template_Types` table where the `Template_Type_Code` is different from 'PPT':\n\n```sql\nSELECT *\nFROM Ref_Template_Types\nWHERE Template_Type_Code <> 'PPT';\n```","cost":0.00007155,"response_parsed":"SELECT *\nFROM Ref_Template_Types\nWHERE Template_Type_Code <> 'PPT';","time":0.8545584679}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Ref_Template_Types","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `Ref_Template_Types` WHERE `Template_Type_Code` != 'PPT'","question":"Show the data of the table Ref_Template_Types where Template_Type_Code not equal to PPT","db_schema_normalized":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the data from the `Ref_Template_Types` table where `Template_Type_Code` is not equal to 'PPT', you can use the following SQL query:\n\n```sql\nSELECT *\nFROM Ref_Template_Types\nWHERE Template_Type_Code <> 'PPT';\n```","cost":0.00007395,"response_parsed":"SELECT *\nFROM Ref_Template_Types\nWHERE Template_Type_Code <> 'PPT';","time":0.8507528305}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Ref_Template_Types","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `Ref_Template_Types` WHERE `Template_Type_Description` == 'Advertisement'","question":"Show the data of the table Ref_Template_Types where Template_Type_Description is equal to Advertisement","db_schema_normalized":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the data from the `Ref_Template_Types` table where the `Template_Type_Description` is equal to \"Advertisement\", you can use the following SQL query:\n\n```sql\nSELECT *\nFROM Ref_Template_Types\nWHERE Template_Type_Description = 'Advertisement';\n```","cost":0.0000741,"response_parsed":"SELECT *\nFROM Ref_Template_Types\nWHERE Template_Type_Description = 'Advertisement';","time":1.0890135765}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Ref_Template_Types","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `Ref_Template_Types` WHERE `Template_Type_Description` != 'Presentation'","question":"Show the data of the table Ref_Template_Types where Template_Type_Description is different from Presentation","db_schema_normalized":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"Here is the SQL code to fetch the data from the `Ref_Template_Types` table where the `Template_Type_Description` is different from 'Presentation':\n\n```sql\nSELECT *\nFROM Ref_Template_Types\nWHERE Template_Type_Description <> 'Presentation';\n```","cost":0.0000723,"response_parsed":"SELECT *\nFROM Ref_Template_Types\nWHERE Template_Type_Description <> 'Presentation';","time":1.0202848911}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Ref_Template_Types","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `Ref_Template_Types` WHERE `Template_Type_Description` != 'Advertisement'","question":"Show the data of the table Ref_Template_Types where Template_Type_Description not equal to Advertisement","db_schema_normalized":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT *\nFROM Ref_Template_Types\nWHERE Template_Type_Description <> 'Advertisement';\n```","cost":0.0000531,"response_parsed":"SELECT *\nFROM Ref_Template_Types\nWHERE Template_Type_Description <> 'Advertisement';","time":0.7764964104}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `Paragraphs` WHERE `Paragraph_Text` == 'Jersey'","question":"Show the data of the table Paragraphs where Paragraph_Text is equal to Jersey","db_schema_normalized":"`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT * \nFROM Paragraphs \nWHERE Paragraph_Text = 'Jersey';\n```","cost":0.0000513,"response_parsed":"SELECT * \nFROM Paragraphs \nWHERE Paragraph_Text = 'Jersey';","time":0.4502358437}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `Paragraphs` WHERE `Paragraph_Text` != 'Korea'","question":"Show the data of the table Paragraphs where Paragraph_Text is different from Korea","db_schema_normalized":"`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the data from the `Paragraphs` table where `Paragraph_Text` is different from \"Korea,\" you can use the following SQL query:\n\n```sql\nSELECT *\nFROM Paragraphs\nWHERE Paragraph_Text <> 'Korea';\n```","cost":0.0000693,"response_parsed":"SELECT *\nFROM Paragraphs\nWHERE Paragraph_Text <> 'Korea';","time":0.849075079}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `Paragraphs` WHERE `Paragraph_Text` != 'Palestinian Territory'","question":"Show the data of the table Paragraphs where Paragraph_Text not equal to Palestinian Territory","db_schema_normalized":"`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT *\nFROM Paragraphs\nWHERE Paragraph_Text <> 'Palestinian Territory';\n```","cost":0.00005205,"response_parsed":"SELECT *\nFROM Paragraphs\nWHERE Paragraph_Text <> 'Palestinian Territory';","time":0.5460515022}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Document_Name`) FROM `Documents`","question":"How many different Document_Name are in table Documents?","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the count of different `Document_Name` values in the `Documents` table, you can use the following SQL code:\n\n```sql\nSELECT COUNT(DISTINCT Document_Name) AS Different_Document_Names\nFROM Documents;\n```","cost":0.0000678,"response_parsed":"SELECT COUNT(DISTINCT Document_Name) AS Different_Document_Names\nFROM Documents;","time":0.9563336372}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Document_Description`) FROM `Documents`","question":"How many different Document_Description are in table Documents?","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To count the number of different `Document_Description` values in the `Documents` table, you can use the following SQL code:\n\n```sql\nSELECT COUNT(DISTINCT Document_Description) AS Unique_Document_Descriptions\nFROM Documents;\n```","cost":0.00006915,"response_parsed":"SELECT COUNT(DISTINCT Document_Description) AS Unique_Document_Descriptions\nFROM Documents;","time":1.1445558071}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Documents","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Other_Details`) FROM `Documents`","question":"How many different Other_Details are in table Documents?","db_schema_normalized":"`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To count the number of different `Other_Details` entries in the `Documents` table, you can use the following SQL query:\n\n```sql\nSELECT COUNT(DISTINCT Other_Details) AS Different_Other_Details_Count\nFROM Documents;\n```","cost":0.00006975,"response_parsed":"SELECT COUNT(DISTINCT Other_Details) AS Different_Other_Details_Count\nFROM Documents;","time":0.8713386059}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Template_Type_Code`) FROM `Templates`","question":"How many different Template_Type_Code are in table Templates?","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To find out how many different `Template_Type_Code` values exist in the `Templates` table, you can use the following SQL query:\n\n```sql\nSELECT COUNT(DISTINCT Template_Type_Code) AS Different_Template_Type_Count\nFROM Templates;\n``` \n\nThis query uses the `COUNT` function together with `DISTINCT` to count the unique `Template_Type_Code` entries in the `Templates` table.","cost":0.00008835,"response_parsed":"SELECT COUNT(DISTINCT Template_Type_Code) AS Different_Template_Type_Count\nFROM Templates;","time":2.3427627087}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Template_Details`) FROM `Templates`","question":"How many different Template_Details are in table Templates?","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To count the number of different `Template_Details` entries in the `Templates` table, you can use the following SQL query:\n\n```sql\nSELECT COUNT(DISTINCT Template_Details) AS Different_Template_Details_Count\nFROM Templates;\n``` \n\nThis query uses the `COUNT` function in combination with `DISTINCT` to count the unique values in the `Template_Details` column of the `Templates` table.","cost":0.00009075,"response_parsed":"SELECT COUNT(DISTINCT Template_Details) AS Different_Template_Details_Count\nFROM Templates;","time":1.6459677219}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MAX","query":"SELECT MAX(`Version_Number`) FROM `Templates`","question":"Find the maximum Version_Number for the table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To find the maximum `Version_Number` from the `Templates` table, you can use the following SQL query:\n\n```sql\nSELECT MAX(Version_Number) AS Max_Version_Number\nFROM Templates;\n```","cost":0.0000642,"response_parsed":"SELECT MAX(Version_Number) AS Max_Version_Number\nFROM Templates;","time":1.7840163708}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MIN","query":"SELECT MIN(`Version_Number`) FROM `Templates`","question":"Find the minimum Version_Number for the table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To find the minimum `Version_Number` from the `Templates` table, you can use the following SQL query:\n\n```sql\nSELECT MIN(Version_Number) AS Minimum_Version_Number\nFROM Templates;\n```","cost":0.0000642,"response_parsed":"SELECT MIN(Version_Number) AS Minimum_Version_Number\nFROM Templates;","time":0.8022065163}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Templates","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-AVG","query":"SELECT AVG(`Version_Number`) FROM `Templates`","question":"Find the average Version_Number for the table Templates","db_schema_normalized":"`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"```sql\nSELECT AVG(Version_Number) AS Average_Version_Number\nFROM Templates;\n```","cost":0.0000504,"response_parsed":"SELECT AVG(Version_Number) AS Average_Version_Number\nFROM Templates;","time":0.5272758007}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Ref_Template_Types","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Template_Type_Code`) FROM `Ref_Template_Types`","question":"How many different Template_Type_Code are in table Ref_Template_Types?","db_schema_normalized":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"Here is the SQL code to fetch the number of different `Template_Type_Code` values in the `Ref_Template_Types` table:\n\n```sql\nSELECT COUNT(DISTINCT Template_Type_Code) AS Different_Template_Type_Codes\nFROM Ref_Template_Types;\n```","cost":0.0000714,"response_parsed":"SELECT COUNT(DISTINCT Template_Type_Code) AS Different_Template_Type_Codes\nFROM Ref_Template_Types;","time":0.918463707}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Ref_Template_Types","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Template_Type_Description`) FROM `Ref_Template_Types`","question":"How many different Template_Type_Description are in table Ref_Template_Types?","db_schema_normalized":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To get the number of different `Template_Type_Description` entries from the `Ref_Template_Types` table, you can use the following SQL query:\n\n```sql\nSELECT COUNT(DISTINCT Template_Type_Description) AS Different_Template_Type_Descriptions\nFROM Ref_Template_Types;\n```","cost":0.00007455,"response_parsed":"SELECT COUNT(DISTINCT Template_Type_Description) AS Different_Template_Type_Descriptions\nFROM Ref_Template_Types;","time":1.0847427845}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Paragraph_Text`) FROM `Paragraphs`","question":"How many different Paragraph_Text are in table Paragraphs?","db_schema_normalized":"`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To find the number of different `Paragraph_Text` entries in the `Paragraphs` table, you can use the `COUNT` function along with `DISTINCT`. Here is the SQL code to be executed:\n\n```sql\nSELECT COUNT(DISTINCT Paragraph_Text) AS Different_Paragraph_Text_Count\nFROM Paragraphs;\n```","cost":0.00007815,"response_parsed":"SELECT COUNT(DISTINCT Paragraph_Text) AS Different_Paragraph_Text_Count\nFROM Paragraphs;","time":4.7529673576}} {"db_path":"QATCH-journal\/spider_data\/test_database\/cre_Doc_Template_Mgt\/cre_Doc_Template_Mgt.sqlite","db_id":"cre_Doc_Template_Mgt","tbl_name":"Paragraphs","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Other_Details`) FROM `Paragraphs`","question":"How many different Other_Details are in table Paragraphs?","db_schema_normalized":"`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","db_schema":"`Ref_Template_Types`(Template_Type_Code CHAR(15) NOT NULL, Template_Type_Description VARCHAR(255) NOT NULL, PRIMARY KEY (Template_Type_Code))\n`Templates`(Template_ID INTEGER NOT NULL, Version_Number INTEGER NOT NULL, Template_Type_Code CHAR(15) NOT NULL, Date_Effective_From DATETIME, Date_Effective_To DATETIME, Template_Details VARCHAR(255) NOT NULL, PRIMARY KEY (Template_ID), FOREIGN KEY (Template_Type_Code) REFERENCES Ref_Template_Types (Template_Type_Code))\n`Documents`(Document_ID INTEGER NOT NULL, Template_ID INTEGER, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Document_ID), FOREIGN KEY (Template_ID) REFERENCES Templates (Template_ID))\n`Paragraphs`(Paragraph_ID INTEGER NOT NULL, Document_ID INTEGER NOT NULL, Paragraph_Text VARCHAR(255), Other_Details VARCHAR(255), PRIMARY KEY (Paragraph_ID), FOREIGN KEY (Document_ID) REFERENCES Documents (Document_ID))","pred_dict":{"response":"To fetch the number of different `Other_Details` values in the `Paragraphs` table, you can use the following SQL code:\n\n```sql\nSELECT COUNT(DISTINCT Other_Details) AS Different_Other_Details_Count\nFROM Paragraphs;\n```","cost":0.0000711,"response_parsed":"SELECT COUNT(DISTINCT Other_Details) AS Different_Other_Details_Count\nFROM Paragraphs;","time":0.9774112701}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Staring_Date` FROM `course`","question":"Show the different Staring_Date in the table course","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To fetch the different starting dates from the `course` table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT \"Staring_Date\" \nFROM \"course\";\n```","cost":0.00004845,"response_parsed":"SELECT DISTINCT \"Staring_Date\" \nFROM \"course\";","time":0.9814555645}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Course` FROM `course`","question":"Show the different Course in the table course","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To retrieve the different courses from the `course` table, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT Course\nFROM course;\n``` \n\nThis query selects unique course names from the `course` table, as specified in the question.","cost":0.00005655,"response_parsed":"SELECT DISTINCT Course\nFROM course;","time":1.0460314751}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Name` FROM `teacher`","question":"Show the different Name in the table teacher","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"```sql\nSELECT DISTINCT Name FROM teacher;\n```","cost":0.00003195,"response_parsed":"SELECT DISTINCT Name FROM teacher;","time":0.4871692657}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Age` FROM `teacher`","question":"Show the different Age in the table teacher","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To fetch the different ages from the \"teacher\" table, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT Age FROM teacher;\n```","cost":0.00004395,"response_parsed":"SELECT DISTINCT Age FROM teacher;","time":0.6143472195}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Hometown` FROM `teacher`","question":"Show the different Hometown in the table teacher","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To fetch the different hometowns from the `teacher` table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT Hometown \nFROM teacher;\n```","cost":0.0000459,"response_parsed":"SELECT DISTINCT Hometown \nFROM teacher;","time":0.6709942818}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Staring_Date`, COUNT(*) FROM `course` GROUP BY `Staring_Date`","question":"For each Staring_Date, count the number of rows in table course","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To count the number of rows in the `course` table for each `Staring_Date`, you can use the following SQL query:\n\n```sql\nSELECT Staring_Date, COUNT(*) AS NumberOfCourses\nFROM course\nGROUP BY Staring_Date;\n```","cost":0.00005805,"response_parsed":"SELECT Staring_Date, COUNT(*) AS NumberOfCourses\nFROM course\nGROUP BY Staring_Date;","time":0.8329398632}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Course`, COUNT(*) FROM `course` GROUP BY `Course`","question":"For each Course, count the number of rows in table course","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To fetch the count of rows for each Course from the `course` table, you can use the following SQL query:\n\n```sql\nSELECT Course, COUNT(*) AS Course_Count\nFROM course\nGROUP BY Course;\n``` \n\nThis query selects the `Course` name and counts the number of rows corresponding to each unique course in the `course` table, grouping the results by `Course`.","cost":0.00007335,"response_parsed":"SELECT Course, COUNT(*) AS Course_Count\nFROM course\nGROUP BY Course;","time":1.2261486053}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Name`, COUNT(*) FROM `teacher` GROUP BY `Name`","question":"For each Name, count the number of rows in table teacher","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To count the number of rows in the `teacher` table for each unique `Name`, you can use the following SQL query:\n\n```sql\nSELECT Name, COUNT(*) AS row_count\nFROM teacher\nGROUP BY Name;\n```","cost":0.00005415,"response_parsed":"SELECT Name, COUNT(*) AS row_count\nFROM teacher\nGROUP BY Name;","time":1.1112010479}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Age`, COUNT(*) FROM `teacher` GROUP BY `Age`","question":"For each Age, count the number of rows in table teacher","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To count the number of rows in the `teacher` table for each unique Age, you can use the following SQL code:\n\n```sql\nSELECT Age, COUNT(*) AS NumberOfTeachers\nFROM teacher\nGROUP BY Age;\n```","cost":0.00005415,"response_parsed":"SELECT Age, COUNT(*) AS NumberOfTeachers\nFROM teacher\nGROUP BY Age;","time":0.6692020893}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Hometown`, COUNT(*) FROM `teacher` GROUP BY `Hometown`","question":"For each Hometown, count the number of rows in table teacher","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To count the number of rows in the `teacher` table for each `Hometown`, you can use the following SQL code:\n\n```sql\nSELECT Hometown, COUNT(*) AS Teacher_Count\nFROM teacher\nGROUP BY Hometown;\n```","cost":0.0000555,"response_parsed":"SELECT Hometown, COUNT(*) AS Teacher_Count\nFROM teacher\nGROUP BY Hometown;","time":0.7968466282}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Staring_Date` FROM `course` GROUP BY `Staring_Date` HAVING count(*) >= 1","question":"Find all the Staring_Date that have at least 1 records in table course","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To find all the `Staring_Date` values from the `course` table that have at least one record, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT \"Staring_Date\"\nFROM \"course\"\nWHERE \"Course_ID\" IS NOT NULL;\n``` \n\nThis query selects distinct `Staring_Date` values from the `course` table, ensuring that you only get dates that correspond to courses that exist (since `Course_ID` is the primary key, it cannot be null).","cost":0.00008775,"response_parsed":"SELECT DISTINCT \"Staring_Date\"\nFROM \"course\"\nWHERE \"Course_ID\" IS NOT NULL;","time":2.46889925}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Staring_Date` FROM `course` GROUP BY `Staring_Date` HAVING count(*) <= 1","question":"Find all the Staring_Date that have at most 1 records in table course","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To find all the `Staring_Date` values that have at most 1 record in the `course` table, you can use the following SQL query:\n\n```sql\nSELECT Staring_Date\nFROM course\nGROUP BY Staring_Date\nHAVING COUNT(*) <= 1;\n``` \n\nThis query groups the records by `Staring_Date` and then filters the groups to include only those that have one or no records using the `HAVING` clause.","cost":0.00008295,"response_parsed":"SELECT Staring_Date\nFROM course\nGROUP BY Staring_Date\nHAVING COUNT(*) <= 1;","time":1.9200749397}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Course` FROM `course` GROUP BY `Course` HAVING count(*) >= 1","question":"Find all the Course that have at least 1 records in table course","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To fetch all the courses that have at least one record in the `course_arrange` table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT c.Course\nFROM course c\nJOIN course_arrange ca ON c.Course_ID = ca.Course_ID;\n```\n\nThis SQL query selects distinct course names from the `course` table, joining with the `course_arrange` table to ensure that only courses with at least one associated record are included in the results.","cost":0.00008445,"response_parsed":"SELECT DISTINCT c.Course\nFROM course c\nJOIN course_arrange ca ON c.Course_ID = ca.Course_ID;","time":2.9458808899}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Course` FROM `course` GROUP BY `Course` HAVING count(*) <= 1","question":"Find all the Course that have at most 1 records in table course","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To find all the courses that have at most 1 record in the `course_arrange` table, you can use the following SQL query. This query groups by `Course_ID` and counts the occurrences in the `course_arrange` table, filtering for those counts that are less than or equal to 1. Here is the SQL code:\n\n```sql\nSELECT c.Course_ID, c.Course\nFROM course c\nLEFT JOIN course_arrange ca ON c.Course_ID = ca.Course_ID\nGROUP BY c.Course_ID, c.Course\nHAVING COUNT(ca.Teacher_ID) <= 1;\n``` \n\nThis query uses a `LEFT JOIN` to include all courses from the `course` table and counts the related records from the `course_arrange` table. The `HAVING` clause ensures that only those courses with 0 or 1 corresponding record in `course_arrange` are returned.","cost":0.00013725,"response_parsed":"SELECT c.Course_ID, c.Course\nFROM course c\nLEFT JOIN course_arrange ca ON c.Course_ID = ca.Course_ID\nGROUP BY c.Course_ID, c.Course\nHAVING COUNT(ca.Teacher_ID) <= 1;","time":3.770629406}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Name` FROM `teacher` GROUP BY `Name` HAVING count(*) >= 1","question":"Find all the Name that have at least 1 records in table teacher","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To find all the names of teachers that have at least one record in the `teacher` table, the following SQL code can be used:\n\n```sql\nSELECT DISTINCT Name\nFROM teacher\nWHERE Teacher_ID IN (SELECT Teacher_ID FROM course_arrange);\n``` \n\nThis query selects unique teacher names from the `teacher` table where there are corresponding entries in the `course_arrange` table, ensuring that we only get names of teachers with at least one associated course arrangement.","cost":0.00008385,"response_parsed":"SELECT DISTINCT Name\nFROM teacher\nWHERE Teacher_ID IN (SELECT Teacher_ID FROM course_arrange);","time":2.2902674675}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Name` FROM `teacher` GROUP BY `Name` HAVING count(*) <= 1","question":"Find all the Name that have at most 1 records in table teacher","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To find all the names that have at most one record in the `teacher` table, you can use the following SQL code:\n\n```sql\nSELECT Name\nFROM teacher\nGROUP BY Name\nHAVING COUNT(*) <= 1;\n``` \n\nThis query groups the records in the `teacher` table by the `Name` field and then uses the `HAVING` clause to filter out the groups that have a count of more than one record. Only names with at most one occurrence will be returned.","cost":0.00008745,"response_parsed":"SELECT Name\nFROM teacher\nGROUP BY Name\nHAVING COUNT(*) <= 1;","time":2.411362648}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Age` FROM `teacher` GROUP BY `Age` HAVING count(*) >= 1","question":"Find all the Age that have at least 1 records in table teacher","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To find all the distinct ages of teachers that have at least one record in the `teacher` table, you can execute the following SQL query:\n\n```sql\nSELECT DISTINCT Age\nFROM teacher;\n``` \n\nThis query selects all unique ages from the `teacher` table, effectively allowing you to see all the ages that have teachers recorded in the table.","cost":0.00006885,"response_parsed":"SELECT DISTINCT Age\nFROM teacher;","time":1.2070226669}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Age` FROM `teacher` GROUP BY `Age` HAVING count(*) <= 1","question":"Find all the Age that have at most 1 records in table teacher","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To find all the ages that have at most 1 record in the `teacher` table, you can use the following SQL code:\n\n```sql\nSELECT Age\nFROM teacher\nGROUP BY Age\nHAVING COUNT(*) <= 1;\n``` \n\nThis code groups the records in the `teacher` table by `Age` and then uses the `HAVING` clause to filter out any ages that have more than 1 record, thus returning only those ages with at most 1 record.","cost":0.00008625,"response_parsed":"SELECT Age\nFROM teacher\nGROUP BY Age\nHAVING COUNT(*) <= 1;","time":1.6059830189}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Hometown` FROM `teacher` GROUP BY `Hometown` HAVING count(*) >= 1","question":"Find all the Hometown that have at least 1 records in table teacher","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To find all the hometowns that have at least one record in the `teacher` table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT Hometown \nFROM teacher \nWHERE Hometown IS NOT NULL;\n``` \n\nThis query selects distinct hometowns from the `teacher` table, ensuring that it returns only those hometowns that exist in the table. The condition `Hometown IS NOT NULL` excludes any null values, if present.","cost":0.0000816,"response_parsed":"SELECT DISTINCT Hometown \nFROM teacher \nWHERE Hometown IS NOT NULL;","time":1.2043993473}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Hometown` FROM `teacher` GROUP BY `Hometown` HAVING count(*) <= 1","question":"Find all the Hometown that have at most 1 records in table teacher","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"```sql\nSELECT Hometown\nFROM teacher\nGROUP BY Hometown\nHAVING COUNT(*) <= 1;\n```","cost":0.0000414,"response_parsed":"SELECT Hometown\nFROM teacher\nGROUP BY Hometown\nHAVING COUNT(*) <= 1;","time":1.0642316341}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course_arrange","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-ALL","query":"SELECT * FROM `course_arrange` AS T1 JOIN `course` AS T2 ON T1.`Course_ID` = T2.`Course_ID`","question":"Join all the records from table course_arrange with table course on Course_ID","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To join all records from the `course_arrange` table with the `course` table on `Course_ID`, you can use the following SQL code:\n\n```sql\nSELECT *\nFROM course_arrange ca\nJOIN course c ON ca.Course_ID = c.Course_ID;\n```","cost":0.00006,"response_parsed":"SELECT *\nFROM course_arrange ca\nJOIN course c ON ca.Course_ID = c.Course_ID;","time":2.8540244102}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course_arrange","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-ALL","query":"SELECT * FROM `course_arrange` AS T1 JOIN `teacher` AS T2 ON T1.`Teacher_ID` = T2.`Teacher_ID`","question":"Join all the records from table course_arrange with table teacher on Teacher_ID","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To join all the records from the `course_arrange` table with the `teacher` table on `Teacher_ID`, you can use the following SQL code:\n\n```sql\nSELECT *\nFROM course_arrange\nJOIN teacher ON course_arrange.Teacher_ID = teacher.Teacher_ID;\n```","cost":0.0000618,"response_parsed":"SELECT *\nFROM course_arrange\nJOIN teacher ON course_arrange.Teacher_ID = teacher.Teacher_ID;","time":1.1890006065}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `course` ORDER BY `Staring_Date` ASC","question":"Show all data ordered by Staring_Date in ascending order for the table course","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"```sql\nSELECT * FROM course\nORDER BY Staring_Date ASC;\n```","cost":0.0000366,"response_parsed":"SELECT * FROM course\nORDER BY Staring_Date ASC;","time":0.4116768837}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `course` ORDER BY `Staring_Date` DESC","question":"Show all data ordered by Staring_Date in descending order for the table course","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To retrieve all data from the `course` table ordered by `Staring_Date` in descending order, you can use the following SQL query:\n\n```sql\nSELECT * FROM course\nORDER BY Staring_Date DESC;\n```","cost":0.000054,"response_parsed":"SELECT * FROM course\nORDER BY Staring_Date DESC;","time":0.6104707718}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `course` ORDER BY `Course_ID` ASC","question":"Show all data ordered by Course_ID in ascending order for the table course","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"Here is the SQL code to fetch all data from the \"course\" table ordered by \"Course_ID\" in ascending order:\n\n```sql\nSELECT * FROM course\nORDER BY Course_ID ASC;\n```","cost":0.00005085,"response_parsed":"SELECT * FROM course\nORDER BY Course_ID ASC;","time":0.8165516853}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `course` ORDER BY `Course_ID` DESC","question":"Show all data ordered by Course_ID in descending order for the table course","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"Here is the SQL code to fetch all data from the `course` table ordered by `Course_ID` in descending order:\n\n```sql\nSELECT * FROM course\nORDER BY Course_ID DESC;\n```","cost":0.00005085,"response_parsed":"SELECT * FROM course\nORDER BY Course_ID DESC;","time":0.8135623932}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Course_ID` FROM `course` ORDER BY `Course_ID` ASC","question":"Project the Course_ID ordered in ascending order for the table course","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"```sql\nSELECT Course_ID \nFROM course \nORDER BY Course_ID ASC;\n```","cost":0.00003675,"response_parsed":"SELECT Course_ID \nFROM course \nORDER BY Course_ID ASC;","time":0.6360599995}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Course_ID` FROM `course` ORDER BY `Course_ID` DESC","question":"Project the Course_ID ordered in descending order for the table course","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To project the `Course_ID` from the `course` table and order it in descending order, you can use the following SQL code:\n\n```sql\nSELECT Course_ID\nFROM course\nORDER BY Course_ID DESC;\n```","cost":0.00005355,"response_parsed":"SELECT Course_ID\nFROM course\nORDER BY Course_ID DESC;","time":0.8291592598}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Staring_Date` FROM `course` ORDER BY `Staring_Date` ASC","question":"Project the Staring_Date ordered in ascending order for the table course","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To fetch the \"Staring_Date\" ordered in ascending order from the \"course\" table, you can use the following SQL code:\n\n```sql\nSELECT \"Staring_Date\"\nFROM \"course\"\nORDER BY \"Staring_Date\" ASC;\n```","cost":0.0000567,"response_parsed":"SELECT \"Staring_Date\"\nFROM \"course\"\nORDER BY \"Staring_Date\" ASC;","time":1.1057751179}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Staring_Date` FROM `course` ORDER BY `Staring_Date` DESC","question":"Project the Staring_Date ordered in descending order for the table course","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To retrieve the `Staring_Date` from the `course` table ordered in descending order, you can use the following SQL code:\n\n```sql\nSELECT Staring_Date \nFROM course \nORDER BY Staring_Date DESC;\n```","cost":0.0000543,"response_parsed":"SELECT Staring_Date \nFROM course \nORDER BY Staring_Date DESC;","time":1.0928895473}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course_arrange","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `course_arrange` ORDER BY `Grade` ASC","question":"Show all data ordered by Grade in ascending order for the table course_arrange","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To fetch all data from the `course_arrange` table ordered by `Grade` in ascending order, you can use the following SQL code:\n\n```sql\nSELECT * \nFROM course_arrange \nORDER BY Grade ASC;\n```","cost":0.0000546,"response_parsed":"SELECT * \nFROM course_arrange \nORDER BY Grade ASC;","time":1.1886577606}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course_arrange","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `course_arrange` ORDER BY `Grade` DESC","question":"Show all data ordered by Grade in descending order for the table course_arrange","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"Here is the SQL code to fetch all data from the `course_arrange` table, ordered by `Grade` in descending order:\n\n```sql\nSELECT * FROM course_arrange\nORDER BY Grade DESC;\n```","cost":0.0000528,"response_parsed":"SELECT * FROM course_arrange\nORDER BY Grade DESC;","time":0.7770264149}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course_arrange","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `course_arrange` ORDER BY `Teacher_ID` ASC","question":"Show all data ordered by Teacher_ID in ascending order for the table course_arrange","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"Here is the SQL code to fetch all data from the `course_arrange` table ordered by `Teacher_ID` in ascending order:\n\n```sql\nSELECT * FROM course_arrange\nORDER BY Teacher_ID ASC;\n```","cost":0.00005355,"response_parsed":"SELECT * FROM course_arrange\nORDER BY Teacher_ID ASC;","time":0.8589746952}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course_arrange","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `course_arrange` ORDER BY `Teacher_ID` DESC","question":"Show all data ordered by Teacher_ID in descending order for the table course_arrange","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"```sql\nSELECT * FROM course_arrange ORDER BY Teacher_ID DESC;\n```","cost":0.00003675,"response_parsed":"SELECT * FROM course_arrange ORDER BY Teacher_ID DESC;","time":0.4950470924}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course_arrange","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Course_ID` FROM `course_arrange` ORDER BY `Course_ID` ASC","question":"Project the Course_ID ordered in ascending order for the table course_arrange","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"```sql\nSELECT Course_ID \nFROM course_arrange \nORDER BY Course_ID ASC;\n```","cost":0.00003825,"response_parsed":"SELECT Course_ID \nFROM course_arrange \nORDER BY Course_ID ASC;","time":0.6467211246}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course_arrange","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Course_ID` FROM `course_arrange` ORDER BY `Course_ID` DESC","question":"Project the Course_ID ordered in descending order for the table course_arrange","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"```sql\nSELECT Course_ID\nFROM course_arrange\nORDER BY Course_ID DESC;\n```","cost":0.00003825,"response_parsed":"SELECT Course_ID\nFROM course_arrange\nORDER BY Course_ID DESC;","time":0.6374368668}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course_arrange","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Grade` FROM `course_arrange` ORDER BY `Grade` ASC","question":"Project the Grade ordered in ascending order for the table course_arrange","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To project the \"Grade\" ordered in ascending order from the \"course_arrange\" table, you can use the following SQL code:\n\n```sql\nSELECT Grade\nFROM course_arrange\nORDER BY Grade ASC;\n```","cost":0.0000531,"response_parsed":"SELECT Grade\nFROM course_arrange\nORDER BY Grade ASC;","time":0.8481295109}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course_arrange","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Grade` FROM `course_arrange` ORDER BY `Grade` DESC","question":"Project the Grade ordered in descending order for the table course_arrange","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To retrieve the grades from the `course_arrange` table ordered in descending order, you can use the following SQL query:\n\n```sql\nSELECT Grade \nFROM course_arrange \nORDER BY Grade DESC;\n```","cost":0.0000519,"response_parsed":"SELECT Grade \nFROM course_arrange \nORDER BY Grade DESC;","time":1.0562353134}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `teacher` ORDER BY `Teacher_ID` ASC","question":"Show all data ordered by Teacher_ID in ascending order for the table teacher","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"Here is the SQL code to fetch all data from the `teacher` table ordered by `Teacher_ID` in ascending order:\n\n```sql\nSELECT * FROM teacher\nORDER BY Teacher_ID ASC;\n```","cost":0.00005085,"response_parsed":"SELECT * FROM teacher\nORDER BY Teacher_ID ASC;","time":0.6293210983}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `teacher` ORDER BY `Teacher_ID` DESC","question":"Show all data ordered by Teacher_ID in descending order for the table teacher","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"```sql\nSELECT * FROM teacher\nORDER BY Teacher_ID DESC;\n```","cost":0.00003585,"response_parsed":"SELECT * FROM teacher\nORDER BY Teacher_ID DESC;","time":0.6310732365}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `teacher` ORDER BY `Name` ASC","question":"Show all data ordered by Name in ascending order for the table teacher","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"Here is the SQL code to fetch all data from the \"teacher\" table ordered by \"Name\" in ascending order:\n\n```sql\nSELECT * FROM teacher\nORDER BY Name ASC;\n```","cost":0.0000495,"response_parsed":"SELECT * FROM teacher\nORDER BY Name ASC;","time":0.9756338596}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `teacher` ORDER BY `Name` DESC","question":"Show all data ordered by Name in descending order for the table teacher","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To fetch all the data from the `teacher` table ordered by the `Name` in descending order, the SQL code would be as follows:\n\n```sql\nSELECT * FROM teacher\nORDER BY Name DESC;\n```","cost":0.0000525,"response_parsed":"SELECT * FROM teacher\nORDER BY Name DESC;","time":0.9603862762}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Name` FROM `teacher` ORDER BY `Name` ASC","question":"Project the Name ordered in ascending order for the table teacher","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"```sql\nSELECT Name \nFROM teacher \nORDER BY Name ASC;\n```","cost":0.0000354,"response_parsed":"SELECT Name \nFROM teacher \nORDER BY Name ASC;","time":0.4600212574}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Name` FROM `teacher` ORDER BY `Name` DESC","question":"Project the Name ordered in descending order for the table teacher","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To retrieve the names of teachers from the \"teacher\" table, ordered in descending order, the SQL query is as follows:\n\n```sql\nSELECT Name FROM teacher ORDER BY Name DESC;\n```","cost":0.0000492,"response_parsed":"SELECT Name FROM teacher ORDER BY Name DESC;","time":0.9544763565}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Hometown` FROM `teacher` ORDER BY `Hometown` ASC","question":"Project the Hometown ordered in ascending order for the table teacher","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"```sql\nSELECT Hometown\nFROM teacher\nORDER BY Hometown ASC;\n```","cost":0.00003675,"response_parsed":"SELECT Hometown\nFROM teacher\nORDER BY Hometown ASC;","time":0.7764189243}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Hometown` FROM `teacher` ORDER BY `Hometown` DESC","question":"Project the Hometown ordered in descending order for the table teacher","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To fetch the Hometown from the `teacher` table and order it in descending order, the SQL query would look like this:\n\n```sql\nSELECT Hometown \nFROM teacher \nORDER BY Hometown DESC;\n```","cost":0.00005235,"response_parsed":"SELECT Hometown \nFROM teacher \nORDER BY Hometown DESC;","time":0.8305187225}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Course_ID` FROM `course`","question":"Show all Course_ID in the table course","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To fetch all `Course_ID` values from the `course` table, you can use the following SQL code:\n\n```sql\nSELECT Course_ID FROM course;\n```","cost":0.00004575,"response_parsed":"SELECT Course_ID FROM course;","time":1.1467893124}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Staring_Date` FROM `course`","question":"Show all Staring_Date in the table course","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To fetch all `Staring_Date` values from the `course` table, you can use the following SQL code:\n\n```sql\nSELECT Staring_Date FROM course;\n```","cost":0.0000471,"response_parsed":"SELECT Staring_Date FROM course;","time":0.8885891438}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Course` FROM `course`","question":"Show all Course in the table course","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"```sql\nSELECT * FROM course;\n```","cost":0.0000312,"response_parsed":"SELECT * FROM course;","time":0.4713907242}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course","test_category":"PROJECT","sql_tag":"SELECT-ALL","query":"SELECT * FROM `course`","question":"Show all the rows in the table course","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"```sql\nSELECT * FROM course;\n```","cost":0.00003135,"response_parsed":"SELECT * FROM course;","time":0.3999505043}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Course_ID` FROM `course`","question":"Show all Course_ID in the table course","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To fetch all Course_IDs from the `course` table, you can use the following SQL query:\n\n```sql\nSELECT Course_ID FROM course;\n```","cost":0.00004455,"response_parsed":"SELECT Course_ID FROM course;","time":0.6807432175}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Course`, `Staring_Date` FROM `course`","question":"Show all Course, Staring_Date in the table course","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"Here is the SQL code to fetch all Course and Starting_Date from the `course` table:\n\n```sql\nSELECT \"Course\", \"Staring_Date\" FROM \"course\";\n```","cost":0.000048,"response_parsed":"SELECT \"Course\", \"Staring_Date\" FROM \"course\";","time":0.7857480049}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course_arrange","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Course_ID` FROM `course_arrange`","question":"Show all Course_ID in the table course_arrange","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"```sql\nSELECT Course_ID FROM course_arrange;\n```","cost":0.00003345,"response_parsed":"SELECT Course_ID FROM course_arrange;","time":0.5454552174}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course_arrange","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Teacher_ID` FROM `course_arrange`","question":"Show all Teacher_ID in the table course_arrange","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"```sql\nSELECT Teacher_ID FROM course_arrange;\n```","cost":0.00003345,"response_parsed":"SELECT Teacher_ID FROM course_arrange;","time":0.3480174541}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course_arrange","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Grade` FROM `course_arrange`","question":"Show all Grade in the table course_arrange","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"Here is the SQL code to fetch all grades from the `course_arrange` table:\n\n```sql\nSELECT Grade FROM course_arrange;\n```","cost":0.0000435,"response_parsed":"SELECT Grade FROM course_arrange;","time":0.7538986206}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course_arrange","test_category":"PROJECT","sql_tag":"SELECT-ALL","query":"SELECT * FROM `course_arrange`","question":"Show all the rows in the table course_arrange","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"```sql\nSELECT * FROM course_arrange;\n```","cost":0.00003285,"response_parsed":"SELECT * FROM course_arrange;","time":0.4143614769}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course_arrange","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Grade` FROM `course_arrange`","question":"Show all Grade in the table course_arrange","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"```sql\nSELECT Grade \nFROM course_arrange;\n```","cost":0.0000333,"response_parsed":"SELECT Grade \nFROM course_arrange;","time":0.5630180836}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course_arrange","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Grade`, `Course_ID` FROM `course_arrange`","question":"Show all Grade, Course_ID in the table course_arrange","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To fetch all the Grade and Course_ID from the `course_arrange` table, you can use the following SQL code:\n\n```sql\nSELECT Grade, Course_ID \nFROM course_arrange;\n```","cost":0.00005055,"response_parsed":"SELECT Grade, Course_ID \nFROM course_arrange;","time":1.2111697197}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Teacher_ID` FROM `teacher`","question":"Show all Teacher_ID in the table teacher","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"Here is the SQL code to fetch all `Teacher_ID` from the `teacher` table:\n\n```sql\nSELECT Teacher_ID FROM teacher;\n```","cost":0.00004335,"response_parsed":"SELECT Teacher_ID FROM teacher;","time":0.7399110794}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Name` FROM `teacher`","question":"Show all Name in the table teacher","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To fetch all names from the `teacher` table, you can use the following SQL code:\n\n```sql\nSELECT Name FROM teacher;\n```","cost":0.0000426,"response_parsed":"SELECT Name FROM teacher;","time":0.8428225517}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Age` FROM `teacher`","question":"Show all Age in the table teacher","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To fetch all ages from the `teacher` table, you can use the following SQL query:\n\n```sql\nSELECT Age FROM teacher;\n```","cost":0.0000426,"response_parsed":"SELECT Age FROM teacher;","time":0.5872161388}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Hometown` FROM `teacher`","question":"Show all Hometown in the table teacher","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To retrieve all distinct hometowns from the `teacher` table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT Hometown FROM teacher;\n```","cost":0.00004515,"response_parsed":"SELECT DISTINCT Hometown FROM teacher;","time":0.8089160919}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"PROJECT","sql_tag":"SELECT-ALL","query":"SELECT * FROM `teacher`","question":"Show all the rows in the table teacher","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"```sql\nSELECT * FROM teacher;\n```","cost":0.00003135,"response_parsed":"SELECT * FROM teacher;","time":0.4470710754}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Hometown` FROM `teacher`","question":"Show all Hometown in the table teacher","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"```sql\nSELECT Hometown FROM teacher;\n```","cost":0.00003195,"response_parsed":"SELECT Hometown FROM teacher;","time":0.4343528748}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Hometown`, `Age` FROM `teacher`","question":"Show all Hometown, Age in the table teacher","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To fetch the Hometown and Age from the `teacher` table, the SQL code would be as follows:\n\n```sql\nSELECT Hometown, Age FROM teacher;\n```","cost":0.00004665,"response_parsed":"SELECT Hometown, Age FROM teacher;","time":0.8808867931}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Teacher_ID`, `Hometown`, `Name` FROM `teacher`","question":"Show all Teacher_ID, Hometown, Name in the table teacher","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"```sql\nSELECT Teacher_ID, Hometown, Name FROM teacher;\n```","cost":0.0000357,"response_parsed":"SELECT Teacher_ID, Hometown, Name FROM teacher;","time":0.6370439529}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `course` WHERE `Staring_Date` == '10 May'","question":"Show the data of the table course where Staring_Date is equal to 10 May","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"```sql\nSELECT * FROM course WHERE Staring_Date = '10 May';\n```","cost":0.0000375,"response_parsed":"SELECT * FROM course WHERE Staring_Date = '10 May';","time":0.7455306053}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `course` WHERE `Staring_Date` != '5 May'","question":"Show the data of the table course where Staring_Date is different from 5 May","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"```sql\nSELECT *\nFROM course\nWHERE Staring_Date <> '5 May';\n```","cost":0.0000381,"response_parsed":"SELECT *\nFROM course\nWHERE Staring_Date <> '5 May';","time":0.5047671795}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `course` WHERE `Staring_Date` != '5 May'","question":"Show the data of the table course where Staring_Date not equal to 5 May","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"```sql\nSELECT * FROM course WHERE Staring_Date <> '5 May';\n```","cost":0.0000375,"response_parsed":"SELECT * FROM course WHERE Staring_Date <> '5 May';","time":0.4307873249}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `course` WHERE `Course` == 'Science'","question":"Show the data of the table course where Course is equal to Science","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To fetch the data from the `course` table where the `Course` is equal to 'Science', you can use the following SQL code:\n\n```sql\nSELECT * FROM course WHERE Course = 'Science';\n```","cost":0.0000525,"response_parsed":"SELECT * FROM course WHERE Course = 'Science';","time":1.4462034702}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `course` WHERE `Course` != 'Science'","question":"Show the data of the table course where Course is different from Science","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"Here is the SQL code to fetch the data from the `course` table where the `Course` is different from 'Science':\n\n```sql\nSELECT * FROM course WHERE Course <> 'Science';\n```","cost":0.0000507,"response_parsed":"SELECT * FROM course WHERE Course <> 'Science';","time":1.6439387798}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `course` WHERE `Course` != 'Science'","question":"Show the data of the table course where Course not equal to Science","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To fetch the data from the `course` table where the course is not equal to \"Science\", you can use the following SQL code:\n\n```sql\nSELECT *\nFROM course\nWHERE Course <> 'Science';\n```","cost":0.0000525,"response_parsed":"SELECT *\nFROM course\nWHERE Course <> 'Science';","time":1.0470747948}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course_arrange","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `course_arrange` WHERE `Grade` > 3","question":"Show the data of the table course_arrange where Grade is greater than 3","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"```sql\nSELECT * \nFROM course_arrange \nWHERE Grade > 3;\n```","cost":0.00003795,"response_parsed":"SELECT * \nFROM course_arrange \nWHERE Grade > 3;","time":0.7902498245}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `teacher` WHERE `Name` == 'Gustaaf Deloor'","question":"Show the data of the table teacher where Name is equal to Gustaaf Deloor","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"```sql\nSELECT * FROM teacher WHERE Name = 'Gustaaf Deloor';\n```","cost":0.00003885,"response_parsed":"SELECT * FROM teacher WHERE Name = 'Gustaaf Deloor';","time":0.5998938084}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `teacher` WHERE `Name` != 'John Deloor'","question":"Show the data of the table teacher where Name is different from John Deloor","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"Here is the SQL code to fetch the data from the `teacher` table where the `Name` is different from 'John Deloor':\n\n```sql\nSELECT *\nFROM teacher\nWHERE Name <> 'John Deloor';\n```","cost":0.00005535,"response_parsed":"SELECT *\nFROM teacher\nWHERE Name <> 'John Deloor';","time":0.8569364548}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `teacher` WHERE `Name` != 'John Deloor'","question":"Show the data of the table teacher where Name not equal to John Deloor","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"Here is the SQL code to fetch the data from the `teacher` table where the `Name` is not equal to \"John Deloor\":\n\n```sql\nSELECT *\nFROM teacher\nWHERE Name <> 'John Deloor';\n```","cost":0.00005595,"response_parsed":"SELECT *\nFROM teacher\nWHERE Name <> 'John Deloor';","time":0.8190164566}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `teacher` WHERE `Age` == '26'","question":"Show the data of the table teacher where Age is equal to 26","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"```sql\nSELECT * FROM teacher WHERE Age = '26';\n```","cost":0.00003525,"response_parsed":"SELECT * FROM teacher WHERE Age = '26';","time":0.7749242783}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `teacher` WHERE `Age` != '32'","question":"Show the data of the table teacher where Age is different from 32","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"Here is the SQL code to fetch the data from the `teacher` table where the `Age` is different from 32:\n\n```sql\nSELECT *\nFROM teacher\nWHERE Age <> '32';\n``` \n\nIn this query, the `<>` operator is used to specify that we want records where the `Age` is not equal to '32'. Note that `Age` is stored as text in the schema provided, so the value '32' is enclosed in single quotes.","cost":0.00008505,"response_parsed":"SELECT *\nFROM teacher\nWHERE Age <> '32';","time":1.524907589}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `teacher` WHERE `Age` != '29'","question":"Show the data of the table teacher where Age not equal to 29","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"Here is the SQL code to fetch the data from the `teacher` table where the Age is not equal to 29:\n\n```sql\nSELECT * FROM teacher WHERE Age != '29';\n``` \n\nNote that the age is stored as text in the database schema, so it's wrapped in single quotes.","cost":0.00006285,"response_parsed":"SELECT * FROM teacher WHERE Age != '29';","time":0.9680411816}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `teacher` WHERE `Hometown` == 'Blackrod Urban District'","question":"Show the data of the table teacher where Hometown is equal to Blackrod Urban District","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"```sql\nSELECT * \nFROM teacher \nWHERE Hometown = 'Blackrod Urban District';\n```","cost":0.0000393,"response_parsed":"SELECT * \nFROM teacher \nWHERE Hometown = 'Blackrod Urban District';","time":0.4720623493}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `teacher` WHERE `Hometown` != 'Blackrod Urban District'","question":"Show the data of the table teacher where Hometown is different from Blackrod Urban District","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To retrieve the data from the `teacher` table where the `Hometown` is different from 'Blackrod Urban District', you can use the following SQL query:\n\n```sql\nSELECT *\nFROM teacher\nWHERE Hometown <> 'Blackrod Urban District';\n```","cost":0.0000585,"response_parsed":"SELECT *\nFROM teacher\nWHERE Hometown <> 'Blackrod Urban District';","time":1.1214253902}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `teacher` WHERE `Hometown` != 'Horwich Urban District'","question":"Show the data of the table teacher where Hometown not equal to Horwich Urban District","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To fetch the data from the `teacher` table where the `Hometown` is not equal to \"Horwich Urban District\", you can use the following SQL query:\n\n```sql\nSELECT * \nFROM teacher \nWHERE Hometown <> 'Horwich Urban District';\n```","cost":0.0000597,"response_parsed":"SELECT * \nFROM teacher \nWHERE Hometown <> 'Horwich Urban District';","time":0.7855193615}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Staring_Date`) FROM `course`","question":"How many different Staring_Date are in table course?","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To count the number of different `Staring_Date` values in the `course` table, you can use the following SQL code:\n\n```sql\nSELECT COUNT(DISTINCT Staring_Date) AS Different_Starting_Dates\nFROM course;\n```","cost":0.00005625,"response_parsed":"SELECT COUNT(DISTINCT Staring_Date) AS Different_Starting_Dates\nFROM course;","time":0.8419566154}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Course`) FROM `course`","question":"How many different Course are in table course?","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To fetch the count of different courses in the `course` table, the following SQL code can be executed:\n\n```sql\nSELECT COUNT(DISTINCT \"Course\") AS \"Different_Courses_Count\"\nFROM \"course\";\n```","cost":0.00005295,"response_parsed":"SELECT COUNT(DISTINCT \"Course\") AS \"Different_Courses_Count\"\nFROM \"course\";","time":0.72930336}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course_arrange","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MAX","query":"SELECT MAX(`Grade`) FROM `course_arrange`","question":"Find the maximum Grade for the table course_arrange","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To find the maximum Grade from the `course_arrange` table, you can use the following SQL code:\n\n```sql\nSELECT MAX(Grade) AS Maximum_Grade\nFROM course_arrange;\n```","cost":0.00005085,"response_parsed":"SELECT MAX(Grade) AS Maximum_Grade\nFROM course_arrange;","time":0.7880654335}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course_arrange","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MIN","query":"SELECT MIN(`Grade`) FROM `course_arrange`","question":"Find the minimum Grade for the table course_arrange","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To find the minimum Grade from the `course_arrange` table in the given database schema, you would use the following SQL query:\n\n```sql\nSELECT MIN(Grade) AS Minimum_Grade\nFROM course_arrange;\n```","cost":0.00005385,"response_parsed":"SELECT MIN(Grade) AS Minimum_Grade\nFROM course_arrange;","time":0.9214832783}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"course_arrange","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-AVG","query":"SELECT AVG(`Grade`) FROM `course_arrange`","question":"Find the average Grade for the table course_arrange","db_schema_normalized":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To find the average Grade from the `course_arrange` table, you can use the following SQL query:\n\n```sql\nSELECT AVG(Grade) AS Average_Grade\nFROM course_arrange;\n```","cost":0.00005085,"response_parsed":"SELECT AVG(Grade) AS Average_Grade\nFROM course_arrange;","time":0.9971337318}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Name`) FROM `teacher`","question":"How many different Name are in table teacher?","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To get the count of distinct names from the `teacher` table, you can use the following SQL query:\n\n```sql\nSELECT COUNT(DISTINCT Name) AS Different_Name_Count\nFROM teacher;\n```","cost":0.00005055,"response_parsed":"SELECT COUNT(DISTINCT Name) AS Different_Name_Count\nFROM teacher;","time":1.9269785881}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Age`) FROM `teacher`","question":"How many different Age are in table teacher?","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To count the number of different ages in the `teacher` table, you can use the `COUNT` function along with `DISTINCT`. Here is the SQL code to execute this query:\n\n```sql\nSELECT COUNT(DISTINCT Age) AS Different_Ages\nFROM teacher;\n```","cost":0.00006015,"response_parsed":"SELECT COUNT(DISTINCT Age) AS Different_Ages\nFROM teacher;","time":0.9251792431}} {"db_path":"QATCH-journal\/spider_data\/test_database\/course_teach\/course_teach.sqlite","db_id":"course_teach","tbl_name":"teacher","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Hometown`) FROM `teacher`","question":"How many different Hometown are in table teacher?","db_schema_normalized":"`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))","db_schema":"`\"course\"` (\"Course_ID\" int, \"Staring_Date\" text, \"Course\" text, PRIMARY KEY (\"Course_ID\"))\n`\"teacher\"` (\"Teacher_ID\" int, \"Name\" text, \"Age\" text, \"Hometown\" text, PRIMARY KEY (\"Teacher_ID\"))\n`\"course_arrange\"` (\"Course_ID\" int, \"Teacher_ID\" int, \"Grade\" int, PRIMARY KEY (\"Course_ID\",\"Teacher_ID\",\"Grade\"), FOREIGN KEY (\"Course_ID\") REFERENCES `course`(\"Course_ID\"), FOREIGN KEY (\"Teacher_ID\") REFERENCES `teacher`(\"Teacher_ID\"))","pred_dict":{"response":"To find the number of different hometowns in the `teacher` table, you can use the `COUNT` function along with `DISTINCT` to ensure that only unique hometowns are counted. The SQL query for this would look like the following:\n\n```sql\nSELECT COUNT(DISTINCT Hometown) AS Different_Hometowns\nFROM teacher;\n```","cost":0.0000687,"response_parsed":"SELECT COUNT(DISTINCT Hometown) AS Different_Hometowns\nFROM teacher;","time":1.4157190323}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Name` FROM `museum`","question":"Show the different Name in the table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch the different names from the \"museum\" table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT Name FROM museum;\n```","cost":0.0000459,"response_parsed":"SELECT DISTINCT Name FROM museum;","time":0.6365525723}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Open_Year` FROM `museum`","question":"Show the different Open_Year in the table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To retrieve the distinct `Open_Year` values from the `museum` table, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT Open_Year\nFROM museum;\n```","cost":0.000051,"response_parsed":"SELECT DISTINCT Open_Year\nFROM museum;","time":1.1004223824}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `visitor_ID` FROM `visit`","question":"Show the different visitor_ID in the table visit","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch the different `visitor_ID` from the `visit` table, you can use the following SQL code:\n\n```sql\nSELECT DISTINCT visitor_ID FROM visit;\n```","cost":0.00004845,"response_parsed":"SELECT DISTINCT visitor_ID FROM visit;","time":1.1625874043}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"DISTINCT","sql_tag":"DISTINCT-SINGLE","query":"SELECT DISTINCT `Name` FROM `visitor`","question":"Show the different Name in the table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch the distinct names from the \"visitor\" table, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT Name FROM visitor;\n```","cost":0.0000459,"response_parsed":"SELECT DISTINCT Name FROM visitor;","time":0.812628746}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Name`, COUNT(*) FROM `museum` GROUP BY `Name`","question":"For each Name, count the number of rows in table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To count the number of rows in the `museum` table for each unique `Name`, you can use the following SQL query:\n\n```sql\nSELECT Name, COUNT(*) AS Count\nFROM museum\nGROUP BY Name;\n``` \n\nThis query selects each unique `Name` from the `museum` table and counts how many times each name appears, grouping the results by the `Name`.","cost":0.0000747,"response_parsed":"SELECT Name, COUNT(*) AS Count\nFROM museum\nGROUP BY Name;","time":2.626901865}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Open_Year`, COUNT(*) FROM `museum` GROUP BY `Open_Year`","question":"For each Open_Year, count the number of rows in table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"Here is the SQL code to count the number of rows in the `museum` table for each `Open_Year`:\n\n```sql\nSELECT Open_Year, COUNT(*) AS Museum_Count\nFROM museum\nGROUP BY Open_Year;\n```","cost":0.0000582,"response_parsed":"SELECT Open_Year, COUNT(*) AS Museum_Count\nFROM museum\nGROUP BY Open_Year;","time":1.0195224285}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `Name`, MIN(`Num_of_Staff`) FROM `museum` GROUP BY `Name`","question":"For each Name, find the min of Num_of_Staff in table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To find the minimum number of staff for each museum name from the \"museum\" table, you can use the following SQL query:\n\n```sql\nSELECT Name, MIN(Num_of_Staff) AS Min_Num_of_Staff\nFROM museum\nGROUP BY Name;\n```","cost":0.00006135,"response_parsed":"SELECT Name, MIN(Num_of_Staff) AS Min_Num_of_Staff\nFROM museum\nGROUP BY Name;","time":1.2590839863}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `Name`, MAX(`Num_of_Staff`) FROM `museum` GROUP BY `Name`","question":"For each Name, find the max of Num_of_Staff in table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To find the maximum number of staff for each museum by name in the `museum` table, you can use the following SQL code:\n\n```sql\nSELECT Name, MAX(Num_of_Staff) AS Max_Num_of_Staff\nFROM museum\nGROUP BY Name;\n``` \n\nThis code selects the `Name` of each museum and the maximum value of `Num_of_Staff`, grouping the results by `Name`.","cost":0.00007935,"response_parsed":"SELECT Name, MAX(Num_of_Staff) AS Max_Num_of_Staff\nFROM museum\nGROUP BY Name;","time":1.8747553825}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `Name`, AVG(`Num_of_Staff`) FROM `museum` GROUP BY `Name`","question":"For each Name, find the avg of Num_of_Staff in table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To find the average number of staff for each museum name in the `museum` table, you can use the following SQL query:\n\n```sql\nSELECT Name, AVG(Num_of_Staff) AS Average_Num_of_Staff\nFROM museum\nGROUP BY Name;\n``` \n\nThis query selects the `Name` of each museum and calculates the average (`AVG`) of `Num_of_Staff`, grouping the results by `Name`.","cost":0.00008055,"response_parsed":"SELECT Name, AVG(Num_of_Staff) AS Average_Num_of_Staff\nFROM museum\nGROUP BY Name;","time":1.7524206638}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `Name`, SUM(`Num_of_Staff`) FROM `museum` GROUP BY `Name`","question":"For each Name, find the sum of Num_of_Staff in table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To find the sum of `Num_of_Staff` for each `Name` in the `museum` table, you can use the following SQL code:\n\n```sql\nSELECT Name, SUM(Num_of_Staff) AS Total_Num_of_Staff\nFROM museum\nGROUP BY Name;\n``` \n\nThis query selects the `Name` of each museum and calculates the total number of staff by summing the `Num_of_Staff` values, grouping the results by each unique name.","cost":0.00008715,"response_parsed":"SELECT Name, SUM(Num_of_Staff) AS Total_Num_of_Staff\nFROM museum\nGROUP BY Name;","time":1.618216753}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `Open_Year`, MIN(`Num_of_Staff`) FROM `museum` GROUP BY `Open_Year`","question":"For each Open_Year, find the min of Num_of_Staff in table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To find the minimum number of staff for each open year in the `museum` table, you can use the following SQL query:\n\n```sql\nSELECT Open_Year, MIN(Num_of_Staff) AS Min_Num_of_Staff\nFROM museum\nGROUP BY Open_Year;\n``` \n\nThis query selects the `Open_Year` and the minimum number of staff (`Num_of_Staff`) for each year, grouping the results by `Open_Year`.","cost":0.00008505,"response_parsed":"SELECT Open_Year, MIN(Num_of_Staff) AS Min_Num_of_Staff\nFROM museum\nGROUP BY Open_Year;","time":2.1384177208}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `Open_Year`, MAX(`Num_of_Staff`) FROM `museum` GROUP BY `Open_Year`","question":"For each Open_Year, find the max of Num_of_Staff in table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To find the maximum number of staff for each open year from the `museum` table, you can use the following SQL query:\n\n```sql\nSELECT Open_Year, MAX(Num_of_Staff) AS Max_Num_of_Staff\nFROM museum\nGROUP BY Open_Year;\n```","cost":0.00006405,"response_parsed":"SELECT Open_Year, MAX(Num_of_Staff) AS Max_Num_of_Staff\nFROM museum\nGROUP BY Open_Year;","time":1.0802578926}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `Open_Year`, AVG(`Num_of_Staff`) FROM `museum` GROUP BY `Open_Year`","question":"For each Open_Year, find the avg of Num_of_Staff in table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To find the average number of staff for each Open_Year in the `museum` table, you can use the following SQL code:\n\n```sql\nSELECT Open_Year, AVG(Num_of_Staff) AS Average_Num_of_Staff\nFROM museum\nGROUP BY Open_Year;\n```","cost":0.00006465,"response_parsed":"SELECT Open_Year, AVG(Num_of_Staff) AS Average_Num_of_Staff\nFROM museum\nGROUP BY Open_Year;","time":1.5169916153}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `Open_Year`, SUM(`Num_of_Staff`) FROM `museum` GROUP BY `Open_Year`","question":"For each Open_Year, find the sum of Num_of_Staff in table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To find the sum of `Num_of_Staff` for each `Open_Year` in the `museum` table, you can use the following SQL query:\n\n```sql\nSELECT Open_Year, SUM(Num_of_Staff) AS Total_Staff\nFROM museum\nGROUP BY Open_Year;\n``` \n\nThis query will group the results by the `Open_Year` and calculate the sum of `Num_of_Staff` for each group, returning the `Open_Year` along with the corresponding total.","cost":0.00009225,"response_parsed":"SELECT Open_Year, SUM(Num_of_Staff) AS Total_Staff\nFROM museum\nGROUP BY Open_Year;","time":2.763989687}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `visitor_ID`, COUNT(*) FROM `visit` GROUP BY `visitor_ID`","question":"For each visitor_ID, count the number of rows in table visit","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To count the number of rows in the `visit` table for each `visitor_ID`, you can use the following SQL query:\n\n```sql\nSELECT visitor_ID, COUNT(*) AS visit_count\nFROM visit\nGROUP BY visitor_ID;\n``` \n\nThis query groups the results by `visitor_ID` and counts the number of rows associated with each visitor in the `visit` table.","cost":0.00007425,"response_parsed":"SELECT visitor_ID, COUNT(*) AS visit_count\nFROM visit\nGROUP BY visitor_ID;","time":1.6549727917}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `visitor_ID`, MIN(`Num_of_Ticket`) FROM `visit` GROUP BY `visitor_ID`","question":"For each visitor_ID, find the min of Num_of_Ticket in table visit","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch the minimum number of tickets for each visitor_ID from the `visit` table, you can use the following SQL query:\n\n```sql\nSELECT visitor_ID, MIN(Num_of_Ticket) AS Min_Num_of_Tickets\nFROM visit\nGROUP BY visitor_ID;\n```","cost":0.0000627,"response_parsed":"SELECT visitor_ID, MIN(Num_of_Ticket) AS Min_Num_of_Tickets\nFROM visit\nGROUP BY visitor_ID;","time":1.1496975422}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `visitor_ID`, MAX(`Num_of_Ticket`) FROM `visit` GROUP BY `visitor_ID`","question":"For each visitor_ID, find the max of Num_of_Ticket in table visit","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To find the maximum number of tickets for each visitor in the `visit` table, you can use the following SQL query:\n\n```sql\nSELECT visitor_ID, MAX(Num_of_Ticket) AS Max_Num_of_Ticket\nFROM visit\nGROUP BY visitor_ID;\n``` \n\nThis SQL code retrieves each unique `visitor_ID` along with the maximum number of tickets they purchased, grouping the results by the `visitor_ID`.","cost":0.0000801,"response_parsed":"SELECT visitor_ID, MAX(Num_of_Ticket) AS Max_Num_of_Ticket\nFROM visit\nGROUP BY visitor_ID;","time":1.9136633873}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `visitor_ID`, AVG(`Num_of_Ticket`) FROM `visit` GROUP BY `visitor_ID`","question":"For each visitor_ID, find the avg of Num_of_Ticket in table visit","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To find the average number of tickets per visitor (`visitor_ID`) from the `visit` table, you can use the following SQL code:\n\n```sql\nSELECT visitor_ID, AVG(Num_of_Ticket) AS avg_Num_of_Ticket\nFROM visit\nGROUP BY visitor_ID;\n``` \n\nThis SQL query selects the `visitor_ID` and calculates the average of `Num_of_Ticket` for each visitor. The results are grouped by `visitor_ID`.","cost":0.0000843,"response_parsed":"SELECT visitor_ID, AVG(Num_of_Ticket) AS avg_Num_of_Ticket\nFROM visit\nGROUP BY visitor_ID;","time":1.8772456646}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `visitor_ID`, SUM(`Num_of_Ticket`) FROM `visit` GROUP BY `visitor_ID`","question":"For each visitor_ID, find the sum of Num_of_Ticket in table visit","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To answer the question of finding the sum of `Num_of_Ticket` for each `visitor_ID` from the `visit` table, you can use the following SQL code:\n\n```sql\nSELECT visitor_ID, SUM(Num_of_Ticket) AS total_tickets\nFROM visit\nGROUP BY visitor_ID;\n```","cost":0.0000675,"response_parsed":"SELECT visitor_ID, SUM(Num_of_Ticket) AS total_tickets\nFROM visit\nGROUP BY visitor_ID;","time":1.1913201809}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `visitor_ID`, MIN(`Total_spent`) FROM `visit` GROUP BY `visitor_ID`","question":"For each visitor_ID, find the min of Total_spent in table visit","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To retrieve the minimum `Total_spent` for each `visitor_ID` from the `visit` table, you can use the following SQL query:\n\n```sql\nSELECT visitor_ID, MIN(Total_spent) AS Min_Total_Spent\nFROM visit\nGROUP BY visitor_ID;\n```","cost":0.00006375,"response_parsed":"SELECT visitor_ID, MIN(Total_spent) AS Min_Total_Spent\nFROM visit\nGROUP BY visitor_ID;","time":1.1285414696}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `visitor_ID`, MAX(`Total_spent`) FROM `visit` GROUP BY `visitor_ID`","question":"For each visitor_ID, find the max of Total_spent in table visit","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To find the maximum of `Total_spent` for each `visitor_ID` in the `visit` table, you can use the following SQL query:\n\n```sql\nSELECT visitor_ID, MAX(Total_spent) AS max_total_spent\nFROM visit\nGROUP BY visitor_ID;\n```","cost":0.00006435,"response_parsed":"SELECT visitor_ID, MAX(Total_spent) AS max_total_spent\nFROM visit\nGROUP BY visitor_ID;","time":1.0538387299}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `visitor_ID`, AVG(`Total_spent`) FROM `visit` GROUP BY `visitor_ID`","question":"For each visitor_ID, find the avg of Total_spent in table visit","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch the average of `Total_spent` for each `visitor_ID` from the `visit` table, you can use the following SQL code:\n\n```sql\nSELECT visitor_ID, AVG(Total_spent) AS avg_total_spent\nFROM visit\nGROUP BY visitor_ID;\n``` \n\nThis query groups the records by `visitor_ID` and calculates the average of `Total_spent` for each visitor.","cost":0.00007935,"response_parsed":"SELECT visitor_ID, AVG(Total_spent) AS avg_total_spent\nFROM visit\nGROUP BY visitor_ID;","time":1.145409584}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `visitor_ID`, SUM(`Total_spent`) FROM `visit` GROUP BY `visitor_ID`","question":"For each visitor_ID, find the sum of Total_spent in table visit","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch the sum of `Total_spent` for each `visitor_ID` from the `visit` table, you can use the following SQL code:\n\n```sql\nSELECT visitor_ID, SUM(Total_spent) AS total_spent\nFROM visit\nGROUP BY visitor_ID;\n``` \n\nThis SQL statement selects the `visitor_ID` and the sum of `Total_spent`, grouping the results by `visitor_ID` to calculate the total spent by each visitor.","cost":0.00008535,"response_parsed":"SELECT visitor_ID, SUM(Total_spent) AS total_spent\nFROM visit\nGROUP BY visitor_ID;","time":1.313719511}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"GROUPBY","sql_tag":"GROUPBY-COUNT","query":"SELECT `Name`, COUNT(*) FROM `visitor` GROUP BY `Name`","question":"For each Name, count the number of rows in table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To count the number of rows for each Name in the `visitor` table, you can use the following SQL code:\n\n```sql\nSELECT Name, COUNT(*) AS row_count\nFROM visitor\nGROUP BY Name;\n```","cost":0.0000549,"response_parsed":"SELECT Name, COUNT(*) AS row_count\nFROM visitor\nGROUP BY Name;","time":0.7711250782}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `Name`, MIN(`Level_of_membership`) FROM `visitor` GROUP BY `Name`","question":"For each Name, find the min of Level_of_membership in table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"Here's the SQL code to fetch the minimum level of membership for each name from the visitor table:\n\n```sql\nSELECT Name, MIN(Level_of_membership) AS Min_Level_of_Membership\nFROM visitor\nGROUP BY Name;\n```","cost":0.00005655,"response_parsed":"SELECT Name, MIN(Level_of_membership) AS Min_Level_of_Membership\nFROM visitor\nGROUP BY Name;","time":0.981115818}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `Name`, MAX(`Level_of_membership`) FROM `visitor` GROUP BY `Name`","question":"For each Name, find the max of Level_of_membership in table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To find the maximum level of membership for each name in the `visitor` table, you can use the following SQL code:\n\n```sql\nSELECT Name, MAX(Level_of_membership) AS Max_Level_of_membership\nFROM visitor\nGROUP BY Name;\n``` \n\nThis SQL query selects the `Name` column and the maximum value of `Level_of_membership` for each name, grouping the results by the `Name` column.","cost":0.00008115,"response_parsed":"SELECT Name, MAX(Level_of_membership) AS Max_Level_of_membership\nFROM visitor\nGROUP BY Name;","time":1.709663868}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `Name`, AVG(`Level_of_membership`) FROM `visitor` GROUP BY `Name`","question":"For each Name, find the avg of Level_of_membership in table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To find the average of `Level_of_membership` for each `Name` in the `visitor` table, you can use the following SQL code:\n\n```sql\nSELECT Name, AVG(Level_of_membership) AS Average_Level_of_Membership\nFROM visitor\nGROUP BY Name;\n```","cost":0.00006375,"response_parsed":"SELECT Name, AVG(Level_of_membership) AS Average_Level_of_Membership\nFROM visitor\nGROUP BY Name;","time":0.885447979}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `Name`, SUM(`Level_of_membership`) FROM `visitor` GROUP BY `Name`","question":"For each Name, find the sum of Level_of_membership in table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch the sum of `Level_of_membership` for each `Name` in the `visitor` table, you can use the following SQL code:\n\n```sql\nSELECT Name, SUM(Level_of_membership) AS Total_Level_of_membership\nFROM visitor\nGROUP BY Name;\n```","cost":0.00006375,"response_parsed":"SELECT Name, SUM(Level_of_membership) AS Total_Level_of_membership\nFROM visitor\nGROUP BY Name;","time":1.0996415615}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MIN","query":"SELECT `Name`, MIN(`Age`) FROM `visitor` GROUP BY `Name`","question":"For each Name, find the min of Age in table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To find the minimum age for each visitor's name in the `visitor` table, you can use the following SQL query:\n\n```sql\nSELECT Name, MIN(Age) AS Min_Age\nFROM visitor\nGROUP BY Name;\n``` \n\nThis query selects each unique name from the `visitor` table and calculates the minimum age for each name by grouping the results accordingly.","cost":0.0000735,"response_parsed":"SELECT Name, MIN(Age) AS Min_Age\nFROM visitor\nGROUP BY Name;","time":1.7108922005}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-MAX","query":"SELECT `Name`, MAX(`Age`) FROM `visitor` GROUP BY `Name`","question":"For each Name, find the max of Age in table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To find the maximum age for each name in the `visitor` table, you can use the following SQL query:\n\n```sql\nSELECT Name, MAX(Age) AS Max_Age\nFROM visitor\nGROUP BY Name;\n```","cost":0.0000561,"response_parsed":"SELECT Name, MAX(Age) AS Max_Age\nFROM visitor\nGROUP BY Name;","time":0.9797840118}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-AVG","query":"SELECT `Name`, AVG(`Age`) FROM `visitor` GROUP BY `Name`","question":"For each Name, find the avg of Age in table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To find the average age of visitors for each name in the `visitor` table, you can use the following SQL query:\n\n```sql\nSELECT Name, AVG(Age) AS avg_age\nFROM visitor\nGROUP BY Name;\n```","cost":0.0000567,"response_parsed":"SELECT Name, AVG(Age) AS avg_age\nFROM visitor\nGROUP BY Name;","time":4.7145159245}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"GROUPBY","sql_tag":"GROUPBY-AGG-SUM","query":"SELECT `Name`, SUM(`Age`) FROM `visitor` GROUP BY `Name`","question":"For each Name, find the sum of Age in table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"Here's the SQL code to find the sum of Age for each Name in the `visitor` table:\n\n```sql\nSELECT Name, SUM(Age) AS Total_Age\nFROM visitor\nGROUP BY Name;\n```","cost":0.0000543,"response_parsed":"SELECT Name, SUM(Age) AS Total_Age\nFROM visitor\nGROUP BY Name;","time":1.2489516735}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Name` FROM `museum` GROUP BY `Name` HAVING count(*) >= 1","question":"Find all the Name that have at least 1 records in table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To find all the names of museums that have at least one record in the `museum` table, you can use the following SQL query. This query selects the names of museums from the `museum` table where there is at least one corresponding entry in the `visit` table.\n\n```sql\nSELECT DISTINCT m.Name\nFROM museum m\nJOIN visit v ON m.Museum_ID = v.Museum_ID;\n``` \n\nThis query uses a `JOIN` operation between the `museum` and `visit` tables to ensure that only those museums with related records in the `visit` table are included in the results. The `DISTINCT` clause is used to ensure that each museum name is only returned once, even if there are multiple visits recorded for that museum.","cost":0.0001206,"response_parsed":"SELECT DISTINCT m.Name\nFROM museum m\nJOIN visit v ON m.Museum_ID = v.Museum_ID;","time":2.1505637169}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Name` FROM `museum` GROUP BY `Name` HAVING count(*) <= 1","question":"Find all the Name that have at most 1 records in table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To find all the names that have at most 1 record in the `museum` table, you can use the following SQL query:\n\n```sql\nSELECT Name\nFROM museum\nGROUP BY Name\nHAVING COUNT(*) <= 1;\n``` \n\nThis SQL code groups the records in the `museum` table by `Name` and only returns those names that have a count of records less than or equal to 1.","cost":0.0000798,"response_parsed":"SELECT Name\nFROM museum\nGROUP BY Name\nHAVING COUNT(*) <= 1;","time":1.6082036495}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Open_Year` FROM `museum` GROUP BY `Open_Year` HAVING count(*) >= 1","question":"Find all the Open_Year that have at least 1 records in table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To find all the `Open_Year` values that have at least one record in the `museum` table, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT \"Open_Year\"\nFROM \"museum\"\nWHERE \"Open_Year\" IS NOT NULL;\n```\n\nThis SQL code retrieves distinct `Open_Year` values from the `museum` table, ensuring that only years with at least one corresponding record are included in the results.","cost":0.0000837,"response_parsed":"SELECT DISTINCT \"Open_Year\"\nFROM \"museum\"\nWHERE \"Open_Year\" IS NOT NULL;","time":1.8608922958}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Open_Year` FROM `museum` GROUP BY `Open_Year` HAVING count(*) <= 1","question":"Find all the Open_Year that have at most 1 records in table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To find all the `Open_Year` values that have at most 1 record in the `museum` table, you can use the following SQL query:\n\n```sql\nSELECT Open_Year\nFROM museum\nGROUP BY Open_Year\nHAVING COUNT(*) <= 1;\n``` \n\nThis SQL code groups the entries in the `museum` table by `Open_Year`, counts the number of records for each year, and returns those that have one or zero records.","cost":0.0000867,"response_parsed":"SELECT Open_Year\nFROM museum\nGROUP BY Open_Year\nHAVING COUNT(*) <= 1;","time":1.427090168}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `Name` FROM `museum` GROUP BY `Name` HAVING AVG(`Num_of_Staff`) >= 22.62","question":"List the Name which average of Num_of_Staff is at least 22.62 in table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"Here is the SQL code to fetch the names of museums where the average number of staff is at least 22.62:\n\n```sql\nSELECT Name\nFROM museum\nGROUP BY Name\nHAVING AVG(Num_of_Staff) >= 22.62;\n```","cost":0.0000621,"response_parsed":"SELECT Name\nFROM museum\nGROUP BY Name\nHAVING AVG(Num_of_Staff) >= 22.62;","time":1.30235672}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `Name` FROM `museum` GROUP BY `Name` HAVING AVG(`Num_of_Staff`) <= 22.62","question":"List the Name which average of Num_of_Staff is at most 22.62 in table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"Here is the SQL code to fetch the names of museums where the average number of staff is at most 22.62:\n\n```sql\nSELECT Name\nFROM museum\nGROUP BY Name\nHAVING AVG(Num_of_Staff) <= 22.62;\n```","cost":0.0000621,"response_parsed":"SELECT Name\nFROM museum\nGROUP BY Name\nHAVING AVG(Num_of_Staff) <= 22.62;","time":0.9374513626}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `Name` FROM `museum` GROUP BY `Name` HAVING SUM(`Num_of_Staff`) >= 22.62","question":"List the Name which summation of Num_of_Staff is at least 22.62 in table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch the names of museums where the summation of `Num_of_Staff` is at least 22.62, you can use the following SQL query:\n\n```sql\nSELECT Name\nFROM museum\nGROUP BY Name\nHAVING SUM(Num_of_Staff) >= 22.62;\n```","cost":0.00006705,"response_parsed":"SELECT Name\nFROM museum\nGROUP BY Name\nHAVING SUM(Num_of_Staff) >= 22.62;","time":1.0773615837}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `Name` FROM `museum` GROUP BY `Name` HAVING SUM(`Num_of_Staff`) <= 22.62","question":"List the Name which summation of Num_of_Staff is at most 22.62 in table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch the names of museums where the summation of `Num_of_Staff` is at most 22.62, you can use the following SQL code:\n\n```sql\nSELECT Name\nFROM museum\nWHERE Num_of_Staff <= 22.62;\n```\n\nHowever, note that because `Num_of_Staff` is an integer in the schema, the direct comparison with a decimal value like 22.62 may not yield any results. Assuming you want to consider the sum of `Num_of_Staff` across potential conditions or groups, a GROUP BY would be more appropriate if there were a need to aggregate. Please provide additional details if that's the case.","cost":0.00011085,"response_parsed":"SELECT Name\nFROM museum\nWHERE Num_of_Staff <= 22.62;","time":2.7681310177}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `Open_Year` FROM `museum` GROUP BY `Open_Year` HAVING AVG(`Num_of_Staff`) >= 24.75","question":"List the Open_Year which average of Num_of_Staff is at least 24.75 in table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch the `Open_Year` from the `museum` table where the average number of staff is at least 24.75, you can use the following SQL query:\n\n```sql\nSELECT Open_Year\nFROM museum\nGROUP BY Open_Year\nHAVING AVG(Num_of_Staff) >= 24.75;\n```","cost":0.0000714,"response_parsed":"SELECT Open_Year\nFROM museum\nGROUP BY Open_Year\nHAVING AVG(Num_of_Staff) >= 24.75;","time":4.8945639133}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `Open_Year` FROM `museum` GROUP BY `Open_Year` HAVING AVG(`Num_of_Staff`) <= 24.75","question":"List the Open_Year which average of Num_of_Staff is at most 24.75 in table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To answer the question of listing the `Open_Year` where the average of `Num_of_Staff` in the table `museum` is at most 24.75, you can use the following SQL code:\n\n```sql\nSELECT Open_Year\nFROM museum\nGROUP BY Open_Year\nHAVING AVG(Num_of_Staff) <= 24.75;\n``` \n\nThis query groups the data by `Open_Year`, calculates the average number of staff for each year, and filters the results to include only those years where the average is at most 24.75.","cost":0.0001014,"response_parsed":"SELECT Open_Year\nFROM museum\nGROUP BY Open_Year\nHAVING AVG(Num_of_Staff) <= 24.75;","time":1.7836692333}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `Open_Year` FROM `museum` GROUP BY `Open_Year` HAVING SUM(`Num_of_Staff`) >= 30.17","question":"List the Open_Year which summation of Num_of_Staff is at least 30.17 in table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch the `Open_Year` values from the `museum` table where the summation of `Num_of_Staff` is at least 30.17, you can use the following SQL code:\n\n```sql\nSELECT Open_Year\nFROM museum\nGROUP BY Open_Year\nHAVING SUM(Num_of_Staff) >= 30.17;\n```","cost":0.00007515,"response_parsed":"SELECT Open_Year\nFROM museum\nGROUP BY Open_Year\nHAVING SUM(Num_of_Staff) >= 30.17;","time":2.4157800674}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `Open_Year` FROM `museum` GROUP BY `Open_Year` HAVING SUM(`Num_of_Staff`) <= 30.17","question":"List the Open_Year which summation of Num_of_Staff is at most 30.17 in table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To list the `Open_Year` in the `museum` table where the summation of `Num_of_Staff` is at most 30.17, you can use the following SQL code:\n\n```sql\nSELECT Open_Year\nFROM museum\nGROUP BY Open_Year\nHAVING SUM(Num_of_Staff) <= 30.17;\n```","cost":0.00007455,"response_parsed":"SELECT Open_Year\nFROM museum\nGROUP BY Open_Year\nHAVING SUM(Num_of_Staff) <= 30.17;","time":1.8939423561}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `visitor_ID` FROM `visit` GROUP BY `visitor_ID` HAVING count(*) >= 2","question":"Find all the visitor_ID that have at least 2 records in table visit","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To find all the `visitor_ID` that have at least 2 records in the `visit` table, you can use the following SQL code:\n\n```sql\nSELECT visitor_ID\nFROM visit\nGROUP BY visitor_ID\nHAVING COUNT(*) >= 2;\n```","cost":0.00006135,"response_parsed":"SELECT visitor_ID\nFROM visit\nGROUP BY visitor_ID\nHAVING COUNT(*) >= 2;","time":1.5772025585}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `visitor_ID` FROM `visit` GROUP BY `visitor_ID` HAVING count(*) <= 2","question":"Find all the visitor_ID that have at most 2 records in table visit","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To find all the `visitor_ID` values that have at most 2 records in the table `visit`, you can use the following SQL query:\n\n```sql\nSELECT visitor_ID\nFROM visit\nGROUP BY visitor_ID\nHAVING COUNT(*) <= 2;\n``` \n\nThis query groups the records in the `visit` table by `visitor_ID`, counts the number of visits for each visitor, and then filters the result to only include those visitors who have 2 or fewer records.","cost":0.00008775,"response_parsed":"SELECT visitor_ID\nFROM visit\nGROUP BY visitor_ID\nHAVING COUNT(*) <= 2;","time":1.4824671745}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `visitor_ID` FROM `visit` GROUP BY `visitor_ID` HAVING AVG(`Num_of_Ticket`) >= 10.5","question":"List the visitor_ID which average of Num_of_Ticket is at least 10.5 in table visit","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To retrieve the `visitor_ID` where the average `Num_of_Ticket` is at least 10.5 from the `visit` table, you can use the following SQL query:\n\n```sql\nSELECT visitor_ID\nFROM visit\nGROUP BY visitor_ID\nHAVING AVG(Num_of_Ticket) >= 10.5;\n```","cost":0.00007125,"response_parsed":"SELECT visitor_ID\nFROM visit\nGROUP BY visitor_ID\nHAVING AVG(Num_of_Ticket) >= 10.5;","time":3.1341941357}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `visitor_ID` FROM `visit` GROUP BY `visitor_ID` HAVING AVG(`Num_of_Ticket`) <= 10.5","question":"List the visitor_ID which average of Num_of_Ticket is at most 10.5 in table visit","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To retrieve the `visitor_ID` where the average `Num_of_Ticket` is at most 10.5 from the `visit` table, you can use the following SQL query:\n\n```sql\nSELECT visitor_ID\nFROM visit\nGROUP BY visitor_ID\nHAVING AVG(Num_of_Ticket) <= 10.5;\n```","cost":0.00007125,"response_parsed":"SELECT visitor_ID\nFROM visit\nGROUP BY visitor_ID\nHAVING AVG(Num_of_Ticket) <= 10.5;","time":0.9709961414}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `visitor_ID` FROM `visit` GROUP BY `visitor_ID` HAVING SUM(`Num_of_Ticket`) >= 21.0","question":"List the visitor_ID which summation of Num_of_Ticket is at least 21.0 in table visit","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"Here is the SQL code to fetch the visitor IDs where the summation of `Num_of_Ticket` is at least 21.0 from the `visit` table:\n\n```sql\nSELECT visitor_ID\nFROM visit\nGROUP BY visitor_ID\nHAVING SUM(Num_of_Ticket) >= 21.0;\n```","cost":0.0000696,"response_parsed":"SELECT visitor_ID\nFROM visit\nGROUP BY visitor_ID\nHAVING SUM(Num_of_Ticket) >= 21.0;","time":1.562315464}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `visitor_ID` FROM `visit` GROUP BY `visitor_ID` HAVING SUM(`Num_of_Ticket`) <= 21.0","question":"List the visitor_ID which summation of Num_of_Ticket is at most 21.0 in table visit","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To retrieve the `visitor_ID` where the summation of `Num_of_Ticket` is at most 21.0 from the `visit` table, you can use the following SQL code:\n\n```sql\nSELECT visitor_ID\nFROM visit\nGROUP BY visitor_ID\nHAVING SUM(Num_of_Ticket) <= 21.0;\n``` \n\nThis SQL query groups the records by `visitor_ID`, calculates the total number of tickets (`Num_of_Ticket`) for each visitor, and filters the results to return only those visitors whose total is 21.0 or less.","cost":0.0001008,"response_parsed":"SELECT visitor_ID\nFROM visit\nGROUP BY visitor_ID\nHAVING SUM(Num_of_Ticket) <= 21.0;","time":3.4531912804}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Name` FROM `visitor` GROUP BY `Name` HAVING count(*) >= 1","question":"Find all the Name that have at least 1 records in table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To find all the Names from the `visitor` table that have at least 1 record, you can use the following SQL query:\n\n```sql\nSELECT DISTINCT Name\nFROM visitor;\n```\n\nThis query selects the distinct names from the `visitor` table, ensuring that each name appears only once, regardless of how many records exist for each name. If you are specifically looking for names related to the visits to museums, you may need to join the `visitor` table with the `visit` table, as follows:\n\n```sql\nSELECT DISTINCT v.Name\nFROM visitor v\nJOIN visit vi ON v.ID = vi.visitor_ID;\n```\n\nThis query retrieves distinct names from the `visitor` table that have at least one entry in the `visit` table.","cost":0.0001212,"response_parsed":"SELECT DISTINCT v.Name\nFROM visitor v\nJOIN visit vi ON v.ID = vi.visitor_ID;","time":2.5151922703}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"HAVING","sql_tag":"HAVING-COUNT","query":"SELECT `Name` FROM `visitor` GROUP BY `Name` HAVING count(*) <= 1","question":"Find all the Name that have at most 1 records in table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch the names of visitors who have at most 1 record in the `visitor` table, you can use the following SQL query:\n\n```sql\nSELECT Name\nFROM visitor\nGROUP BY Name\nHAVING COUNT(*) <= 1;\n``` \n\nThis query groups the records in the `visitor` table by the `Name` field and counts the number of occurrences for each name. The `HAVING` clause filters out those names that have more than 1 record.","cost":0.0000864,"response_parsed":"SELECT Name\nFROM visitor\nGROUP BY Name\nHAVING COUNT(*) <= 1;","time":1.6884520054}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `Name` FROM `visitor` GROUP BY `Name` HAVING AVG(`Level_of_membership`) >= 3.83","question":"List the Name which average of Level_of_membership is at least 3.83 in table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch the names of visitors whose average level of membership is at least 3.83 from the `visitor` table, you can use the following SQL code:\n\n```sql\nSELECT Name\nFROM visitor\nGROUP BY Name\nHAVING AVG(Level_of_membership) >= 3.83;\n``` \n\nThis query groups the records in the `visitor` table by the `Name` field, calculates the average of the `Level_of_membership` for each visitor, and returns the names that have an average of at least 3.83.","cost":0.0000963,"response_parsed":"SELECT Name\nFROM visitor\nGROUP BY Name\nHAVING AVG(Level_of_membership) >= 3.83;","time":1.510488987}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"HAVING","sql_tag":"HAVING-AGG-AVG","query":"SELECT `Name` FROM `visitor` GROUP BY `Name` HAVING AVG(`Level_of_membership`) <= 3.83","question":"List the Name which average of Level_of_membership is at most 3.83 in table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch the names from the `visitor` table where the average `Level_of_membership` is at most 3.83, you would use the following SQL code:\n\n```sql\nSELECT Name \nFROM visitor \nGROUP BY Name \nHAVING AVG(Level_of_membership) <= 3.83;\n``` \n\nThis SQL query groups records in the `visitor` table by `Name`, calculates the average of `Level_of_membership` for each name, and selects those names where the average is less than or equal to 3.83.","cost":0.0000963,"response_parsed":"SELECT Name \nFROM visitor \nGROUP BY Name \nHAVING AVG(Level_of_membership) <= 3.83;","time":1.7094721794}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `Name` FROM `visitor` GROUP BY `Name` HAVING SUM(`Level_of_membership`) >= 3.83","question":"List the Name which summation of Level_of_membership is at least 3.83 in table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch the names of visitors whose summation of `Level_of_membership` is at least 3.83 from the `visitor` table, you can use the following SQL code:\n\n```sql\nSELECT Name\nFROM visitor\nGROUP BY Name\nHAVING SUM(Level_of_membership) >= 3.83;\n``` \n\nThis SQL code groups the results by the `Name` of the visitor and calculates the sum of their `Level_of_membership`, filtering for those whose sum is at least 3.83.","cost":0.00009345,"response_parsed":"SELECT Name\nFROM visitor\nGROUP BY Name\nHAVING SUM(Level_of_membership) >= 3.83;","time":1.4004943371}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"HAVING","sql_tag":"HAVING-AGG-SUM","query":"SELECT `Name` FROM `visitor` GROUP BY `Name` HAVING SUM(`Level_of_membership`) <= 3.83","question":"List the Name which summation of Level_of_membership is at most 3.83 in table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch the names of visitors whose summation of `Level_of_membership` is at most 3.83 from the `visitor` table, you can use the following SQL query:\n\n```sql\nSELECT Name\nFROM visitor\nGROUP BY Name\nHAVING SUM(Level_of_membership) <= 3.83;\n``` \n\nThis query groups the records in the `visitor` table by `Name`, computes the sum of `Level_of_membership` for each group, and then filters the groups to return only those where the sum is less than or equal to 3.83.","cost":0.00010125,"response_parsed":"SELECT Name\nFROM visitor\nGROUP BY Name\nHAVING SUM(Level_of_membership) <= 3.83;","time":1.9332487583}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-ALL","query":"SELECT * FROM `visit` AS T1 JOIN `museum` AS T2 ON T1.`Museum_ID` = T2.`Museum_ID`","question":"Join all the records from table visit with table museum on Museum_ID","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"Here is the SQL code to join all the records from the `visit` table with the `museum` table on `Museum_ID`:\n\n```sql\nSELECT *\nFROM visit\nJOIN museum ON visit.Museum_ID = museum.Museum_ID;\n```","cost":0.00005865,"response_parsed":"SELECT *\nFROM visit\nJOIN museum ON visit.Museum_ID = museum.Museum_ID;","time":0.8849437237}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-ALL","query":"SELECT * FROM `visit` AS T1 JOIN `visitor` AS T2 ON T1.`visitor_ID` = T2.`ID`","question":"Join all the records from table visit with table visitor on visitor_ID","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To join all the records from the `visit` table with the `visitor` table on `visitor_ID`, you can use the following SQL code:\n\n```sql\nSELECT *\nFROM visit\nJOIN visitor ON visit.visitor_ID = visitor.ID;\n```","cost":0.00005865,"response_parsed":"SELECT *\nFROM visit\nJOIN visitor ON visit.visitor_ID = visitor.ID;","time":0.9893536568}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`visitor_ID`, T2.`Name` FROM `visit` AS T1 JOIN `museum` AS T2 ON T1.`Museum_ID`=T2.`Museum_ID`","question":"List all the visitor_ID and Name from the table visit and the table museum where Museum_ID is the same","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch the `visitor_ID` and `Name` from the `visit` table and the `museum` table where `Museum_ID` is the same, you can use a SQL query with a `JOIN`. Below is the SQL code that accomplishes this:\n\n```sql\nSELECT v.ID AS visitor_ID, v.Name\nFROM visit AS vi\nJOIN visitor AS v ON vi.visitor_ID = v.ID\nJOIN museum AS m ON vi.Museum_ID = m.Museum_ID;\n```\n\nThis query selects the desired columns by joining the `visit` table with the `visitor` and `museum` tables based on the specified keys.","cost":0.00010785,"response_parsed":"SELECT v.ID AS visitor_ID, v.Name\nFROM visit AS vi\nJOIN visitor AS v ON vi.visitor_ID = v.ID\nJOIN museum AS m ON vi.Museum_ID = m.Museum_ID;","time":5.3862769604}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"INNER-JOIN","sql_tag":"JOIN-PROJECT-CAT","query":"SELECT T1.`visitor_ID`, T2.`Open_Year` FROM `visit` AS T1 JOIN `museum` AS T2 ON T1.`Museum_ID`=T2.`Museum_ID`","question":"List all the visitor_ID and Open_Year from the table visit and the table museum where Museum_ID is the same","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch the `visitor_ID` and `Open_Year` from the `visit` and `museum` tables where the `Museum_ID` is the same, you can use the following SQL code:\n\n```sql\nSELECT v.visitor_ID, m.Open_Year\nFROM visit v\nJOIN museum m ON v.Museum_ID = m.Museum_ID;\n```","cost":0.00007455,"response_parsed":"SELECT v.visitor_ID, m.Open_Year\nFROM visit v\nJOIN museum m ON v.Museum_ID = m.Museum_ID;","time":1.9436225891}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `museum` ORDER BY `Open_Year` ASC","question":"Show all data ordered by Open_Year in ascending order for the table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"```sql\nSELECT * FROM museum\nORDER BY Open_Year ASC;\n```","cost":0.00003855,"response_parsed":"SELECT * FROM museum\nORDER BY Open_Year ASC;","time":0.3988437653}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `museum` ORDER BY `Open_Year` DESC","question":"Show all data ordered by Open_Year in descending order for the table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"Here is the SQL code to fetch all data from the `museum` table ordered by `Open_Year` in descending order:\n\n```sql\nSELECT * FROM museum\nORDER BY Open_Year DESC;\n```","cost":0.00005415,"response_parsed":"SELECT * FROM museum\nORDER BY Open_Year DESC;","time":1.5369665623}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `museum` ORDER BY `Name` ASC","question":"Show all data ordered by Name in ascending order for the table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"```sql\nSELECT * FROM museum\nORDER BY Name ASC;\n```","cost":0.00003705,"response_parsed":"SELECT * FROM museum\nORDER BY Name ASC;","time":0.5701491833}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `museum` ORDER BY `Name` DESC","question":"Show all data ordered by Name in descending order for the table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To retrieve all data from the `museum` table ordered by the `Name` column in descending order, you can use the following SQL code:\n\n```sql\nSELECT * FROM museum\nORDER BY Name DESC;\n```","cost":0.00005445,"response_parsed":"SELECT * FROM museum\nORDER BY Name DESC;","time":0.8966012001}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Museum_ID` FROM `museum` ORDER BY `Museum_ID` ASC","question":"Project the Museum_ID ordered in ascending order for the table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch the `Museum_ID` from the `museum` table ordered in ascending order, you can use the following SQL query:\n\n```sql\nSELECT Museum_ID \nFROM museum \nORDER BY Museum_ID ASC;\n```","cost":0.0000543,"response_parsed":"SELECT Museum_ID \nFROM museum \nORDER BY Museum_ID ASC;","time":0.7406454086}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Museum_ID` FROM `museum` ORDER BY `Museum_ID` DESC","question":"Project the Museum_ID ordered in descending order for the table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"```sql\nSELECT Museum_ID \nFROM museum \nORDER BY Museum_ID DESC;\n```","cost":0.0000387,"response_parsed":"SELECT Museum_ID \nFROM museum \nORDER BY Museum_ID DESC;","time":0.6493878365}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Open_Year` FROM `museum` ORDER BY `Open_Year` ASC","question":"Project the Open_Year ordered in ascending order for the table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"```sql\nSELECT Open_Year \nFROM museum \nORDER BY Open_Year ASC;\n```","cost":0.00004005,"response_parsed":"SELECT Open_Year \nFROM museum \nORDER BY Open_Year ASC;","time":0.6388733387}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Open_Year` FROM `museum` ORDER BY `Open_Year` DESC","question":"Project the Open_Year ordered in descending order for the table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To project the `Open_Year` ordered in descending order from the `museum` table, you can use the following SQL query:\n\n```sql\nSELECT Open_Year \nFROM museum \nORDER BY Open_Year DESC;\n```","cost":0.00005625,"response_parsed":"SELECT Open_Year \nFROM museum \nORDER BY Open_Year DESC;","time":0.9603028297}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `visit` ORDER BY `Museum_ID` ASC","question":"Show all data ordered by Museum_ID in ascending order for the table visit","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"```sql\nSELECT * FROM visit\nORDER BY Museum_ID ASC;\n```","cost":0.0000378,"response_parsed":"SELECT * FROM visit\nORDER BY Museum_ID ASC;","time":0.4765694141}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `visit` ORDER BY `Museum_ID` DESC","question":"Show all data ordered by Museum_ID in descending order for the table visit","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"```sql\nSELECT * FROM visit\nORDER BY Museum_ID DESC;\n```","cost":0.0000378,"response_parsed":"SELECT * FROM visit\nORDER BY Museum_ID DESC;","time":0.481200695}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `visit` ORDER BY `Num_of_Ticket` ASC","question":"Show all data ordered by Num_of_Ticket in ascending order for the table visit","db_schema_normalized":"`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch all data from the `visit` table ordered by `Num_of_Ticket` in ascending order, you can use the following SQL code:\n\n```sql\nSELECT *\nFROM visit\nORDER BY Num_of_Ticket ASC;\n```","cost":0.0000573,"response_parsed":"SELECT *\nFROM visit\nORDER BY Num_of_Ticket ASC;","time":0.7367162704}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `visit` ORDER BY `Num_of_Ticket` DESC","question":"Show all data ordered by Num_of_Ticket in descending order for the table visit","db_schema_normalized":"`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"```sql\nSELECT * \nFROM visit \nORDER BY Num_of_Ticket DESC;\n```","cost":0.0000399,"response_parsed":"SELECT * \nFROM visit \nORDER BY Num_of_Ticket DESC;","time":0.5434951782}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Museum_ID` FROM `visit` ORDER BY `Museum_ID` ASC","question":"Project the Museum_ID ordered in ascending order for the table visit","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To select the `Museum_ID` from the `visit` table and order it in ascending order, you can use the following SQL code:\n\n```sql\nSELECT Museum_ID\nFROM visit\nORDER BY Museum_ID ASC;\n```","cost":0.0000555,"response_parsed":"SELECT Museum_ID\nFROM visit\nORDER BY Museum_ID ASC;","time":0.8415532112}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Museum_ID` FROM `visit` ORDER BY `Museum_ID` DESC","question":"Project the Museum_ID ordered in descending order for the table visit","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To project the `Museum_ID` from the `visit` table and order it in descending order, the SQL query would be:\n\n```sql\nSELECT Museum_ID\nFROM visit\nORDER BY Museum_ID DESC;\n```","cost":0.0000543,"response_parsed":"SELECT Museum_ID\nFROM visit\nORDER BY Museum_ID DESC;","time":0.9488799572}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `visitor_ID` FROM `visit` ORDER BY `visitor_ID` ASC","question":"Project the visitor_ID ordered in ascending order for the table visit","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"Here is the SQL code to fetch the visitor_ID ordered in ascending order for the table `visit`:\n\n```sql\nSELECT visitor_ID\nFROM visit\nORDER BY visitor_ID ASC;\n```","cost":0.0000513,"response_parsed":"SELECT visitor_ID\nFROM visit\nORDER BY visitor_ID ASC;","time":0.7358810902}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `visitor_ID` FROM `visit` ORDER BY `visitor_ID` DESC","question":"Project the visitor_ID ordered in descending order for the table visit","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To project the `visitor_ID` from the `visit` table and order it in descending order, you can use the following SQL code:\n\n```sql\nSELECT visitor_ID\nFROM visit\nORDER BY visitor_ID DESC;\n```","cost":0.0000555,"response_parsed":"SELECT visitor_ID\nFROM visit\nORDER BY visitor_ID DESC;","time":0.8496851921}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `visitor` ORDER BY `Level_of_membership` ASC","question":"Show all data ordered by Level_of_membership in ascending order for the table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"```sql\nSELECT * \nFROM visitor \nORDER BY Level_of_membership ASC;\n```","cost":0.0000399,"response_parsed":"SELECT * \nFROM visitor \nORDER BY Level_of_membership ASC;","time":0.5340681076}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `visitor` ORDER BY `Level_of_membership` DESC","question":"Show all data ordered by Level_of_membership in descending order for the table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To retrieve all data from the `visitor` table ordered by `Level_of_membership` in descending order, you can use the following SQL code:\n\n```sql\nSELECT *\nFROM visitor\nORDER BY Level_of_membership DESC;\n```","cost":0.0000573,"response_parsed":"SELECT *\nFROM visitor\nORDER BY Level_of_membership DESC;","time":2.8963565826}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `visitor` ORDER BY `Age` ASC","question":"Show all data ordered by Age in ascending order for the table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"```sql\nSELECT * FROM visitor\nORDER BY Age ASC;\n```","cost":0.00003705,"response_parsed":"SELECT * FROM visitor\nORDER BY Age ASC;","time":0.5132107735}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"ORDERBY","sql_tag":"ORDERBY-SINGLE","query":"SELECT * FROM `visitor` ORDER BY `Age` DESC","question":"Show all data ordered by Age in descending order for the table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"```sql\nSELECT * FROM visitor\nORDER BY Age DESC;\n```","cost":0.00003705,"response_parsed":"SELECT * FROM visitor\nORDER BY Age DESC;","time":0.502986908}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `ID` FROM `visitor` ORDER BY `ID` ASC","question":"Project the ID ordered in ascending order for the table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To project the ID from the \"visitor\" table ordered in ascending order, you can use the following SQL code:\n\n```sql\nSELECT ID\nFROM visitor\nORDER BY ID ASC;\n```","cost":0.00005115,"response_parsed":"SELECT ID\nFROM visitor\nORDER BY ID ASC;","time":1.0408785343}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `ID` FROM `visitor` ORDER BY `ID` DESC","question":"Project the ID ordered in descending order for the table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"```sql\nSELECT ID \nFROM visitor \nORDER BY ID DESC;\n```","cost":0.00003735,"response_parsed":"SELECT ID \nFROM visitor \nORDER BY ID DESC;","time":0.7700624466}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Name` FROM `visitor` ORDER BY `Name` ASC","question":"Project the Name ordered in ascending order for the table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch the names of visitors ordered in ascending order from the `visitor` table, you can use the following SQL code:\n\n```sql\nSELECT \"Name\"\nFROM \"visitor\"\nORDER BY \"Name\" ASC;\n```","cost":0.00005475,"response_parsed":"SELECT \"Name\"\nFROM \"visitor\"\nORDER BY \"Name\" ASC;","time":0.7504360676}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"ORDERBY","sql_tag":"ORDERBY-PROJECT","query":"SELECT `Name` FROM `visitor` ORDER BY `Name` DESC","question":"Project the Name ordered in descending order for the table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To project the Name from the `visitor` table ordered in descending order, the SQL query would be as follows:\n\n```sql\nSELECT Name\nFROM visitor\nORDER BY Name DESC;\n```","cost":0.00005115,"response_parsed":"SELECT Name\nFROM visitor\nORDER BY Name DESC;","time":0.8913934231}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Museum_ID` FROM `museum`","question":"Show all Museum_ID in the table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch all `Museum_ID` values from the `museum` table, you can use the following SQL code:\n\n```sql\nSELECT Museum_ID FROM museum;\n```","cost":0.0000477,"response_parsed":"SELECT Museum_ID FROM museum;","time":0.8497724533}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Name` FROM `museum`","question":"Show all Name in the table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch all the names from the `museum` table, you can use the following SQL code:\n\n```sql\nSELECT Name FROM museum;\n```","cost":0.00004515,"response_parsed":"SELECT Name FROM museum;","time":0.72833848}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Num_of_Staff` FROM `museum`","question":"Show all Num_of_Staff in the table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch all the values of `Num_of_Staff` from the `museum` table, you can use the following SQL code:\n\n```sql\nSELECT Num_of_Staff FROM museum;\n```","cost":0.0000516,"response_parsed":"SELECT Num_of_Staff FROM museum;","time":0.7507178783}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Open_Year` FROM `museum`","question":"Show all Open_Year in the table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To retrieve all the `Open_Year` values from the `museum` table, you can use the following SQL query:\n\n```sql\nSELECT Open_Year FROM museum;\n```","cost":0.00004965,"response_parsed":"SELECT Open_Year FROM museum;","time":0.7993612289}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"PROJECT","sql_tag":"SELECT-ALL","query":"SELECT * FROM `museum`","question":"Show all the rows in the table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch all the rows from the table `museum`, you can use the following SQL code:\n\n```sql\nSELECT * FROM museum;\n```","cost":0.0000447,"response_parsed":"SELECT * FROM museum;","time":0.7055532932}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Name` FROM `museum`","question":"Show all Name in the table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"```sql\nSELECT Name FROM museum;\n```","cost":0.00003315,"response_parsed":"SELECT Name FROM museum;","time":0.4030928612}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Museum_ID`, `Name` FROM `museum`","question":"Show all Museum_ID, Name in the table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"```sql\nSELECT Museum_ID, Name FROM museum;\n```","cost":0.0000354,"response_parsed":"SELECT Museum_ID, Name FROM museum;","time":0.5298614502}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Open_Year`, `Name`, `Num_of_Staff` FROM `museum`","question":"Show all Open_Year, Name, Num_of_Staff in the table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch the required information (Open_Year, Name, and Num_of_Staff) from the `museum` table, you can use the following SQL query:\n\n```sql\nSELECT Open_Year, Name, Num_of_Staff\nFROM museum;\n```","cost":0.0000603,"response_parsed":"SELECT Open_Year, Name, Num_of_Staff\nFROM museum;","time":0.9149112701}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Museum_ID` FROM `visit`","question":"Show all Museum_ID in the table visit","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch all `Museum_ID` entries from the `visit` table, you can use the following SQL code:\n\n```sql\nSELECT Museum_ID \nFROM visit;\n```","cost":0.0000483,"response_parsed":"SELECT Museum_ID \nFROM visit;","time":0.876335144}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `visitor_ID` FROM `visit`","question":"Show all visitor_ID in the table visit","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To retrieve all `visitor_ID` entries from the `visit` table, you can use the following SQL code:\n\n```sql\nSELECT visitor_ID FROM visit;\n```","cost":0.0000477,"response_parsed":"SELECT visitor_ID FROM visit;","time":0.8075077534}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Num_of_Ticket` FROM `visit`","question":"Show all Num_of_Ticket in the table visit","db_schema_normalized":"`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch all `Num_of_Ticket` from the table `visit`, you can use the following SQL code:\n\n```sql\nSELECT Num_of_Ticket FROM visit;\n```","cost":0.0000492,"response_parsed":"SELECT Num_of_Ticket FROM visit;","time":0.5704424381}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Total_spent` FROM `visit`","question":"Show all Total_spent in the table visit","db_schema_normalized":"`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch all the `Total_spent` from the `visit` table, you can use the following SQL query:\n\n```sql\nSELECT Total_spent FROM visit;\n```","cost":0.00004905,"response_parsed":"SELECT Total_spent FROM visit;","time":0.9544494152}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"PROJECT","sql_tag":"SELECT-ALL","query":"SELECT * FROM `visit`","question":"Show all the rows in the table visit","db_schema_normalized":"`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch all the rows from the table `visit`, you can use the following SQL code:\n\n```sql\nSELECT * FROM visit;\n```","cost":0.0000447,"response_parsed":"SELECT * FROM visit;","time":0.8096704483}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Total_spent` FROM `visit`","question":"Show all Total_spent in the table visit","db_schema_normalized":"`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch all entries of `Total_spent` from the `visit` table, you would use the following SQL code:\n\n```sql\nSELECT Total_spent FROM visit;\n```","cost":0.00004965,"response_parsed":"SELECT Total_spent FROM visit;","time":0.8260393143}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Museum_ID`, `Total_spent` FROM `visit`","question":"Show all Museum_ID, Total_spent in the table visit","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch all the `Museum_ID` and `Total_spent` from the table `visit`, you can use the following SQL query:\n\n```sql\nSELECT Museum_ID, Total_spent\nFROM visit;\n```","cost":0.0000543,"response_parsed":"SELECT Museum_ID, Total_spent\nFROM visit;","time":0.740500927}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `visitor_ID`, `Museum_ID`, `Total_spent` FROM `visit`","question":"Show all visitor_ID, Museum_ID, Total_spent in the table visit","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch the visitor_ID, Museum_ID, and Total_spent from the visit table, you can use the following SQL query:\n\n```sql\nSELECT visitor_ID, Museum_ID, Total_spent\nFROM visit;\n```","cost":0.00005535,"response_parsed":"SELECT visitor_ID, Museum_ID, Total_spent\nFROM visit;","time":0.8354582787}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `ID` FROM `visitor`","question":"Show all ID in the table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To show all IDs in the table `visitor`, you can use the following SQL code:\n\n```sql\nSELECT ID FROM visitor;\n```","cost":0.00004395,"response_parsed":"SELECT ID FROM visitor;","time":0.5880451202}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Name` FROM `visitor`","question":"Show all Name in the table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To retrieve all names from the `visitor` table, you can use the following SQL query:\n\n```sql\nSELECT Name FROM visitor;\n```","cost":0.00004455,"response_parsed":"SELECT Name FROM visitor;","time":0.5996119976}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Level_of_membership` FROM `visitor`","question":"Show all Level_of_membership in the table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To retrieve all levels of membership from the `visitor` table, you can use the following SQL query:\n\n```sql\nSELECT Level_of_membership FROM visitor;\n```","cost":0.000048,"response_parsed":"SELECT Level_of_membership FROM visitor;","time":1.099868536}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"PROJECT","sql_tag":"SELECT-SINGLE-COL","query":"SELECT `Age` FROM `visitor`","question":"Show all Age in the table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"```sql\nSELECT Age FROM visitor;\n```","cost":0.00003315,"response_parsed":"SELECT Age FROM visitor;","time":3.0035936832}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"PROJECT","sql_tag":"SELECT-ALL","query":"SELECT * FROM `visitor`","question":"Show all the rows in the table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch all the rows from the `visitor` table, you can use the following SQL code:\n\n```sql\nSELECT * FROM visitor;\n```","cost":0.0000453,"response_parsed":"SELECT * FROM visitor;","time":1.4990537167}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Level_of_membership` FROM `visitor`","question":"Show all Level_of_membership in the table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch all the `Level_of_membership` from the `visitor` table, you can use the following SQL code:\n\n```sql\nSELECT Level_of_membership FROM visitor;\n```","cost":0.0000504,"response_parsed":"SELECT Level_of_membership FROM visitor;","time":1.0396356583}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Level_of_membership`, `Name` FROM `visitor`","question":"Show all Level_of_membership, Name in the table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch all `Level_of_membership` and `Name` from the `visitor` table, you can use the following SQL query:\n\n```sql\nSELECT Level_of_membership, Name FROM visitor;\n```","cost":0.0000537,"response_parsed":"SELECT Level_of_membership, Name FROM visitor;","time":1.2333545685}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"PROJECT","sql_tag":"SELECT-RANDOM-COL","query":"SELECT `Age`, `ID`, `Name` FROM `visitor`","question":"Show all Age, ID, Name in the table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch all Age, ID, and Name from the `visitor` table, you can use the following SQL query:\n\n```sql\nSELECT Age, ID, Name\nFROM visitor;\n```","cost":0.00005115,"response_parsed":"SELECT Age, ID, Name\nFROM visitor;","time":0.7436261177}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `museum` WHERE `Name` == 'Plaza Museum'","question":"Show the data of the table museum where Name is equal to Plaza Museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"```sql\nSELECT * FROM museum WHERE Name = 'Plaza Museum';\n```","cost":0.0000384,"response_parsed":"SELECT * FROM museum WHERE Name = 'Plaza Museum';","time":0.4395384789}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `museum` WHERE `Name` != 'Willow Grande Museum'","question":"Show the data of the table museum where Name is different from Willow Grande Museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"```sql\nSELECT * FROM museum WHERE Name <> 'Willow Grande Museum';\n```","cost":0.00003915,"response_parsed":"SELECT * FROM museum WHERE Name <> 'Willow Grande Museum';","time":0.3893144131}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `museum` WHERE `Name` != 'Willow Grande Museum'","question":"Show the data of the table museum where Name not equal to Willow Grande Museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"```sql\nSELECT * FROM museum WHERE Name <> 'Willow Grande Museum';\n```","cost":0.00003915,"response_parsed":"SELECT * FROM museum WHERE Name <> 'Willow Grande Museum';","time":0.4621782303}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `museum` WHERE `Open_Year` == '2012'","question":"Show the data of the table museum where Open_Year is equal to 2012","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"```sql\nSELECT * FROM museum WHERE Open_Year = '2012';\n```","cost":0.00003945,"response_parsed":"SELECT * FROM museum WHERE Open_Year = '2012';","time":0.3850166798}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `museum` WHERE `Open_Year` != '2008'","question":"Show the data of the table museum where Open_Year is different from 2008","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"Here is the SQL code to fetch the data from the `museum` table where the `Open_Year` is different from 2008:\n\n```sql\nSELECT *\nFROM museum\nWHERE Open_Year <> '2008';\n```","cost":0.00005745,"response_parsed":"SELECT *\nFROM museum\nWHERE Open_Year <> '2008';","time":0.8403704166}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `museum` WHERE `Open_Year` != '2010'","question":"Show the data of the table museum where Open_Year not equal to 2010","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To retrieve the data from the `museum` table where `Open_Year` is not equal to 2010, you can use the following SQL code:\n\n```sql\nSELECT * \nFROM museum \nWHERE Open_Year <> '2010';\n``` \n\nNote that `Open_Year` is a text data type in this schema, so the value '2010' should also be treated as text.","cost":0.00007845,"response_parsed":"SELECT * \nFROM museum \nWHERE Open_Year <> '2010';","time":1.2583854198}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `museum` WHERE `Num_of_Staff` > 18","question":"Show the data of the table museum where Num_of_Staff is greater than 18","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"```sql\nSELECT * FROM museum WHERE Num_of_Staff > 18;\n```","cost":0.00003945,"response_parsed":"SELECT * FROM museum WHERE Num_of_Staff > 18;","time":0.3850712776}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `museum` WHERE `Num_of_Staff` < 18","question":"Show the data of the table museum where Num_of_Staff is less than 18","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"Here is the SQL code to fetch the required data from the `museum` table where `Num_of_Staff` is less than 18:\n\n```sql\nSELECT *\nFROM museum\nWHERE Num_of_Staff < 18;\n```","cost":0.00005745,"response_parsed":"SELECT *\nFROM museum\nWHERE Num_of_Staff < 18;","time":1.5881509781}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `visit` WHERE `visitor_ID` == '5'","question":"Show the data of the table visit where visitor_ID is equal to 5","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"```sql\nSELECT *\nFROM visit\nWHERE visitor_ID = '5';\n```","cost":0.00003855,"response_parsed":"SELECT *\nFROM visit\nWHERE visitor_ID = '5';","time":0.4524304867}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `visit` WHERE `visitor_ID` != '5'","question":"Show the data of the table visit where visitor_ID is different from 5","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"```sql\nSELECT *\nFROM visit\nWHERE visitor_ID <> '5';\n```","cost":0.00003855,"response_parsed":"SELECT *\nFROM visit\nWHERE visitor_ID <> '5';","time":0.5417590141}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `visit` WHERE `visitor_ID` != '6'","question":"Show the data of the table visit where visitor_ID not equal to 6","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"Here is the SQL code that fetches the data from the `visit` table where `visitor_ID` is not equal to 6:\n\n```sql\nSELECT * FROM visit WHERE visitor_ID != '6';\n```","cost":0.00005475,"response_parsed":"SELECT * FROM visit WHERE visitor_ID != '6';","time":0.9063215256}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `visit` WHERE `Num_of_Ticket` > 10","question":"Show the data of the table visit where Num_of_Ticket is greater than 10","db_schema_normalized":"`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"```sql\nSELECT * \nFROM visit \nWHERE Num_of_Ticket > 10;\n```","cost":0.00004065,"response_parsed":"SELECT * \nFROM visit \nWHERE Num_of_Ticket > 10;","time":0.4718077183}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `visit` WHERE `Num_of_Ticket` < 20","question":"Show the data of the table visit where Num_of_Ticket is less than 20","db_schema_normalized":"`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"```sql\nSELECT * \nFROM visit \nWHERE Num_of_Ticket < 20;\n```","cost":0.00004065,"response_parsed":"SELECT * \nFROM visit \nWHERE Num_of_Ticket < 20;","time":0.6019597054}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `visit` WHERE `Total_spent` < 320.14","question":"Show the data of the table visit where Total_spent is less than 320.14","db_schema_normalized":"`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"```sql\nSELECT * FROM visit WHERE Total_spent < 320.14;\n```","cost":0.0000402,"response_parsed":"SELECT * FROM visit WHERE Total_spent < 320.14;","time":0.4646995068}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `visitor` WHERE `Name` == 'Fernando Gago'","question":"Show the data of the table visitor where Name is equal to Fernando Gago","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch the data from the `visitor` table where the `Name` is equal to \"Fernando Gago\", you can use the following SQL query:\n\n```sql\nSELECT * FROM visitor WHERE Name = 'Fernando Gago';\n```","cost":0.00005715,"response_parsed":"SELECT * FROM visitor WHERE Name = 'Fernando Gago';","time":1.183506012}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `visitor` WHERE `Name` != 'Arjen Robben'","question":"Show the data of the table visitor where Name is different from Arjen Robben","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To retrieve the data from the `visitor` table where the `Name` is different from \"Arjen Robben\", you can use the following SQL query:\n\n```sql\nSELECT *\nFROM visitor\nWHERE Name <> 'Arjen Robben';\n```","cost":0.0000591,"response_parsed":"SELECT *\nFROM visitor\nWHERE Name <> 'Arjen Robben';","time":1.2380621433}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"SELECT","sql_tag":"WHERE-CAT","query":"SELECT * FROM `visitor` WHERE `Name` != 'Arjen Robben'","question":"Show the data of the table visitor where Name not equal to Arjen Robben","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"Here is the SQL code to fetch the data from the `visitor` table where the `Name` is not equal to 'Arjen Robben':\n\n```sql\nSELECT * FROM visitor WHERE Name <> 'Arjen Robben';\n```","cost":0.0000573,"response_parsed":"SELECT * FROM visitor WHERE Name <> 'Arjen Robben';","time":0.724173069}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `visitor` WHERE `Age` > 28","question":"Show the data of the table visitor where Age is greater than 28","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"```sql\nSELECT * FROM visitor WHERE Age > 28;\n```","cost":0.0000372,"response_parsed":"SELECT * FROM visitor WHERE Age > 28;","time":0.2908945084}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"SELECT","sql_tag":"WHERE-NUM","query":"SELECT * FROM `visitor` WHERE `Age` < 28","question":"Show the data of the table visitor where Age is less than 28","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"```sql\nSELECT * FROM visitor WHERE Age < 28;\n```","cost":0.0000372,"response_parsed":"SELECT * FROM visitor WHERE Age < 28;","time":0.5691916943}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Name`) FROM `museum`","question":"How many different Name are in table museum?","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch the number of different names in the `museum` table, you can use the following SQL code:\n\n```sql\nSELECT COUNT(DISTINCT Name) AS Different_Name_Count\nFROM museum;\n```","cost":0.0000525,"response_parsed":"SELECT COUNT(DISTINCT Name) AS Different_Name_Count\nFROM museum;","time":0.9453132153}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Open_Year`) FROM `museum`","question":"How many different Open_Year are in table museum?","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To count the number of different `Open_Year` entries in the `museum` table, you can use the `COUNT(DISTINCT ...)` function in SQL. Here\u2019s the SQL code to achieve this:\n\n```sql\nSELECT COUNT(DISTINCT Open_Year) AS Different_Open_Years\nFROM museum;\n``` \n\nThis query will return the count of unique years when museums opened.","cost":0.0000756,"response_parsed":"SELECT COUNT(DISTINCT Open_Year) AS Different_Open_Years\nFROM museum;","time":1.6376285553}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MAX","query":"SELECT MAX(`Num_of_Staff`) FROM `museum`","question":"Find the maximum Num_of_Staff for the table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To find the maximum number of staff for the table `museum`, you can use the following SQL query:\n\n```sql\nSELECT MAX(Num_of_Staff) AS Maximum_Number_of_Staff\nFROM museum;\n```","cost":0.00005415,"response_parsed":"SELECT MAX(Num_of_Staff) AS Maximum_Number_of_Staff\nFROM museum;","time":0.6372475624}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MIN","query":"SELECT MIN(`Num_of_Staff`) FROM `museum`","question":"Find the minimum Num_of_Staff for the table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To find the minimum number of staff from the `museum` table, you can use the following SQL query:\n\n```sql\nSELECT MIN(Num_of_Staff) AS Minimum_Num_of_Staff\nFROM museum;\n```","cost":0.00005475,"response_parsed":"SELECT MIN(Num_of_Staff) AS Minimum_Num_of_Staff\nFROM museum;","time":0.7947533131}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"museum","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-AVG","query":"SELECT AVG(`Num_of_Staff`) FROM `museum`","question":"Find the average Num_of_Staff for the table museum","db_schema_normalized":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To find the average `Num_of_Staff` for the `museum` table, you can use the following SQL code:\n\n```sql\nSELECT AVG(Num_of_Staff) AS Average_Num_of_Staff\nFROM museum;\n```","cost":0.00005655,"response_parsed":"SELECT AVG(Num_of_Staff) AS Average_Num_of_Staff\nFROM museum;","time":0.8162798882}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `visitor_ID`) FROM `visit`","question":"How many different visitor_ID are in table visit?","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To count the different `visitor_ID` values in the `visit` table, you can use the following SQL query:\n\n```sql\nSELECT COUNT(DISTINCT visitor_ID) AS unique_visitor_count\nFROM visit;\n```","cost":0.00005505,"response_parsed":"SELECT COUNT(DISTINCT visitor_ID) AS unique_visitor_count\nFROM visit;","time":0.7868456841}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MAX","query":"SELECT MAX(`Num_of_Ticket`) FROM `visit`","question":"Find the maximum Num_of_Ticket for the table visit","db_schema_normalized":"`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To find the maximum number of tickets from the `visit` table, you can use the SQL `MAX()` function. Below is the SQL code for your query:\n\n```sql\nSELECT MAX(Num_of_Ticket) AS Max_Num_of_Ticket\nFROM visit;\n```","cost":0.00006135,"response_parsed":"SELECT MAX(Num_of_Ticket) AS Max_Num_of_Ticket\nFROM visit;","time":1.3708441257}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MIN","query":"SELECT MIN(`Num_of_Ticket`) FROM `visit`","question":"Find the minimum Num_of_Ticket for the table visit","db_schema_normalized":"`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To find the minimum `Num_of_Ticket` from the `visit` table, you can use the following SQL code:\n\n```sql\nSELECT MIN(Num_of_Ticket) AS Minimum_Num_of_Ticket\nFROM visit;\n```","cost":0.00005655,"response_parsed":"SELECT MIN(Num_of_Ticket) AS Minimum_Num_of_Ticket\nFROM visit;","time":2.1478989124}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-AVG","query":"SELECT AVG(`Num_of_Ticket`) FROM `visit`","question":"Find the average Num_of_Ticket for the table visit","db_schema_normalized":"`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To find the average `Num_of_Ticket` in the `visit` table, you can use the following SQL query:\n\n```sql\nSELECT AVG(Num_of_Ticket) AS Average_Num_of_Ticket\nFROM visit;\n```","cost":0.00005655,"response_parsed":"SELECT AVG(Num_of_Ticket) AS Average_Num_of_Ticket\nFROM visit;","time":1.1929166317}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MAX","query":"SELECT MAX(`Total_spent`) FROM `visit`","question":"Find the maximum Total_spent for the table visit","db_schema_normalized":"`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To find the maximum `Total_spent` in the `visit` table, you can use the following SQL code:\n\n```sql\nSELECT MAX(Total_spent) AS max_total_spent\nFROM visit;\n```","cost":0.0000546,"response_parsed":"SELECT MAX(Total_spent) AS max_total_spent\nFROM visit;","time":0.7820160389}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MIN","query":"SELECT MIN(`Total_spent`) FROM `visit`","question":"Find the minimum Total_spent for the table visit","db_schema_normalized":"`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To find the minimum `Total_spent` from the `visit` table, you can use the following SQL query:\n\n```sql\nSELECT MIN(Total_spent) AS minimum_total_spent\nFROM visit;\n```","cost":0.0000546,"response_parsed":"SELECT MIN(Total_spent) AS minimum_total_spent\nFROM visit;","time":0.7603766918}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visit","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-AVG","query":"SELECT AVG(`Total_spent`) FROM `visit`","question":"Find the average Total_spent for the table visit","db_schema_normalized":"`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To find the average `Total_spent` in the `visit` table, you can execute the following SQL code:\n\n```sql\nSELECT AVG(Total_spent) AS Average_Total_Spent\nFROM visit;\n```","cost":0.0000546,"response_parsed":"SELECT AVG(Total_spent) AS Average_Total_Spent\nFROM visit;","time":1.2084937096}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-COUNT-DISTINCT","query":"SELECT COUNT(DISTINCT `Name`) FROM `visitor`","question":"How many different Name are in table visitor?","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch the number of different names in the `visitor` table, you can use the following SQL query:\n\n```sql\nSELECT COUNT(DISTINCT Name) AS Different_Name_Count\nFROM visitor;\n```","cost":0.0000525,"response_parsed":"SELECT COUNT(DISTINCT Name) AS Different_Name_Count\nFROM visitor;","time":1.0344748497}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MAX","query":"SELECT MAX(`Level_of_membership`) FROM `visitor`","question":"Find the maximum Level_of_membership for the table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"```sql\nSELECT MAX(Level_of_membership) AS Max_Level_of_membership\nFROM visitor;\n```","cost":0.00004095,"response_parsed":"SELECT MAX(Level_of_membership) AS Max_Level_of_membership\nFROM visitor;","time":0.4643874168}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MIN","query":"SELECT MIN(`Level_of_membership`) FROM `visitor`","question":"Find the minimum Level_of_membership for the table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"```sql\nSELECT MIN(Level_of_membership) AS Minimum_Level_of_Membership\nFROM visitor;\n```","cost":0.00004095,"response_parsed":"SELECT MIN(Level_of_membership) AS Minimum_Level_of_Membership\nFROM visitor;","time":0.7857935429}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-AVG","query":"SELECT AVG(`Level_of_membership`) FROM `visitor`","question":"Find the average Level_of_membership for the table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch the average `Level_of_membership` from the `visitor` table, you can use the following SQL code:\n\n```sql\nSELECT AVG(Level_of_membership) AS average_level_of_membership\nFROM visitor;\n```","cost":0.00005595,"response_parsed":"SELECT AVG(Level_of_membership) AS average_level_of_membership\nFROM visitor;","time":1.4654238224}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MAX","query":"SELECT MAX(`Age`) FROM `visitor`","question":"Find the maximum Age for the table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To fetch the maximum age from the `visitor` table, you can use the following SQL code:\n\n```sql\nSELECT MAX(Age) AS Max_Age FROM visitor;\n```","cost":0.0000495,"response_parsed":"SELECT MAX(Age) AS Max_Age FROM visitor;","time":0.9540543556}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-MIN","query":"SELECT MIN(`Age`) FROM `visitor`","question":"Find the minimum Age for the table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To find the minimum age from the `visitor` table, you can use the following SQL code:\n\n```sql\nSELECT MIN(Age) AS Minimum_Age\nFROM visitor;\n```","cost":0.0000501,"response_parsed":"SELECT MIN(Age) AS Minimum_Age\nFROM visitor;","time":0.6544206142}} {"db_path":"QATCH-journal\/spider_data\/test_database\/museum_visit\/museum_visit.sqlite","db_id":"museum_visit","tbl_name":"visitor","test_category":"SIMPLE-AGG","sql_tag":"SIMPLE-AGG-AVG","query":"SELECT AVG(`Age`) FROM `visitor`","question":"Find the average Age for the table visitor","db_schema_normalized":"`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","db_schema":"`\"museum\"` (\"Museum_ID\" int, \"Name\" text, \"Num_of_Staff\" int, \"Open_Year\" text, PRIMARY KEY (\"Museum_ID\"))\n`\"visitor\"` (\"ID\" int, \"Name\" text, \"Level_of_membership\" int, \"Age\" int, PRIMARY KEY (\"ID\"))\n`\"visit\"` (\"Museum_ID\" int, \"visitor_ID\" text, \"Num_of_Ticket\" int, \"Total_spent\" real, PRIMARY KEY (\"Museum_ID\",\"visitor_ID\"), FOREIGN KEY (\"Museum_ID\") REFERENCES `museum`(\"Museum_ID\"), FOREIGN KEY (\"visitor_ID\") REFERENCES `visitor`(\"ID\"))","pred_dict":{"response":"To find the average age of visitors, you can use the following SQL code:\n\n```sql\nSELECT AVG(Age) AS Average_Age\nFROM visitor;\n```","cost":0.0000477,"response_parsed":"SELECT AVG(Age) AS Average_Age\nFROM visitor;","time":0.687561512}}