The data tier is queried by the logic or business tier when information is needed using a data retrieval language like SQL.
When information is needed, the logic or business tier queries the data tier using a database query language such as SQL.