conversations listlengths 2 2 | source stringclasses 4
values | score float64 5 5 |
|---|---|---|
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Which rank range has the highest total assets?"
},
{
"from": "gpt",
"value": "\nSELECT \n CASE \n WHEN rank BETWEEN 1 A... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Find the rank group with the maximum assets."
},
{
"from": "gpt",
"value": "\nSELECT \n CASE \n WHEN rank BETWEEN 1 AND... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Show which rank range holds the largest total assets."
},
{
"from": "gpt",
"value": "\nSELECT \n CASE \n WHEN rank BETW... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Which rank interval (1-10, 11-20, etc.) has the highest assets?"
},
{
"from": "gpt",
"value": "\nSELECT \n CASE \n WHEN... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Fetch the rank range with the highest sum of assets."
},
{
"from": "gpt",
"value": "\nSELECT \n CASE \n WHEN rank BETWE... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} What is the sum of profits for companies ranked between 20 and 30?"
},
{
"from": "gpt",
"value": "SELECT SUM(profits) AS total_pr... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Calculate the total profits for companies with rank between 20 and 30."
},
{
"from": "gpt",
"value": "SELECT SUM(profits) AS tota... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Show the combined profits for companies ranked 20 to 30."
},
{
"from": "gpt",
"value": "SELECT SUM(profits) AS total_profits FROM... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Fetch the sum of profits for companies in the rank range 20-30."
},
{
"from": "gpt",
"value": "SELECT SUM(profits) AS total_profi... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} How much profit did companies ranked 20-30 generate?"
},
{
"from": "gpt",
"value": "SELECT SUM(profits) AS total_profits FROM sam... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Which company has the best profit-to-asset ratio?"
},
{
"from": "gpt",
"value": "\nSELECT company_name, (profits * 1.0 / assets) ... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Find the company with the highest profit-to-asset ratio."
},
{
"from": "gpt",
"value": "\nSELECT company_name, (profits * 1.0 / a... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Show the company with the most efficient profit relative to its assets."
},
{
"from": "gpt",
"value": "\nSELECT company_name, (pr... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Which company achieves the best profit compared to its assets?"
},
{
"from": "gpt",
"value": "\nSELECT company_name, (profits * 1... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Fetch the company with the top profit-to-asset ratio."
},
{
"from": "gpt",
"value": "\nSELECT company_name, (profits * 1.0 / asse... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} What is the profit margin for each company?"
},
{
"from": "gpt",
"value": "\nSELECT company_name, (profits * 1.0 / sales) * 100 A... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Calculate the profit margin for all companies."
},
{
"from": "gpt",
"value": "\nSELECT company_name, (profits * 1.0 / sales) * 10... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Show the profit margin as a percentage for each company."
},
{
"from": "gpt",
"value": "\nSELECT company_name, (profits * 1.0 / s... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} List companies with their profit margins."
},
{
"from": "gpt",
"value": "\nSELECT company_name, (profits * 1.0 / sales) * 100 AS ... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Fetch profit margin data for all companies."
},
{
"from": "gpt",
"value": "\nSELECT company_name, (profits * 1.0 / sales) * 100 A... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Which company has the lowest profit margin?"
},
{
"from": "gpt",
"value": "\nSELECT company_name, (profits * 1.0 / sales) * 100 A... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Find the company with the smallest profit margin."
},
{
"from": "gpt",
"value": "\nSELECT company_name, (profits * 1.0 / sales) *... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Show the company with the worst profit margin percentage."
},
{
"from": "gpt",
"value": "\nSELECT company_name, (profits * 1.0 / ... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Which company has the least efficient profit margin?"
},
{
"from": "gpt",
"value": "\nSELECT company_name, (profits * 1.0 / sales... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Fetch the company with the lowest profit margin."
},
{
"from": "gpt",
"value": "\nSELECT company_name, (profits * 1.0 / sales) * ... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} List companies where sales exceed profits by more than 1 million."
},
{
"from": "gpt",
"value": "\nSELECT company_name, sales, pr... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Show companies with sales at least 1 million higher than profits."
},
{
"from": "gpt",
"value": "\nSELECT company_name, sales, pr... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Fetch companies with a sales-to-profit gap greater than 1 million."
},
{
"from": "gpt",
"value": "\nSELECT company_name, sales, p... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Which companies have a sales-profit difference of over 1 million?"
},
{
"from": "gpt",
"value": "\nSELECT company_name, sales, pr... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} List all companies where sales exceed profits by a significant amount."
},
{
"from": "gpt",
"value": "\nSELECT company_name, sale... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Which companies have a rank higher than 50 and sales below 5 million?"
},
{
"from": "gpt",
"value": "\nSELECT company_name, rank,... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} List companies with rank > 50 and sales < 5 million."
},
{
"from": "gpt",
"value": "\nSELECT company_name, rank, sales \nFROM sam... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Fetch companies with low sales and high rank."
},
{
"from": "gpt",
"value": "\nSELECT company_name, rank, sales \nFROM sample_com... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Show companies that meet the criteria of rank > 50 and sales < 5M."
},
{
"from": "gpt",
"value": "\nSELECT company_name, rank, sa... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Which companies have low sales and are ranked above 50?"
},
{
"from": "gpt",
"value": "\nSELECT company_name, rank, sales \nFROM ... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Which company has the best profit-to-asset ratio?"
},
{
"from": "gpt",
"value": "\nSELECT company_name, (profits * 1.0 / assets) ... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Find the company with the highest profit-to-asset ratio."
},
{
"from": "gpt",
"value": "\nSELECT company_name, (profits * 1.0 / a... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Show the company with the most efficient profit relative to its assets."
},
{
"from": "gpt",
"value": "\nSELECT company_name, (pr... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Which company achieves the best profit compared to its assets?"
},
{
"from": "gpt",
"value": "\nSELECT company_name, (profits * 1... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Fetch the company with the top profit-to-asset ratio."
},
{
"from": "gpt",
"value": "\nSELECT company_name, (profits * 1.0 / asse... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} What is the profit margin for each company?"
},
{
"from": "gpt",
"value": "\nSELECT company_name, (profits * 1.0 / sales) * 100 A... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Calculate the profit margin for all companies."
},
{
"from": "gpt",
"value": "\nSELECT company_name, (profits * 1.0 / sales) * 10... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Show the profit margin as a percentage for each company."
},
{
"from": "gpt",
"value": "\nSELECT company_name, (profits * 1.0 / s... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} List companies with their profit margins."
},
{
"from": "gpt",
"value": "\nSELECT company_name, (profits * 1.0 / sales) * 100 AS ... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Fetch profit margin data for all companies."
},
{
"from": "gpt",
"value": "\nSELECT company_name, (profits * 1.0 / sales) * 100 A... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Which company has the lowest profit margin?"
},
{
"from": "gpt",
"value": "\nSELECT company_name, (profits * 1.0 / sales) * 100 A... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Find the company with the smallest profit margin."
},
{
"from": "gpt",
"value": "\nSELECT company_name, (profits * 1.0 / sales) *... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Show the company with the worst profit margin percentage."
},
{
"from": "gpt",
"value": "\nSELECT company_name, (profits * 1.0 / ... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Which company has the least efficient profit margin?"
},
{
"from": "gpt",
"value": "\nSELECT company_name, (profits * 1.0 / sales... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Fetch the company with the lowest profit margin."
},
{
"from": "gpt",
"value": "\nSELECT company_name, (profits * 1.0 / sales) * ... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} List companies where sales exceed profits by more than 1 million."
},
{
"from": "gpt",
"value": "\nSELECT company_name, sales, pr... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Show companies with sales at least 1 million higher than profits."
},
{
"from": "gpt",
"value": "\nSELECT company_name, sales, pr... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Fetch companies with a sales-to-profit gap greater than 1 million."
},
{
"from": "gpt",
"value": "\nSELECT company_name, sales, p... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Which companies have a sales-profit difference of over 1 million?"
},
{
"from": "gpt",
"value": "\nSELECT company_name, sales, pr... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} List all companies where sales exceed profits by a significant amount."
},
{
"from": "gpt",
"value": "\nSELECT company_name, sale... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Which companies have a rank higher than 50 and sales below 5 million?"
},
{
"from": "gpt",
"value": "\nSELECT company_name, rank,... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} List companies with rank > 50 and sales < 5 million."
},
{
"from": "gpt",
"value": "\nSELECT company_name, rank, sales \nFROM sam... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Fetch companies with low sales and high rank."
},
{
"from": "gpt",
"value": "\nSELECT company_name, rank, sales \nFROM sample_com... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Show companies that meet the criteria of rank > 50 and sales < 5M."
},
{
"from": "gpt",
"value": "\nSELECT company_name, rank, sa... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Which companies have low sales and are ranked above 50?"
},
{
"from": "gpt",
"value": "\nSELECT company_name, rank, sales \nFROM ... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} What are the sales, profit, and asset details of Wall, Martinez and Reed?"
},
{
"from": "gpt",
"value": "SELECT company_name, sal... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Show the sales, profit, and assets for Wall, Martinez and Reed."
},
{
"from": "gpt",
"value": "SELECT company_name, sales, profit... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Fetch the full details for Wall, Martinez and Reed regarding sales, profits, and assets."
},
{
"from": "gpt",
"value": "SELECT co... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Provide the financial details of Wall, Martinez and Reed."
},
{
"from": "gpt",
"value": "SELECT company_name, sales, profits, ass... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} What are the total sales, profits, and assets of Wall, Martinez and Reed?"
},
{
"from": "gpt",
"value": "SELECT company_name, sal... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Which companies have the highest profit?"
},
{
"from": "gpt",
"value": "SELECT company_name, profits FROM sample_company_data ORD... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} List the companies with the greatest profit."
},
{
"from": "gpt",
"value": "SELECT company_name, profits FROM sample_company_data... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Show the top companies by profit."
},
{
"from": "gpt",
"value": "SELECT company_name, profits FROM sample_company_data ORDER BY p... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} What are the most profitable companies?"
},
{
"from": "gpt",
"value": "SELECT company_name, profits FROM sample_company_data ORDE... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Who are the companies with the highest profit figures?"
},
{
"from": "gpt",
"value": "SELECT company_name, profits FROM sample_co... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} What is the average sales across all companies?"
},
{
"from": "gpt",
"value": "SELECT AVG(sales) AS average_sales FROM sample_com... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Calculate the mean sales figure for companies."
},
{
"from": "gpt",
"value": "SELECT AVG(sales) AS average_sales FROM sample_comp... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Show the average revenue."
},
{
"from": "gpt",
"value": "SELECT AVG(sales) AS average_sales FROM sample_company_data;"
}
] | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Give me the average sales amount."
},
{
"from": "gpt",
"value": "SELECT AVG(sales) AS average_sales FROM sample_company_data;"
... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} What is the typical sales figure for companies?"
},
{
"from": "gpt",
"value": "SELECT AVG(sales) AS average_sales FROM sample_com... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} How does sales affect profitability?"
},
{
"from": "gpt",
"value": "SELECT sales, profits, (profits * 1.0 / sales) AS profit_marg... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} What is the relationship between sales and profits?"
},
{
"from": "gpt",
"value": "SELECT sales, profits, (profits * 1.0 / sales)... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Is there a correlation between sales and profit?"
},
{
"from": "gpt",
"value": "SELECT sales, profits, (profits * 1.0 / sales) AS... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} How are profits influenced by sales?"
},
{
"from": "gpt",
"value": "SELECT sales, profits, (profits * 1.0 / sales) AS profit_marg... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Do higher sales mean higher profits?"
},
{
"from": "gpt",
"value": "SELECT sales, profits, (profits * 1.0 / sales) AS profit_marg... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Which rank range has the highest total sales?"
},
{
"from": "gpt",
"value": "SELECT rank, SUM(sales) AS total_sales FROM sample_c... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Which group of companies leads in sales?"
},
{
"from": "gpt",
"value": "SELECT rank, SUM(sales) AS total_sales FROM sample_compan... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Compare sales across rank ranges."
},
{
"from": "gpt",
"value": "SELECT rank, SUM(sales) AS total_sales FROM sample_company_data ... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Who has the highest sales total?"
},
{
"from": "gpt",
"value": "SELECT rank, SUM(sales) AS total_sales FROM sample_company_data G... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} What rank category sells the most?"
},
{
"from": "gpt",
"value": "SELECT rank, SUM(sales) AS total_sales FROM sample_company_data... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} How many companies have fewer than 5 million in sales?"
},
{
"from": "gpt",
"value": "SELECT COUNT(*) AS low_sales_companies FROM... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Count the companies with low sales."
},
{
"from": "gpt",
"value": "SELECT COUNT(*) AS low_sales_companies FROM sample_company_dat... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} How many companies earn under 5 million in sales?"
},
{
"from": "gpt",
"value": "SELECT COUNT(*) AS low_sales_companies FROM samp... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} List companies with revenue below 5 million."
},
{
"from": "gpt",
"value": "SELECT COUNT(*) AS low_sales_companies FROM sample_co... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} What’s the number of companies with minimal sales?"
},
{
"from": "gpt",
"value": "SELECT COUNT(*) AS low_sales_companies FROM sam... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} What is the total profit for each year?"
},
{
"from": "gpt",
"value": "SELECT YEAR(transaction_date) AS year, SUM(profits) AS tot... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Show the annual total profit for companies."
},
{
"from": "gpt",
"value": "SELECT YEAR(transaction_date) AS year, SUM(profits) AS... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} List the profit figures for each year."
},
{
"from": "gpt",
"value": "SELECT YEAR(transaction_date) AS year, SUM(profits) AS tota... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} How much profit did companies generate every year?"
},
{
"from": "gpt",
"value": "SELECT YEAR(transaction_date) AS year, SUM(prof... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} What is the yearly profit breakdown?"
},
{
"from": "gpt",
"value": "SELECT YEAR(transaction_date) AS year, SUM(profits) AS total_... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Which companies have both high sales and high profits?"
},
{
"from": "gpt",
"value": "SELECT company_name, sales, profits FROM sa... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} List companies with significant sales and profits."
},
{
"from": "gpt",
"value": "SELECT company_name, sales, profits FROM sample... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Show companies with both high revenue and profitability."
},
{
"from": "gpt",
"value": "SELECT company_name, sales, profits FROM ... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Which firms generate large sales and profits?"
},
{
"from": "gpt",
"value": "SELECT company_name, sales, profits FROM sample_comp... | dataforFM_dataset | 5 |
[
{
"from": "human",
"value": "Schema (Table: sample_company_data): {'company_name': 'object', 'sales': 'int64', 'profits': 'int64', 'assets': 'int64', 'rank': 'int64'} Identify companies with strong sales and profit performance."
},
{
"from": "gpt",
"value": "SELECT company_name, sales, profits F... | dataforFM_dataset | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.