jtjt520j/cspider_for_chinese_llama2_1.3b huggingface dataset:
Schema: CREATE TABLE albums (title VARCHAR)
user: 按字母升序排列的所有专辑的标题是什么？

assistant: SELECT title FROM albums ORDER BY title;
Schema: CREATE TABLE albums (title VARCHAR)
user: 将标题以字母顺序排序，列出每个专辑。

assistant: SELECT title FROM albums WHERE title LIKE '安' ORDER BY title;
Schema: CREATE TABLE albums (title VARCHAR)
user: 以字母顺序排序的所有专辑的标题是什么？

assistant: SELECT title FROM albums WHERE title LIKE '安' ORDER BY title;
Schema: CREATE TABLE customers (last_name VARCHAR, id VARCHAR, first_name VARCHAR), CREATE TABLE invoices (customer_id VARCHAR)
user: 列出10个最便宜的发票的客户的名字和姓氏。

assistant: SELECT T1.first_name ,  T1.last_name FROM customers AS T1 JOIN invoices AS T2 ON T2.customer_id  =  T1.id ORDER BY total LIMIT 10;
Schema: CREATE TABLE customers (last_name VARCHAR, id VARCHAR, first_name VARCHAR), CREATE TABLE invoices (customer_id VARCHAR)
user: 最便宜的10张发票的客户的姓名是什么？

assistant: SELECT T1.first_name ,  T1.last_name FROM customers AS T1 JOIN invoices AS T2 ON T2.customer_id  =  T1.id ORDER BY total LIMIT 10;
Schema: CREATE TABLE invoices (billing_city VARCHAR, total INTEGER, billing_state VARCHAR)
user: 列出“四川”，“成都”市发票总额。

assistant: SELECT sum(total) FROM invoices WHERE billing_city  =  "成都" AND billing_state  =  "四川";
Schema: CREATE TABLE invoices (billing_city VARCHAR, total INTEGER, billing_state VARCHAR)
user: “四川”州“成都”市的发票金额是多少？

assistant: SELECT sum(total) FROM invoices WHERE billing_city  =  "成都" AND billing_state  =  "四川";
Schema: CREATE TABLE invoices (billing_city VARCHAR, billing_state VARCHAR)
user: 列出“四川”,“成都”的发票数量。

assistant: SELECT COUNT(*) FROM invoices WHERE billing_city  =  "成都" AND billing_state  =  "四川";
Schema: CREATE TABLE invoices (billing_city VARCHAR, billing_state VARCHAR)
user: 从“四川”,“成都”开出多少发票？

assistant: SELECT COUNT(*) FROM invoices WHERE billing_city  =  "成都" AND billing_state  =  "四川";
Schema: CREATE TABLE invoices (billing_country VARCHAR, billing_state VARCHAR)
user: 列出按州分组的美国发票数量。

assistant: SELECT billing_state ,  COUNT(*) FROM invoices WHERE billing_country  =  "美国" GROUP BY billing_state;
Schema: CREATE TABLE invoices (billing_country VARCHAR, billing_state VARCHAR)
user: 每个州有多少发票？

assistant: SELECT billing_state ,  COUNT(*) FROM invoices WHERE billing_country  =  "美国" GROUP BY billing_state;
Schema: CREATE TABLE invoices (billing_country VARCHAR, billing_state VARCHAR)
user: 列出美国发票最多的州。

assistant: SELECT billing_state ,  COUNT(*) FROM invoices WHERE billing_country  =  "美国" GROUP BY billing_state ORDER BY COUNT(*) DESC LIMIT 1;
Schema: CREATE TABLE invoices (billing_country VARCHAR, billing_state VARCHAR)
user: 发票最多的州是什么州？

assistant: SELECT billing_state ,  COUNT(*) FROM invoices WHERE billing_country  =  "美国" GROUP BY billing_state ORDER BY COUNT(*) DESC LIMIT 1;
Schema: CREATE TABLE invoices (total INTEGER, billing_state VARCHAR)
user: 列出“浙江”省的发票数量和发票总额。

