Salesforce has a SQL derivate called SOQL. It allows to quickly and precisely define what fields to get from Salesforce.