Project-based SQL editor