assistant: SELECT billing_state ,  COUNT(*) ,  SUM(total) FROM invoices WHERE billing_state  =  "浙江";
Schema: CREATE TABLE invoices (total INTEGER, billing_state VARCHAR)
user: “浙江”省的发票金额和总金额是多少？

assistant: SELECT billing_state ,  COUNT(*) ,  SUM(total) FROM invoices WHERE billing_state  =  "浙江";
Schema: CREATE TABLE albums (title VARCHAR, artist_id VARCHAR), CREATE TABLE artists (name VARCHAR, id VARCHAR)
user: 列出“零点乐队”的专辑。

assistant: SELECT T1.title FROM albums AS T1 JOIN artists AS T2 ON  T1.artist_id = T2.id WHERE T2.name = "零点乐队";
Schema: CREATE TABLE albums (title VARCHAR, artist_id VARCHAR), CREATE TABLE artists (name VARCHAR, id VARCHAR)
user: 所有“零点乐队”的专辑的标题是什么？

assistant: SELECT T1.title FROM albums AS T1 JOIN artists AS T2 ON  T1.artist_id = T2.id WHERE T2.name = "零点乐队";
Schema: CREATE TABLE albums (artist_id VARCHAR), CREATE TABLE artists (name VARCHAR, id VARCHAR)
user: “周杰伦”有多少张专辑？

assistant: SELECT count(*) FROM albums AS T1 JOIN artists AS T2 ON  T1.artist_id = T2.id WHERE T2.name = "周杰伦";
Schema: CREATE TABLE albums (artist_id VARCHAR), CREATE TABLE artists (name VARCHAR, id VARCHAR)
user: “周杰伦”发行了多少张专辑？

assistant: SELECT count(*) FROM albums AS T1 JOIN artists AS T2 ON  T1.artist_id = T2.id WHERE T2.name = "周杰伦";
Schema: CREATE TABLE customers (last_name VARCHAR, first_name VARCHAR, company VARCHAR)
user: “宋” “志鹏”是哪家公司的客户？

assistant: SELECT company FROM customers WHERE first_name = "宋" AND last_name = "志鹏";
Schema: CREATE TABLE customers (last_name VARCHAR, first_name VARCHAR, company VARCHAR)
user: 客户为“宋” “志鹏”的公司是什么？

assistant: SELECT company FROM customers WHERE first_name = "宋" AND last_name = "志鹏";
Schema: CREATE TABLE customers (email VARCHAR, last_name VARCHAR, phone VARCHAR, first_name VARCHAR)
user: “卢” “军”的电子邮件和电话号码是多少？

assistant: SELECT email ,  phone FROM customers WHERE first_name = "卢" AND last_name = "军";
Schema: CREATE TABLE customers (email VARCHAR, last_name VARCHAR, phone VARCHAR, first_name VARCHAR)
user: 客户“卢” “军”的电子邮件和电话号码是多少？

assistant: SELECT email ,  phone FROM customers WHERE first_name = "卢" AND last_name = "军";
Schema: CREATE TABLE customers (city VARCHAR)
user: “唐山”市有多少客户？

assistant: SELECT count(*) FROM customers WHERE city = "唐山";
Schema: CREATE TABLE customers (city VARCHAR)
user: “唐山”市有多少顾客？

assistant: SELECT count(*) FROM customers WHERE city = "唐山";
Schema: CREATE TABLE customers (state VARCHAR)
user: “浙江”州有多少客户？

assistant: SELECT count(*) FROM customers WHERE state = "浙江";
Schema: CREATE TABLE customers (state VARCHAR)
user: 来自“浙江”的客户有多少？

assistant: SELECT count(*) FROM customers WHERE state = "浙江";
Schema: CREATE TABLE customers (country VARCHAR, last_name VARCHAR, first_name VARCHAR)
user: “姜” “子玉”住在哪个国家？

assistant: SELECT country FROM customers WHERE first_name = "姜" AND last_name = "子玉";
Schema: CREATE TABLE customers (country VARCHAR, last_name VARCHAR, first_name VARCHAR)
user: “姜” “子玉”在哪个国家？

