Tutorials for Query Interface

Hi,

Anybody knows tutorials for search/query interface to access postgres database tables with step by step instructions and examples.