hello i want a programming concept in c
in which it should take a query of sql and regarding table
and then give the output as a resulting instance corresponding to query

Welcome to the forums and btw it is a rule here that you should first post your attempt or your code to get help from someone else. Just demanding the code will not fetch a lot of help.

Still since this is your first post i will let it pass. Maybe you can look here for some example:

http://developer.mimer.com/print_result.tml?typ=1&id=1
http://www.physiol.ox.ac.uk/Computing/Online_Documentation/postgresql/ecpg.html

Hope it helped, bye.

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.