SQL is a programming language that is used to store, retrieve, and manipulate data in a relational database management system. The question of how much does an average company spend on a SQL function is not easy to answer. It depends on the size of the company and what kind of features they are looking for.