Deviopath › PostgreSQL

Value of the Stock

Easy · SELECT Basics

A SELECT can compute new values from columns with +, -, * and /. Give a computed column a name with AS, or Postgres will call it ?column?.

For every product, return name and stock_value, which is price multiplied by stock.

Next: List of Categories