assistant: SELECT country FROM customers WHERE first_name = "姜" AND last_name = "子玉";
Schema: CREATE TABLE artists (name VARCHAR, id VARCHAR), CREATE TABLE albums (title VARCHAR, artist_id VARCHAR)
user: 列出由名为“强"的艺术家发布的专辑名称。

assistant: SELECT T2.title FROM artists AS T1 JOIN albums AS T2 ON T1.id  =  T2.artist_id WHERE T1.name LIKE '强'
Schema: CREATE TABLE artists (name VARCHAR, id VARCHAR), CREATE TABLE albums (title VARCHAR, artist_id VARCHAR)
user: 名字为“强"的艺术家发行的专辑的名称是什么？

assistant: SELECT T2.title FROM artists AS T1 JOIN albums AS T2 ON T1.id  =  T2.artist_id WHERE T1.name LIKE '强'
Schema: CREATE TABLE employees (last_name VARCHAR, id VARCHAR, first_name VARCHAR), CREATE TABLE customers (support_rep_id VARCHAR)
user: “马” “志强”拥有多少客户？

assistant: SELECT count(*) FROM employees AS T1 JOIN customers AS T2 ON T2.support_rep_id = T1.id WHERE T1.first_name = "马" AND T1.last_name = "志强";
Schema: CREATE TABLE employees (last_name VARCHAR, id VARCHAR, first_name VARCHAR), CREATE TABLE customers (support_rep_id VARCHAR)
user: “马” “志强”拥有的客户数是多少？

assistant: SELECT count(*) FROM employees AS T1 JOIN customers AS T2 ON T2.support_rep_id = T1.id WHERE T1.first_name = "马" AND T1.last_name = "志强";
Schema: CREATE TABLE employees (phone VARCHAR, first_name VARCHAR, title VARCHAR, hire_date VARCHAR, last_name VARCHAR)
user: “袁” “熙”的头衔、电话和租用日期是什么？

assistant: SELECT title ,  phone ,  hire_date FROM employees WHERE first_name = "袁" AND last_name = "熙";
Schema: CREATE TABLE employees (phone VARCHAR, first_name VARCHAR, title VARCHAR, hire_date VARCHAR, last_name VARCHAR)
user: 叫“袁” “熙”的员工的头衔、电话号码和雇佣日期是什么？

assistant: SELECT title ,  phone ,  hire_date FROM employees WHERE first_name = "袁" AND last_name = "熙";
Schema: CREATE TABLE employees (last_name VARCHAR, first_name VARCHAR, reports_to VARCHAR)
user: 找到向“袁” “熙”汇报的员工的全名？

assistant: SELECT T2.first_name , T2.last_name FROM employees AS T1 JOIN employees AS T2 ON T1.id = T2.reports_to WHERE T1.first_name = "袁" AND T1.last_name = "熙";
Schema: CREATE TABLE employees (last_name VARCHAR, first_name VARCHAR, reports_to VARCHAR)
user: 向“袁” “熙”汇报工作的员工的名和姓氏是什么？

assistant: SELECT T2.first_name , T2.last_name FROM employees AS T1 JOIN employees AS T2 ON T1.id = T2.reports_to WHERE T1.first_name = "袁" AND T1.last_name = "熙";
Schema: CREATE TABLE employees (address VARCHAR, last_name VARCHAR, first_name VARCHAR)
user: 雇员“袁” “熙”的地址是什么？

assistant: SELECT address FROM employees WHERE first_name = "袁" AND last_name = "熙";
Schema: CREATE TABLE employees (address VARCHAR, last_name VARCHAR, first_name VARCHAR)
user: “袁” “熙”的地址是什么？

assistant: SELECT address FROM employees WHERE first_name = "袁" AND last_name = "熙";
Schema: CREATE TABLE employees (last_name VARCHAR, id VARCHAR, first_name VARCHAR), CREATE TABLE customers (support_rep_id VARCHAR)
user: 查找拥有最多客户的雇员的全名。

assistant: SELECT T1.first_name , T1.last_name FROM employees AS T1 JOIN customers AS T2 ON T1.id  =  T2.support_rep_id GROUP BY T1.id ORDER BY count(*) DESC LIMIT 1
Schema: CREATE TABLE employees (last_name VARCHAR, id VARCHAR, first_name VARCHAR), CREATE TABLE customers (support_rep_id VARCHAR)
user: 拥有最多客户的员工的全名是什么？

