jtjt520j/cspider_for_chinese_llama2_1.3b huggingface dataset:
Schema: CREATE TABLE college (enr INTEGER, cName VARCHAR, pPos VARCHAR), CREATE TABLE tryout (enr INTEGER, cName VARCHAR, pPos VARCHAR)
user: 入学没有任何“守门员”的学校的学生总数是多少？

assistant: SELECT sum(enr) FROM college WHERE cName NOT IN (SELECT cName FROM tryout WHERE pPos  =  "守门员")
Schema: CREATE TABLE college (enr INTEGER, state VARCHAR)
user: 有多少省的大学入学率高于平均入学率？

assistant: SELECT count(DISTINCT state) FROM college WHERE enr  >  (SELECT avg(enr) FROM college)
Schema: CREATE TABLE college (enr INTEGER, state VARCHAR)
user: 有多少省拥有人数比平均大学人数更大的大学？

assistant: SELECT count(DISTINCT state) FROM college WHERE enr  >  (SELECT avg(enr) FROM college)
Schema: CREATE TABLE college (enr INTEGER, state VARCHAR)
user: 有多少省的大学入学率低于平均入学率？

assistant: SELECT count(DISTINCT state) FROM college WHERE enr  <  (SELECT avg(enr) FROM college)
Schema: CREATE TABLE college (enr INTEGER, state VARCHAR)
user: 有多少省的大学入学比率比平均学校的入学规模小？

assistant: SELECT count(DISTINCT state) FROM college WHERE enr  <  (SELECT avg(enr) FROM college)
Schema: CREATE TABLE device (Id VARCHAR)
user: 有多少设备？

assistant: SELECT count(*) FROM device
Schema: CREATE TABLE device (Id VARCHAR)
user: 计算设备的数量。

assistant: SELECT count(*) FROM device
Schema: CREATE TABLE device (Carrier VARCHAR)
user: 列出按字母降序排列的设备的载体。

assistant: SELECT Carrier FROM device ORDER BY Carrier ASC
Schema: CREATE TABLE device (Carrier VARCHAR)
user: 按字母顺序排列的设备不同的载体有什么？

assistant: SELECT Carrier FROM device ORDER BY Carrier ASC
Schema: CREATE TABLE device (Software_Platform VARCHAR, Carrier VARCHAR)
user: 哪些设备的运营商软件平台不是“安卓”？

assistant: SELECT Carrier FROM device WHERE Software_Platform != '安卓'
Schema: CREATE TABLE device (Software_Platform VARCHAR, Carrier VARCHAR)
user: 返回没有“安卓”的设备运营商作为他们的软件平台。

assistant: SELECT Carrier FROM device WHERE Software_Platform != '安卓'
Schema: CREATE TABLE shop (Open_Year VARCHAR, Shop_Name VARCHAR)
user: 按开店年度升序排列的名称是什么？

assistant: SELECT Shop_Name FROM shop ORDER BY Open_Year ASC
Schema: CREATE TABLE shop (Open_Year VARCHAR, Shop_Name VARCHAR)
user: 按开业年度升序排序返回店铺的名称。

assistant: SELECT Shop_Name FROM shop ORDER BY Open_Year ASC
Schema: CREATE TABLE stock (Quantity INTEGER)
user: 库存的平均数量是多少？

assistant: SELECT avg(Quantity) FROM stock
Schema: CREATE TABLE stock (Quantity INTEGER)
user: 给出库存的平均数量。

assistant: SELECT avg(Quantity) FROM stock
Schema: CREATE TABLE shop (LOCATION VARCHAR, Shop_Name VARCHAR)
user: 按名称的字母升序排列的商店的名称和位置是什么？

assistant: SELECT Shop_Name ,  LOCATION FROM shop ORDER BY Shop_Name ASC
Schema: CREATE TABLE shop (LOCATION VARCHAR, Shop_Name VARCHAR)
user: 返回按名称字母顺序排列的商店名称和地点。

assistant: SELECT Shop_Name ,  LOCATION FROM shop ORDER BY Shop_Name ASC
Schema: CREATE TABLE device (Software_Platform VARCHAR)
user: 设备有多少种不同的软件平台？

assistant: SELECT count(DISTINCT Software_Platform) FROM device
Schema: CREATE TABLE device (Software_Platform VARCHAR)
user: 计算不同软件平台的数量。

