conversations
listlengths
2
2
source
stringclasses
4 values
score
float64
5
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Can you calculate the average credit amount for each month?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y-%m\", \"Entry date\") AS month, AVG(\"Credit in INR\") AS average_credit_in_inr FROM financial_data GROUP BY month ORDER BY month;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What is the mean credit amount for each month?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y-%m\", \"Entry date\") AS month, AVG(\"Credit in INR\") AS average_credit_in_inr FROM financial_data GROUP BY month ORDER BY month;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} How much is the average credit value each month?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y-%m\", \"Entry date\") AS month, AVG(\"Credit in INR\") AS average_credit_in_inr FROM financial_data GROUP BY month ORDER BY month;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What is the average credit amount across all months?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y-%m\", \"Entry date\") AS month, AVG(\"Credit in INR\") AS average_credit_in_inr FROM financial_data GROUP BY month ORDER BY month;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Can you provide the monthly average credit amounts?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y-%m\", \"Entry date\") AS month, AVG(\"Credit in INR\") AS average_credit_in_inr FROM financial_data GROUP BY month ORDER BY month;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} How do the debit and credit amounts compare over time?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y-%m\", \"Entry date\") AS month, SUM(\"Debit in INR\") AS total_debit_in_inr, SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY month ORDER BY month;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Can you compare the trends of debit and credit amounts over time?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y-%m\", \"Entry date\") AS month, SUM(\"Debit in INR\") AS total_debit_in_inr, SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY month ORDER BY month;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} How do the debit and credit values change over time?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y-%m\", \"Entry date\") AS month, SUM(\"Debit in INR\") AS total_debit_in_inr, SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY month ORDER BY month;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What is the relationship between debit and credit amounts over time?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y-%m\", \"Entry date\") AS month, SUM(\"Debit in INR\") AS total_debit_in_inr, SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY month ORDER BY month;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Can you show how debit and credit amounts vary over time?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y-%m\", \"Entry date\") AS month, SUM(\"Debit in INR\") AS total_debit_in_inr, SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY month ORDER BY month;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} How do the debit and credit totals evolve over time?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y-%m\", \"Entry date\") AS month, SUM(\"Debit in INR\") AS total_debit_in_inr, SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY month ORDER BY month;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What month had the highest debit amount?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y-%m\", \"Entry date\") AS month, SUM(\"Debit in INR\") AS total_debit_in_inr FROM financial_data GROUP BY month ORDER BY total_debit_in_inr DESC LIMIT 1;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Which month recorded the highest debit amount?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y-%m\", \"Entry date\") AS month, SUM(\"Debit in INR\") AS total_debit_in_inr FROM financial_data GROUP BY month ORDER BY total_debit_in_inr DESC LIMIT 1;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} In which month was the highest debit value observed?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y-%m\", \"Entry date\") AS month, SUM(\"Debit in INR\") AS total_debit_in_inr FROM financial_data GROUP BY month ORDER BY total_debit_in_inr DESC LIMIT 1;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What month had the largest debit total?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y-%m\", \"Entry date\") AS month, SUM(\"Debit in INR\") AS total_debit_in_inr FROM financial_data GROUP BY month ORDER BY total_debit_in_inr DESC LIMIT 1;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Which month saw the highest debit total?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y-%m\", \"Entry date\") AS month, SUM(\"Debit in INR\") AS total_debit_in_inr FROM financial_data GROUP BY month ORDER BY total_debit_in_inr DESC LIMIT 1;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Can you identify the month with the highest debit amount?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y-%m\", \"Entry date\") AS month, SUM(\"Debit in INR\") AS total_debit_in_inr FROM financial_data GROUP BY month ORDER BY total_debit_in_inr DESC LIMIT 1;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What month had the highest credit amount?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y-%m\", \"Entry date\") AS month, SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY month ORDER BY total_credit_in_inr DESC LIMIT 1;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Which month recorded the highest credit amount?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y-%m\", \"Entry date\") AS month, SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY month ORDER BY total_credit_in_inr DESC LIMIT 1;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} In which month was the highest credit value observed?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y-%m\", \"Entry date\") AS month, SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY month ORDER BY total_credit_in_inr DESC LIMIT 1;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What month had the largest credit total?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y-%m\", \"Entry date\") AS month, SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY month ORDER BY total_credit_in_inr DESC LIMIT 1;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Which month saw the highest credit total?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y-%m\", \"Entry date\") AS month, SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY month ORDER BY total_credit_in_inr DESC LIMIT 1;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Can you identify the month with the highest credit amount?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y-%m\", \"Entry date\") AS month, SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY month ORDER BY total_credit_in_inr DESC LIMIT 1;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Which year had the highest total debit?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y\", \"Entry date\") AS year, SUM(\"Debit in INR\") AS total_debit_in_inr FROM financial_data GROUP BY year ORDER BY total_debit_in_inr DESC LIMIT 1;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What year had the largest total debit amount?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y\", \"Entry date\") AS year, SUM(\"Debit in INR\") AS total_debit_in_inr FROM financial_data GROUP BY year ORDER BY total_debit_in_inr DESC LIMIT 1;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Which year recorded the highest debit total?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y\", \"Entry date\") AS year, SUM(\"Debit in INR\") AS total_debit_in_inr FROM financial_data GROUP BY year ORDER BY total_debit_in_inr DESC LIMIT 1;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} In which year was the highest debit value observed?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y\", \"Entry date\") AS year, SUM(\"Debit in INR\") AS total_debit_in_inr FROM financial_data GROUP BY year ORDER BY total_debit_in_inr DESC LIMIT 1;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What year had the greatest total debit?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y\", \"Entry date\") AS year, SUM(\"Debit in INR\") AS total_debit_in_inr FROM financial_data GROUP BY year ORDER BY total_debit_in_inr DESC LIMIT 1;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Which year had the highest debit sum?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y\", \"Entry date\") AS year, SUM(\"Debit in INR\") AS total_debit_in_inr FROM financial_data GROUP BY year ORDER BY total_debit_in_inr DESC LIMIT 1;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Which year had the highest total credit?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y\", \"Entry date\") AS year, SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY year ORDER BY total_credit_in_inr DESC LIMIT 1;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What year had the largest total credit amount?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y\", \"Entry date\") AS year, SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY year ORDER BY total_credit_in_inr DESC LIMIT 1;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Which year recorded the highest credit total?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y\", \"Entry date\") AS year, SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY year ORDER BY total_credit_in_inr DESC LIMIT 1;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} In which year was the highest credit value observed?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y\", \"Entry date\") AS year, SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY year ORDER BY total_credit_in_inr DESC LIMIT 1;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What year had the greatest total credit?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y\", \"Entry date\") AS year, SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY year ORDER BY total_credit_in_inr DESC LIMIT 1;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Which year had the highest credit sum?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y\", \"Entry date\") AS year, SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY year ORDER BY total_credit_in_inr DESC LIMIT 1;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What is the average time between 'Entry date' and 'Document date'?" }, { "from": "gpt", "value": "SELECT AVG(JULIANDAY(\"Document date\") - JULIANDAY(\"Entry date\")) AS average_days FROM financial_data;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Can you calculate the average duration between 'Entry date' and 'Document date'?" }, { "from": "gpt", "value": "SELECT AVG(JULIANDAY(\"Document date\") - JULIANDAY(\"Entry date\")) AS average_days FROM financial_data;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What is the mean time difference between 'Entry date' and 'Document date'?" }, { "from": "gpt", "value": "SELECT AVG(JULIANDAY(\"Document date\") - JULIANDAY(\"Entry date\")) AS average_days FROM financial_data;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} How much time passes on average between the 'Entry date' and 'Document date'?" }, { "from": "gpt", "value": "SELECT AVG(JULIANDAY(\"Document date\") - JULIANDAY(\"Entry date\")) AS average_days FROM financial_data;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What is the average time lag between 'Entry date' and 'Document date'?" }, { "from": "gpt", "value": "SELECT AVG(JULIANDAY(\"Document date\") - JULIANDAY(\"Entry date\")) AS average_days FROM financial_data;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Can you provide the average time interval between 'Entry date' and 'Document date'?" }, { "from": "gpt", "value": "SELECT AVG(JULIANDAY(\"Document date\") - JULIANDAY(\"Entry date\")) AS average_days FROM financial_data;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What are the top 5 days of the week for transactions?" }, { "from": "gpt", "value": "SELECT strftime(\"%w\", \"Entry date\") AS day_of_week, COUNT(*) AS transaction_count FROM financial_data GROUP BY day_of_week ORDER BY transaction_count DESC LIMIT 5;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Which 5 days of the week have the most transactions?" }, { "from": "gpt", "value": "SELECT strftime(\"%w\", \"Entry date\") AS day_of_week, COUNT(*) AS transaction_count FROM financial_data GROUP BY day_of_week ORDER BY transaction_count DESC LIMIT 5;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What are the 5 most frequent days of the week for transactions?" }, { "from": "gpt", "value": "SELECT strftime(\"%w\", \"Entry date\") AS day_of_week, COUNT(*) AS transaction_count FROM financial_data GROUP BY day_of_week ORDER BY transaction_count DESC LIMIT 5;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Can you list the 5 days of the week with the highest transaction volume?" }, { "from": "gpt", "value": "SELECT strftime(\"%w\", \"Entry date\") AS day_of_week, COUNT(*) AS transaction_count FROM financial_data GROUP BY day_of_week ORDER BY transaction_count DESC LIMIT 5;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What are the top 5 days in the week for transaction activity?" }, { "from": "gpt", "value": "SELECT strftime(\"%w\", \"Entry date\") AS day_of_week, COUNT(*) AS transaction_count FROM financial_data GROUP BY day_of_week ORDER BY transaction_count DESC LIMIT 5;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Which 5 days of the week see the most transactions?" }, { "from": "gpt", "value": "SELECT strftime(\"%w\", \"Entry date\") AS day_of_week, COUNT(*) AS transaction_count FROM financial_data GROUP BY day_of_week ORDER BY transaction_count DESC LIMIT 5;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} How many transactions happen on weekends (Saturdays and Sundays)?" }, { "from": "gpt", "value": "SELECT COUNT(*) AS weekend_transactions_count FROM financial_data WHERE strftime(\"%w\", \"Entry date\") IN (\"0\", \"6\");" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What is the count of transactions occurring on weekends (Saturdays and Sundays)?" }, { "from": "gpt", "value": "SELECT COUNT(*) AS weekend_transactions_count FROM financial_data WHERE strftime(\"%w\", \"Entry date\") IN (\"0\", \"6\");" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} How many records are posted on Saturdays and Sundays?" }, { "from": "gpt", "value": "SELECT COUNT(*) AS weekend_transactions_count FROM financial_data WHERE strftime(\"%w\", \"Entry date\") IN (\"0\", \"6\");" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Can you tell me the number of transactions on weekends?" }, { "from": "gpt", "value": "SELECT COUNT(*) AS weekend_transactions_count FROM financial_data WHERE strftime(\"%w\", \"Entry date\") IN (\"0\", \"6\");" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} How many transactions were made on Saturdays and Sundays?" }, { "from": "gpt", "value": "SELECT COUNT(*) AS weekend_transactions_count FROM financial_data WHERE strftime(\"%w\", \"Entry date\") IN (\"0\", \"6\");" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What is the total number of weekend transactions?" }, { "from": "gpt", "value": "SELECT COUNT(*) AS weekend_transactions_count FROM financial_data WHERE strftime(\"%w\", \"Entry date\") IN (\"0\", \"6\");" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} How many transactions occur on weekdays (Monday to Friday)?" }, { "from": "gpt", "value": "SELECT COUNT(*) AS weekday_transactions_count FROM financial_data WHERE strftime(\"%w\", \"Entry date\") BETWEEN \"1\" AND \"5\";" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What is the count of transactions that occur on weekdays (Monday to Friday)?" }, { "from": "gpt", "value": "SELECT COUNT(*) AS weekday_transactions_count FROM financial_data WHERE strftime(\"%w\", \"Entry date\") BETWEEN \"1\" AND \"5\";" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} How many records are posted from Monday to Friday?" }, { "from": "gpt", "value": "SELECT COUNT(*) AS weekday_transactions_count FROM financial_data WHERE strftime(\"%w\", \"Entry date\") BETWEEN \"1\" AND \"5\";" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Can you tell me the number of transactions on weekdays?" }, { "from": "gpt", "value": "SELECT COUNT(*) AS weekday_transactions_count FROM financial_data WHERE strftime(\"%w\", \"Entry date\") BETWEEN \"1\" AND \"5\";" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} How many transactions were made between Monday and Friday?" }, { "from": "gpt", "value": "SELECT COUNT(*) AS weekday_transactions_count FROM financial_data WHERE strftime(\"%w\", \"Entry date\") BETWEEN \"1\" AND \"5\";" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What is the total number of weekday transactions?" }, { "from": "gpt", "value": "SELECT COUNT(*) AS weekday_transactions_count FROM financial_data WHERE strftime(\"%w\", \"Entry date\") BETWEEN \"1\" AND \"5\";" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What is the median time between 'Entry date' and 'Document date'?" }, { "from": "gpt", "value": "WITH DateDifferences AS (SELECT JULIANDAY(\"Document date\") - JULIANDAY(\"Entry date\") AS date_diff FROM financial_data)SELECT date_diff FROM DateDifferences ORDER BY date_diff LIMIT 1 OFFSET (SELECT COUNT(*) / 2 FROM DateDifferences);" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Can you calculate the median duration between 'Entry date' and 'Document date'?" }, { "from": "gpt", "value": "WITH DateDifferences AS (SELECT JULIANDAY(\"Document date\") - JULIANDAY(\"Entry date\") AS date_diff FROM financial_data)SELECT date_diff FROM DateDifferences ORDER BY date_diff LIMIT 1 OFFSET (SELECT COUNT(*) / 2 FROM DateDifferences);" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What is the median time difference between 'Entry date' and 'Document date'?" }, { "from": "gpt", "value": "WITH DateDifferences AS (SELECT JULIANDAY(\"Document date\") - JULIANDAY(\"Entry date\") AS date_diff FROM financial_data)SELECT date_diff FROM DateDifferences ORDER BY date_diff LIMIT 1 OFFSET (SELECT COUNT(*) / 2 FROM DateDifferences);" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} How much time passes in the middle of the distribution between 'Entry date' and 'Document date'?" }, { "from": "gpt", "value": "WITH DateDifferences AS (SELECT JULIANDAY(\"Document date\") - JULIANDAY(\"Entry date\") AS date_diff FROM financial_data)SELECT date_diff FROM DateDifferences ORDER BY date_diff LIMIT 1 OFFSET (SELECT COUNT(*) / 2 FROM DateDifferences);" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What is the median time lag between 'Entry date' and 'Document date'?" }, { "from": "gpt", "value": "WITH DateDifferences AS (SELECT JULIANDAY(\"Document date\") - JULIANDAY(\"Entry date\") AS date_diff FROM financial_data)SELECT date_diff FROM DateDifferences ORDER BY date_diff LIMIT 1 OFFSET (SELECT COUNT(*) / 2 FROM DateDifferences);" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Can you provide the median time interval between 'Entry date' and 'Document date'?" }, { "from": "gpt", "value": "WITH DateDifferences AS (SELECT JULIANDAY(\"Document date\") - JULIANDAY(\"Entry date\") AS date_diff FROM financial_data)SELECT date_diff FROM DateDifferences ORDER BY date_diff LIMIT 1 OFFSET (SELECT COUNT(*) / 2 FROM DateDifferences);" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} How many entries were made on the same date as the 'Entry date'?" }, { "from": "gpt", "value": "SELECT \"Entry date\", COUNT(*) AS entries_count FROM financial_data GROUP BY \"Entry date\" HAVING COUNT(*) > 1 ORDER BY \"Entry date\";" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What is the number of entries with the same date as the 'Entry date'?" }, { "from": "gpt", "value": "SELECT \"Entry date\", COUNT(*) AS entries_count FROM financial_data GROUP BY \"Entry date\" HAVING COUNT(*) > 1 ORDER BY \"Entry date\";" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} How many transactions were posted on the same date as the 'Entry date'?" }, { "from": "gpt", "value": "SELECT \"Entry date\", COUNT(*) AS entries_count FROM financial_data GROUP BY \"Entry date\" HAVING COUNT(*) > 1 ORDER BY \"Entry date\";" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Can you count the entries made on the same date as the 'Entry date'?" }, { "from": "gpt", "value": "SELECT \"Entry date\", COUNT(*) AS entries_count FROM financial_data GROUP BY \"Entry date\" HAVING COUNT(*) > 1 ORDER BY \"Entry date\";" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} How many records match the 'Entry date' in terms of date?" }, { "from": "gpt", "value": "SELECT \"Entry date\", COUNT(*) AS entries_count FROM financial_data GROUP BY \"Entry date\" HAVING COUNT(*) > 1 ORDER BY \"Entry date\";" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What is the total number of entries with the same 'Entry date'?" }, { "from": "gpt", "value": "SELECT \"Entry date\", COUNT(*) AS entries_count FROM financial_data GROUP BY \"Entry date\" HAVING COUNT(*) > 1 ORDER BY \"Entry date\";" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What is the trend of debit and credit amounts over the months?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y-%m\", \"Entry date\") AS month, SUM(\"Debit in INR\") AS total_debit_in_inr, SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY month ORDER BY month;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} How do debit and credit amounts change over the months?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y-%m\", \"Entry date\") AS month, SUM(\"Debit in INR\") AS total_debit_in_inr, SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY month ORDER BY month;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Can you show the pattern of debit and credit amounts over time?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y-%m\", \"Entry date\") AS month, SUM(\"Debit in INR\") AS total_debit_in_inr, SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY month ORDER BY month;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What is the trend of debit and credit values month by month?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y-%m\", \"Entry date\") AS month, SUM(\"Debit in INR\") AS total_debit_in_inr, SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY month ORDER BY month;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} How do the totals for debit and credit vary across months?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y-%m\", \"Entry date\") AS month, SUM(\"Debit in INR\") AS total_debit_in_inr, SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY month ORDER BY month;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What are the trends in debit and credit amounts over the months?" }, { "from": "gpt", "value": "SELECT strftime(\"%Y-%m\", \"Entry date\") AS month, SUM(\"Debit in INR\") AS total_debit_in_inr, SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY month ORDER BY month;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What is the total debit amount for each contra account?" }, { "from": "gpt", "value": "SELECT \"Contra account name\", SUM(\"Debit in INR\") AS total_debit_in_inr FROM financial_data GROUP BY \"Contra account name\";" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Can you calculate the total debit amount for each contra account?" }, { "from": "gpt", "value": "SELECT \"Contra account name\", SUM(\"Debit in INR\") AS total_debit_in_inr FROM financial_data GROUP BY \"Contra account name\";" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What is the total debit value for every contra account?" }, { "from": "gpt", "value": "SELECT \"Contra account name\", SUM(\"Debit in INR\") AS total_debit_in_inr FROM financial_data GROUP BY \"Contra account name\";" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} How much is the total debit amount for each contra account?" }, { "from": "gpt", "value": "SELECT \"Contra account name\", SUM(\"Debit in INR\") AS total_debit_in_inr FROM financial_data GROUP BY \"Contra account name\";" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What is the sum of debit amounts for each contra account?" }, { "from": "gpt", "value": "SELECT \"Contra account name\", SUM(\"Debit in INR\") AS total_debit_in_inr FROM financial_data GROUP BY \"Contra account name\";" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Can you provide the total debit amounts for all contra accounts?" }, { "from": "gpt", "value": "SELECT \"Contra account name\", SUM(\"Debit in INR\") AS total_debit_in_inr FROM financial_data GROUP BY \"Contra account name\";" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What is the total credit amount for each contra account?" }, { "from": "gpt", "value": "SELECT \"Contra account name\", SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY \"Contra account name\";" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Can you calculate the total credit amount for each contra account?" }, { "from": "gpt", "value": "SELECT \"Contra account name\", SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY \"Contra account name\";" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What is the total credit value for every contra account?" }, { "from": "gpt", "value": "SELECT \"Contra account name\", SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY \"Contra account name\";" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} How much is the total credit amount for each contra account?" }, { "from": "gpt", "value": "SELECT \"Contra account name\", SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY \"Contra account name\";" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What is the sum of credit amounts for each contra account?" }, { "from": "gpt", "value": "SELECT \"Contra account name\", SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY \"Contra account name\";" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Can you provide the total credit amounts for all contra accounts?" }, { "from": "gpt", "value": "SELECT \"Contra account name\", SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY \"Contra account name\";" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Which GL Code has the highest debit amount?" }, { "from": "gpt", "value": "SELECT \"GL Code\", SUM(\"Debit in INR\") AS total_debit_in_inr FROM financial_data GROUP BY \"GL Code\" ORDER BY total_debit_in_inr DESC LIMIT 1;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What GL Code recorded the highest debit value?" }, { "from": "gpt", "value": "SELECT \"GL Code\", SUM(\"Debit in INR\") AS total_debit_in_inr FROM financial_data GROUP BY \"GL Code\" ORDER BY total_debit_in_inr DESC LIMIT 1;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Which GL Code has the largest debit total?" }, { "from": "gpt", "value": "SELECT \"GL Code\", SUM(\"Debit in INR\") AS total_debit_in_inr FROM financial_data GROUP BY \"GL Code\" ORDER BY total_debit_in_inr DESC LIMIT 1;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What is the GL Code with the highest debit amount?" }, { "from": "gpt", "value": "SELECT \"GL Code\", SUM(\"Debit in INR\") AS total_debit_in_inr FROM financial_data GROUP BY \"GL Code\" ORDER BY total_debit_in_inr DESC LIMIT 1;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Which GL Code has the greatest debit amount?" }, { "from": "gpt", "value": "SELECT \"GL Code\", SUM(\"Debit in INR\") AS total_debit_in_inr FROM financial_data GROUP BY \"GL Code\" ORDER BY total_debit_in_inr DESC LIMIT 1;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Can you identify the GL Code with the highest debit total?" }, { "from": "gpt", "value": "SELECT \"GL Code\", SUM(\"Debit in INR\") AS total_debit_in_inr FROM financial_data GROUP BY \"GL Code\" ORDER BY total_debit_in_inr DESC LIMIT 1;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Which GL Code has the highest credit amount?" }, { "from": "gpt", "value": "SELECT \"GL Code\", SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY \"GL Code\" ORDER BY total_credit_in_inr DESC LIMIT 1;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What GL Code recorded the highest credit value?" }, { "from": "gpt", "value": "SELECT \"GL Code\", SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY \"GL Code\" ORDER BY total_credit_in_inr DESC LIMIT 1;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Which GL Code has the largest credit total?" }, { "from": "gpt", "value": "SELECT \"GL Code\", SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY \"GL Code\" ORDER BY total_credit_in_inr DESC LIMIT 1;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} What is the GL Code with the highest credit amount?" }, { "from": "gpt", "value": "SELECT \"GL Code\", SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY \"GL Code\" ORDER BY total_credit_in_inr DESC LIMIT 1;" } ]
output_dataset
5
[ { "from": "human", "value": "Schema (Table: financial_data): {'GL Code': 'int64', 'GL Description': 'object', 'Contra account code': 'object', 'Contra account name': 'object', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'int64', 'User prepared': 'object', 'Entry number': 'float64', 'Debit in INR': 'float64', 'Credit in INR': 'float64', 'Entry Currency': 'object', 'Journal Description': 'object', 'PLANT': 'object'} Which GL Code has the greatest credit amount?" }, { "from": "gpt", "value": "SELECT \"GL Code\", SUM(\"Credit in INR\") AS total_credit_in_inr FROM financial_data GROUP BY \"GL Code\" ORDER BY total_credit_in_inr DESC LIMIT 1;" } ]
output_dataset
5