assistant: SELECT T1.first_name , T1.last_name FROM employees AS T1 JOIN customers AS T2 ON T1.id  =  T2.support_rep_id GROUP BY T1.id ORDER BY count(*) DESC LIMIT 1
Schema: CREATE TABLE employees (country VARCHAR)
user: 加拿大有多少员工？

assistant: SELECT count(*) FROM employees WHERE country = "加拿大";
Schema: CREATE TABLE employees (last_name VARCHAR, phone VARCHAR, first_name VARCHAR)
user: “袁” “熙”的电话号码是什么？

assistant: SELECT phone FROM employees WHERE first_name = "袁" AND last_name = "熙";
Schema: CREATE TABLE employees (last_name VARCHAR, phone VARCHAR, first_name VARCHAR)
user: “袁” “熙”的电话号码是多少？

assistant: SELECT phone FROM employees WHERE first_name = "袁" AND last_name = "熙";
Schema: CREATE TABLE employees (last_name VARCHAR, birth_date VARCHAR, first_name VARCHAR)
user: 谁是公司里最年轻的员工？列出员工的名字和姓氏。

assistant: SELECT first_name , last_name FROM employees ORDER BY birth_date DESC LIMIT 1;
Schema: CREATE TABLE employees (last_name VARCHAR, birth_date VARCHAR, first_name VARCHAR)
user: 最年轻的雇员的名字和姓是什么？

assistant: SELECT first_name , last_name FROM employees ORDER BY birth_date DESC LIMIT 1;
Schema: CREATE TABLE employees (last_name VARCHAR, first_name VARCHAR, hire_date VARCHAR)
user: 列出10大在公司工作最长的时间的员工。列出员工的名字和姓氏。

assistant: SELECT first_name , last_name FROM employees ORDER BY hire_date ASC LIMIT 10;
Schema: CREATE TABLE employees (last_name VARCHAR, first_name VARCHAR, hire_date VARCHAR)
user: 前10名任职时间最长的员工的名字和姓氏是什么？

assistant: SELECT first_name , last_name FROM employees ORDER BY hire_date ASC LIMIT 10;
Schema: CREATE TABLE employees (title VARCHAR, city VARCHAR)
user: 找到每个城市的头衔为IT员工的数目？

assistant: SELECT count(*) ,  city FROM employees WHERE title  =  '运维职员' GROUP BY city
Schema: CREATE TABLE employees (title VARCHAR, city VARCHAR)
user: 每一个城市的IT员工有多少？

assistant: SELECT count(*) ,  city FROM employees WHERE title  =  '运维职员' GROUP BY city
Schema: CREATE TABLE employees (last_name VARCHAR, id VARCHAR, first_name VARCHAR)
user: 哪个员工管理最多的人？列出员工的姓名，以及报告该员工管理的人数。

assistant: SELECT T2.first_name , T2.last_name ,  count(T1.reports_to) FROM employees AS T1 JOIN employees AS T2 ON T1.reports_to = T2.id GROUP BY T1.reports_to ORDER BY count(T1.reports_to) DESC LIMIT 1;
Schema: CREATE TABLE employees (last_name VARCHAR, id VARCHAR, first_name VARCHAR)
user: 所有员工的名字和姓氏是什么？有多少人向他们报告？

assistant: SELECT T2.first_name , T2.last_name ,  count(T1.reports_to) FROM employees AS T1 JOIN employees AS T2 ON T1.reports_to = T2.id GROUP BY T1.reports_to ORDER BY count(T1.reports_to) DESC LIMIT 1;
Schema: CREATE TABLE customers (last_name VARCHAR, id VARCHAR, first_name VARCHAR), CREATE TABLE invoices (customer_id VARCHAR)
user: “周” “浩歌”有多少个订单？

