I am having this SQL command:
Select company, purchases.stock,SUM(ammount)*price from purchases INNER JOIN curstock ON purchases.stock = curstock.stock Group by company , purchases.stock;
Which returns following table :
Is it possible that it would print instead of table strings like: "Company XXX owns YYY in ZZZ stock."
or SQL does not provide such formatting and it has to be done in code.
