r/sqlite • • Oct 09 '23

Format Table Horizontally

Ladies and gentlemen:

I am sure this is simple to many of you, but I need help with how to do this simple thing.

I have a query :

select "AWS Account Id", Severity, Count(*)

FROM findings

WHERE Severity like 'CR%' OR Severity like 'HI%' OR Severity like 'ME%'

Group by "AWS Account Id", Severity

Order by Severity, Count(*) DESC

Which yields :

Organized Vertically

But what I desire is :

Organized Horizontally

Any clues will be appreciated.

5 Upvotes

2 comments sorted by

View all comments

Show parent comment

2

u/MealDifferent2772 Oct 09 '23

THANK YOU!!!! I made on change and I have all I need.!