assistant: SELECT count(*) FROM customers AS T1 JOIN invoices AS T2 ON T1.id = T2.customer_id WHERE T1.first_name = "周" AND T1.last_name = "浩歌";
Schema: CREATE TABLE customers (last_name VARCHAR, id VARCHAR, first_name VARCHAR), CREATE TABLE invoices (customer_id VARCHAR)
user: “周” “浩歌”的发票有多少个订单？

assistant: SELECT count(*) FROM customers AS T1 JOIN invoices AS T2 ON T1.id = T2.customer_id WHERE T1.first_name = "周" AND T1.last_name = "浩歌";
Schema: CREATE TABLE customers (last_name VARCHAR, id VARCHAR, first_name VARCHAR), CREATE TABLE invoices (total INTEGER, customer_id VARCHAR)
user: “周” “浩歌”花了多少钱？

assistant: SELECT sum(T2.total) FROM customers AS T1 JOIN invoices AS T2 ON T1.id = T2.customer_id WHERE T1.first_name = "周" AND T1.last_name = "浩歌";
Schema: CREATE TABLE media_types (name VARCHAR)
user: 列出所有媒体类型。

assistant: SELECT name FROM media_types;
Schema: CREATE TABLE media_types (name VARCHAR)
user: 所有媒体类型的名称是什么？

assistant: SELECT name FROM media_types;
Schema: CREATE TABLE genres (name VARCHAR)
user: 列出所有不同的体裁类型。

assistant: SELECT DISTINCT name FROM genres;
Schema: CREATE TABLE genres (name VARCHAR)
user: 有什么不同的体裁名字？

assistant: SELECT DISTINCT name FROM genres;
Schema: CREATE TABLE playlists (name VARCHAR)
user: 列出所有播放列表的名称。

assistant: SELECT name FROM playlists;
Schema: CREATE TABLE playlists (name VARCHAR)
user: 所有播放列表的名字是什么？

assistant: SELECT name FROM playlists;
Schema: CREATE TABLE tracks (composer VARCHAR, name VARCHAR)
user: 谁是“逆战”的作曲家？

assistant: SELECT composer FROM tracks WHERE name = "逆战";
Schema: CREATE TABLE tracks (composer VARCHAR, name VARCHAR)
user: 哪位作曲家创造了“逆战”曲子？

assistant: SELECT composer FROM tracks WHERE name = "逆战";
Schema: CREATE TABLE tracks (name VARCHAR, milliseconds VARCHAR)
user: 曲子“逆战”有多长？

assistant: SELECT milliseconds FROM tracks WHERE name = "逆战";
Schema: CREATE TABLE tracks (name VARCHAR, milliseconds VARCHAR)
user: “逆战”有多少毫秒长？

assistant: SELECT milliseconds FROM tracks WHERE name = "逆战";
Schema: CREATE TABLE genres (name VARCHAR, id VARCHAR), CREATE TABLE tracks (genre_id VARCHAR, name VARCHAR)
user: “摇滚”是什么类型的曲目的名字？

assistant: SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id WHERE T1.name = "摇滚";
Schema: CREATE TABLE genres (name VARCHAR, id VARCHAR), CREATE TABLE tracks (genre_id VARCHAR, name VARCHAR)
user: “摇滚”乐曲中所有曲目的名称是什么？

assistant: SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id WHERE T1.name = "摇滚";
Schema: CREATE TABLE albums (title VARCHAR, id VARCHAR), CREATE TABLE tracks (genre_id VARCHAR, name VARCHAR)
user: “奇幻旅程”这首歌所属的专辑是什么？

assistant: SELECT T1.title FROM albums AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id WHERE T2.name = "奇幻旅程";
Schema: CREATE TABLE albums (title VARCHAR, id VARCHAR), CREATE TABLE tracks (genre_id VARCHAR, name VARCHAR)
user: 哪张专辑有名字为“奇幻旅程”这首歌？

assistant: SELECT T1.title FROM albums AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id WHERE T2.name = "奇幻旅程";
Schema: CREATE TABLE albums (title VARCHAR, id VARCHAR), CREATE TABLE tracks (genre_id VARCHAR, name VARCHAR)
user: 列出“奇幻旅程”中的歌曲名字。

