Shape Security Interview Question

How to protect database from SQL injection attack?