assistant: SELECT count(DISTINCT Software_Platform) FROM device
Schema: CREATE TABLE shop (Open_Year VARCHAR, Shop_Name VARCHAR, Open_Date VARCHAR)
user: 列出一个名为“苹果”的商店的开店年份和日期。

assistant: SELECT Open_Date ,  Open_Year FROM shop WHERE Shop_Name  =  "苹果"
Schema: CREATE TABLE shop (Open_Year VARCHAR, Shop_Name VARCHAR, Open_Date VARCHAR)
user: “苹果”店的开店日期和年份是多少？

assistant: SELECT Open_Date ,  Open_Year FROM shop WHERE Shop_Name  =  "苹果"
Schema: CREATE TABLE shop (Open_Year VARCHAR, Shop_Name VARCHAR)
user: 列出最近一年开业的商店名称。

assistant: SELECT Shop_Name FROM shop ORDER BY Open_Year DESC LIMIT 1
Schema: CREATE TABLE shop (Open_Year VARCHAR, Shop_Name VARCHAR)
user: 最近一年开张的商店的店名是什么？

assistant: SELECT Shop_Name FROM shop ORDER BY Open_Year DESC LIMIT 1
Schema: CREATE TABLE stock (Shop_ID VARCHAR, Device_ID VARCHAR), CREATE TABLE device (Device_ID VARCHAR, Carrier VARCHAR), CREATE TABLE shop (Shop_ID VARCHAR, Shop_Name VARCHAR)
user: 展示商店名称和他们所拥有的设备的载体。

assistant: SELECT T3.Shop_Name ,  T2.Carrier FROM stock AS T1 JOIN device AS T2 ON T1.Device_ID  =  T2.Device_ID JOIN shop AS T3 ON T1.Shop_ID  =  T3.Shop_ID
Schema: CREATE TABLE stock (Shop_ID VARCHAR, Device_ID VARCHAR), CREATE TABLE device (Device_ID VARCHAR, Carrier VARCHAR), CREATE TABLE shop (Shop_ID VARCHAR, Shop_Name VARCHAR)
user: 设备商店的名称是什么以及他们携带设备库存的载体是什么？

assistant: SELECT T3.Shop_Name ,  T2.Carrier FROM stock AS T1 JOIN device AS T2 ON T1.Device_ID  =  T2.Device_ID JOIN shop AS T3 ON T1.Shop_ID  =  T3.Shop_ID
Schema: CREATE TABLE stock (Shop_ID VARCHAR), CREATE TABLE shop (Shop_ID VARCHAR, Shop_Name VARCHAR)
user: 显示商店里有不止一种设备库存的商店名称。

assistant: SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID  =  T2.Shop_ID GROUP BY T1.Shop_ID HAVING COUNT(*)  >  1
Schema: CREATE TABLE stock (Shop_ID VARCHAR), CREATE TABLE shop (Shop_ID VARCHAR, Shop_Name VARCHAR)
user: 有多于一种设备库存的商店的名字叫什么？

assistant: SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID  =  T2.Shop_ID GROUP BY T1.Shop_ID HAVING COUNT(*)  >  1
Schema: CREATE TABLE stock (Shop_ID VARCHAR), CREATE TABLE shop (Shop_ID VARCHAR, Shop_Name VARCHAR)
user: 显示拥有最多种类设备库存的商店名称。

assistant: SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID  =  T2.Shop_ID GROUP BY T1.Shop_ID ORDER BY COUNT(*) DESC LIMIT 1
Schema: CREATE TABLE stock (Shop_ID VARCHAR), CREATE TABLE shop (Shop_ID VARCHAR, Shop_Name VARCHAR)
user: 有设备的库存种类最多的商店叫什么名字？

assistant: SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID  =  T2.Shop_ID GROUP BY T1.Shop_ID ORDER BY COUNT(*) DESC LIMIT 1
Schema: CREATE TABLE stock (Shop_ID VARCHAR, quantity INTEGER), CREATE TABLE shop (Shop_ID VARCHAR, Shop_Name VARCHAR)
user: 显示库存量最大的商店的名称。

assistant: SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID  =  T2.Shop_ID GROUP BY T1.Shop_ID ORDER BY SUM(T1.quantity) DESC LIMIT 1
Schema: CREATE TABLE stock (Shop_ID VARCHAR, quantity INTEGER), CREATE TABLE shop (Shop_ID VARCHAR, Shop_Name VARCHAR)
user: 库存量最大的商店的名称是什么？