assistant: SELECT T2.name FROM albums AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id WHERE T1.title = "奇幻旅程";
Schema: CREATE TABLE albums (title VARCHAR, id VARCHAR), CREATE TABLE tracks (genre_id VARCHAR, name VARCHAR)
user: 这张“奇幻旅程”专辑中的所有歌曲的名字是什么？

assistant: SELECT T2.name FROM albums AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id WHERE T1.title = "奇幻旅程";
Schema: CREATE TABLE albums (title VARCHAR, id VARCHAR), CREATE TABLE tracks (album_id VARCHAR)
user: 列出曲目数高于10的专辑标题。

assistant: SELECT T1.title FROM albums AS T1 JOIN tracks AS T2 ON T1.id = T2.album_id GROUP BY T1.id HAVING count(T1.id)  >  10;
Schema: CREATE TABLE albums (title VARCHAR, id VARCHAR), CREATE TABLE tracks (album_id VARCHAR)
user: 有超过10首曲目的专辑名称是什么？

assistant: SELECT T1.title FROM albums AS T1 JOIN tracks AS T2 ON T1.id = T2.album_id GROUP BY T1.id HAVING count(T1.id)  >  10;
Schema: CREATE TABLE genres (name VARCHAR, id VARCHAR), CREATE TABLE tracks (media_type_id VARCHAR, genre_id VARCHAR, name VARCHAR), CREATE TABLE media_types (name VARCHAR, id VARCHAR)
user: 列出属于“摇滚”类型的曲目名称，并且其媒体类型是MPEG音频文件。

assistant: SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id JOIN media_types AS T3 ON T3.id = T2.media_type_id WHERE T1.name = "摇滚" AND T3.name = "MPEG";
Schema: CREATE TABLE genres (name VARCHAR, id VARCHAR), CREATE TABLE tracks (media_type_id VARCHAR, genre_id VARCHAR, name VARCHAR), CREATE TABLE media_types (name VARCHAR, id VARCHAR)
user: 以MPEG音频格式存储的所有摇滚曲目的名称是什么？

assistant: SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id JOIN media_types AS T3 ON T3.id = T2.media_type_id WHERE T1.name = "摇滚" AND T3.name = "MPEG";
Schema: CREATE TABLE genres (name VARCHAR, id VARCHAR), CREATE TABLE tracks (media_type_id VARCHAR, genre_id VARCHAR, name VARCHAR), CREATE TABLE media_types (name VARCHAR, id VARCHAR)
user: 列出属于摇滚风格或媒体类型是MPEG音频文件的曲目名称。

assistant: SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id JOIN media_types AS T3 ON T3.id = T2.media_type_id WHERE T1.name = "摇滚" OR T3.name = "MPEG";
Schema: CREATE TABLE genres (name VARCHAR, id VARCHAR), CREATE TABLE tracks (media_type_id VARCHAR, genre_id VARCHAR, name VARCHAR), CREATE TABLE media_types (name VARCHAR, id VARCHAR)
user: 属于摇滚音乐并且其媒体类型是MPEG的所有曲目的名称是什么？

assistant: SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id JOIN media_types AS T3 ON T3.id = T2.media_type_id WHERE T1.name = "摇滚" OR T3.name = "MPEG";
Schema: CREATE TABLE genres (name VARCHAR, id VARCHAR), CREATE TABLE tracks (genre_id VARCHAR, name VARCHAR)
user: 列出属于摇滚或爵士乐类型的曲目的名称。

assistant: SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id WHERE T1.name = "摇滚" OR T1.name = "爵士"
Schema: CREATE TABLE genres (name VARCHAR, id VARCHAR), CREATE TABLE tracks (genre_id VARCHAR, name VARCHAR)
user: 摇滚乐或爵士乐歌曲的名字是什么？

assistant: SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id WHERE T1.name = "摇滚" OR T1.name = "爵士"
Schema: CREATE TABLE tracks (id VARCHAR, name VARCHAR), CREATE TABLE playlist_tracks (playlist_id VARCHAR, track_id VARCHAR), CREATE TABLE playlists (name VARCHAR, id VARCHAR)
user: 列出电影播放列表中所有曲目的名称。

