I have an SQLite table of stock orders with the following columns:
- symbol
- date
- order_type ("Buy", "Sell", or "Hold")
- price
- amount
What I would like to be able to is return a table with symbols running down the vertical axis, dates running across the horizontal, and the order description in each cell. I can generate the order description easily enough (just SELECT order_type || " " || amount || " @ " || price
), but I am having an impossible time figuring out how to format the table in this human readable form. Is this even possible with SQLite?