assistant: SELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID  =  T2.Shop_ID GROUP BY T1.Shop_ID ORDER BY SUM(T1.quantity) DESC LIMIT 1
Schema: CREATE TABLE device (Software_Platform VARCHAR)
user: 显示不同的软件平台以及每个平台相应的设备数量。

assistant: SELECT Software_Platform ,  COUNT(*) FROM device GROUP BY Software_Platform
Schema: CREATE TABLE device (Software_Platform VARCHAR)
user: 设备的不同软件平台是什么，每个平台对应的设备有多少个？

assistant: SELECT Software_Platform ,  COUNT(*) FROM device GROUP BY Software_Platform
Schema: CREATE TABLE device (Software_Platform VARCHAR)
user: 请以设备计数的递减顺序显示软件平台。

assistant: SELECT Software_Platform FROM device GROUP BY Software_Platform ORDER BY COUNT(*) DESC
Schema: CREATE TABLE device (Software_Platform VARCHAR)
user: 按频率下降顺序排列的设备的不同软件平台是什么？

assistant: SELECT Software_Platform FROM device GROUP BY Software_Platform ORDER BY COUNT(*) DESC
Schema: CREATE TABLE device (Software_Platform VARCHAR)
user: 列出最大数量的设备共享的软件平台。

assistant: SELECT Software_Platform FROM device GROUP BY Software_Platform ORDER BY COUNT(*) DESC LIMIT 1
Schema: CREATE TABLE device (Software_Platform VARCHAR)
user: 在所有设备中最常见的软件平台是什么？

assistant: SELECT Software_Platform FROM device GROUP BY Software_Platform ORDER BY COUNT(*) DESC LIMIT 1
Schema: CREATE TABLE shop (Shop_ID VARCHAR, Shop_Name VARCHAR), CREATE TABLE stock (Shop_ID VARCHAR, Shop_Name VARCHAR)
user: 列出没有库存设备的商店名称。

assistant: SELECT Shop_Name FROM shop WHERE Shop_ID NOT IN (SELECT Shop_ID FROM stock)
Schema: CREATE TABLE shop (Shop_ID VARCHAR, Shop_Name VARCHAR), CREATE TABLE stock (Shop_ID VARCHAR, Shop_Name VARCHAR)
user: 没有库存设备的商店名称是什么？

assistant: SELECT Shop_Name FROM shop WHERE Shop_ID NOT IN (SELECT Shop_ID FROM stock)
Schema: CREATE TABLE shop (LOCATION VARCHAR, Open_Year INTEGER)
user: 显示开业年份迟于2012年或开业年份早于2008年的商店共有的地点。

assistant: SELECT LOCATION FROM shop WHERE Open_Year  >  2012 INTERSECT SELECT LOCATION FROM shop WHERE Open_Year  <  2008
Schema: CREATE TABLE shop (LOCATION VARCHAR, Open_Year INTEGER)
user: 哪些地方既包括2012年以后开张的商店又有2008年之前开张的商店？

assistant: SELECT LOCATION FROM shop WHERE Open_Year  >  2012 INTERSECT SELECT LOCATION FROM shop WHERE Open_Year  <  2008
Schema: CREATE TABLE device (Device_ID VARCHAR, Carrier VARCHAR), CREATE TABLE stock (Device_ID VARCHAR, Carrier VARCHAR)
user: 列出没有设备库存的设备的载体。

assistant: SELECT Carrier FROM device WHERE Device_ID NOT IN (SELECT Device_ID FROM stock)
Schema: CREATE TABLE device (Device_ID VARCHAR, Carrier VARCHAR), CREATE TABLE stock (Device_ID VARCHAR, Carrier VARCHAR)
user: 没有设备库存的设备的载体是什么？

assistant: SELECT Carrier FROM device WHERE Device_ID NOT IN (SELECT Device_ID FROM stock)
Schema: CREATE TABLE stock (Device_ID VARCHAR), CREATE TABLE device (Device_ID VARCHAR, Carrier VARCHAR)
user: 显示有超过一个商店库存的设备的载体。

assistant: SELECT T2.Carrier FROM stock AS T1 JOIN device AS T2 ON T1.Device_ID  =  T2.Device_ID GROUP BY T1.Device_ID HAVING COUNT(*)  >  1
Schema: CREATE TABLE stock (Device_ID VARCHAR), CREATE TABLE device (Device_ID VARCHAR, Carrier VARCHAR)
user: 有超过一个商店库存的设备的载体是什么？

