Navigational query
A query method where you navigate between records via explicit pointers and relationships instead of fetching sets.
In hierarchical and network databases like IMS and CODASYL, you navigated through the database by following links between records — "go to owner record, then to first member, then next member". Instead of SQL's "SELECT all orders for this customer", you wrote procedures that followed pointer chains from a starting record. This model fit trees and networks well but became impractical for ad-hoc queries.
Navigational databases were gradually superseded by relational databases starting in the 1980s. These could express the same queries declaratively and left the optimization task to the database engine rather than the programmer.