Upload train.jsonl with huggingface_hub
Browse files- train.jsonl +415 -0
train.jsonl
ADDED
|
@@ -0,0 +1,415 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"input": "quais colunas tem a tabela contratos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='contratos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 2 |
+
{"input": "quais colunas tem a tabela parcelas", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='parcelas' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 3 |
+
{"input": "quais colunas tem a tabela turmas", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='turmas' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 4 |
+
{"input": "quais colunas tem a tabela turma_participantes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='turma_participantes' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 5 |
+
{"input": "quais colunas tem a tabela user_profiles", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='user_profiles' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 6 |
+
{"input": "quais colunas tem a tabela planos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='planos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 7 |
+
{"input": "quais colunas tem a tabela categorias", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='categorias' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 8 |
+
{"input": "quais colunas tem a tabela lotes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='lotes' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 9 |
+
{"input": "quais colunas tem a tabela boletos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='boletos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 10 |
+
{"input": "quais colunas tem a tabela pix_gerados", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='pix_gerados' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 11 |
+
{"input": "quais colunas tem a tabela payments", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='payments' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 12 |
+
{"input": "quais colunas tem a tabela wallets", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='wallets' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 13 |
+
{"input": "quais colunas tem a tabela wallet_transactions", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='wallet_transactions' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 14 |
+
{"input": "quais colunas tem a tabela rescission_requests", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='rescission_requests' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 15 |
+
{"input": "quais colunas tem a tabela renegociacoes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='renegociacoes' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 16 |
+
{"input": "quais colunas tem a tabela transfer_requests", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='transfer_requests' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 17 |
+
{"input": "quais colunas tem a tabela mudancas_plano", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='mudancas_plano' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 18 |
+
{"input": "quais colunas tem a tabela campanhas_desconto", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='campanhas_desconto' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 19 |
+
{"input": "quais colunas tem a tabela administradores", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='administradores' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 20 |
+
{"input": "quais colunas tem a tabela eventos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='eventos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 21 |
+
{"input": "quais colunas tem a tabela itens", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='itens' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 22 |
+
{"input": "quais colunas tem a tabela aptidao_financeira_alunos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='aptidao_financeira_alunos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 23 |
+
{"input": "quais colunas tem a tabela credit_card_tokens", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='credit_card_tokens' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 24 |
+
{"input": "quais colunas tem a tabela email_change_requests", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='email_change_requests' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 25 |
+
{"input": "quais colunas tem a tabela contract_signatures", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='contract_signatures' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 26 |
+
{"input": "quais colunas tem a tabela contract_templates", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='contract_templates' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 27 |
+
{"input": "quais colunas tem a tabela turma_depositos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='turma_depositos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 28 |
+
{"input": "quais colunas tem a tabela transacoes_financeiras", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='transacoes_financeiras' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 29 |
+
{"input": "quais colunas tem a tabela hubia_messages", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='hubia_messages' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 30 |
+
{"input": "quais colunas tem a tabela hubia_connections", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='hubia_connections' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 31 |
+
{"input": "quais colunas tem a tabela hubia_chat_history", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='hubia_chat_history' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 32 |
+
{"input": "quais colunas tem a tabela profiles", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='profiles' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 33 |
+
{"input": "quais colunas tem a tabela usuarios", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='usuarios' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 34 |
+
{"input": "schema da tabela contratos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='contratos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 35 |
+
{"input": "schema da tabela parcelas", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='parcelas' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 36 |
+
{"input": "schema da tabela turmas", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='turmas' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 37 |
+
{"input": "schema da tabela turma_participantes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='turma_participantes' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 38 |
+
{"input": "schema da tabela user_profiles", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='user_profiles' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 39 |
+
{"input": "schema da tabela planos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='planos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 40 |
+
{"input": "schema da tabela categorias", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='categorias' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 41 |
+
{"input": "schema da tabela lotes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='lotes' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 42 |
+
{"input": "schema da tabela boletos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='boletos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 43 |
+
{"input": "schema da tabela pix_gerados", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='pix_gerados' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 44 |
+
{"input": "schema da tabela payments", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='payments' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 45 |
+
{"input": "schema da tabela wallets", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='wallets' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 46 |
+
{"input": "schema da tabela wallet_transactions", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='wallet_transactions' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 47 |
+
{"input": "schema da tabela rescission_requests", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='rescission_requests' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 48 |
+
{"input": "schema da tabela renegociacoes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='renegociacoes' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 49 |
+
{"input": "schema da tabela transfer_requests", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='transfer_requests' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 50 |
+
{"input": "schema da tabela mudancas_plano", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='mudancas_plano' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 51 |
+
{"input": "schema da tabela campanhas_desconto", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='campanhas_desconto' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 52 |
+
{"input": "schema da tabela administradores", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='administradores' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 53 |
+
{"input": "schema da tabela eventos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='eventos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 54 |
+
{"input": "schema da tabela itens", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='itens' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 55 |
+
{"input": "schema da tabela aptidao_financeira_alunos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='aptidao_financeira_alunos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 56 |
+
{"input": "schema da tabela credit_card_tokens", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='credit_card_tokens' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 57 |
+
{"input": "schema da tabela email_change_requests", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='email_change_requests' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 58 |
+
{"input": "schema da tabela contract_signatures", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='contract_signatures' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 59 |
+
{"input": "schema da tabela contract_templates", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='contract_templates' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 60 |
+
{"input": "schema da tabela turma_depositos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='turma_depositos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 61 |
+
{"input": "schema da tabela transacoes_financeiras", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='transacoes_financeiras' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 62 |
+
{"input": "schema da tabela hubia_messages", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='hubia_messages' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 63 |
+
{"input": "schema da tabela hubia_connections", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='hubia_connections' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 64 |
+
{"input": "schema da tabela hubia_chat_history", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='hubia_chat_history' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 65 |
+
{"input": "schema da tabela profiles", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='profiles' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 66 |
+
{"input": "schema da tabela usuarios", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='usuarios' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 67 |
+
{"input": "describe contratos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='contratos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 68 |
+
{"input": "describe parcelas", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='parcelas' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 69 |
+
{"input": "describe turmas", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='turmas' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 70 |
+
{"input": "describe turma_participantes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='turma_participantes' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 71 |
+
{"input": "describe user_profiles", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='user_profiles' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 72 |
+
{"input": "describe planos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='planos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 73 |
+
{"input": "describe categorias", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='categorias' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 74 |
+
{"input": "describe lotes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='lotes' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 75 |
+
{"input": "describe boletos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='boletos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 76 |
+
{"input": "describe pix_gerados", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='pix_gerados' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 77 |
+
{"input": "describe payments", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='payments' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 78 |
+
{"input": "describe wallets", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='wallets' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 79 |
+
{"input": "describe wallet_transactions", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='wallet_transactions' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 80 |
+
{"input": "describe rescission_requests", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='rescission_requests' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 81 |
+
{"input": "describe renegociacoes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='renegociacoes' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 82 |
+
{"input": "describe transfer_requests", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='transfer_requests' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 83 |
+
{"input": "describe mudancas_plano", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='mudancas_plano' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 84 |
+
{"input": "describe campanhas_desconto", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='campanhas_desconto' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 85 |
+
{"input": "describe administradores", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='administradores' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 86 |
+
{"input": "describe eventos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='eventos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 87 |
+
{"input": "describe itens", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='itens' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 88 |
+
{"input": "describe aptidao_financeira_alunos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='aptidao_financeira_alunos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 89 |
+
{"input": "describe credit_card_tokens", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='credit_card_tokens' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 90 |
+
{"input": "describe email_change_requests", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='email_change_requests' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 91 |
+
{"input": "describe contract_signatures", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='contract_signatures' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 92 |
+
{"input": "describe contract_templates", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='contract_templates' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 93 |
+
{"input": "describe turma_depositos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='turma_depositos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 94 |
+
{"input": "describe transacoes_financeiras", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='transacoes_financeiras' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 95 |
+
{"input": "describe hubia_messages", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='hubia_messages' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 96 |
+
{"input": "describe hubia_connections", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='hubia_connections' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 97 |
+
{"input": "describe hubia_chat_history", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='hubia_chat_history' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 98 |
+
{"input": "describe profiles", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='profiles' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 99 |
+
{"input": "describe usuarios", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='usuarios' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 100 |
+
{"input": "mostra a estrutura de contratos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='contratos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 101 |
+
{"input": "mostra a estrutura de parcelas", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='parcelas' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 102 |
+
{"input": "mostra a estrutura de turmas", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='turmas' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 103 |
+
{"input": "mostra a estrutura de turma_participantes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='turma_participantes' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 104 |
+
{"input": "mostra a estrutura de user_profiles", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='user_profiles' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 105 |
+
{"input": "mostra a estrutura de planos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='planos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 106 |
+
{"input": "mostra a estrutura de categorias", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='categorias' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 107 |
+
{"input": "mostra a estrutura de lotes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='lotes' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 108 |
+
{"input": "mostra a estrutura de boletos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='boletos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 109 |
+
{"input": "mostra a estrutura de pix_gerados", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='pix_gerados' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 110 |
+
{"input": "mostra a estrutura de payments", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='payments' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 111 |
+
{"input": "mostra a estrutura de wallets", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='wallets' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 112 |
+
{"input": "mostra a estrutura de wallet_transactions", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='wallet_transactions' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 113 |
+
{"input": "mostra a estrutura de rescission_requests", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='rescission_requests' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 114 |
+
{"input": "mostra a estrutura de renegociacoes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='renegociacoes' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 115 |
+
{"input": "mostra a estrutura de transfer_requests", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='transfer_requests' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 116 |
+
{"input": "mostra a estrutura de mudancas_plano", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='mudancas_plano' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 117 |
+
{"input": "mostra a estrutura de campanhas_desconto", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='campanhas_desconto' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 118 |
+
{"input": "mostra a estrutura de administradores", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='administradores' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 119 |
+
{"input": "mostra a estrutura de eventos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='eventos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 120 |
+
{"input": "mostra a estrutura de itens", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='itens' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 121 |
+
{"input": "mostra a estrutura de aptidao_financeira_alunos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='aptidao_financeira_alunos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 122 |
+
{"input": "mostra a estrutura de credit_card_tokens", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='credit_card_tokens' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 123 |
+
{"input": "mostra a estrutura de email_change_requests", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='email_change_requests' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 124 |
+
{"input": "mostra a estrutura de contract_signatures", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='contract_signatures' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 125 |
+
{"input": "mostra a estrutura de contract_templates", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='contract_templates' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 126 |
+
{"input": "mostra a estrutura de turma_depositos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='turma_depositos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 127 |
+
{"input": "mostra a estrutura de transacoes_financeiras", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='transacoes_financeiras' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 128 |
+
{"input": "mostra a estrutura de hubia_messages", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='hubia_messages' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 129 |
+
{"input": "mostra a estrutura de hubia_connections", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='hubia_connections' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 130 |
+
{"input": "mostra a estrutura de hubia_chat_history", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='hubia_chat_history' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 131 |
+
{"input": "mostra a estrutura de profiles", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='profiles' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 132 |
+
{"input": "mostra a estrutura de usuarios", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='usuarios' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 133 |
+
{"input": "campos da tabela contratos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='contratos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 134 |
+
{"input": "campos da tabela parcelas", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='parcelas' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 135 |
+
{"input": "campos da tabela turmas", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='turmas' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 136 |
+
{"input": "campos da tabela turma_participantes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='turma_participantes' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 137 |
+
{"input": "campos da tabela user_profiles", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='user_profiles' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 138 |
+
{"input": "campos da tabela planos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='planos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 139 |
+
{"input": "campos da tabela categorias", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='categorias' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 140 |
+
{"input": "campos da tabela lotes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='lotes' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 141 |
+
{"input": "campos da tabela boletos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='boletos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 142 |
+
{"input": "campos da tabela pix_gerados", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='pix_gerados' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 143 |
+
{"input": "campos da tabela payments", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='payments' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 144 |
+
{"input": "campos da tabela wallets", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='wallets' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 145 |
+
{"input": "campos da tabela wallet_transactions", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='wallet_transactions' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 146 |
+
{"input": "campos da tabela rescission_requests", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='rescission_requests' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 147 |
+
{"input": "campos da tabela renegociacoes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='renegociacoes' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 148 |
+
{"input": "campos da tabela transfer_requests", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='transfer_requests' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 149 |
+
{"input": "campos da tabela mudancas_plano", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='mudancas_plano' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 150 |
+
{"input": "campos da tabela campanhas_desconto", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='campanhas_desconto' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 151 |
+
{"input": "campos da tabela administradores", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='administradores' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 152 |
+
{"input": "campos da tabela eventos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='eventos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 153 |
+
{"input": "campos da tabela itens", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='itens' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 154 |
+
{"input": "campos da tabela aptidao_financeira_alunos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='aptidao_financeira_alunos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 155 |
+
{"input": "campos da tabela credit_card_tokens", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='credit_card_tokens' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 156 |
+
{"input": "campos da tabela email_change_requests", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='email_change_requests' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 157 |
+
{"input": "campos da tabela contract_signatures", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='contract_signatures' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 158 |
+
{"input": "campos da tabela contract_templates", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='contract_templates' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 159 |
+
{"input": "campos da tabela turma_depositos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='turma_depositos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 160 |
+
{"input": "campos da tabela transacoes_financeiras", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='transacoes_financeiras' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 161 |
+
{"input": "campos da tabela hubia_messages", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='hubia_messages' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 162 |
+
{"input": "campos da tabela hubia_connections", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='hubia_connections' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 163 |
+
{"input": "campos da tabela hubia_chat_history", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='hubia_chat_history' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 164 |
+
{"input": "campos da tabela profiles", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='profiles' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 165 |
+
{"input": "campos da tabela usuarios", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='usuarios' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 166 |
+
{"input": "que campos tem contratos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='contratos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 167 |
+
{"input": "que campos tem parcelas", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='parcelas' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 168 |
+
{"input": "que campos tem turmas", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='turmas' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 169 |
+
{"input": "que campos tem turma_participantes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='turma_participantes' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 170 |
+
{"input": "que campos tem user_profiles", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='user_profiles' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 171 |
+
{"input": "que campos tem planos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='planos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 172 |
+
{"input": "que campos tem categorias", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='categorias' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 173 |
+
{"input": "que campos tem lotes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='lotes' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 174 |
+
{"input": "que campos tem boletos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='boletos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 175 |
+
{"input": "que campos tem pix_gerados", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='pix_gerados' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 176 |
+
{"input": "que campos tem payments", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='payments' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 177 |
+
{"input": "que campos tem wallets", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='wallets' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 178 |
+
{"input": "que campos tem wallet_transactions", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='wallet_transactions' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 179 |
+
{"input": "que campos tem rescission_requests", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='rescission_requests' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 180 |
+
{"input": "que campos tem renegociacoes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='renegociacoes' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 181 |
+
{"input": "que campos tem transfer_requests", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='transfer_requests' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 182 |
+
{"input": "que campos tem mudancas_plano", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='mudancas_plano' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 183 |
+
{"input": "que campos tem campanhas_desconto", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='campanhas_desconto' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 184 |
+
{"input": "que campos tem administradores", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='administradores' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 185 |
+
{"input": "que campos tem eventos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='eventos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 186 |
+
{"input": "que campos tem itens", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='itens' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 187 |
+
{"input": "que campos tem aptidao_financeira_alunos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='aptidao_financeira_alunos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 188 |
+
{"input": "que campos tem credit_card_tokens", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='credit_card_tokens' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 189 |
+
{"input": "que campos tem email_change_requests", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='email_change_requests' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 190 |
+
{"input": "que campos tem contract_signatures", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='contract_signatures' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 191 |
+
{"input": "que campos tem contract_templates", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='contract_templates' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 192 |
+
{"input": "que campos tem turma_depositos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='turma_depositos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 193 |
+
{"input": "que campos tem transacoes_financeiras", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='transacoes_financeiras' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 194 |
+
{"input": "que campos tem hubia_messages", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='hubia_messages' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 195 |
+
{"input": "que campos tem hubia_connections", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='hubia_connections' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 196 |
+
{"input": "que campos tem hubia_chat_history", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='hubia_chat_history' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 197 |
+
{"input": "que campos tem profiles", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='profiles' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 198 |
+
{"input": "que campos tem usuarios", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='usuarios' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 199 |
+
{"input": "colunas de contratos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='contratos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 200 |
+
{"input": "colunas de parcelas", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='parcelas' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 201 |
+
{"input": "colunas de turmas", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='turmas' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 202 |
+
{"input": "colunas de turma_participantes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='turma_participantes' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 203 |
+
{"input": "colunas de user_profiles", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='user_profiles' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 204 |
+
{"input": "colunas de planos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='planos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 205 |
+
{"input": "colunas de categorias", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='categorias' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 206 |
+
{"input": "colunas de lotes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='lotes' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 207 |
+
{"input": "colunas de boletos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='boletos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 208 |
+
{"input": "colunas de pix_gerados", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='pix_gerados' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 209 |
+
{"input": "colunas de payments", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='payments' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 210 |
+
{"input": "colunas de wallets", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='wallets' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 211 |
+
{"input": "colunas de wallet_transactions", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='wallet_transactions' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 212 |
+
{"input": "colunas de rescission_requests", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='rescission_requests' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 213 |
+
{"input": "colunas de renegociacoes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='renegociacoes' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 214 |
+
{"input": "colunas de transfer_requests", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='transfer_requests' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 215 |
+
{"input": "colunas de mudancas_plano", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='mudancas_plano' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 216 |
+
{"input": "colunas de campanhas_desconto", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='campanhas_desconto' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 217 |
+
{"input": "colunas de administradores", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='administradores' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 218 |
+
{"input": "colunas de eventos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='eventos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 219 |
+
{"input": "colunas de itens", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='itens' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 220 |
+
{"input": "colunas de aptidao_financeira_alunos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='aptidao_financeira_alunos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 221 |
+
{"input": "colunas de credit_card_tokens", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='credit_card_tokens' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 222 |
+
{"input": "colunas de email_change_requests", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='email_change_requests' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 223 |
+
{"input": "colunas de contract_signatures", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='contract_signatures' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 224 |
+
{"input": "colunas de contract_templates", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='contract_templates' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 225 |
+
{"input": "colunas de turma_depositos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='turma_depositos' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 226 |
+
{"input": "colunas de transacoes_financeiras", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='transacoes_financeiras' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 227 |
+
{"input": "colunas de hubia_messages", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='hubia_messages' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 228 |
+
{"input": "colunas de hubia_connections", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='hubia_connections' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 229 |
+
{"input": "colunas de hubia_chat_history", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='hubia_chat_history' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 230 |
+
{"input": "colunas de profiles", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='profiles' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 231 |
+
{"input": "colunas de usuarios", "output": "{\"action\": \"sql\", \"sql\": \"SELECT column_name, data_type FROM information_schema.columns WHERE table_name='usuarios' AND table_schema='public' ORDER BY ordinal_position\"}"}
|
| 232 |
+
{"input": "mostra o schema completo", "output": "{\"action\": \"sql\", \"sql\": \"SELECT table_name, column_name, data_type FROM information_schema.columns WHERE table_schema='public' ORDER BY table_name, ordinal_position\"}"}
|
| 233 |
+
{"input": "nao conheco o banco", "output": "{\"action\": \"sql\", \"sql\": \"SELECT table_name, column_name, data_type FROM information_schema.columns WHERE table_schema='public' ORDER BY table_name, ordinal_position\"}"}
|
| 234 |
+
{"input": "que tabelas existem e suas colunas", "output": "{\"action\": \"sql\", \"sql\": \"SELECT table_name, column_name, data_type FROM information_schema.columns WHERE table_schema='public' ORDER BY table_name, ordinal_position\"}"}
|
| 235 |
+
{"input": "preciso ver a estrutura", "output": "{\"action\": \"sql\", \"sql\": \"SELECT table_name, column_name, data_type FROM information_schema.columns WHERE table_schema='public' ORDER BY table_name, ordinal_position\"}"}
|
| 236 |
+
{"input": "mostra todas colunas de todas tabelas", "output": "{\"action\": \"sql\", \"sql\": \"SELECT table_name, column_name, data_type FROM information_schema.columns WHERE table_schema='public' ORDER BY table_name, ordinal_position\"}"}
|
| 237 |
+
{"input": "schema do banco todo", "output": "{\"action\": \"sql\", \"sql\": \"SELECT table_name, column_name, data_type FROM information_schema.columns WHERE table_schema='public' ORDER BY table_name, ordinal_position\"}"}
|
| 238 |
+
{"input": "quantos contratos existem", "output": "{\"action\": \"sql\", \"sql\": \"SELECT count(*) FROM contratos\"}"}
|
| 239 |
+
{"input": "contratos por status", "output": "{\"action\": \"sql\", \"sql\": \"SELECT status, count(*) FROM contratos GROUP BY status ORDER BY count DESC\"}"}
|
| 240 |
+
{"input": "total de contratos ativos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT count(*) FROM contratos WHERE status='ativo'\"}"}
|
| 241 |
+
{"input": "valor total dos contratos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT sum(valor_total) FROM contratos\"}"}
|
| 242 |
+
{"input": "media de valor dos contratos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT avg(valor_total) FROM contratos\"}"}
|
| 243 |
+
{"input": "contratos assinados vs nao assinados", "output": "{\"action\": \"sql\", \"sql\": \"SELECT CASE WHEN assinado THEN 'Assinado' ELSE 'Nao assinado' END as tipo, count(*) FROM contratos GROUP BY assinado\"}"}
|
| 244 |
+
{"input": "ultimos 10 contratos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT c.numero_contrato, up.nome_completo, p.nome_plano, c.valor_total, c.created_at FROM contratos c JOIN user_profiles up ON c.user_id = up.user_id JOIN planos p ON c.plano_id = p.id ORDER BY c.created_at DESC LIMIT 10\"}"}
|
| 245 |
+
{"input": "contratos criados essa semana", "output": "{\"action\": \"sql\", \"sql\": \"SELECT c.numero_contrato, up.nome_completo, c.valor_total, c.created_at FROM contratos c JOIN user_profiles up ON c.user_id = up.user_id WHERE c.created_at >= CURRENT_DATE - INTERVAL '7 days' ORDER BY c.created_at DESC\"}"}
|
| 246 |
+
{"input": "contratos por turma", "output": "{\"action\": \"sql\", \"sql\": \"SELECT t.nome, count(c.id) as contratos FROM contratos c JOIN turmas t ON c.turma_id = t.id GROUP BY t.nome ORDER BY contratos DESC\"}"}
|
| 247 |
+
{"input": "quantos contratos cada turma tem", "output": "{\"action\": \"sql\", \"sql\": \"SELECT t.nome, count(c.id) as contratos FROM contratos c JOIN turmas t ON c.turma_id = t.id GROUP BY t.nome ORDER BY contratos DESC\"}"}
|
| 248 |
+
{"input": "contratos por plano", "output": "{\"action\": \"sql\", \"sql\": \"SELECT p.nome_plano, count(c.id) as contratos FROM contratos c JOIN planos p ON c.plano_id = p.id GROUP BY p.nome_plano ORDER BY contratos DESC\"}"}
|
| 249 |
+
{"input": "parcelas pendentes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT count(*) FROM parcelas WHERE status='pendente'\"}"}
|
| 250 |
+
{"input": "parcelas vencidas", "output": "{\"action\": \"sql\", \"sql\": \"SELECT count(*) FROM parcelas WHERE data_vencimento < CURRENT_DATE AND status NOT IN ('pago', 'cancelado')\"}"}
|
| 251 |
+
{"input": "total arrecadado", "output": "{\"action\": \"sql\", \"sql\": \"SELECT sum(valor_pago) FROM parcelas WHERE status='pago'\"}"}
|
| 252 |
+
{"input": "parcelas por status", "output": "{\"action\": \"sql\", \"sql\": \"SELECT status, count(*), sum(valor) FROM parcelas GROUP BY status ORDER BY count DESC\"}"}
|
| 253 |
+
{"input": "receita por mes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT DATE_TRUNC('month', data_pagamento) as mes, sum(valor_pago) as receita FROM parcelas WHERE status='pago' AND data_pagamento IS NOT NULL GROUP BY mes ORDER BY mes DESC\"}"}
|
| 254 |
+
{"input": "receita dos ultimos 6 meses", "output": "{\"action\": \"sql\", \"sql\": \"SELECT DATE_TRUNC('month', data_pagamento) as mes, sum(valor_pago) as receita FROM parcelas WHERE status='pago' AND data_pagamento >= CURRENT_DATE - INTERVAL '6 months' GROUP BY mes ORDER BY mes DESC\"}"}
|
| 255 |
+
{"input": "inadimplencia total", "output": "{\"action\": \"sql\", \"sql\": \"SELECT count(*) as parcelas_vencidas, sum(valor) as valor_total FROM parcelas WHERE data_vencimento < CURRENT_DATE AND status NOT IN ('pago', 'cancelado')\"}"}
|
| 256 |
+
{"input": "top 10 devedores", "output": "{\"action\": \"sql\", \"sql\": \"SELECT up.nome_completo, up.cpf, count(pa.id) as parcelas_vencidas, sum(pa.valor) as divida FROM parcelas pa JOIN user_profiles up ON pa.user_id = up.user_id WHERE pa.data_vencimento < CURRENT_DATE AND pa.status NOT IN ('pago', 'cancelado') GROUP BY up.nome_completo, up.cpf ORDER BY divida DESC LIMIT 10\"}"}
|
| 257 |
+
{"input": "parcelas vencidas com nome do aluno", "output": "{\"action\": \"sql\", \"sql\": \"SELECT up.nome_completo, pa.valor, pa.data_vencimento, pa.status FROM parcelas pa JOIN user_profiles up ON pa.user_id = up.user_id WHERE pa.data_vencimento < CURRENT_DATE AND pa.status NOT IN ('pago', 'cancelado') ORDER BY pa.data_vencimento LIMIT 50\"}"}
|
| 258 |
+
{"input": "parcelas pagas hoje", "output": "{\"action\": \"sql\", \"sql\": \"SELECT count(*), sum(valor_pago) FROM parcelas WHERE DATE(data_pagamento) = CURRENT_DATE\"}"}
|
| 259 |
+
{"input": "formas de pagamento mais usadas", "output": "{\"action\": \"sql\", \"sql\": \"SELECT forma_pagamento, count(*) FROM parcelas WHERE status='pago' AND forma_pagamento IS NOT NULL GROUP BY forma_pagamento ORDER BY count DESC\"}"}
|
| 260 |
+
{"input": "lista as turmas", "output": "{\"action\": \"sql\", \"sql\": \"SELECT id, nome, codigo, sede, status FROM turmas ORDER BY nome\"}"}
|
| 261 |
+
{"input": "turmas ativas", "output": "{\"action\": \"sql\", \"sql\": \"SELECT nome, codigo, sede FROM turmas WHERE status='ativa'\"}"}
|
| 262 |
+
{"input": "quantas turmas existem", "output": "{\"action\": \"sql\", \"sql\": \"SELECT count(*) FROM turmas\"}"}
|
| 263 |
+
{"input": "participantes por turma", "output": "{\"action\": \"sql\", \"sql\": \"SELECT t.nome, count(tp.id) as participantes FROM turmas t LEFT JOIN turma_participantes tp ON t.id = tp.turma_id GROUP BY t.nome ORDER BY participantes DESC\"}"}
|
| 264 |
+
{"input": "quantos participantes cada turma tem", "output": "{\"action\": \"sql\", \"sql\": \"SELECT t.nome, count(tp.id) as participantes FROM turmas t LEFT JOIN turma_participantes tp ON t.id = tp.turma_id GROUP BY t.nome ORDER BY participantes DESC\"}"}
|
| 265 |
+
{"input": "alunos bloqueados", "output": "{\"action\": \"sql\", \"sql\": \"SELECT up.nome_completo, tp.blocked_reason, tp.blocked_at FROM turma_participantes tp JOIN user_profiles up ON tp.user_id = up.user_id WHERE tp.blocked_at IS NOT NULL\"}"}
|
| 266 |
+
{"input": "quantos usuarios tem", "output": "{\"action\": \"sql\", \"sql\": \"SELECT count(*) FROM auth.users\"}"}
|
| 267 |
+
{"input": "usuarios cadastrados", "output": "{\"action\": \"sql\", \"sql\": \"SELECT count(*) FROM user_profiles\"}"}
|
| 268 |
+
{"input": "usuarios com cpf duplicado", "output": "{\"action\": \"sql\", \"sql\": \"SELECT cpf, count(*) as qtd FROM user_profiles WHERE cpf IS NOT NULL GROUP BY cpf HAVING count(*) > 1\"}"}
|
| 269 |
+
{"input": "usuarios sem contrato", "output": "{\"action\": \"sql\", \"sql\": \"SELECT up.nome_completo, up.cpf FROM user_profiles up WHERE up.user_id NOT IN (SELECT DISTINCT user_id FROM contratos)\"}"}
|
| 270 |
+
{"input": "usuarios que tem contrato", "output": "{\"action\": \"sql\", \"sql\": \"SELECT DISTINCT up.nome_completo, up.cpf, up.telefone FROM user_profiles up JOIN contratos c ON up.user_id = c.user_id\"}"}
|
| 271 |
+
{"input": "usuarios cadastrados por dia", "output": "{\"action\": \"sql\", \"sql\": \"SELECT DATE(created_at) as dia, count(*) FROM user_profiles GROUP BY dia ORDER BY dia DESC LIMIT 30\"}"}
|
| 272 |
+
{"input": "ultimos 10 usuarios cadastrados", "output": "{\"action\": \"sql\", \"sql\": \"SELECT nome_completo, cpf, telefone, created_at FROM user_profiles ORDER BY created_at DESC LIMIT 10\"}"}
|
| 273 |
+
{"input": "admins do sistema", "output": "{\"action\": \"sql\", \"sql\": \"SELECT nome_completo, cpf FROM user_profiles WHERE is_admin=true\"}"}
|
| 274 |
+
{"input": "lista os planos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT id, nome_plano, valor, status FROM planos ORDER BY valor\"}"}
|
| 275 |
+
{"input": "planos por categoria", "output": "{\"action\": \"sql\", \"sql\": \"SELECT c.nome as categoria, p.nome_plano, p.valor FROM planos p JOIN categorias c ON p.categoria_id = c.id ORDER BY c.nome, p.valor\"}"}
|
| 276 |
+
{"input": "planos com mais contratos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT p.nome_plano, count(c.id) as contratos FROM planos p LEFT JOIN contratos c ON p.id = c.plano_id GROUP BY p.nome_plano ORDER BY contratos DESC\"}"}
|
| 277 |
+
{"input": "valor medio dos planos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT avg(valor) FROM planos\"}"}
|
| 278 |
+
{"input": "boletos pendentes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT count(*), sum(valor) FROM boletos WHERE status='pendente'\"}"}
|
| 279 |
+
{"input": "boletos pendentes com nome", "output": "{\"action\": \"sql\", \"sql\": \"SELECT up.nome_completo, b.valor, b.data_vencimento FROM boletos b JOIN user_profiles up ON b.user_id = up.user_id WHERE b.status='pendente' ORDER BY b.data_vencimento\"}"}
|
| 280 |
+
{"input": "pix gerados pendentes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT count(*), sum(valor) FROM pix_gerados WHERE status='pendente'\"}"}
|
| 281 |
+
{"input": "saldo total das wallets", "output": "{\"action\": \"sql\", \"sql\": \"SELECT sum(saldo_atual) FROM wallets\"}"}
|
| 282 |
+
{"input": "saldo das wallets por usuario", "output": "{\"action\": \"sql\", \"sql\": \"SELECT up.nome_completo, w.saldo_atual FROM wallets w JOIN user_profiles up ON w.user_id = up.user_id WHERE w.saldo_atual > 0 ORDER BY w.saldo_atual DESC\"}"}
|
| 283 |
+
{"input": "transacoes do mes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT tipo, categoria, count(*), sum(valor) FROM transacoes_financeiras WHERE data_transacao >= DATE_TRUNC('month', CURRENT_DATE) GROUP BY tipo, categoria ORDER BY sum DESC\"}"}
|
| 284 |
+
{"input": "rescisoes pendentes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT user_name, user_cpf, valor_final, status, created_at FROM rescission_requests WHERE status='pendente' ORDER BY created_at DESC\"}"}
|
| 285 |
+
{"input": "rescisoes por status", "output": "{\"action\": \"sql\", \"sql\": \"SELECT status, count(*), sum(valor_final) FROM rescission_requests GROUP BY status ORDER BY count DESC\"}"}
|
| 286 |
+
{"input": "renegociacoes do mes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT count(*), sum(valor_total) FROM renegociacoes WHERE created_at >= DATE_TRUNC('month', CURRENT_DATE)\"}"}
|
| 287 |
+
{"input": "transferencias pendentes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT from_user_name, to_user_name, original_value, status FROM transfer_requests WHERE status='pendente'\"}"}
|
| 288 |
+
{"input": "campanhas de desconto ativas", "output": "{\"action\": \"sql\", \"sql\": \"SELECT nome, percentual_desconto, data_inicio, data_fim FROM campanhas_desconto WHERE ativo=true AND data_fim >= CURRENT_DATE\"}"}
|
| 289 |
+
{"input": "lotes disponiveis", "output": "{\"action\": \"sql\", \"sql\": \"SELECT l.nome_lote, l.valor, l.quantidade_vendida, l.quantidade_limite, l.status_venda FROM lotes l WHERE l.disponivel=true ORDER BY l.valor\"}"}
|
| 290 |
+
{"input": "mudancas de plano recentes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT up.nome_completo, mp.status, mp.motivo_mudanca, mp.created_at FROM mudancas_plano mp JOIN user_profiles up ON mp.user_id = up.user_id ORDER BY mp.created_at DESC LIMIT 20\"}"}
|
| 291 |
+
{"input": "aptidao financeira inaptos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT up.nome_completo, afa.status_aptidao, afa.percentual_inadimplente FROM aptidao_financeira_alunos afa JOIN user_profiles up ON afa.user_id = up.user_id WHERE afa.status_aptidao='inapto'\"}"}
|
| 292 |
+
{"input": "cartoes salvos ativos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT up.nome_completo, cct.card_brand, cct.last_four_digits FROM credit_card_tokens cct JOIN user_profiles up ON cct.user_id = up.user_id WHERE cct.is_active=true\"}"}
|
| 293 |
+
{"input": "administradores ativos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT nome, email, ultimo_acesso FROM administradores WHERE ativo=true\"}"}
|
| 294 |
+
{"input": "categorias cadastradas", "output": "{\"action\": \"sql\", \"sql\": \"SELECT id, nome, status_ativo, is_principal FROM categorias ORDER BY nome\"}"}
|
| 295 |
+
{"input": "eventos cadastrados", "output": "{\"action\": \"sql\", \"sql\": \"SELECT id, nome, status FROM eventos ORDER BY nome\"}"}
|
| 296 |
+
{"input": "lista as tabelas", "output": "{\"action\": \"sql\", \"sql\": \"SELECT tablename FROM pg_tables WHERE schemaname='public' ORDER BY tablename\"}"}
|
| 297 |
+
{"input": "foreign keys do banco", "output": "{\"action\": \"sql\", \"sql\": \"SELECT tc.table_name, kcu.column_name, ccu.table_name AS foreign_table, ccu.column_name AS foreign_column FROM information_schema.table_constraints tc JOIN information_schema.key_column_usage kcu ON tc.constraint_name = kcu.constraint_name JOIN information_schema.constraint_column_usage ccu ON ccu.constraint_name = tc.constraint_name WHERE tc.constraint_type = 'FOREIGN KEY'\"}"}
|
| 298 |
+
{"input": "tabelas com RLS", "output": "{\"action\": \"sql\", \"sql\": \"SELECT tablename, rowsecurity FROM pg_tables WHERE schemaname='public' AND rowsecurity=true\"}"}
|
| 299 |
+
{"input": "policies de seguranca", "output": "{\"action\": \"sql\", \"sql\": \"SELECT tablename, policyname, cmd, qual FROM pg_policies WHERE schemaname='public'\"}"}
|
| 300 |
+
{"input": "quantos registros em cada tabela", "output": "{\"action\": \"sql\", \"sql\": \"SELECT relname as tabela, n_live_tup as registros FROM pg_stat_user_tables WHERE schemaname='public' ORDER BY n_live_tup DESC\"}"}
|
| 301 |
+
{"input": "cria tabela feedbacks com user_id nota e comentario", "output": "{\"action\": \"sql\", \"sql\": \"CREATE TABLE feedbacks (id uuid DEFAULT gen_random_uuid() PRIMARY KEY, user_id uuid REFERENCES auth.users(id), nota integer NOT NULL CHECK (nota >= 1 AND nota <= 5), comentario text, created_at timestamptz DEFAULT now())\"}"}
|
| 302 |
+
{"input": "cria tabela notificacoes com titulo mensagem e lida", "output": "{\"action\": \"sql\", \"sql\": \"CREATE TABLE notificacoes (id uuid DEFAULT gen_random_uuid() PRIMARY KEY, user_id uuid REFERENCES auth.users(id), titulo text NOT NULL, mensagem text, lida boolean DEFAULT false, created_at timestamptz DEFAULT now())\"}"}
|
| 303 |
+
{"input": "adiciona coluna telefone na tabela profiles", "output": "{\"action\": \"sql\", \"sql\": \"ALTER TABLE profiles ADD COLUMN telefone text\"}"}
|
| 304 |
+
{"input": "cria index no cpf de user_profiles", "output": "{\"action\": \"sql\", \"sql\": \"CREATE INDEX idx_user_profiles_cpf ON user_profiles(cpf)\"}"}
|
| 305 |
+
{"input": "ativa RLS na tabela contratos", "output": "{\"action\": \"sql\", \"sql\": \"ALTER TABLE contratos ENABLE ROW LEVEL SECURITY\"}"}
|
| 306 |
+
{"input": "deleta a tabela feedbacks", "output": "{\"action\": \"sql\", \"sql\": \"DROP TABLE IF EXISTS feedbacks\"}"}
|
| 307 |
+
{"input": "lista os projetos", "output": "{\"action\": \"cli\", \"command\": \"supabase projects list\"}"}
|
| 308 |
+
{"input": "meus projetos", "output": "{\"action\": \"cli\", \"command\": \"supabase projects list\"}"}
|
| 309 |
+
{"input": "projetos supabase", "output": "{\"action\": \"cli\", \"command\": \"supabase projects list\"}"}
|
| 310 |
+
{"input": "tamanho das tabelas", "output": "{\"action\": \"cli\", \"command\": \"supabase inspect db table-sizes\"}"}
|
| 311 |
+
{"input": "table sizes", "output": "{\"action\": \"cli\", \"command\": \"supabase inspect db table-sizes\"}"}
|
| 312 |
+
{"input": "cache hit", "output": "{\"action\": \"cli\", \"command\": \"supabase inspect db cache-hit\"}"}
|
| 313 |
+
{"input": "taxa de cache", "output": "{\"action\": \"cli\", \"command\": \"supabase inspect db cache-hit\"}"}
|
| 314 |
+
{"input": "queries lentas", "output": "{\"action\": \"cli\", \"command\": \"supabase inspect db long-running-queries\"}"}
|
| 315 |
+
{"input": "long running queries", "output": "{\"action\": \"cli\", \"command\": \"supabase inspect db long-running-queries\"}"}
|
| 316 |
+
{"input": "uso de indices", "output": "{\"action\": \"cli\", \"command\": \"supabase inspect db index-usage\"}"}
|
| 317 |
+
{"input": "index usage", "output": "{\"action\": \"cli\", \"command\": \"supabase inspect db index-usage\"}"}
|
| 318 |
+
{"input": "indices nao usados", "output": "{\"action\": \"cli\", \"command\": \"supabase inspect db unused-indexes\"}"}
|
| 319 |
+
{"input": "unused indexes", "output": "{\"action\": \"cli\", \"command\": \"supabase inspect db unused-indexes\"}"}
|
| 320 |
+
{"input": "bloat", "output": "{\"action\": \"cli\", \"command\": \"supabase inspect db bloat\"}"}
|
| 321 |
+
{"input": "bloat das tabelas", "output": "{\"action\": \"cli\", \"command\": \"supabase inspect db bloat\"}"}
|
| 322 |
+
{"input": "vacuum stats", "output": "{\"action\": \"cli\", \"command\": \"supabase inspect db vacuum-stats\"}"}
|
| 323 |
+
{"input": "vacuum", "output": "{\"action\": \"cli\", \"command\": \"supabase inspect db vacuum-stats\"}"}
|
| 324 |
+
{"input": "outliers", "output": "{\"action\": \"cli\", \"command\": \"supabase inspect db outliers\"}"}
|
| 325 |
+
{"input": "outliers de performance", "output": "{\"action\": \"cli\", \"command\": \"supabase inspect db outliers\"}"}
|
| 326 |
+
{"input": "conexoes ativas", "output": "{\"action\": \"cli\", \"command\": \"supabase inspect db role-connections\"}"}
|
| 327 |
+
{"input": "locks no banco", "output": "{\"action\": \"cli\", \"command\": \"supabase inspect db locks\"}"}
|
| 328 |
+
{"input": "dump do schema", "output": "{\"action\": \"cli\", \"command\": \"supabase db dump --schema public\"}"}
|
| 329 |
+
{"input": "lista functions", "output": "{\"action\": \"cli\", \"command\": \"supabase functions list\"}"}
|
| 330 |
+
{"input": "lista secrets", "output": "{\"action\": \"cli\", \"command\": \"supabase secrets list\"}"}
|
| 331 |
+
{"input": "api keys", "output": "{\"action\": \"cli\", \"command\": \"supabase projects api-keys\"}"}
|
| 332 |
+
{"input": "lista orgs", "output": "{\"action\": \"cli\", \"command\": \"supabase orgs list\"}"}
|
| 333 |
+
{"input": "tamanho total indices", "output": "{\"action\": \"cli\", \"command\": \"supabase inspect db total-index-size\"}"}
|
| 334 |
+
{"input": "lista repos github", "output": "{\"action\": \"shell\", \"command\": \"sudo -u claude gh repo list\"}"}
|
| 335 |
+
{"input": "issues do repo agent-os", "output": "{\"action\": \"shell\", \"command\": \"sudo -u claude gh issue list -R agent-os\"}"}
|
| 336 |
+
{"input": "status do pm2", "output": "{\"action\": \"shell\", \"command\": \"sudo -u claude pm2 jlist\"}"}
|
| 337 |
+
{"input": "reinicia o launcher", "output": "{\"action\": \"shell\", \"command\": \"sudo -u claude pm2 restart launcher\"}"}
|
| 338 |
+
{"input": "logs do agent-os", "output": "{\"action\": \"shell\", \"command\": \"pm2 logs agent-os --lines 20 --nostream\"}"}
|
| 339 |
+
{"input": "containers docker", "output": "{\"action\": \"shell\", \"command\": \"docker ps\"}"}
|
| 340 |
+
{"input": "docker images", "output": "{\"action\": \"shell\", \"command\": \"docker images\"}"}
|
| 341 |
+
{"input": "uso de cpu e memoria", "output": "{\"action\": \"shell\", \"command\": \"top -bn1 | head -5 && free -h\"}"}
|
| 342 |
+
{"input": "disco livre", "output": "{\"action\": \"shell\", \"command\": \"df -h /\"}"}
|
| 343 |
+
{"input": "lista arquivos em /home/claude", "output": "{\"action\": \"shell\", \"command\": \"ls -la /home/claude\"}"}
|
| 344 |
+
{"input": "versao do node", "output": "{\"action\": \"shell\", \"command\": \"node -v\"}"}
|
| 345 |
+
{"input": "portas abertas", "output": "{\"action\": \"shell\", \"command\": \"ss -tlnp\"}"}
|
| 346 |
+
{"input": "uptime", "output": "{\"action\": \"shell\", \"command\": \"uptime\"}"}
|
| 347 |
+
{"input": "ip publico", "output": "{\"action\": \"shell\", \"command\": \"curl -s ifconfig.me\"}"}
|
| 348 |
+
{"input": "status do nginx", "output": "{\"action\": \"shell\", \"command\": \"sudo systemctl status nginx\"}"}
|
| 349 |
+
{"input": "reinicia nginx", "output": "{\"action\": \"shell\", \"command\": \"sudo systemctl restart nginx\"}"}
|
| 350 |
+
{"input": "ram livre", "output": "{\"action\": \"shell\", \"command\": \"free -h\"}"}
|
| 351 |
+
{"input": "quantos alunos inaptos financeiramente", "output": "{\"action\": \"sql\", \"sql\": \"SELECT count(*) FROM aptidao_financeira_alunos WHERE status_aptidao='inapto'\"}"}
|
| 352 |
+
{"input": "quantos inaptos tem", "output": "{\"action\": \"sql\", \"sql\": \"SELECT count(*) FROM aptidao_financeira_alunos WHERE status_aptidao='inapto'\"}"}
|
| 353 |
+
{"input": "alunos inaptos com detalhes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT up.nome_completo, afa.status_aptidao, afa.percentual_inadimplente, afa.tem_inadimplencia FROM aptidao_financeira_alunos afa JOIN user_profiles up ON afa.user_id = up.user_id WHERE afa.status_aptidao='inapto'\"}"}
|
| 354 |
+
{"input": "aptidao financeira por status", "output": "{\"action\": \"sql\", \"sql\": \"SELECT status_aptidao, count(*) FROM aptidao_financeira_alunos GROUP BY status_aptidao ORDER BY count DESC\"}"}
|
| 355 |
+
{"input": "alunos inadimplentes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT up.nome_completo, afa.percentual_inadimplente, afa.valor_total_inadimplente FROM aptidao_financeira_alunos afa JOIN user_profiles up ON afa.user_id = up.user_id WHERE afa.tem_inadimplencia=true\"}"}
|
| 356 |
+
{"input": "cartoes por bandeira", "output": "{\"action\": \"sql\", \"sql\": \"SELECT card_brand, count(*) FROM credit_card_tokens WHERE is_active=true GROUP BY card_brand ORDER BY count DESC\"}"}
|
| 357 |
+
{"input": "cartoes de credito ativos por bandeira", "output": "{\"action\": \"sql\", \"sql\": \"SELECT card_brand, count(*) FROM credit_card_tokens WHERE is_active=true GROUP BY card_brand ORDER BY count DESC\"}"}
|
| 358 |
+
{"input": "quantos cartoes salvos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT count(*) FROM credit_card_tokens WHERE is_active=true\"}"}
|
| 359 |
+
{"input": "cartoes ativos com nome do titular", "output": "{\"action\": \"sql\", \"sql\": \"SELECT up.nome_completo, cct.card_brand, cct.last_four_digits, cct.holder_name FROM credit_card_tokens cct JOIN user_profiles up ON cct.user_id = up.user_id WHERE cct.is_active=true\"}"}
|
| 360 |
+
{"input": "cartoes vencidos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT holder_name, card_brand, last_four_digits, card_expiry_month, card_expiry_year FROM credit_card_tokens WHERE is_active=true\"}"}
|
| 361 |
+
{"input": "renegociacoes do mes atual", "output": "{\"action\": \"sql\", \"sql\": \"SELECT count(*), sum(valor_total) FROM renegociacoes WHERE created_at >= DATE_TRUNC('month', CURRENT_DATE)\"}"}
|
| 362 |
+
{"input": "renegociacoes feitas esse mes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT count(*), sum(valor_total) FROM renegociacoes WHERE created_at >= DATE_TRUNC('month', CURRENT_DATE)\"}"}
|
| 363 |
+
{"input": "renegociacoes revertidas", "output": "{\"action\": \"sql\", \"sql\": \"SELECT r.id, up.nome_completo, r.valor_total, r.revertida_em FROM renegociacoes r JOIN user_profiles up ON r.user_id = up.user_id WHERE r.revertida=true\"}"}
|
| 364 |
+
{"input": "contratos essa semana com plano", "output": "{\"action\": \"sql\", \"sql\": \"SELECT c.numero_contrato, up.nome_completo, p.nome_plano, c.valor_total FROM contratos c JOIN user_profiles up ON c.user_id = up.user_id JOIN planos p ON c.plano_id = p.id WHERE c.created_at >= CURRENT_DATE - INTERVAL '7 days' ORDER BY c.created_at DESC\"}"}
|
| 365 |
+
{"input": "parcelas pagas esse mes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT count(*), sum(valor_pago) FROM parcelas WHERE status='pago' AND data_pagamento >= DATE_TRUNC('month', CURRENT_DATE)\"}"}
|
| 366 |
+
{"input": "receita esse mes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT sum(valor_pago) FROM parcelas WHERE status='pago' AND data_pagamento >= DATE_TRUNC('month', CURRENT_DATE)\"}"}
|
| 367 |
+
{"input": "valor total pendente", "output": "{\"action\": \"sql\", \"sql\": \"SELECT sum(valor) FROM parcelas WHERE status='pendente'\"}"}
|
| 368 |
+
{"input": "parcelas vencidas esse mes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT count(*), sum(valor) FROM parcelas WHERE data_vencimento < CURRENT_DATE AND data_vencimento >= DATE_TRUNC('month', CURRENT_DATE) AND status NOT IN ('pago', 'cancelado')\"}"}
|
| 369 |
+
{"input": "rescisoes com nome e motivo", "output": "{\"action\": \"sql\", \"sql\": \"SELECT user_name, user_cpf, rescission_reason, valor_final, status FROM rescission_requests ORDER BY created_at DESC LIMIT 20\"}"}
|
| 370 |
+
{"input": "lotes vendidos por plano", "output": "{\"action\": \"sql\", \"sql\": \"SELECT p.nome_plano, l.nome_lote, l.quantidade_vendida, l.quantidade_limite, l.valor FROM lotes l JOIN planos p ON l.plano_id = p.id ORDER BY l.quantidade_vendida DESC\"}"}
|
| 371 |
+
{"input": "depositos da turma com nome", "output": "{\"action\": \"sql\", \"sql\": \"SELECT up.nome_completo, td.valor, td.status, td.created_at FROM turma_depositos td JOIN user_profiles up ON td.user_id = up.user_id ORDER BY td.created_at DESC LIMIT 20\"}"}
|
| 372 |
+
{"input": "wallet transactions recentes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT up.nome_completo, wt.tipo, wt.descricao, wt.valor, wt.saldo_posterior FROM wallet_transactions wt JOIN user_profiles up ON wt.user_id = up.user_id ORDER BY wt.created_at DESC LIMIT 20\"}"}
|
| 373 |
+
{"input": "transacoes financeiras esse mes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT tipo, categoria, count(*), sum(valor) FROM transacoes_financeiras WHERE data_transacao >= DATE_TRUNC('month', CURRENT_DATE) GROUP BY tipo, categoria ORDER BY sum DESC\"}"}
|
| 374 |
+
{"input": "pedidos de troca de email", "output": "{\"action\": \"sql\", \"sql\": \"SELECT old_email, new_email, status, created_at FROM email_change_requests ORDER BY created_at DESC LIMIT 20\"}"}
|
| 375 |
+
{"input": "payments por metodo", "output": "{\"action\": \"sql\", \"sql\": \"SELECT payment_method, count(*), sum(amount) FROM payments GROUP BY payment_method ORDER BY sum DESC\"}"}
|
| 376 |
+
{"input": "payments esse mes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT count(*), sum(amount) FROM payments WHERE created_at >= DATE_TRUNC('month', CURRENT_DATE)\"}"}
|
| 377 |
+
{"input": "rescisoes pendentes com nome e valor", "output": "{\"action\": \"sql\", \"sql\": \"SELECT user_name, user_cpf, valor_final, status, created_at FROM rescission_requests WHERE status='pendente' ORDER BY created_at DESC\"}"}
|
| 378 |
+
{"input": "rescisoes com valor final", "output": "{\"action\": \"sql\", \"sql\": \"SELECT user_name, valor_final, rescission_reason, status FROM rescission_requests ORDER BY created_at DESC LIMIT 20\"}"}
|
| 379 |
+
{"input": "total de valor das rescisoes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT sum(valor_final) FROM rescission_requests WHERE status='aprovado'\"}"}
|
| 380 |
+
{"input": "valor medio dos planos por categoria", "output": "{\"action\": \"sql\", \"sql\": \"SELECT c.nome as categoria, avg(p.valor) as media, count(p.id) as qtd FROM planos p JOIN categorias c ON p.categoria_id = c.id GROUP BY c.nome ORDER BY media DESC\"}"}
|
| 381 |
+
{"input": "planos mais caros", "output": "{\"action\": \"sql\", \"sql\": \"SELECT nome_plano, valor FROM planos ORDER BY valor DESC LIMIT 10\"}"}
|
| 382 |
+
{"input": "planos mais baratos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT nome_plano, valor FROM planos ORDER BY valor ASC LIMIT 10\"}"}
|
| 383 |
+
{"input": "rescisoes aprovadas esse mes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT user_name, valor_final, approved_at FROM rescission_requests WHERE status='aprovado' AND approved_at >= DATE_TRUNC('month', CURRENT_DATE)\"}"}
|
| 384 |
+
{"input": "detalhes da rescisao", "output": "{\"action\": \"sql\", \"sql\": \"SELECT user_name, user_cpf, user_email, original_value, paid_value, penalty_fees, valor_final, rescission_reason, status FROM rescission_requests ORDER BY created_at DESC LIMIT 10\"}"}
|
| 385 |
+
{"input": "mostra os dados da tabela users", "output": "{\"action\": \"sql\", \"sql\": \"SELECT * FROM users LIMIT 50\"}"}
|
| 386 |
+
{"input": "mostra os dados de users", "output": "{\"action\": \"sql\", \"sql\": \"SELECT * FROM users LIMIT 50\"}"}
|
| 387 |
+
{"input": "mostra os registros da tabela users", "output": "{\"action\": \"sql\", \"sql\": \"SELECT * FROM users LIMIT 50\"}"}
|
| 388 |
+
{"input": "lista todos os users", "output": "{\"action\": \"sql\", \"sql\": \"SELECT * FROM users LIMIT 50\"}"}
|
| 389 |
+
{"input": "select all from users", "output": "{\"action\": \"sql\", \"sql\": \"SELECT * FROM users LIMIT 50\"}"}
|
| 390 |
+
{"input": "conteudo da tabela users", "output": "{\"action\": \"sql\", \"sql\": \"SELECT * FROM users LIMIT 50\"}"}
|
| 391 |
+
{"input": "mostra os dados da tabela contratos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT * FROM contratos LIMIT 50\"}"}
|
| 392 |
+
{"input": "mostra os dados de parcelas", "output": "{\"action\": \"sql\", \"sql\": \"SELECT * FROM parcelas LIMIT 50\"}"}
|
| 393 |
+
{"input": "registros da tabela turmas", "output": "{\"action\": \"sql\", \"sql\": \"SELECT * FROM turmas LIMIT 50\"}"}
|
| 394 |
+
{"input": "lista todos os planos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT * FROM planos LIMIT 50\"}"}
|
| 395 |
+
{"input": "dados da tabela boletos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT * FROM boletos LIMIT 50\"}"}
|
| 396 |
+
{"input": "select tudo de boards", "output": "{\"action\": \"sql\", \"sql\": \"SELECT * FROM boards LIMIT 50\"}"}
|
| 397 |
+
{"input": "mostra tudo da tabela vms", "output": "{\"action\": \"sql\", \"sql\": \"SELECT * FROM vms LIMIT 50\"}"}
|
| 398 |
+
{"input": "registros de wallets", "output": "{\"action\": \"sql\", \"sql\": \"SELECT * FROM wallets LIMIT 50\"}"}
|
| 399 |
+
{"input": "lista os dados de categorias", "output": "{\"action\": \"sql\", \"sql\": \"SELECT * FROM categorias LIMIT 50\"}"}
|
| 400 |
+
{"input": "mostra os dados da tabela activity_log", "output": "{\"action\": \"sql\", \"sql\": \"SELECT * FROM activity_log LIMIT 50\"}"}
|
| 401 |
+
{"input": "dados de board_memberships", "output": "{\"action\": \"sql\", \"sql\": \"SELECT * FROM board_memberships LIMIT 50\"}"}
|
| 402 |
+
{"input": "mostra os dados de lotes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT * FROM lotes LIMIT 50\"}"}
|
| 403 |
+
{"input": "registros da tabela payments", "output": "{\"action\": \"sql\", \"sql\": \"SELECT * FROM payments LIMIT 50\"}"}
|
| 404 |
+
{"input": "lista registros de eventos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT * FROM eventos LIMIT 50\"}"}
|
| 405 |
+
{"input": "todos os registros de administradores", "output": "{\"action\": \"sql\", \"sql\": \"SELECT * FROM administradores LIMIT 50\"}"}
|
| 406 |
+
{"input": "mostra todos os dados de user_profiles", "output": "{\"action\": \"sql\", \"sql\": \"SELECT * FROM user_profiles LIMIT 50\"}"}
|
| 407 |
+
{"input": "dados de turma_participantes", "output": "{\"action\": \"sql\", \"sql\": \"SELECT * FROM turma_participantes LIMIT 50\"}"}
|
| 408 |
+
{"input": "lista os dados de rescission_requests", "output": "{\"action\": \"sql\", \"sql\": \"SELECT * FROM rescission_requests LIMIT 50\"}"}
|
| 409 |
+
{"input": "select from transfer_requests", "output": "{\"action\": \"sql\", \"sql\": \"SELECT * FROM transfer_requests LIMIT 50\"}"}
|
| 410 |
+
{"input": "mostra os ultimos 20 registros de parcelas", "output": "{\"action\": \"sql\", \"sql\": \"SELECT * FROM parcelas ORDER BY created_at DESC LIMIT 20\"}"}
|
| 411 |
+
{"input": "primeiros 10 contratos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT * FROM contratos ORDER BY created_at ASC LIMIT 10\"}"}
|
| 412 |
+
{"input": "ultimos boletos emitidos", "output": "{\"action\": \"sql\", \"sql\": \"SELECT * FROM boletos ORDER BY created_at DESC LIMIT 20\"}"}
|
| 413 |
+
{"input": "emails dos usuarios", "output": "{\"action\": \"sql\", \"sql\": \"SELECT email FROM users LIMIT 50\"}"}
|
| 414 |
+
{"input": "nomes dos usuarios", "output": "{\"action\": \"sql\", \"sql\": \"SELECT display_name, email FROM users LIMIT 50\"}"}
|
| 415 |
+
{"input": "emails e nomes dos users", "output": "{\"action\": \"sql\", \"sql\": \"SELECT email, display_name FROM users LIMIT 50\"}"}
|