assistant: SELECT T2.Carrier FROM stock AS T1 JOIN device AS T2 ON T1.Device_ID  =  T2.Device_ID GROUP BY T1.Device_ID HAVING COUNT(*)  >  1
Schema: CREATE TABLE BOOKINGS (Id VARCHAR)
user: 我们有多少预订？

assistant: SELECT count(*) FROM BOOKINGS
Schema: CREATE TABLE BOOKINGS (Id VARCHAR)
user: 统计预订的总人数。

assistant: SELECT count(*) FROM BOOKINGS
Schema: CREATE TABLE BOOKINGS (Order_Date VARCHAR)
user: 列出所有预订的订单日期。

assistant: SELECT Order_Date FROM BOOKINGS
Schema: CREATE TABLE BOOKINGS (Order_Date VARCHAR)
user: 每一个预订的预定日期是什么？

assistant: SELECT Order_Date FROM BOOKINGS
Schema: CREATE TABLE BOOKINGS (Actual_Delivery_Date VARCHAR, Planned_Delivery_Date VARCHAR)
user: 显示预定的发货日期和预订的实际交货日期。

assistant: SELECT Planned_Delivery_Date ,  Actual_Delivery_Date FROM BOOKINGS
Schema: CREATE TABLE BOOKINGS (Actual_Delivery_Date VARCHAR, Planned_Delivery_Date VARCHAR)
user: 每一次预定的发货日期和实际交货日期是什么？

assistant: SELECT Planned_Delivery_Date ,  Actual_Delivery_Date FROM BOOKINGS
Schema: CREATE TABLE CUSTOMERS (Id VARCHAR)
user: 我们有多少客户？

assistant: SELECT count(*) FROM CUSTOMERS
Schema: CREATE TABLE CUSTOMERS (Id VARCHAR)
user: 统计记录的客户数量。

assistant: SELECT count(*) FROM CUSTOMERS
Schema: CREATE TABLE CUSTOMERS (Customer_Phone VARCHAR, Customer_Email_Address VARCHAR, Customer_Name VARCHAR)
user: 顾客“小勇”的电话和电子邮件是什么？

assistant: SELECT Customer_Phone ,  Customer_Email_Address FROM CUSTOMERS WHERE Customer_Name  =  "小勇"
Schema: CREATE TABLE CUSTOMERS (Customer_Phone VARCHAR, Customer_Email_Address VARCHAR, Customer_Name VARCHAR)
user: 找出客户名字是“小勇”的电话号码和电子邮件地址。

assistant: SELECT Customer_Phone ,  Customer_Email_Address FROM CUSTOMERS WHERE Customer_Name  =  "小勇"
Schema: CREATE TABLE Drama_Workshop_Groups (Store_Name VARCHAR)
user: 显示戏剧工作室群的所有店名。

assistant: SELECT Store_Name FROM Drama_Workshop_Groups
Schema: CREATE TABLE Drama_Workshop_Groups (Store_Name VARCHAR)
user: 戏剧工作室团体的店名是什么？

assistant: SELECT Store_Name FROM Drama_Workshop_Groups
Schema: CREATE TABLE INVOICES (Order_Quantity INTEGER)
user: 显示所有发票的最小、平均、最大订单数量。

assistant: SELECT min(Order_Quantity) ,  avg(Order_Quantity) ,  max(Order_Quantity) FROM INVOICES
Schema: CREATE TABLE INVOICES (Order_Quantity INTEGER)
user: 所有发票上订购的最低、平均和最大数量是多少？

assistant: SELECT min(Order_Quantity) ,  avg(Order_Quantity) ,  max(Order_Quantity) FROM INVOICES
Schema: CREATE TABLE INVOICES (payment_method_code VARCHAR)
user: 所有发票中有哪些不同的付款方法代码？

assistant: SELECT DISTINCT payment_method_code FROM INVOICES
Schema: CREATE TABLE INVOICES (payment_method_code VARCHAR)
user: 显示发票记录中不同的付款方法代码。

assistant: SELECT DISTINCT payment_method_code FROM INVOICES
Schema: CREATE TABLE Marketing_Regions (Marketing_Region_Descriptrion VARCHAR, Marketing_Region_Name VARCHAR)
user: 对“中国”营销区域的描述是什么？

assistant: SELECT Marketing_Region_Descriptrion FROM Marketing_Regions WHERE Marketing_Region_Name  =  "中国"
Schema: CREATE TABLE Marketing_Regions (Marketing_Region_Descriptrion VARCHAR, Marketing_Region_Name VARCHAR)
user: 找出“中国”营销区域的描述。

