GE HealthCare interview question

Explain how you have used SQL Server to write complex business logic.