why distributed database query is complex ?

Really? I would think it's because the database is distributed over many systems. Querying such a system would be very daunting indeed just because of this type of system. Is that what you are working with?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.