assistant: SELECT Marketing_Region_Descriptrion FROM Marketing_Regions WHERE Marketing_Region_Name  =  "中国"
Schema: CREATE TABLE PRODUCTS (Product_Name VARCHAR, Product_Price INTEGER)
user: 显示价格高于平均水平的所有不同的产品名称。

assistant: SELECT DISTINCT Product_Name FROM PRODUCTS WHERE Product_Price  >  (SELECT avg(Product_Price) FROM PRODUCTS)
Schema: CREATE TABLE PRODUCTS (Product_Name VARCHAR, Product_Price INTEGER)
user: 哪些比平均值还要贵产品的名称是什么？

assistant: SELECT DISTINCT Product_Name FROM PRODUCTS WHERE Product_Price  >  (SELECT avg(Product_Price) FROM PRODUCTS)
Schema: CREATE TABLE PRODUCTS (Product_Price VARCHAR, Product_Name VARCHAR)
user: 最贵的产品叫什么名字？

assistant: SELECT Product_Name FROM PRODUCTS ORDER BY Product_Price DESC LIMIT 1
Schema: CREATE TABLE PRODUCTS (Product_Price VARCHAR, Product_Name VARCHAR)
user: 告诉我最昂贵产品的名称。

assistant: SELECT Product_Name FROM PRODUCTS ORDER BY Product_Price DESC LIMIT 1
Schema: CREATE TABLE Products (Product_Price VARCHAR, Product_Name VARCHAR)
user: 按价格升序列出所有产品名称。

assistant: SELECT Product_Name FROM Products ORDER BY Product_Price ASC
Schema: CREATE TABLE Products (Product_Price VARCHAR, Product_Name VARCHAR)
user: 按价格的升序排列所有的产品名称。

assistant: SELECT Product_Name FROM Products ORDER BY Product_Price ASC
Schema: CREATE TABLE PERFORMERS (Customer_Phone VARCHAR, Customer_Name VARCHAR)
user: 表演者“李红”的电话号码是多少？

assistant: SELECT Customer_Phone FROM PERFORMERS WHERE Customer_Name  =  "李红"
Schema: CREATE TABLE PERFORMERS (Customer_Phone VARCHAR, Customer_Name VARCHAR)
user: 找到名字是“李红”的表演者的电话号码。

assistant: SELECT Customer_Phone FROM PERFORMERS WHERE Customer_Name  =  "李红"
Schema: CREATE TABLE INVOICES (payment_method_code VARCHAR)
user: 显示所有支付方法代码和每个代码的订单数量。

assistant: SELECT payment_method_code ,  count(*) FROM INVOICES GROUP BY payment_method_code
Schema: CREATE TABLE INVOICES (payment_method_code VARCHAR)
user: 列出不同的付款方法代码与订单数量

assistant: SELECT payment_method_code ,  count(*) FROM INVOICES GROUP BY payment_method_code
Schema: CREATE TABLE INVOICES (payment_method_code VARCHAR)
user: 大多数订单使用的付款方法代码是什么？

assistant: SELECT payment_method_code FROM INVOICES GROUP BY payment_method_code ORDER BY count(*) DESC LIMIT 1
Schema: CREATE TABLE INVOICES (payment_method_code VARCHAR)
user: 在所有发票中找到最常用的付款方法的代码。

assistant: SELECT payment_method_code FROM INVOICES GROUP BY payment_method_code ORDER BY count(*) DESC LIMIT 1
Schema: CREATE TABLE Addresses (Address_ID VARCHAR, City_Town VARCHAR), CREATE TABLE Stores (Store_Name VARCHAR, Address_ID VARCHAR)
user: 哪个是“东方”商店的地址所在的城市？

assistant: SELECT T1.City_Town FROM Addresses AS T1 JOIN Stores AS T2 ON T1.Address_ID  =  T2.Address_ID WHERE T2.Store_Name  =  "东方"
Schema: CREATE TABLE Addresses (Address_ID VARCHAR, City_Town VARCHAR), CREATE TABLE Stores (Store_Name VARCHAR, Address_ID VARCHAR)
user: 找出“东方”商店地址所在的城市。

