formatted_text
stringlengths
186
678
<s>[INST] How much did I spend on groceries last month? [/INST] SELECT SUM(amount_gbp) AS total_spent_on_groceries FROM yonder_transaction_data WHERE category = 'groceries' AND datetime_of_transaction >= date('now', 'start of month', '-1 month') AND datetime_of_transaction < date('now', 'start of month'); </s>
<s>[INST] What was my largest expense last year? [/INST] SELECT description, amount_gbp, currency FROM yonder_transaction_data WHERE datetime_of_transaction BETWEEN '2021-01-01' AND '2021-12-31' AND debit_or_credit = 'debit' ORDER BY amount_gbp DESC LIMIT 1; </s>
<s>[INST] Can you tell me how much I spent on dining out last week? [/INST] SELECT SUM(amount_gbp) AS total_spent_on_dining_out_last_week FROM yonder_transaction_data WHERE category = 'Dining Out' AND datetime_of_transaction >= date('now', '-7 days') AND datetime_of_transaction < date('now') AND debit_or_credit = 'Debit'; </s>
<s>[INST] How much money did I spend on entertainment last quarter? [/INST] SELECT SUM(amount_gbp) AS total_spent_on_entertainment FROM yonder_transaction_data WHERE category = 'entertainment' AND datetime_of_transaction BETWEEN date('now', '-3 months') AND date('now') AND debit_or_credit = 'debit'; </s>
<s>[INST] What is the total amount I spent on transportation this year? [/INST] SELECT SUM(amount_gbp) AS total_spent_on_transportation FROM yonder_transaction_data WHERE category = 'transportation' AND strftime('%Y', datetime_of_transaction) = strftime('%Y', 'now'); </s>
<s>[INST] Can you provide a breakdown of my shopping expenses by category? [/INST] SELECT category, SUM(amount_gbp) AS total_expenses FROM yonder_transaction_data WHERE category LIKE '%shopping%' GROUP BY category; </s>
<s>[INST] How much did I spend on utilities last month? [/INST] SELECT SUM(amount_gbp) AS total_spent_on_utilities_last_month FROM yonder_transaction_data WHERE category = 'utilities' AND datetime_of_transaction >= date('now', 'start of month', '-1 month') AND datetime_of_transaction < date('now', 'start of month'); </s>
<s>[INST] What was the average amount I spent on subscriptions last year? [/INST] SELECT AVG(amount_gbp) AS average_spent_on_subscriptions_last_year FROM yonder_transaction_data WHERE category = 'subscriptions' AND datetime_of_transaction BETWEEN date('now', '-1 year') AND date('now', 'start of year', '-1 day'); </s>
<s>[INST] How much money did I spend on travel in the last six months? [/INST] SELECT SUM(amount_gbp) AS total_spent_on_travel FROM yonder_transaction_data WHERE category = 'Travel' AND datetime_of_transaction >= date('now', '-6 months') AND debit_or_credit = 'Debit'; </s>
<s>[INST] Can you tell me the total amount I spent on healthcare expenses last year? [/INST] SELECT SUM(amount_gbp) AS total_healthcare_expenses FROM yonder_transaction_data WHERE category = 'healthcare' AND datetime_of_transaction BETWEEN date('now', '-1 year') AND date('now') ; </s>
<s>[INST] What was my highest transaction amount in the past three months? [/INST] SELECT MAX(amount_gbp) AS highest_transaction_amount FROM yonder_transaction_data WHERE datetime_of_transaction >= date('now', '-3 months'); </s>
<s>[INST] How much did I spend on home improvement in the last six months? [/INST] SELECT SUM(amount_gbp) AS total_spent_on_home_improvement FROM yonder_transaction_data WHERE category = 'home improvement' AND datetime_of_transaction >= date('now', '-6 months') AND debit_or_credit = 'debit'; </s>
<s>[INST] Can you provide a summary of my expenses by country? [/INST] SELECT country, SUM(amount_gbp) AS total_expenses_gbp FROM yonder_transaction_data GROUP BY country; </s>
<s>[INST] What is the total amount I spent on gifts and donations last year? [/INST] SELECT SUM(amount_gbp) AS total_amount_spent FROM yonder_transaction_data WHERE category IN ('gifts', 'donations') AND datetime_of_transaction BETWEEN '2021-01-01' AND '2021-12-31'; </s>
<s>[INST] How much did I spend on personal care in the last quarter? [/INST] SELECT SUM(amount_gbp) AS total_spent_on_personal_care FROM yonder_transaction_data WHERE category = 'personal care' AND datetime_of_transaction >= date('now', '-3 months') AND datetime_of_transaction <= date('now') ; </s>
<s>[INST] What percentage of my expenses went towards dining out last month? [/INST] SELECT (SUM(amount_gbp) / (SELECT SUM(amount_gbp) FROM yonder_transaction_data WHERE category = 'Dining Out' AND strftime('%m', datetime_of_transaction) = strftime('%m', 'now', '-1 month'))) * 100 AS percentage_expenses_dining_out_last_month FROM yonder_transaction_data WHERE category = 'Dining Out' AND strftime('%m', datetime_of_transaction) = strftime('%m', 'now', '-1 month'); </s>
<s>[INST] Can you tell me the total amount I spent on insurance last year? [/INST] SELECT SUM(amount_gbp) AS total_amount_spent_on_insurance_last_year FROM yonder_transaction_data WHERE category = 'Insurance' AND datetime_of_transaction BETWEEN date('now', '-1 year') AND date('now', '-1 day'); </s>
<s>[INST] How much money did I spend on education expenses in the last six months? [/INST] SELECT SUM(amount_gbp) AS total_spent_on_education FROM yonder_transaction_data WHERE category = 'education' AND datetime_of_transaction >= date('now', '-6 months') AND debit_or_credit = 'debit'; </s>
<s>[INST] What was the average amount I spent on groceries per month last year? [/INST] SELECT strftime('%m', datetime_of_transaction) AS month, AVG(amount_gbp) AS average_amount_spent FROM yonder_transaction_data WHERE category = 'groceries' AND strftime('%Y', datetime_of_transaction) = strftime('%Y', 'now', '-1 year') GROUP BY month; </s>
<s>[INST] Can you provide a breakdown of my entertainment expenses by category? [/INST] SELECT category, SUM(amount_gbp) AS total_expenses FROM yonder_transaction_data WHERE category = 'Entertainment' GROUP BY category; </s>
<s>[INST] How much did I spend on clothing and accessories last month? [/INST] SELECT SUM(amount_gbp) AS total_spent FROM yonder_transaction_data WHERE category = 'clothing and accessories' AND datetime_of_transaction >= date('now', 'start of month', '-1 month') AND datetime_of_transaction < date('now', 'start of month'); </s>
<s>[INST] What was my largest expense in the past six months? [/INST] SELECT description, amount_gbp, currency FROM yonder_transaction_data WHERE datetime_of_transaction >= date('now', '-6 months') AND debit_or_credit = 'debit' ORDER BY amount_gbp DESC LIMIT 1; </s>
<s>[INST] Can you tell me the total amount I spent on taxes last year? [/INST] SELECT SUM(amount_gbp) AS total_spent_on_taxes_last_year FROM yonder_transaction_data WHERE category = 'Taxes' AND datetime_of_transaction BETWEEN date('now', '-1 year') AND date('now', '-1 day'); </s>
<s>[INST] How much money did I spend on pet-related expenses in the last three months? [/INST] SELECT SUM(amount_gbp) AS total_spent_on_pets FROM yonder_transaction_data WHERE category LIKE '%pet%' AND datetime_of_transaction >= date('now', '-3 months') AND debit_or_credit = 'debit'; </s>
<s>[INST] What is the total amount I spent on technology and gadgets last year? [/INST] SELECT SUM(amount_gbp) AS total_spent FROM yonder_transaction_data WHERE category = 'Technology and Gadgets' AND strftime('%Y', datetime_of_transaction) = strftime('%Y', 'now', '-1 year'); </s>
<s>[INST] Can you provide a summary of my expenses by currency? [/INST] SELECT currency, SUM(amount_gbp) AS total_expenses FROM yonder_transaction_data GROUP BY currency; </s>
<s>[INST] How much did I spend on dining out in a specific country last month? [/INST] SELECT SUM(amount_gbp) AS total_spent FROM yonder_transaction_data WHERE category = 'dining out' AND country = 'specific_country' AND datetime_of_transaction BETWEEN date('now', 'start of month', '-1 month') AND date('now', 'start of month', '-1 day'); </s>
<s>[INST] What was the average amount I spent on transportation per month last year? [/INST] SELECT strftime('%m', datetime_of_transaction) AS month, AVG(amount_gbp) AS average_amount_spent FROM yonder_transaction_data WHERE category = 'transportation' AND datetime_of_transaction BETWEEN '2021-01-01' AND '2021-12-31' GROUP BY month ORDER BY month; </s>
<s>[INST] Can you tell me the total amount I spent on charity donations last year? [/INST] SELECT SUM(amount_gbp) AS total_amount_spent FROM yonder_transaction_data WHERE category = 'charity donation' AND datetime_of_transaction BETWEEN '2021-01-01' AND '2021-12-31'; </s>
<s>[INST] How much money did I spend on entertainment in a specific country in the last six months? [/INST] SELECT SUM(amount_gbp) AS total_spent_on_entertainment FROM yonder_transaction_data WHERE category = 'entertainment' AND country = 'specific_country' AND datetime_of_transaction >= date('now', '-6 months') AND debit_or_credit = 'debit'; </s>
<s>[INST] What percentage of my expenses went towards groceries last month? [/INST] SELECT (SUM(amount_gbp) / (SELECT SUM(amount_gbp) FROM yonder_transaction_data WHERE category = 'Groceries' AND strftime('%m', datetime_of_transaction) = strftime('%m', 'now', '-1 month'))) * 100 AS percentage_expenses_on_groceries_last_month FROM yonder_transaction_data WHERE category = 'Groceries' AND strftime('%m', datetime_of_transaction) = strftime('%m', 'now', '-1 month'); </s>
<s>[INST] Can you provide a breakdown of my shopping expenses by country? [/INST] SELECT country, SUM(amount_gbp) AS total_shopping_expenses FROM yonder_transaction_data WHERE category = 'Shopping' AND debit_or_credit = 'Debit' GROUP BY country; </s>
<s>[INST] How much did I spend on utilities in a specific country last quarter? [/INST] SELECT SUM(amount_gbp) AS total_spent_on_utilities FROM yonder_transaction_data WHERE category = 'Utilities' AND country = 'specific_country' AND datetime_of_transaction BETWEEN date('now', '-3 months') AND date('now') AND debit_or_credit = 'Debit'; </s>
<s>[INST] What was my highest transaction amount in a specific country in the past three months? [/INST] SELECT MAX(amount_gbp) AS highest_transaction_amount FROM yonder_transaction_data WHERE country = 'YourSpecificCountry' AND datetime_of_transaction >= date('now', '-3 months') AND debit_or_credit = 'debit'; </s>
<s>[INST] Can you tell me the total amount I spent on healthcare expenses in a specific country last year? [/INST] SELECT country, SUM(amount_gbp) AS total_healthcare_expenses FROM yonder_transaction_data WHERE category = 'healthcare' AND country = 'specific_country' AND datetime_of_transaction BETWEEN 'start_of_last_year' AND 'end_of_last_year' GROUP BY country; </s>
<s>[INST] How much money did I spend on home improvement in a specific country in the last six months? [/INST] SELECT SUM(amount_gbp) AS total_spent FROM yonder_transaction_data WHERE category = 'home improvement' AND country = 'specific_country' AND datetime_of_transaction >= date('now', '-6 months') AND debit_or_credit = 'debit'; </s>
<s>[INST] What is the total amount I spent on gifts and donations in a specific country last year? [/INST] SELECT country, SUM(amount_gbp) AS total_amount_spent FROM yonder_transaction_data WHERE category IN ('gifts', 'donations') AND datetime_of_transaction BETWEEN '2021-01-01' AND '2021-12-31' AND country = 'specific_country' GROUP BY country; </s>
<s>[INST] Can you provide a summary of my expenses by category and country? [/INST] SELECT category, country, SUM(amount_gbp) AS total_expenses FROM yonder_transaction_data WHERE debit_or_credit = 'debit' GROUP BY category, country; </s>
<s>[INST] How much did I spend on personal care in a specific country in the last quarter? [/INST] SELECT SUM(amount_gbp) AS total_spent FROM yonder_transaction_data WHERE category = 'personal care' AND country = 'specific_country' AND datetime_of_transaction >= date('now', 'start of quarter', '-3 months') AND datetime_of_transaction < date('now', 'start of quarter'); </s>
<s>[INST] What percentage of my expenses went towards dining out in a specific country last month? [/INST] SELECT country, (SUM(amount_gbp) / (SELECT SUM(amount_gbp) FROM yonder_transaction_data WHERE strftime('%Y-%m', datetime_of_transaction) = strftime('%Y-%m', 'now', '-1 month'))) * 100 AS percentage_expenses_on_dining_out FROM yonder_transaction_data WHERE category = 'Dining Out' AND strftime('%Y-%m', datetime_of_transaction) = strftime('%Y-%m', 'now', '-1 month') GROUP BY country; </s>
<s>[INST] Can you tell me the total amount I spent on insurance in a specific country last year? [/INST] SELECT country, SUM(amount_gbp) AS total_amount_spent FROM yonder_transaction_data WHERE category = 'insurance' AND country = 'specific_country' AND datetime_of_transaction BETWEEN '2021-01-01' AND '2021-12-31' GROUP BY country; </s>
<s>[INST] How much money did I spend on education expenses in a specific country in the last six months? [/INST] SELECT SUM(amount_gbp) AS total_spent FROM yonder_transaction_data WHERE category = 'education' AND country = 'specific_country' AND datetime_of_transaction >= date('now', '-6 months') AND debit_or_credit = 'debit'; </s>
<s>[INST] What was the average amount I spent on groceries per month in a specific country last year? [/INST] SELECT strftime('%m', datetime_of_transaction) AS month, AVG(amount_gbp) AS average_amount_spent FROM yonder_transaction_data WHERE category = 'groceries' AND country = 'specific_country' AND datetime_of_transaction BETWEEN 'last year-01-01' AND 'last year-12-31' GROUP BY month; </s>
<s>[INST] Can you provide a breakdown of my entertainment expenses by country? [/INST] SELECT country, SUM(amount_gbp) AS total_entertainment_expenses FROM yonder_transaction_data WHERE category = 'Entertainment' AND debit_or_credit = 'Debit' GROUP BY country; </s>
<s>[INST] How much did I spend on clothing and accessories in a specific country last month? [/INST] SELECT SUM(amount_gbp) AS total_spent FROM yonder_transaction_data WHERE category = 'clothing and accessories' AND country = 'specific_country' AND datetime_of_transaction >= date('now', 'start of month', '-1 month') AND datetime_of_transaction < date('now', 'start of month'); </s>
<s>[INST] What was my largest expense in a specific country in the past six months? [/INST] SELECT description, amount_gbp, currency FROM yonder_transaction_data WHERE datetime_of_transaction >= date('now', '-6 months') AND country = 'specific_country' AND debit_or_credit = 'Debit' ORDER BY amount_gbp DESC LIMIT 1; </s>
<s>[INST] Can you tell me the total amount I spent on taxes in a specific country last year? [/INST] SELECT country, SUM(amount_gbp) AS total_taxes_spent FROM yonder_transaction_data WHERE category = 'Taxes' AND debit_or_credit = 'Debit' AND country = 'specific_country' AND datetime_of_transaction BETWEEN 'start_of_last_year' AND 'end_of_last_year' GROUP BY country; </s>
<s>[INST] How much money did I spend on pet-related expenses in a specific country in the last three months? [/INST] SELECT SUM(amount_gbp) AS total_spent_on_pets FROM yonder_transaction_data WHERE category LIKE '%pet%' AND country = 'specific_country' AND datetime_of_transaction >= date('now', '-3 months') AND debit_or_credit = 'debit'; </s>
<s>[INST] What is the total amount I spent on technology and gadgets in a specific country last year? [/INST] SELECT SUM(amount_gbp) AS total_spent FROM yonder_transaction_data WHERE category = 'Technology and Gadgets' AND country = 'specific_country' AND datetime_of_transaction BETWEEN 'start_of_last_year' AND 'end_of_last_year'; </s>
<s>[INST] Can you provide a summary of my expenses by category and currency? [/INST] SELECT category, currency, SUM(amount_gbp) AS total_expenses FROM yonder_transaction_data WHERE debit_or_credit = 'debit' GROUP BY category, currency; </s>
<s>[INST] How much did I spend on dining out in a specific currency last month? [/INST] SELECT SUM(amount_in_charged_currency) AS total_spent FROM yonder_transaction_data WHERE category = 'dining out' AND currency = 'specific_currency' AND datetime_of_transaction BETWEEN date('now', 'start of month', '-1 month') AND date('now', 'start of month', '-1 day'); </s>
<s>[INST] What was the average amount I spent on transportation per month in a specific currency last year? [/INST] SELECT strftime('%m', datetime_of_transaction) AS month, currency, AVG(amount_in_charged_currency) AS average_amount_spent FROM yonder_transaction_data WHERE category = 'transportation' AND strftime('%Y', datetime_of_transaction) = strftime('%Y', 'now', '-1 year') GROUP BY month, currency; </s>
<s>[INST] Can you tell me the total amount I spent on charity donations in a specific currency last year? [/INST] SELECT currency, SUM(amount_gbp) AS total_amount_spent FROM yonder_transaction_data WHERE category = 'charity donations' AND datetime_of_transaction BETWEEN date('now', '-1 year') AND date('now') GROUP BY currency; </s>
<s>[INST] How much money did I spend on entertainment in a specific currency in the last six months? [/INST] SELECT SUM(amount_in_charged_currency) AS total_spent FROM yonder_transaction_data WHERE category = 'entertainment' AND datetime_of_transaction >= date('now', '-6 months') AND currency = 'specific_currency' AND debit_or_credit = 'debit'; </s>
<s>[INST] What percentage of my expenses went towards groceries in a specific currency last month? [/INST] SELECT (SUM(amount_gbp) / (SELECT SUM(amount_gbp) FROM yonder_transaction_data WHERE category = 'Groceries' AND currency = 'USD' AND strftime('%Y-%m', datetime_of_transaction) = strftime('%Y-%m', 'now', '-1 month'))) * 100 AS percentage_expenses FROM yonder_transaction_data WHERE category = 'Groceries' AND currency = 'USD' AND strftime('%Y-%m', datetime_of_transaction) = strftime('%Y-%m', 'now', '-1 month'); </s>
<s>[INST] Can you provide a breakdown of my shopping expenses by currency? [/INST] SELECT currency, SUM(amount_gbp) AS total_expenses FROM yonder_transaction_data WHERE category = 'Shopping' AND debit_or_credit = 'Debit' GROUP BY currency; </s>
<s>[INST] How much did I spend on utilities in a specific currency last quarter? [/INST] SELECT SUM(amount_in_charged_currency) AS total_spent FROM yonder_transaction_data WHERE category = 'utilities' AND currency = 'specific_currency' AND datetime_of_transaction >= date('now', '-3 months') AND datetime_of_transaction < date('now') ; </s>
<s>[INST] What was my highest transaction amount in a specific currency in the past three months? [/INST] SELECT MAX(amount_gbp) AS highest_transaction_amount FROM yonder_transaction_data WHERE datetime_of_transaction >= date('now', '-3 months') AND currency = 'specific_currency'; </s>
<s>[INST] Can you tell me the total amount I spent on healthcare expenses in a specific currency last year? [/INST] SELECT currency, SUM(amount_gbp) AS total_amount_spent FROM yonder_transaction_data WHERE category = 'healthcare' AND datetime_of_transaction BETWEEN date('now', '-1 year') AND date('now') GROUP BY currency; </s>
<s>[INST] How much money did I spend on home improvement in a specific currency in the last six months? [/INST] SELECT SUM(amount_in_charged_currency) AS total_spent FROM yonder_transaction_data WHERE category = 'home improvement' AND datetime_of_transaction >= date('now', '-6 months') AND currency = 'specific_currency'; </s>
<s>[INST] What is the total amount I spent on gifts and donations in a specific currency last year? [/INST] SELECT currency, SUM(amount_gbp) AS total_amount_spent FROM yonder_transaction_data WHERE category IN ('Gifts', 'Donations') AND datetime_of_transaction BETWEEN date('now', '-1 year') AND date('now', '-1 day') GROUP BY currency; </s>
<s>[INST] Can you provide a summary of my expenses by category and debit/credit? [/INST] SELECT category, debit_or_credit, SUM(amount_gbp) AS total_expenses FROM yonder_transaction_data GROUP BY category, debit_or_credit; </s>
<s>[INST] How much did I spend on personal care in a specific currency in the last quarter? [/INST] SELECT SUM(amount_in_charged_currency) AS total_spent FROM yonder_transaction_data WHERE category = 'personal care' AND currency = 'specific_currency' AND datetime_of_transaction >= date('now', '-3 months') AND datetime_of_transaction <= date('now') ; </s>
<s>[INST] What percentage of my expenses went towards dining out in a specific currency last month? [/INST] SELECT ROUND((SUM(amount_gbp) / (SELECT SUM(amount_gbp) FROM yonder_transaction_data WHERE category = 'Dining Out' AND currency = 'USD' AND strftime('%m', datetime_of_transaction) = strftime('%m', 'now', '-1 month'))) * 100, 2) AS percentage_expenses FROM yonder_transaction_data WHERE category = 'Dining Out' AND currency = 'USD' AND strftime('%m', datetime_of_transaction) = strftime('%m', 'now', '-1 month'); </s>
<s>[INST] Can you tell me the total amount I spent on insurance in a specific currency last year? [/INST] SELECT currency, SUM(amount_gbp) AS total_amount_spent FROM yonder_transaction_data WHERE category = 'insurance' AND datetime_of_transaction BETWEEN '2021-01-01' AND '2021-12-31' GROUP BY currency; </s>
<s>[INST] How much money did I spend on education expenses in a specific currency in the last six months? [/INST] SELECT SUM(amount_in_charged_currency) AS total_spent FROM yonder_transaction_data WHERE category = 'education' AND currency = 'specific_currency' AND datetime_of_transaction >= date('now', '-6 months') AND debit_or_credit = 'debit'; </s>
<s>[INST] What was the average amount I spent on groceries per month in a specific currency last year? [/INST] SELECT strftime('%m', datetime_of_transaction) AS month, currency, AVG(amount_in_charged_currency) AS average_amount FROM yonder_transaction_data WHERE category = 'groceries' AND datetime_of_transaction BETWEEN '2021-01-01' AND '2021-12-31' AND currency = 'specific_currency' GROUP BY month, currency; </s>
<s>[INST] Can you provide a breakdown of my entertainment expenses by currency? [/INST] SELECT currency, SUM(amount_gbp) AS total_expenses FROM yonder_transaction_data WHERE category = 'entertainment' AND debit_or_credit = 'debit' GROUP BY currency; </s>
<s>[INST] How much did I spend on clothing and accessories in a specific currency last month? [/INST] SELECT SUM(amount_in_charged_currency) AS total_spent FROM yonder_transaction_data WHERE category = 'clothing and accessories' AND currency = 'specific_currency' AND datetime_of_transaction BETWEEN date('now', 'start of month', '-1 month') AND date('now', 'start of month', '-1 day'); </s>
<s>[INST] What was my largest expense in a specific currency in the past six months? [/INST] SELECT description, amount_gbp, currency FROM yonder_transaction_data WHERE datetime_of_transaction >= date('now', '-6 months') AND debit_or_credit = 'debit' AND currency = 'YOUR_SPECIFIC_CURRENCY' ORDER BY amount_gbp DESC LIMIT 1; </s>
<s>[INST] Can you tell me the total amount I spent on taxes in a specific currency last year? [/INST] SELECT currency, SUM(amount_gbp) AS total_amount_spent FROM yonder_transaction_data WHERE category = 'Taxes' AND datetime_of_transaction BETWEEN date('now', '-1 year') AND date('now') GROUP BY currency; </s>
<s>[INST] How much money did I spend on pet-related expenses in a specific currency in the last three months? [/INST] SELECT currency, SUM(amount_gbp) AS total_spent FROM yonder_transaction_data WHERE category LIKE '%pet%' AND debit_or_credit = 'debit' AND datetime_of_transaction >= date('now', '-3 months') GROUP BY currency; </s>
<s>[INST] What is the total amount I spent on technology and gadgets in a specific currency last year? [/INST] SELECT currency, SUM(amount_in_charged_currency) AS total_spent FROM yonder_transaction_data WHERE category = 'Technology and Gadgets' AND datetime_of_transaction BETWEEN date('now', '-1 year') AND date('now', '-1 day') GROUP BY currency; </s>
<s>[INST] Can you provide a summary of my expenses by category and country and currency? [/INST] SELECT category, country, currency, SUM(amount_gbp) AS total_expenses FROM yonder_transaction_data GROUP BY category, country, currency; </s>
<s>[INST] How much did I spend on dining out in a specific country and currency last month? [/INST] SELECT SUM(amount_gbp) AS total_spent FROM yonder_transaction_data WHERE category = 'dining out' AND country = 'specific_country' AND currency = 'specific_currency' AND datetime_of_transaction BETWEEN date('now', 'start of month', '-1 month') AND date('now', 'start of month', '-1 day'); </s>
<s>[INST] What was the average amount I spent on transportation per month in a specific country and currency last year? [/INST] SELECT strftime('%m', datetime_of_transaction) AS month, AVG(amount_gbp) AS average_amount_spent FROM yonder_transaction_data WHERE category = 'transportation' AND country = 'specific_country' AND currency = 'specific_currency' AND datetime_of_transaction BETWEEN 'last year-01-01' AND 'last year-12-31' GROUP BY month; </s>
<s>[INST] Can you tell me the total amount I spent on charity donations in a specific country and currency last year? [/INST] SELECT SUM(amount_gbp) AS total_amount_spent FROM yonder_transaction_data WHERE category = 'charity donation' AND country = 'specific_country' AND currency = 'specific_currency' AND datetime_of_transaction BETWEEN date('now', '-1 year') AND date('now') ; </s>
<s>[INST] How much money did I spend on entertainment in a specific country and currency in the last six months? [/INST] SELECT SUM(amount_gbp) AS total_spent FROM yonder_transaction_data WHERE category = 'entertainment' AND country = 'specific_country' AND currency = 'specific_currency' AND datetime_of_transaction >= date('now', '-6 months') AND debit_or_credit = 'debit'; </s>
<s>[INST] What percentage of my expenses went towards groceries in a specific country and currency last month? [/INST] SELECT (SUM(amount_gbp) / (SELECT SUM(amount_gbp) FROM yonder_transaction_data WHERE category = 'Groceries' AND country = 'specific_country' AND currency = 'specific_currency' AND strftime('%Y-%m', datetime_of_transaction) = strftime('%Y-%m', 'now', '-1 month'))) * 100 AS percentage_expenses_towards_groceries FROM yonder_transaction_data WHERE category = 'Groceries' AND country = 'specific_country' AND currency = 'specific_currency' AND strftime('%Y-%m', datetime_of_transaction) = strftime('%Y-%m', 'now', '-1 month'); </s>
<s>[INST] Can you provide a breakdown of my shopping expenses by country and currency? [/INST] SELECT country, currency, SUM(amount_gbp) AS total_expenses FROM yonder_transaction_data WHERE category = 'Shopping' AND debit_or_credit = 'Debit' GROUP BY country, currency; </s>
<s>[INST] How much did I spend on utilities in a specific country and currency last quarter? [/INST] SELECT SUM(amount_gbp) AS total_spent FROM yonder_transaction_data WHERE category = 'utilities' AND country = 'specific_country' AND currency = 'specific_currency' AND datetime_of_transaction BETWEEN date('now', '-3 months') AND date('now') AND debit_or_credit = 'debit'; </s>
<s>[INST] What was my highest transaction amount in a specific country and currency in the past three months? [/INST] SELECT MAX(amount_gbp) AS highest_transaction_amount FROM yonder_transaction_data WHERE datetime_of_transaction >= date('now', '-3 months') AND country = 'specific_country' AND currency = 'specific_currency'; </s>
<s>[INST] Can you tell me the total amount I spent on healthcare expenses in a specific country and currency last year? [/INST] SELECT country, currency, SUM(amount_gbp) AS total_healthcare_expenses FROM yonder_transaction_data WHERE category = 'healthcare' AND debit_or_credit = 'debit' AND datetime_of_transaction BETWEEN date('now', '-1 year') AND date('now') GROUP BY country, currency; </s>
<s>[INST] How much money did I spend on home improvement in a specific country and currency in the last six months? [/INST] SELECT SUM(amount_gbp) AS total_spent FROM yonder_transaction_data WHERE category = 'home improvement' AND country = 'your_specific_country' AND currency = 'your_specific_currency' AND datetime_of_transaction >= date('now', '-6 months') AND debit_or_credit = 'debit'; </s>
<s>[INST] What is the total amount I spent on gifts and donations in a specific country and currency last year? [/INST] SELECT SUM(amount_in_charged_currency) AS total_amount_spent FROM yonder_transaction_data WHERE category IN ('gifts', 'donations') AND country = 'specific_country' AND currency = 'specific_currency' AND datetime_of_transaction BETWEEN '2021-01-01' AND '2021-12-31'; </s>
<s>[INST] Can you provide a summary of my expenses by category and country and debit/credit? [/INST] SELECT category, country, debit_or_credit, SUM(amount_gbp) AS total_expenses FROM yonder_transaction_data GROUP BY category, country, debit_or_credit; </s>
<s>[INST] How much did I spend on personal care in a specific country and currency in the last quarter? [/INST] SELECT SUM(amount_gbp) AS total_spent FROM yonder_transaction_data WHERE category = 'personal care' AND country = 'specific_country' AND currency = 'specific_currency' AND datetime_of_transaction >= date('now', '-3 months') AND datetime_of_transaction <= date('now'); </s>
<s>[INST] What percentage of my expenses went towards dining out in a specific country and currency last month? [/INST] SELECT SUM(amount_gbp) / (SELECT SUM(amount_gbp) FROM yonder_transaction_data WHERE category = 'Dining Out' AND country = 'specific_country' AND currency = 'specific_currency' AND strftime('%Y-%m', datetime_of_transaction) = strftime('%Y-%m', 'now', '-1 month')) * 100 AS percentage_expenses FROM yonder_transaction_data WHERE category = 'Dining Out' AND country = 'specific_country' AND currency = 'specific_currency' AND strftime('%Y-%m', datetime_of_transaction) = strftime('%Y-%m', 'now', '-1 month'); </s>
<s>[INST] Can you tell me the total amount I spent on insurance in a specific country and currency last year? [/INST] SELECT SUM(amount_gbp) AS total_amount_spent FROM yonder_transaction_data WHERE category = 'insurance' AND country = 'specific_country' AND currency = 'specific_currency' AND datetime_of_transaction BETWEEN date('now', '-1 year') AND date('now') ; </s>
<s>[INST] How much money did I spend on education expenses in a specific country and currency in the last six months? [/INST] SELECT SUM(amount_gbp) AS total_spent FROM yonder_transaction_data WHERE category = 'education' AND country = 'specific_country' AND currency = 'specific_currency' AND datetime_of_transaction >= date('now', '-6 months') AND debit_or_credit = 'debit'; </s>
<s>[INST] What was the average amount I spent on groceries per month in a specific country and currency last year? [/INST] SELECT strftime('%Y-%m', datetime_of_transaction) AS transaction_month, AVG(amount_gbp) AS average_amount_spent FROM yonder_transaction_data WHERE category = 'groceries' AND country = 'your_specific_country' AND currency = 'your_specific_currency' AND datetime_of_transaction BETWEEN date('now', '-1 year') AND date('now', '-1 day') GROUP BY transaction_month; </s>
<s>[INST] Can you provide a breakdown of my entertainment expenses by country and currency? [/INST] SELECT country, currency, SUM(amount_gbp) AS total_expenses FROM yonder_transaction_data WHERE category = 'entertainment' GROUP BY country, currency; </s>
<s>[INST] How much did I spend on clothing and accessories in a specific country and currency last month? [/INST] SELECT SUM(amount_gbp) AS total_spent FROM yonder_transaction_data WHERE category = 'clothing and accessories' AND country = 'specific_country' AND currency = 'specific_currency' AND datetime_of_transaction BETWEEN date('now', 'start of month', '-1 month') AND date('now', 'start of month', '-1 day'); </s>
<s>[INST] What was my largest expense in a specific country and currency in the past six months? [/INST] SELECT description, amount_gbp, amount_in_charged_currency, currency, country FROM yonder_transaction_data WHERE datetime_of_transaction >= date('now', '-6 months') AND country = 'specific_country' AND currency = 'specific_currency' ORDER BY amount_gbp DESC LIMIT 1; </s>
<s>[INST] Can you tell me the total amount I spent on taxes in a specific country and currency last year? [/INST] SELECT country, currency, SUM(amount_gbp) AS total_amount_spent FROM yonder_transaction_data WHERE category = 'Taxes' AND debit_or_credit = 'Debit' AND datetime_of_transaction BETWEEN date('now', '-1 year') AND date('now') GROUP BY country, currency; </s>
<s>[INST] How much money did I spend on pet-related expenses in a specific country and currency in the last three months? [/INST] SELECT SUM(amount_gbp) AS total_spent FROM yonder_transaction_data WHERE category LIKE '%pet%' AND country = 'specific_country' AND currency = 'specific_currency' AND datetime_of_transaction >= date('now', '-3 months'); </s>
<s>[INST] What is the total amount I spent on technology and gadgets in a specific country and currency last year? [/INST] SELECT SUM(amount_gbp) AS total_spent FROM yonder_transaction_data WHERE category = 'Technology and Gadgets' AND country = 'specific_country' AND currency = 'specific_currency' AND datetime_of_transaction BETWEEN date('now', '-1 year') AND date('now', '-1 day'); </s>
<s>[INST] Can you provide a summary of my expenses by category and currency and debit/credit? [/INST] SELECT category, currency, debit_or_credit, SUM(amount_gbp) AS total_expenses FROM yonder_transaction_data GROUP BY category, currency, debit_or_credit; </s>
<s>[INST] How much did I spend on dining out in a specific currency and debit/credit last month? [/INST] SELECT SUM(amount_in_charged_currency) AS total_spent FROM yonder_transaction_data WHERE category = 'dining out' AND currency = 'USD' AND debit_or_credit = 'debit' AND strftime('%Y-%m', datetime_of_transaction) = strftime('%Y-%m', 'now', '-1 month'); </s>
<s>[INST] What was the average amount I spent on transportation per month in a specific currency and debit/credit last year? [/INST] SELECT strftime('%m', datetime_of_transaction) AS month, AVG(amount_in_charged_currency) AS average_amount_spent FROM yonder_transaction_data WHERE category = 'transportation' AND currency = 'USD' AND debit_or_credit = 'debit' AND datetime_of_transaction BETWEEN '2021-01-01' AND '2021-12-31' GROUP BY month; </s>