Unanswered: Unable to get data in proper excel format after sql query execution
I am new to sql. I want to get some data from tables in proper excel format. I have tried to execute below query and successfully provides the data but not in proper column-row format..
psql>Select jobname,schedtab,daystr,wdaystr,monthstr,ajfsonstr ,conf,dayscal,weekcal,confcal,shift,changedatetime from CMS_JOBDEF where SCHEDTAB = 'BPIS_DEV';
Kindly suggest what attributes of syntax do I need to put so the data would be in proper format.