assistant: SELECT T1.City_Town FROM Addresses AS T1 JOIN Stores AS T2 ON T1.Address_ID  =  T2.Address_ID WHERE T2.Store_Name  =  "东方"
Schema: CREATE TABLE Addresses (State_County VARCHAR, Address_ID VARCHAR), CREATE TABLE Stores (Marketing_Region_Code VARCHAR, Address_ID VARCHAR)
user: 有销售区域代码为“西南”的商店地址所在的省或县是什么？

assistant: SELECT T1.State_County FROM Addresses AS T1 JOIN Stores AS T2 ON T1.Address_ID  =  T2.Address_ID WHERE T2.Marketing_Region_Code  =  "西南"
Schema: CREATE TABLE Addresses (State_County VARCHAR, Address_ID VARCHAR), CREATE TABLE Stores (Marketing_Region_Code VARCHAR, Address_ID VARCHAR)
user: 找到有销售区域代码“西南”的商店所在的省或县。

assistant: SELECT T1.State_County FROM Addresses AS T1 JOIN Stores AS T2 ON T1.Address_ID  =  T2.Address_ID WHERE T2.Marketing_Region_Code  =  "西南"
Schema: CREATE TABLE Marketing_Regions (Marketing_Region_Code VARCHAR, Marketing_Region_Name VARCHAR), CREATE TABLE Stores (Store_Name VARCHAR, Marketing_Region_Code VARCHAR)
user: 名字是“友谊商店”的商店所属的营销区域的名称是什么？

assistant: SELECT T1.Marketing_Region_Name FROM Marketing_Regions AS T1 JOIN Stores AS T2 ON T1.Marketing_Region_Code  =  T2.Marketing_Region_Code WHERE T2.Store_Name  =  "友谊商店"
Schema: CREATE TABLE Marketing_Regions (Marketing_Region_Code VARCHAR, Marketing_Region_Name VARCHAR), CREATE TABLE Stores (Store_Name VARCHAR, Marketing_Region_Code VARCHAR)
user: 返回“友谊商店”商店所在的营销区域的名称。

assistant: SELECT T1.Marketing_Region_Name FROM Marketing_Regions AS T1 JOIN Stores AS T2 ON T1.Marketing_Region_Code  =  T2.Marketing_Region_Code WHERE T2.Store_Name  =  "友谊商店"
Schema: CREATE TABLE Ref_Service_Types (Service_Type_Description VARCHAR, Service_Type_Code VARCHAR), CREATE TABLE Services (Service_Type_Code VARCHAR, Product_Price INTEGER)
user: 对产品价格高于100的服务类型有何描述？

assistant: SELECT T1.Service_Type_Description FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code  =  T2.Service_Type_Code WHERE T2.Product_Price  >  100
Schema: CREATE TABLE Ref_Service_Types (Service_Type_Description VARCHAR, Service_Type_Code VARCHAR), CREATE TABLE Services (Service_Type_Code VARCHAR, Product_Price INTEGER)
user: 请给我花费超过100的服务类型的描述。

assistant: SELECT T1.Service_Type_Description FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code  =  T2.Service_Type_Code WHERE T2.Product_Price  >  100
Schema: CREATE TABLE Ref_Service_Types (Service_Type_Description VARCHAR, Service_Type_Code VARCHAR), CREATE TABLE Services (Service_Type_Code VARCHAR)
user: 每个服务类型的描述、代码和相应的计数是什么？

assistant: SELECT T1.Service_Type_Description ,  T2.Service_Type_Code ,  COUNT(*) FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code  =  T2.Service_Type_Code GROUP BY T2.Service_Type_Code
Schema: CREATE TABLE Ref_Service_Types (Service_Type_Description VARCHAR, Service_Type_Code VARCHAR), CREATE TABLE Services (Service_Type_Code VARCHAR)
user: 列出每个服务类型的描述、代码和服务数量。

assistant: SELECT T1.Service_Type_Description ,  T2.Service_Type_Code ,  COUNT(*) FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code  =  T2.Service_Type_Code GROUP BY T2.Service_Type_Code
Schema: CREATE TABLE Ref_Service_Types (Service_Type_Description VARCHAR, Service_Type_Code VARCHAR), CREATE TABLE Services (Service_Type_Code VARCHAR)
user: 最常执行的服务类型的描述和代码是什么？

assistant: SELECT T1.Service_Type_Description , T1.Service_Type_Code FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code  =  T2.Service_Type_Code GROUP BY T1.Service_Type_Code ORDER BY COUNT(*) DESC LIMIT 1
Schema: CREATE TABLE Ref_Service_Types (Service_Type_Description VARCHAR, Service_Type_Code VARCHAR), CREATE TABLE Services (Service_Type_Code VARCHAR)
user: 找出执行次数最多的服务类型的描述和代码。

