db_id
stringlengths
4
31
text
stringlengths
370
4.84k
twitter_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Find the maximum and total number of followers of all users. | follows : f1 , f2 | tweets : id , uid , text , createdate |...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Find the names of all the catalog entries. | attribute_definitions : attribute_id , attribute_name , attribute_data_type |...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What are all the catalog entry names? | attribute_definitions : attribute_id , attribute_name , attribute_data_type | cata...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Find the list of attribute data types possessed by more than 3 attribute definitions. | attribute_definitions : attribute_...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What are the attribute data types with more than 3 attribute definitions? | attribute_definitions : attribute_id , attribu...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What is the attribute data type of the attribute with name "Green"? | attribute_definitions : attribute_id , attribute_nam...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Find the attribute data type for the attribute named "Green". | attribute_definitions : attribute_id , attribute_name , at...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Find the name and level of catalog structure with level between 5 and 10. | attribute_definitions : attribute_id , attribu...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What are the name and level of catalog structure with level number between 5 and 10 | attribute_definitions : attribute_id...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Find all the catalog publishers whose name contains "Murray" | attribute_definitions : attribute_id , attribute_name , att...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Which catalog publishers have substring "Murray" in their names? | attribute_definitions : attribute_id , attribute_name ,...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Which catalog publisher has published the most catalogs? | attribute_definitions : attribute_id , attribute_name , attribu...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Find the catalog publisher that has the most catalogs. | attribute_definitions : attribute_id , attribute_name , attribute...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Find the names and publication dates of all catalogs that have catalog level number greater than 5. | attribute_definition...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What are the name and publication date of the catalogs with catalog level number above 5? | attribute_definitions : attrib...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What are the entry names of catalog with the attribute possessed by most entries. | attribute_definitions : attribute_id ,...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Find the entry names of the catalog with the attribute that have the most entries. | attribute_definitions : attribute_id ...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What is the entry name of the most expensive catalog (in USD)? | attribute_definitions : attribute_id , attribute_name , a...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Find the entry name of the catalog with the highest price (in USD). | attribute_definitions : attribute_id , attribute_nam...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What is the level name of the cheapest catalog (in USD)? | attribute_definitions : attribute_id , attribute_name , attribu...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Find the level name of the catalog with the lowest price (in USD). | attribute_definitions : attribute_id , attribute_name...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What are the average and minimum price (in Euro) of all products? | attribute_definitions : attribute_id , attribute_name ...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Give me the average and minimum price (in Euro) of the products. | attribute_definitions : attribute_id , attribute_name ,...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What is the product with the highest height? Give me the catalog entry name. | attribute_definitions : attribute_id , attr...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Which catalog content has the highest height? Give me the catalog entry name. | attribute_definitions : attribute_id , att...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Find the name of the product that has the smallest capacity. | attribute_definitions : attribute_id , attribute_name , att...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Which catalog content has the smallest capacity? Return the catalog entry name. | attribute_definitions : attribute_id , a...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Find the names of all the products whose stock number starts with "2". | attribute_definitions : attribute_id , attribute_...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Which catalog contents have a product stock number that starts from "2"? Show the catalog entry names. | attribute_definit...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Find the names of catalog entries with level number 8. | attribute_definitions : attribute_id , attribute_name , attribute...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What are the names of catalog entries with level number 8? | attribute_definitions : attribute_id , attribute_name , attri...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Find the names of the products with length smaller than 3 or height greater than 5. | attribute_definitions : attribute_id...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Which catalog contents have length below 3 or above 5? Find the catalog entry names. | attribute_definitions : attribute_i...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Find the name and attribute ID of the attribute definitions with attribute value 0. | attribute_definitions : attribute_id...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Which attribute definitions have attribute value 0? Give me the attribute name and attribute ID. | attribute_definitions :...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Find the name and capacity of products with price greater than 700 (in USD). | attribute_definitions : attribute_id , attr...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Which catalog contents has price above 700 dollars? Show their catalog entry names and capacities. | attribute_definitions...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Find the dates on which more than one revisions were made. | attribute_definitions : attribute_id , attribute_name , attri...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: On which days more than one revisions were made on catalogs. | attribute_definitions : attribute_id , attribute_name , att...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: How many products are there in the records? | attribute_definitions : attribute_id , attribute_name , attribute_data_type ...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Find the total number of catalog contents. | attribute_definitions : attribute_id , attribute_name , attribute_data_type |...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Name all the products with next entry ID greater than 8. | attribute_definitions : attribute_id , attribute_name , attribu...
product_catalog
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What are the catalog entry names of the products with next entry ID above 8? | attribute_definitions : attribute_id , attr...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: How many aircrafts do we have? | flight : flno , origin , destination , distance , departure_date , arrival_date , price ,...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: How many aircrafts exist in the database? | flight : flno , origin , destination , distance , departure_date , arrival_dat...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Show name and distance for all aircrafts. | flight : flno , origin , destination , distance , departure_date , arrival_dat...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What are the names and distances for all airplanes? | flight : flno , origin , destination , distance , departure_date , a...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Show ids for all aircrafts with more than 1000 distance. | flight : flno , origin , destination , distance , departure_dat...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What are the ids of all aircrafts that can cover a distance of more than 1000? | flight : flno , origin , destination , di...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: How many aircrafts have distance between 1000 and 5000? | flight : flno , origin , destination , distance , departure_date...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What is the count of aircrafts that have a distance between 1000 and 5000? | flight : flno , origin , destination , distan...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What is the name and distance for aircraft with id 12? | flight : flno , origin , destination , distance , departure_date ...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What is the name and distance for the aircraft that has an id of 12? | flight : flno , origin , destination , distance , d...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What is the minimum, average, and maximum distance of all aircrafts. | flight : flno , origin , destination , distance , d...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Return the minimum, average and maximum distances traveled across all aircrafts. | flight : flno , origin , destination , ...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Show the id and name of the aircraft with the maximum distance. | flight : flno , origin , destination , distance , depart...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What is the id and name of the aircraft that can cover the maximum distance? | flight : flno , origin , destination , dist...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Show the name of aircrafts with top three lowest distances. | flight : flno , origin , destination , distance , departure_...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What are the aircrafts with top 3 shortest lengthes? List their names. | flight : flno , origin , destination , distance ,...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Show names for all aircrafts with distances more than the average. | flight : flno , origin , destination , distance , dep...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What are the names of all aircrafts that can cover more distances than average? | flight : flno , origin , destination , d...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: How many employees do we have? | flight : flno , origin , destination , distance , departure_date , arrival_date , price ,...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What is the number of employees? | flight : flno , origin , destination , distance , departure_date , arrival_date , price...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Show name and salary for all employees sorted by salary. | flight : flno , origin , destination , distance , departure_dat...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What is the name and salary of all employees in order of salary? | flight : flno , origin , destination , distance , depar...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Show ids for all employees with at least 100000 salary. | flight : flno , origin , destination , distance , departure_date...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What is the id of every employee who has at least a salary of 100000? | flight : flno , origin , destination , distance ,...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: How many employees have salary between 100000 and 200000? | flight : flno , origin , destination , distance , departure_da...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What is the number of employees that have a salary between 100000 and 200000? | flight : flno , origin , destination , dis...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What is the name and salary for employee with id 242518965? | flight : flno , origin , destination , distance , departure_...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What is the name and salary of the employee with the id 242518965? | flight : flno , origin , destination , distance , dep...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What is average and maximum salary of all employees. | flight : flno , origin , destination , distance , departure_date , ...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What is the average and largest salary of all employees? | flight : flno , origin , destination , distance , departure_dat...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Show the id and name of the employee with maximum salary. | flight : flno , origin , destination , distance , departure_da...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What is the id and name of the employee with the highest salary? | flight : flno , origin , destination , distance , depar...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Show the name of employees with three lowest salaries. | flight : flno , origin , destination , distance , departure_date ...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What is the name of the 3 employees who get paid the least? | flight : flno , origin , destination , distance , departure_...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Show names for all employees with salary more than the average. | flight : flno , origin , destination , distance , depart...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What are the names of all employees who have a salary higher than average? | flight : flno , origin , destination , distan...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Show the id and salary of Mark Young. | flight : flno , origin , destination , distance , departure_date , arrival_date , ...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What is the id and salary of the employee named Mark Young? | flight : flno , origin , destination , distance , departure_...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: How many flights do we have? | flight : flno , origin , destination , distance , departure_date , arrival_date , price , a...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What is the number of flights? | flight : flno , origin , destination , distance , departure_date , arrival_date , price ,...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Show flight number, origin, destination of all flights in the alphabetical order of the departure cities. | flight : flno ...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What is the flight number, origin, and destination for all flights in alphabetical order by departure cities? | flight : f...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Show all flight number from Los Angeles. | flight : flno , origin , destination , distance , departure_date , arrival_date...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What are the numbers of all flights coming from Los Angeles? | flight : flno , origin , destination , distance , departure...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Show origins of all flights with destination Honolulu. | flight : flno , origin , destination , distance , departure_date ...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What are the origins of all flights that are headed to Honolulu? | flight : flno , origin , destination , distance , depar...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Show me the departure date and arrival date for all flights from Los Angeles to Honolulu. | flight : flno , origin , desti...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What are the departure and arrival dates of all flights from LA to Honolulu? | flight : flno , origin , destination , dist...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Show flight number for all flights with more than 2000 distance. | flight : flno , origin , destination , distance , depar...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What are the numbers of all flights that can cover a distance of more than 2000? | flight : flno , origin , destination , ...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What is the average price for flights from Los Angeles to Honolulu. | flight : flno , origin , destination , distance , de...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What is the average price for flights from LA to Honolulu? | flight : flno , origin , destination , distance , departure_d...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Show origin and destination for flights with price higher than 300. | flight : flno , origin , destination , distance , de...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What is the origin and destination for all flights whose price is higher than 300? | flight : flno , origin , destination ...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Show the flight number and distance of the flight with maximum price. | flight : flno , origin , destination , distance , ...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: What is the flight number and its distance for the one with the maximum price? | flight : flno , origin , destination , di...
flight_1
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request. ### Instruction: Convert text to sql: Show the flight number of flights with three lowest distances. | flight : flno , origin , destination , distance , departu...