Five interconnected tables in DuckDB covering market prices, banking transactions, loan portfolios, fraud detection, and automated data quality logs. PK = primary key · FK = logical foreign key reference.
Data flows from sources through quality validation into the warehouse, then queried by the NL-SQL agent.
Five tables. PK = primary key · FK = logical foreign key (not enforced at DB level).
fraud_events references transactions logically. data_quality_log validates all 4 data tables. market_data and loans are independent.
No authentication required. NL-to-SQL powered by local Llama via Ollama.