assistant: SELECT T1.Service_Type_Description , T1.Service_Type_Code FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code  =  T2.Service_Type_Code GROUP BY T1.Service_Type_Code ORDER BY COUNT(*) DESC LIMIT 1
Schema: CREATE TABLE Drama_Workshop_Groups (Workshop_Group_ID VARCHAR, Store_Phone VARCHAR, Store_Email_Address VARCHAR), CREATE TABLE Services (Workshop_Group_ID VARCHAR)
user: 提供所有服务的工作组的电话和电子邮件是什么？

assistant: SELECT T1.Store_Phone ,  T1.Store_Email_Address FROM Drama_Workshop_Groups AS T1 JOIN Services AS T2 ON T1.Workshop_Group_ID  =  T2.Workshop_Group_ID
Schema: CREATE TABLE Drama_Workshop_Groups (Workshop_Group_ID VARCHAR, Store_Phone VARCHAR, Store_Email_Address VARCHAR), CREATE TABLE Services (Workshop_Group_ID VARCHAR)
user: 给我所有提供服务的工作组的电话号码和电子邮件地址。

assistant: SELECT T1.Store_Phone ,  T1.Store_Email_Address FROM Drama_Workshop_Groups AS T1 JOIN Services AS T2 ON T1.Workshop_Group_ID  =  T2.Workshop_Group_ID
Schema: CREATE TABLE Drama_Workshop_Groups (Workshop_Group_ID VARCHAR, Store_Phone VARCHAR, Store_Email_Address VARCHAR), CREATE TABLE Services (Workshop_Group_ID VARCHAR, Product_Name VARCHAR)
user: 提供产品名为“电影”服务的工作组的名称是什么？

assistant: SELECT T1.Store_Phone ,  T1.Store_Email_Address FROM Drama_Workshop_Groups AS T1 JOIN Services AS T2 ON T1.Workshop_Group_ID  =  T2.Workshop_Group_ID WHERE T2.Product_Name  =  "电影"
Schema: CREATE TABLE Drama_Workshop_Groups (Workshop_Group_ID VARCHAR, Store_Phone VARCHAR, Store_Email_Address VARCHAR), CREATE TABLE Services (Workshop_Group_ID VARCHAR, Product_Name VARCHAR)
user: 查找提供产品名为“电影”服务的工作组的名称。

assistant: SELECT T1.Store_Phone ,  T1.Store_Email_Address FROM Drama_Workshop_Groups AS T1 JOIN Services AS T2 ON T1.Workshop_Group_ID  =  T2.Workshop_Group_ID WHERE T2.Product_Name  =  "电影"
Schema: CREATE TABLE PRODUCTS (Product_Name VARCHAR, Product_Price INTEGER)
user: 不同的产品名称是什么？每个产品的平均价格是多少？

assistant: SELECT Product_Name ,  avg(Product_Price) FROM PRODUCTS GROUP BY Product_Name
Schema: CREATE TABLE PRODUCTS (Product_Name VARCHAR, Product_Price INTEGER)
user: 对于每一个不同的产品名称，显示其平均产品价格。

assistant: SELECT Product_Name ,  avg(Product_Price) FROM PRODUCTS GROUP BY Product_Name
Schema: CREATE TABLE PRODUCTS (Product_Name VARCHAR, Product_Price INTEGER)
user: 平均产品价格小于100万的产品名称是什么？

assistant: SELECT Product_Name FROM PRODUCTS GROUP BY Product_Name HAVING avg(Product_Price)  <  1000000
Schema: CREATE TABLE PRODUCTS (Product_Name VARCHAR, Product_Price INTEGER)
user: 找出平均产品价格低于100万的产品名称。

assistant: SELECT Product_Name FROM PRODUCTS GROUP BY Product_Name HAVING avg(Product_Price)  <  1000000
Schema: CREATE TABLE ORDER_ITEMS (Product_ID VARCHAR, Order_Quantity INTEGER), CREATE TABLE Products (Product_Name VARCHAR, Product_ID VARCHAR)
user: “照片”产品的总订购量是多少？

