Welcome to the Postman Community!
What you are asking seems a bit confusing in relation to Postman. Postman does not execute SQL queries, nor can it make SQL connections (ODBC / JDBC) connections to databases. That being said, you can get results from a database but it must be using some form of HTTP / HTTPS web server that pulls responses from a database.
I am not sure what you mean by “o/p” as well, but if you can provide more context around what you are trying to do, such as screenshots, and example requests, we can get a better idea of what you are trying to do, and where you are seeing your issue. In addition, with more detail you might be able to find the answer you are looking for by searching within the forum.