MQI (multi-database query interface) is a client tool which the authors developed for querying with SQL on several different RDBMS (relational database management system) data sources. Its logical architecture and algorithm design are mainly discussed in this paper.