how to assign sql output data to shell script variable

Hi Guys !
I am new to unix and want to find out how we can make sql statement data to shell script variable?
Any help/suggestion is greatly appreciated
-Chandra

Please search the forums. This has been asked at least ten times in the past month.