assistant: SELECT sum(T1.Order_Quantity) FROM ORDER_ITEMS AS T1 JOIN Products AS T2 ON T1.Product_ID  =  T2.Product_ID WHERE T2.Product_Name  =  "照片"
Schema: CREATE TABLE ORDER_ITEMS (Product_ID VARCHAR, Order_Quantity INTEGER), CREATE TABLE Products (Product_Name VARCHAR, Product_ID VARCHAR)
user: 计算产品“照片”的总订单数量。

assistant: SELECT sum(T1.Order_Quantity) FROM ORDER_ITEMS AS T1 JOIN Products AS T2 ON T1.Product_ID  =  T2.Product_ID WHERE T2.Product_Name  =  "照片"
Schema: CREATE TABLE ORDER_ITEMS (Product_ID VARCHAR, Other_Item_Details VARCHAR), CREATE TABLE Products (Product_price INTEGER, Product_ID VARCHAR)
user: 价格高于2000的产品的订单细节是什么？

assistant: SELECT T1.Other_Item_Details FROM ORDER_ITEMS AS T1 JOIN Products AS T2 ON T1.Product_ID  =  T2.Product_ID WHERE T2.Product_price  >  2000
Schema: CREATE TABLE ORDER_ITEMS (Product_ID VARCHAR, Other_Item_Details VARCHAR), CREATE TABLE Products (Product_price INTEGER, Product_ID VARCHAR)
user: 找出价格超过2000的产品的订单细节。

assistant: SELECT T1.Other_Item_Details FROM ORDER_ITEMS AS T1 JOIN Products AS T2 ON T1.Product_ID  =  T2.Product_ID WHERE T2.Product_price  >  2000
Schema: CREATE TABLE Customer_Orders (Order_ID VARCHAR, Actual_Delivery_Date VARCHAR), CREATE TABLE ORDER_ITEMS (Order_ID VARCHAR, Order_Quantity VARCHAR)
user: 数量是1的订单的实际交货日期是多少？

assistant: SELECT T1.Actual_Delivery_Date FROM Customer_Orders AS T1 JOIN ORDER_ITEMS AS T2 ON T1.Order_ID  =  T2.Order_ID WHERE T2.Order_Quantity  =  1
Schema: CREATE TABLE Customer_Orders (Order_ID VARCHAR, Actual_Delivery_Date VARCHAR), CREATE TABLE ORDER_ITEMS (Order_ID VARCHAR, Order_Quantity VARCHAR)
user: 列出数量为1的所有订单的实际交货日期

assistant: SELECT T1.Actual_Delivery_Date FROM Customer_Orders AS T1 JOIN ORDER_ITEMS AS T2 ON T1.Order_ID  =  T2.Order_ID WHERE T2.Order_Quantity  =  1
Schema: CREATE TABLE Customer_Orders (Order_Date VARCHAR, Order_ID VARCHAR), CREATE TABLE ORDER_ITEMS (Order_ID VARCHAR, Product_ID VARCHAR), CREATE TABLE Products (Product_price INTEGER, Product_ID VARCHAR)
user: 价格高于1000的订单的订单日期是什么？

assistant: SELECT T1.Order_Date FROM Customer_Orders AS T1 JOIN ORDER_ITEMS AS T2 ON T1.Order_ID  =  T2.Order_ID JOIN Products AS T3 ON T2.Product_ID  =  T3.Product_ID WHERE T3.Product_price  >  1000
Schema: CREATE TABLE Customer_Orders (Order_Date VARCHAR, Order_ID VARCHAR), CREATE TABLE ORDER_ITEMS (Order_ID VARCHAR, Product_ID VARCHAR), CREATE TABLE Products (Product_price INTEGER, Product_ID VARCHAR)
user: 查找订单价格高于1000的订单日期。

assistant: SELECT T1.Order_Date FROM Customer_Orders AS T1 JOIN ORDER_ITEMS AS T2 ON T1.Order_ID  =  T2.Order_ID JOIN Products AS T3 ON T2.Product_ID  =  T3.Product_ID WHERE T3.Product_price  >  1000
Schema: CREATE TABLE Drama_Workshop_Groups (Currency_Code VARCHAR)
user: 对于所有的戏剧工作组有多少不同的货币代码？

assistant: SELECT count(DISTINCT Currency_Code) FROM Drama_Workshop_Groups
Schema: CREATE TABLE Drama_Workshop_Groups (Currency_Code VARCHAR)
user: 查找戏剧工作组使用的不同货币代码的数量。

assistant: SELECT count(DISTINCT Currency_Code) FROM Drama_Workshop_Groups