The data tier is queried by the logic or business tier when information is needed using a data retrieval language like SQL.
The data layer is accessed by the logic or business tier to retrieve information from the database using a query language like SQL.