Execute ad hoc SQL against the active project connection. Useful for inspecting data, debugging models, or running one-off queries without leaving the SQLBuild CLI.
# Quick inspection with default formatsqb query "SELECT * FROM dev.fact_orders"# Table format with higher limitsqb query "SELECT * FROM dev.dim_customers" --format table --limit 50# Export to JSONsqb query "SELECT * FROM dev.daily_revenue" --format json --no-limit# Run SQL from a filesqb query --file debug_query.sql