assistant: SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id = T2.track_id JOIN playlists AS T3 ON T3.id = T2.playlist_id WHERE T3.name = "电影";
Schema: CREATE TABLE tracks (id VARCHAR, name VARCHAR), CREATE TABLE playlist_tracks (playlist_id VARCHAR, track_id VARCHAR), CREATE TABLE playlists (name VARCHAR, id VARCHAR)
user: 标题为电影的播放列表中所有曲目的名称是什么？

assistant: SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id = T2.track_id JOIN playlists AS T3 ON T3.id = T2.playlist_id WHERE T3.name = "电影";
Schema: CREATE TABLE playlist_tracks (playlist_id VARCHAR, track_id VARCHAR), CREATE TABLE playlists (id VARCHAR, name VARCHAR)
user: 列出有大于100首曲目的播放列表的名称。

assistant: SELECT T2.name FROM playlist_tracks AS T1 JOIN playlists AS T2 ON T2.id = T1.playlist_id GROUP BY T1.playlist_id HAVING count(T1.track_id)  >  100;
Schema: CREATE TABLE playlist_tracks (playlist_id VARCHAR, track_id VARCHAR), CREATE TABLE playlists (id VARCHAR, name VARCHAR)
user: 有超过100条曲目的所有播放列表的名称是什么？

assistant: SELECT T2.name FROM playlist_tracks AS T1 JOIN playlists AS T2 ON T2.id = T1.playlist_id GROUP BY T1.playlist_id HAVING count(T1.track_id)  >  100;
Schema: CREATE TABLE tracks (id VARCHAR, name VARCHAR), CREATE TABLE invoice_lines (invoice_id VARCHAR, track_id VARCHAR), CREATE TABLE invoices (id VARCHAR, customer_id VARCHAR), CREATE TABLE customers (last_name VARCHAR, id VARCHAR, first_name VARCHAR)
user: 列出客户'“康” “伯约”'购买的所有曲目。

assistant: SELECT T1.name FROM tracks AS T1 JOIN invoice_lines AS T2 ON T1.id = T2.track_id JOIN invoices AS T3 ON T3.id = T2.invoice_id JOIN customers AS T4 ON T4.id = T3.customer_id WHERE T4.first_name = "康" AND T4.last_name = "伯约";
Schema: CREATE TABLE tracks (id VARCHAR, name VARCHAR), CREATE TABLE invoice_lines (invoice_id VARCHAR, track_id VARCHAR), CREATE TABLE invoices (id VARCHAR, customer_id VARCHAR), CREATE TABLE customers (last_name VARCHAR, id VARCHAR, first_name VARCHAR)
user: “康” “伯约”'买的曲目是什么？

assistant: SELECT T1.name FROM tracks AS T1 JOIN invoice_lines AS T2 ON T1.id = T2.track_id JOIN invoices AS T3 ON T3.id = T2.invoice_id JOIN customers AS T4 ON T4.id = T3.customer_id WHERE T4.first_name = "康" AND T4.last_name = "伯约";
Schema: CREATE TABLE tracks (name VARCHAR, unit_price VARCHAR)
user: “逆战”要多少钱？

assistant: SELECT unit_price FROM tracks WHERE name = "逆战";
Schema: CREATE TABLE tracks (name VARCHAR, unit_price VARCHAR)
user: “逆战”的单价是多少？

assistant: SELECT unit_price FROM tracks WHERE name = "逆战";
Schema: CREATE TABLE tracks (id VARCHAR, name VARCHAR), CREATE TABLE playlist_tracks (playlist_id VARCHAR, track_id VARCHAR), CREATE TABLE playlists (name VARCHAR, id VARCHAR)
user: 找到在电影播放列表中但不在音乐播放列表中的曲目名称。

assistant: SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id  =  T2.track_id JOIN playlists AS T3 ON T2.playlist_id  =  T3.id WHERE T3.name  =  '电影' EXCEPT SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id  =  T2.track_id JOIN playlists AS T3 ON T2.playlist_id  =  T3.id WHERE T3.name  =  '音乐'
Schema: CREATE TABLE tracks (id VARCHAR, name VARCHAR), CREATE TABLE playlist_tracks (playlist_id VARCHAR, track_id VARCHAR), CREATE TABLE playlists (name VARCHAR, id VARCHAR)
user: 在电影播放列表中但不在音乐播放列表中的所有曲目名称是什么？

