in my sql queries returned date are displayed by rows. i want it display by column.