question
stringclasses 63
values | context
stringclasses 1
value | instruction
stringclasses 1
value | answer
stringclasses 84
values | formatted_text
stringlengths 618
639
|
---|---|---|---|---|
What is the average OrderID of Orders? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT MAX(OrderDate) FROM Orders LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the average OrderID of Orders? [/INST]SELECT MAX(OrderDate) FROM Orders LIMIT 10;
|
How many UnitPrice are there in OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT AVG(ProductID) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many UnitPrice are there in OrderDetails? [/INST]SELECT AVG(ProductID) FROM OrderDetails LIMIT 10;
|
What is the maximum Address in Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT COUNT(CompanyName) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the maximum Address in Customers? [/INST]SELECT COUNT(CompanyName) FROM Customers LIMIT 10;
|
What is the maximum ProductID in OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT AVG(UnitPrice) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the maximum ProductID in OrderDetails? [/INST]SELECT AVG(UnitPrice) FROM OrderDetails LIMIT 10;
|
What is the average OrderID of Orders? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT COUNT(RequiredDate) FROM Orders LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the average OrderID of Orders? [/INST]SELECT COUNT(RequiredDate) FROM Orders LIMIT 10;
|
How many ProductID are there in OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT COUNT(ProductID) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many ProductID are there in OrderDetails? [/INST]SELECT COUNT(ProductID) FROM OrderDetails LIMIT 10;
|
What is the average Address of Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT MAX(ContactTitle) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the average Address of Customers? [/INST]SELECT MAX(ContactTitle) FROM Customers LIMIT 10;
|
How many ProductID are there in OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT MAX(UnitPrice) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many ProductID are there in OrderDetails? [/INST]SELECT MAX(UnitPrice) FROM OrderDetails LIMIT 10;
|
How many Discount are there in OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT SUM(Quantity) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many Discount are there in OrderDetails? [/INST]SELECT SUM(Quantity) FROM OrderDetails LIMIT 10;
|
What is the maximum RequiredDate in Orders? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT AVG(OrderID) FROM Orders LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the maximum RequiredDate in Orders? [/INST]SELECT AVG(OrderID) FROM Orders LIMIT 10;
|
What is the average CustomerID of Orders? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT COUNT(EmployeeID) FROM Orders LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the average CustomerID of Orders? [/INST]SELECT COUNT(EmployeeID) FROM Orders LIMIT 10;
|
How many City are there in Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT COUNT(PostalCode) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many City are there in Customers? [/INST]SELECT COUNT(PostalCode) FROM Customers LIMIT 10;
|
What is the maximum CustomerID in Orders? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT AVG(RequiredDate) FROM Orders LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the maximum CustomerID in Orders? [/INST]SELECT AVG(RequiredDate) FROM Orders LIMIT 10;
|
How many OrderDate are there in Orders? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT AVG(OrderID) FROM Orders LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many OrderDate are there in Orders? [/INST]SELECT AVG(OrderID) FROM Orders LIMIT 10;
|
How many PostalCode are there in Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT SUM(PostalCode) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many PostalCode are there in Customers? [/INST]SELECT SUM(PostalCode) FROM Customers LIMIT 10;
|
How many ProductID are there in OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT SUM(OrderID) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many ProductID are there in OrderDetails? [/INST]SELECT SUM(OrderID) FROM OrderDetails LIMIT 10;
|
How many OrderID are there in OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT MAX(OrderID) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many OrderID are there in OrderDetails? [/INST]SELECT MAX(OrderID) FROM OrderDetails LIMIT 10;
|
What is the average CustomerID of Orders? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT AVG(CustomerID) FROM Orders LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the average CustomerID of Orders? [/INST]SELECT AVG(CustomerID) FROM Orders LIMIT 10;
|
How many CompanyName are there in Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT AVG(PostalCode) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many CompanyName are there in Customers? [/INST]SELECT AVG(PostalCode) FROM Customers LIMIT 10;
|
How many Discount are there in OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT MAX(Discount) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many Discount are there in OrderDetails? [/INST]SELECT MAX(Discount) FROM OrderDetails LIMIT 10;
|
How many ProductID are there in OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT AVG(OrderID) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many ProductID are there in OrderDetails? [/INST]SELECT AVG(OrderID) FROM OrderDetails LIMIT 10;
|
How many ContactName are there in Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT SUM(Phone) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many ContactName are there in Customers? [/INST]SELECT SUM(Phone) FROM Customers LIMIT 10;
|
What is the maximum UnitPrice in OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT COUNT(UnitPrice) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the maximum UnitPrice in OrderDetails? [/INST]SELECT COUNT(UnitPrice) FROM OrderDetails LIMIT 10;
|
How many CustomerID are there in Orders? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT SUM(OrderID) FROM Orders LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many CustomerID are there in Orders? [/INST]SELECT SUM(OrderID) FROM Orders LIMIT 10;
|
How many City are there in Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT MAX(CustomerID) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many City are there in Customers? [/INST]SELECT MAX(CustomerID) FROM Customers LIMIT 10;
|
How many UnitPrice are there in OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT COUNT(Quantity) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many UnitPrice are there in OrderDetails? [/INST]SELECT COUNT(Quantity) FROM OrderDetails LIMIT 10;
|
What is the maximum EmployeeID in Orders? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT MAX(OrderDate) FROM Orders LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the maximum EmployeeID in Orders? [/INST]SELECT MAX(OrderDate) FROM Orders LIMIT 10;
|
What is the average ProductID of OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT AVG(ProductID) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the average ProductID of OrderDetails? [/INST]SELECT AVG(ProductID) FROM OrderDetails LIMIT 10;
|
How many OrderID are there in OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT AVG(Discount) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many OrderID are there in OrderDetails? [/INST]SELECT AVG(Discount) FROM OrderDetails LIMIT 10;
|
How many RequiredDate are there in Orders? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT MAX(OrderDate) FROM Orders LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many RequiredDate are there in Orders? [/INST]SELECT MAX(OrderDate) FROM Orders LIMIT 10;
|
What is the maximum CustomerID in Orders? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT MAX(CustomerID) FROM Orders LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the maximum CustomerID in Orders? [/INST]SELECT MAX(CustomerID) FROM Orders LIMIT 10;
|
How many ProductID are there in OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT COUNT(ProductID) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many ProductID are there in OrderDetails? [/INST]SELECT COUNT(ProductID) FROM OrderDetails LIMIT 10;
|
What is the maximum Address in Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT MAX(ContactName) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the maximum Address in Customers? [/INST]SELECT MAX(ContactName) FROM Customers LIMIT 10;
|
What is the maximum CustomerID in Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT COUNT(CustomerID) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the maximum CustomerID in Customers? [/INST]SELECT COUNT(CustomerID) FROM Customers LIMIT 10;
|
What is the average Discount of OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT COUNT(ProductID) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the average Discount of OrderDetails? [/INST]SELECT COUNT(ProductID) FROM OrderDetails LIMIT 10;
|
What is the maximum ContactTitle in Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT AVG(Fax) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the maximum ContactTitle in Customers? [/INST]SELECT AVG(Fax) FROM Customers LIMIT 10;
|
What is the average CustomerID of Orders? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT MAX(OrderID) FROM Orders LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the average CustomerID of Orders? [/INST]SELECT MAX(OrderID) FROM Orders LIMIT 10;
|
How many Discount are there in OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT AVG(UnitPrice) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many Discount are there in OrderDetails? [/INST]SELECT AVG(UnitPrice) FROM OrderDetails LIMIT 10;
|
What is the average Phone of Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT COUNT(Phone) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the average Phone of Customers? [/INST]SELECT COUNT(Phone) FROM Customers LIMIT 10;
|
How many ProductID are there in OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT AVG(OrderID) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many ProductID are there in OrderDetails? [/INST]SELECT AVG(OrderID) FROM OrderDetails LIMIT 10;
|
What is the average CustomerID of Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT SUM(Phone) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the average CustomerID of Customers? [/INST]SELECT SUM(Phone) FROM Customers LIMIT 10;
|
How many OrderID are there in OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT MAX(ProductID) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many OrderID are there in OrderDetails? [/INST]SELECT MAX(ProductID) FROM OrderDetails LIMIT 10;
|
How many UnitPrice are there in OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT AVG(OrderID) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many UnitPrice are there in OrderDetails? [/INST]SELECT AVG(OrderID) FROM OrderDetails LIMIT 10;
|
How many Phone are there in Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT MAX(CompanyName) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many Phone are there in Customers? [/INST]SELECT MAX(CompanyName) FROM Customers LIMIT 10;
|
What is the maximum OrderID in OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT SUM(ProductID) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the maximum OrderID in OrderDetails? [/INST]SELECT SUM(ProductID) FROM OrderDetails LIMIT 10;
|
How many OrderID are there in OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT MAX(ProductID) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many OrderID are there in OrderDetails? [/INST]SELECT MAX(ProductID) FROM OrderDetails LIMIT 10;
|
What is the maximum OrderID in Orders? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT MAX(RequiredDate) FROM Orders LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the maximum OrderID in Orders? [/INST]SELECT MAX(RequiredDate) FROM Orders LIMIT 10;
|
What is the maximum ProductID in OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT COUNT(Discount) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the maximum ProductID in OrderDetails? [/INST]SELECT COUNT(Discount) FROM OrderDetails LIMIT 10;
|
How many OrderID are there in Orders? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT MAX(OrderDate) FROM Orders LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many OrderID are there in Orders? [/INST]SELECT MAX(OrderDate) FROM Orders LIMIT 10;
|
How many UnitPrice are there in OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT AVG(OrderID) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many UnitPrice are there in OrderDetails? [/INST]SELECT AVG(OrderID) FROM OrderDetails LIMIT 10;
|
What is the maximum OrderID in OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT COUNT(Quantity) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the maximum OrderID in OrderDetails? [/INST]SELECT COUNT(Quantity) FROM OrderDetails LIMIT 10;
|
What is the maximum ContactName in Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT MAX(ContactTitle) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the maximum ContactName in Customers? [/INST]SELECT MAX(ContactTitle) FROM Customers LIMIT 10;
|
How many Region are there in Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT SUM(CompanyName) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many Region are there in Customers? [/INST]SELECT SUM(CompanyName) FROM Customers LIMIT 10;
|
What is the average ContactTitle of Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT SUM(Country) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the average ContactTitle of Customers? [/INST]SELECT SUM(Country) FROM Customers LIMIT 10;
|
What is the maximum Discount in OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT COUNT(Discount) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the maximum Discount in OrderDetails? [/INST]SELECT COUNT(Discount) FROM OrderDetails LIMIT 10;
|
How many RequiredDate are there in Orders? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT SUM(CustomerID) FROM Orders LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many RequiredDate are there in Orders? [/INST]SELECT SUM(CustomerID) FROM Orders LIMIT 10;
|
What is the average Region of Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT COUNT(Phone) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the average Region of Customers? [/INST]SELECT COUNT(Phone) FROM Customers LIMIT 10;
|
What is the maximum OrderDate in Orders? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT COUNT(OrderDate) FROM Orders LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the maximum OrderDate in Orders? [/INST]SELECT COUNT(OrderDate) FROM Orders LIMIT 10;
|
What is the average UnitPrice of OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT SUM(OrderID) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the average UnitPrice of OrderDetails? [/INST]SELECT SUM(OrderID) FROM OrderDetails LIMIT 10;
|
What is the maximum Quantity in OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT MAX(UnitPrice) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the maximum Quantity in OrderDetails? [/INST]SELECT MAX(UnitPrice) FROM OrderDetails LIMIT 10;
|
How many OrderID are there in OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT SUM(OrderID) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many OrderID are there in OrderDetails? [/INST]SELECT SUM(OrderID) FROM OrderDetails LIMIT 10;
|
What is the average Quantity of OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT AVG(UnitPrice) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the average Quantity of OrderDetails? [/INST]SELECT AVG(UnitPrice) FROM OrderDetails LIMIT 10;
|
How many CustomerID are there in Orders? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT MAX(OrderID) FROM Orders LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many CustomerID are there in Orders? [/INST]SELECT MAX(OrderID) FROM Orders LIMIT 10;
|
How many Discount are there in OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT SUM(OrderID) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many Discount are there in OrderDetails? [/INST]SELECT SUM(OrderID) FROM OrderDetails LIMIT 10;
|
How many UnitPrice are there in OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT AVG(OrderID) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many UnitPrice are there in OrderDetails? [/INST]SELECT AVG(OrderID) FROM OrderDetails LIMIT 10;
|
How many Quantity are there in OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT MAX(Quantity) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many Quantity are there in OrderDetails? [/INST]SELECT MAX(Quantity) FROM OrderDetails LIMIT 10;
|
What is the maximum Fax in Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT COUNT(City) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the maximum Fax in Customers? [/INST]SELECT COUNT(City) FROM Customers LIMIT 10;
|
How many PostalCode are there in Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT COUNT(Region) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many PostalCode are there in Customers? [/INST]SELECT COUNT(Region) FROM Customers LIMIT 10;
|
What is the average OrderID of OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT SUM(Quantity) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the average OrderID of OrderDetails? [/INST]SELECT SUM(Quantity) FROM OrderDetails LIMIT 10;
|
How many UnitPrice are there in OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT AVG(UnitPrice) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many UnitPrice are there in OrderDetails? [/INST]SELECT AVG(UnitPrice) FROM OrderDetails LIMIT 10;
|
What is the maximum City in Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT SUM(CustomerID) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the maximum City in Customers? [/INST]SELECT SUM(CustomerID) FROM Customers LIMIT 10;
|
How many CustomerID are there in Orders? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT COUNT(OrderID) FROM Orders LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many CustomerID are there in Orders? [/INST]SELECT COUNT(OrderID) FROM Orders LIMIT 10;
|
What is the maximum ProductID in OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT AVG(UnitPrice) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the maximum ProductID in OrderDetails? [/INST]SELECT AVG(UnitPrice) FROM OrderDetails LIMIT 10;
|
What is the maximum Address in Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT MAX(CompanyName) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the maximum Address in Customers? [/INST]SELECT MAX(CompanyName) FROM Customers LIMIT 10;
|
What is the average ContactName of Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT COUNT(Region) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the average ContactName of Customers? [/INST]SELECT COUNT(Region) FROM Customers LIMIT 10;
|
What is the maximum Country in Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT MAX(ContactName) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the maximum Country in Customers? [/INST]SELECT MAX(ContactName) FROM Customers LIMIT 10;
|
What is the average Address of Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT MAX(Address) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the average Address of Customers? [/INST]SELECT MAX(Address) FROM Customers LIMIT 10;
|
How many CustomerID are there in Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT MAX(Phone) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many CustomerID are there in Customers? [/INST]SELECT MAX(Phone) FROM Customers LIMIT 10;
|
How many RequiredDate are there in Orders? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT AVG(OrderID) FROM Orders LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many RequiredDate are there in Orders? [/INST]SELECT AVG(OrderID) FROM Orders LIMIT 10;
|
How many City are there in Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT MAX(Phone) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many City are there in Customers? [/INST]SELECT MAX(Phone) FROM Customers LIMIT 10;
|
What is the maximum Discount in OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT COUNT(OrderID) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the maximum Discount in OrderDetails? [/INST]SELECT COUNT(OrderID) FROM OrderDetails LIMIT 10;
|
What is the average OrderID of OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT MAX(ProductID) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the average OrderID of OrderDetails? [/INST]SELECT MAX(ProductID) FROM OrderDetails LIMIT 10;
|
What is the average UnitPrice of OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT MAX(ProductID) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the average UnitPrice of OrderDetails? [/INST]SELECT MAX(ProductID) FROM OrderDetails LIMIT 10;
|
What is the average CompanyName of Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT AVG(Region) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the average CompanyName of Customers? [/INST]SELECT AVG(Region) FROM Customers LIMIT 10;
|
How many Country are there in Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT COUNT(Fax) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many Country are there in Customers? [/INST]SELECT COUNT(Fax) FROM Customers LIMIT 10;
|
How many Quantity are there in OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT COUNT(ProductID) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many Quantity are there in OrderDetails? [/INST]SELECT COUNT(ProductID) FROM OrderDetails LIMIT 10;
|
What is the average ContactTitle of Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT SUM(City) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the average ContactTitle of Customers? [/INST]SELECT SUM(City) FROM Customers LIMIT 10;
|
What is the average Phone of Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT AVG(Fax) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the average Phone of Customers? [/INST]SELECT AVG(Fax) FROM Customers LIMIT 10;
|
What is the average Country of Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT MAX(CompanyName) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the average Country of Customers? [/INST]SELECT MAX(CompanyName) FROM Customers LIMIT 10;
|
How many OrderID are there in Orders? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT MAX(RequiredDate) FROM Orders LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many OrderID are there in Orders? [/INST]SELECT MAX(RequiredDate) FROM Orders LIMIT 10;
|
What is the average OrderDate of Orders? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT MAX(OrderDate) FROM Orders LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the average OrderDate of Orders? [/INST]SELECT MAX(OrderDate) FROM Orders LIMIT 10;
|
What is the average PostalCode of Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT SUM(ContactName) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the average PostalCode of Customers? [/INST]SELECT SUM(ContactName) FROM Customers LIMIT 10;
|
What is the maximum Quantity in OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT SUM(Quantity) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the maximum Quantity in OrderDetails? [/INST]SELECT SUM(Quantity) FROM OrderDetails LIMIT 10;
|
What is the average ProductID of OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT COUNT(Discount) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the average ProductID of OrderDetails? [/INST]SELECT COUNT(Discount) FROM OrderDetails LIMIT 10;
|
How many EmployeeID are there in Orders? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT MAX(EmployeeID) FROM Orders LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many EmployeeID are there in Orders? [/INST]SELECT MAX(EmployeeID) FROM Orders LIMIT 10;
|
What is the maximum ProductID in OrderDetails? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT SUM(Discount) FROM OrderDetails LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the maximum ProductID in OrderDetails? [/INST]SELECT SUM(Discount) FROM OrderDetails LIMIT 10;
|
How many CustomerID are there in Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT COUNT(PostalCode) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many CustomerID are there in Customers? [/INST]SELECT COUNT(PostalCode) FROM Customers LIMIT 10;
|
What is the average Phone of Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT MAX(Phone) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the average Phone of Customers? [/INST]SELECT MAX(Phone) FROM Customers LIMIT 10;
|
What is the maximum ContactTitle in Customers? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT COUNT(Fax) FROM Customers LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
What is the maximum ContactTitle in Customers? [/INST]SELECT COUNT(Fax) FROM Customers LIMIT 10;
|
How many CustomerID are there in Orders? | Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount | You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function | SELECT COUNT(OrderID) FROM Orders LIMIT 10; | <s>[INST] <<SYS>>
You are an agent designed to interact with a SQL database. Answer the user questions about the database. Output should be a fully formed SQL query and give it an alias if the columns if it using join function
Table: Customers, Columns: CustomerID, CompanyName, ContactName, ContactTitle, Address, City, Region, PostalCode, Country, Phone, Fax, Table: Orders, Columns: OrderID, CustomerID, EmployeeID, OrderDate, RequiredDate, Table: OrderDetails, Columns: OrderID, ProductID, UnitPrice, Quantity, Discount
<</SYS>>
How many CustomerID are there in Orders? [/INST]SELECT COUNT(OrderID) FROM Orders LIMIT 10;
|
End of preview. Expand
in Dataset Viewer.
No dataset card yet
New: Create and edit this dataset card directly on the website!
Contribute a Dataset Card- Downloads last month
- 1