assistant: SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id  =  T2.track_id JOIN playlists AS T3 ON T2.playlist_id  =  T3.id WHERE T3.name  =  '电影' EXCEPT SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id  =  T2.track_id JOIN playlists AS T3 ON T2.playlist_id  =  T3.id WHERE T3.name  =  '音乐'
Schema: CREATE TABLE tracks (id VARCHAR, name VARCHAR), CREATE TABLE playlist_tracks (playlist_id VARCHAR, track_id VARCHAR), CREATE TABLE playlists (name VARCHAR, id VARCHAR)
user: 找到同时在电影和音乐播放列表中的曲目名称。

assistant: SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id  =  T2.track_id JOIN playlists AS T3 ON T2.playlist_id  =  T3.id WHERE T3.name  =  '电影' INTERSECT SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id  =  T2.track_id JOIN playlists AS T3 ON T2.playlist_id  =  T3.id WHERE T3.name  =  '音乐'
Schema: CREATE TABLE tracks (id VARCHAR, name VARCHAR), CREATE TABLE playlist_tracks (playlist_id VARCHAR, track_id VARCHAR), CREATE TABLE playlists (name VARCHAR, id VARCHAR)
user: 在电影和音乐播放列表中共同都有哪些曲目？

assistant: SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id  =  T2.track_id JOIN playlists AS T3 ON T2.playlist_id  =  T3.id WHERE T3.name  =  '电影' INTERSECT SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id  =  T2.track_id JOIN playlists AS T3 ON T2.playlist_id  =  T3.id WHERE T3.name  =  '音乐'
Schema: CREATE TABLE genres (id VARCHAR, name VARCHAR), CREATE TABLE tracks (genre_id VARCHAR)
user: 找出每种体裁中的曲目数量？

assistant: SELECT count(*) ,  T1.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id GROUP BY T1.name;
Schema: CREATE TABLE genres (id VARCHAR, name VARCHAR), CREATE TABLE tracks (genre_id VARCHAR)
user: 每种体裁有多少条曲目？

assistant: SELECT count(*) ,  T1.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id GROUP BY T1.name;
Schema: CREATE TABLE editor (Id VARCHAR)
user: 有多少编辑？

assistant: SELECT count(*) FROM editor
Schema: CREATE TABLE editor (Age VARCHAR, Name VARCHAR)
user: 按年龄升序排列给出编辑的名称。

assistant: SELECT Name FROM editor ORDER BY Age ASC
Schema: CREATE TABLE editor (Age VARCHAR, Name VARCHAR)
user: 编辑的姓名和年龄是多少？

assistant: SELECT Name ,  Age FROM editor
Schema: CREATE TABLE editor (Name VARCHAR, Age INTEGER)
user: 列出超过25岁的编辑的名字。

assistant: SELECT Name FROM editor WHERE Age  >  25
Schema: CREATE TABLE editor (Age VARCHAR, Name VARCHAR)
user: 显示24岁或25岁的编辑的名字。

assistant: SELECT Name FROM editor WHERE Age  =  24 OR Age  =  25
Schema: CREATE TABLE editor (Age VARCHAR, Name VARCHAR)
user: 最年轻的编辑的名字是什么？

assistant: SELECT Name FROM editor ORDER BY Age ASC LIMIT 1
Schema: CREATE TABLE editor (Age VARCHAR)
user: 编辑有哪些不同的年龄？每一个年龄段有多少编辑。

assistant: SELECT Age ,  COUNT(*) FROM editor GROUP BY Age
Schema: CREATE TABLE editor (Age VARCHAR)
user: 请显示编辑中最常见的年龄。

assistant: SELECT Age FROM editor GROUP BY Age ORDER BY COUNT(*) DESC LIMIT 1
Schema: CREATE TABLE journal (Theme VARCHAR)
user: 展示期刊的不同主题。

assistant: SELECT DISTINCT Theme FROM journal