conversations
listlengths 2
2
| source
stringclasses 4
values | score
float64 5
5
|
|---|---|---|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Which journals involve the account 104602 - transit a/c?"
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE `Contra account code` = '104602';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Display journals associated with account 104602 - transit a/c."
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE `Contra account code` = '104602';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Provide journal entries for 104602 - transit a/c."
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE `Contra account code` = '104602';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} List all journals connected to account 104602 - transit a/c."
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE `Contra account code` = '104602';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Which journals have postings to account 104602 - transit a/c?"
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE `Contra account code` = '104602';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} List journals posted on non-business days."
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE strftime('%w', `Entry date`) = '0' OR strftime('%m-%d', `Entry date`) = '08-15';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Which journals were posted on Sundays and public holidays?"
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE strftime('%w', `Entry date`) = '0' OR strftime('%m-%d', `Entry date`) = '08-15';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Show journal entries made on non-working days."
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE strftime('%w', `Entry date`) = '0' OR strftime('%m-%d', `Entry date`) = '08-15';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Identify journals posted on Sundays or on 15th August."
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE strftime('%w', `Entry date`) = '0' OR strftime('%m-%d', `Entry date`) = '08-15';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Find journal entries created on non-business days."
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE strftime('%w', `Entry date`) = '0' OR strftime('%m-%d', `Entry date`) = '08-15';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Which journals were recorded on public holidays?"
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE strftime('%w', `Entry date`) = '0' OR strftime('%m-%d', `Entry date`) = '08-15';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Display journals posted on Sundays and 15th August."
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE strftime('%w', `Entry date`) = '0' OR strftime('%m-%d', `Entry date`) = '08-15';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Provide journal entries for non-working days."
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE strftime('%w', `Entry date`) = '0' OR strftime('%m-%d', `Entry date`) = '08-15';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} List all journals created on non-business days."
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE strftime('%w', `Entry date`) = '0' OR strftime('%m-%d', `Entry date`) = '08-15';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Which journals were posted during weekends or holidays?"
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE strftime('%w', `Entry date`) = '0' OR strftime('%m-%d', `Entry date`) = '08-15';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} List journals posted on non-business days."
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE strftime('%w', `Entry date`) = '0' OR strftime('%m-%d', `Entry date`) = '08-15';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Which journals were posted on Sundays and public holidays?"
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE strftime('%w', `Entry date`) = '0' OR strftime('%m-%d', `Entry date`) = '08-15';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Show journal entries made on non-working days."
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE strftime('%w', `Entry date`) = '0' OR strftime('%m-%d', `Entry date`) = '08-15';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Identify journals posted on Sundays or on 15th August."
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE strftime('%w', `Entry date`) = '0' OR strftime('%m-%d', `Entry date`) = '08-15';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Find journal entries created on non-business days."
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE strftime('%w', `Entry date`) = '0' OR strftime('%m-%d', `Entry date`) = '08-15';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Which journals were recorded on public holidays?"
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE strftime('%w', `Entry date`) = '0' OR strftime('%m-%d', `Entry date`) = '08-15';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Display journals posted on Sundays and 15th August."
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE strftime('%w', `Entry date`) = '0' OR strftime('%m-%d', `Entry date`) = '08-15';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Provide journal entries for non-working days."
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE strftime('%w', `Entry date`) = '0' OR strftime('%m-%d', `Entry date`) = '08-15';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} List all journals created on non-business days."
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE strftime('%w', `Entry date`) = '0' OR strftime('%m-%d', `Entry date`) = '08-15';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Which journals were posted during weekends or holidays?"
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE strftime('%w', `Entry date`) = '0' OR strftime('%m-%d', `Entry date`) = '08-15';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} List journals with no description or narration."
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE `Journal Desription` IS NULL OR `Journal Desription` = '';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Which journals are missing a description?"
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE `Journal Desription` IS NULL OR `Journal Desription` = '';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Show journal entries without a narration."
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE `Journal Desription` IS NULL OR `Journal Desription` = '';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Identify journals with an empty description field."
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE `Journal Desription` IS NULL OR `Journal Desription` = '';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Find journal entries with no journal description."
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE `Journal Desription` IS NULL OR `Journal Desription` = '';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Which journals have no narration provided?"
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE `Journal Desription` IS NULL OR `Journal Desription` = '';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Display journals with missing descriptions."
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE `Journal Desription` IS NULL OR `Journal Desription` = '';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Provide journal entries without any description."
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE `Journal Desription` IS NULL OR `Journal Desription` = '';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} List all journals where the description is null or blank."
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE `Journal Desription` IS NULL OR `Journal Desription` = '';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Which journals lack a journal narration?"
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE `Journal Desription` IS NULL OR `Journal Desription` = '';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} List journals containing keywords like MD or bribe."
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE `Journal Desription` LIKE '%MD%' OR `Journal Desription` LIKE '%bribe%';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Which journals have MD or bribe mentioned in their description?"
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE `Journal Desription` LIKE '%MD%' OR `Journal Desription` LIKE '%bribe%';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Show journal entries that include the keywords MD or bribe."
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE `Journal Desription` LIKE '%MD%' OR `Journal Desription` LIKE '%bribe%';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Identify journals with descriptions containing MD or bribe."
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE `Journal Desription` LIKE '%MD%' OR `Journal Desription` LIKE '%bribe%';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Find journal entries with keywords MD or bribe."
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE `Journal Desription` LIKE '%MD%' OR `Journal Desription` LIKE '%bribe%';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Which journals mention MD or bribe in the narration?"
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE `Journal Desription` LIKE '%MD%' OR `Journal Desription` LIKE '%bribe%';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Display journals that reference MD or bribe."
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE `Journal Desription` LIKE '%MD%' OR `Journal Desription` LIKE '%bribe%';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Provide journal entries containing MD or bribe in their text."
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE `Journal Desription` LIKE '%MD%' OR `Journal Desription` LIKE '%bribe%';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} List all journals where MD or bribe appears in the description."
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE `Journal Desription` LIKE '%MD%' OR `Journal Desription` LIKE '%bribe%';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Which journals include the words MD or bribe?"
},
{
"from": "gpt",
"value": "SELECT * FROM financial_data WHERE `Journal Desription` LIKE '%MD%' OR `Journal Desription` LIKE '%bribe%';"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} List compound journal entries with a large number of lines."
},
{
"from": "gpt",
"value": "SELECT `Document No`, COUNT(*) AS line_count FROM financial_data GROUP BY `Document No` HAVING COUNT(*) > 5;"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Which journal entries contain multiple line items?"
},
{
"from": "gpt",
"value": "SELECT `Document No`, COUNT(*) AS line_count FROM financial_data GROUP BY `Document No` HAVING COUNT(*) > 5;"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Show compound journal entries with more than 5 lines."
},
{
"from": "gpt",
"value": "SELECT `Document No`, COUNT(*) AS line_count FROM financial_data GROUP BY `Document No` HAVING COUNT(*) > 5;"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Identify large journal entries with several line items."
},
{
"from": "gpt",
"value": "SELECT `Document No`, COUNT(*) AS line_count FROM financial_data GROUP BY `Document No` HAVING COUNT(*) > 5;"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Find compound journals that have numerous lines."
},
{
"from": "gpt",
"value": "SELECT `Document No`, COUNT(*) AS line_count FROM financial_data GROUP BY `Document No` HAVING COUNT(*) > 5;"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Which journal entries include many line items?"
},
{
"from": "gpt",
"value": "SELECT `Document No`, COUNT(*) AS line_count FROM financial_data GROUP BY `Document No` HAVING COUNT(*) > 5;"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Display large compound journal entries."
},
{
"from": "gpt",
"value": "SELECT `Document No`, COUNT(*) AS line_count FROM financial_data GROUP BY `Document No` HAVING COUNT(*) > 5;"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Provide compound journal entries with multiple lines."
},
{
"from": "gpt",
"value": "SELECT `Document No`, COUNT(*) AS line_count FROM financial_data GROUP BY `Document No` HAVING COUNT(*) > 5;"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} List all journal entries with more than 5 line items."
},
{
"from": "gpt",
"value": "SELECT `Document No`, COUNT(*) AS line_count FROM financial_data GROUP BY `Document No` HAVING COUNT(*) > 5;"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Which journals have an extensive number of line items?"
},
{
"from": "gpt",
"value": "SELECT `Document No`, COUNT(*) AS line_count FROM financial_data GROUP BY `Document No` HAVING COUNT(*) > 5;"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} List duplicate journal entries."
},
{
"from": "gpt",
"value": "SELECT *, COUNT(*) FROM financial_data GROUP BY `GL Code`, `Entry date`, `Document No`, `Debit in INR`, `Credit in INR` HAVING COUNT(*) > 1;"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Which journal entries have duplicates?"
},
{
"from": "gpt",
"value": "SELECT *, COUNT(*) FROM financial_data GROUP BY `GL Code`, `Entry date`, `Document No`, `Debit in INR`, `Credit in INR` HAVING COUNT(*) > 1;"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Show entries that appear more than once."
},
{
"from": "gpt",
"value": "SELECT *, COUNT(*) FROM financial_data GROUP BY `GL Code`, `Entry date`, `Document No`, `Debit in INR`, `Credit in INR` HAVING COUNT(*) > 1;"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Identify duplicate records in the day book."
},
{
"from": "gpt",
"value": "SELECT *, COUNT(*) FROM financial_data GROUP BY `GL Code`, `Entry date`, `Document No`, `Debit in INR`, `Credit in INR` HAVING COUNT(*) > 1;"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Find journal entries with identical data."
},
{
"from": "gpt",
"value": "SELECT *, COUNT(*) FROM financial_data GROUP BY `GL Code`, `Entry date`, `Document No`, `Debit in INR`, `Credit in INR` HAVING COUNT(*) > 1;"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Which journal entries are repeated?"
},
{
"from": "gpt",
"value": "SELECT *, COUNT(*) FROM financial_data GROUP BY `GL Code`, `Entry date`, `Document No`, `Debit in INR`, `Credit in INR` HAVING COUNT(*) > 1;"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Display duplicate records in the journal."
},
{
"from": "gpt",
"value": "SELECT *, COUNT(*) FROM financial_data GROUP BY `GL Code`, `Entry date`, `Document No`, `Debit in INR`, `Credit in INR` HAVING COUNT(*) > 1;"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Provide a list of duplicate journal entries."
},
{
"from": "gpt",
"value": "SELECT *, COUNT(*) FROM financial_data GROUP BY `GL Code`, `Entry date`, `Document No`, `Debit in INR`, `Credit in INR` HAVING COUNT(*) > 1;"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} List all journal entries that have duplicates."
},
{
"from": "gpt",
"value": "SELECT *, COUNT(*) FROM financial_data GROUP BY `GL Code`, `Entry date`, `Document No`, `Debit in INR`, `Credit in INR` HAVING COUNT(*) > 1;"
}
] |
data5_dataset
| 5
|
[
{
"from": "human",
"value": "Schema (Table: financial_data): {'GL Code': 'int', 'GL Description': 'str', 'Contra account code': 'str', 'Contra account name': 'str', 'Entry date': 'datetime64[ns]', 'Document date': 'datetime64[ns]', 'Document No': 'str', 'User prepared': 'str', 'Entry number': 'float', 'Debit in INR': 'float', 'Credit in INR': 'float', 'Entry Currency': 'str', 'Journal Desription': 'str', 'PLANT': 'str'} Which journal entries are recorded multiple times?"
},
{
"from": "gpt",
"value": "SELECT *, COUNT(*) FROM financial_data GROUP BY `GL Code`, `Entry date`, `Document No`, `Debit in INR`, `Credit in INR` HAVING COUNT(*) > 1;"
}
] |
data5_dataset
| 5
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.