Product Showcase: Rename the Columns

Product Showcase: Rename the Columns

The "Kotomarket" catalog has a products table of cat goods: id, title, price, stock. The storefront needs human-friendly column captions. Write a query that selects three columns from products and gives them explicit aliases with AS: - title → naimenovanie - price → cena - stock → ostatok Return all rows of the table. Do not include the id column. Row order does not matter. Column order must be exactly: naimenovanie, cena, ostatok.

Qualquer ordem de linhas

PostgreSQLv16
Entre para enviar

O resultado da sua consulta aparecerá aqui

Focus radio
Paused · SomaFM · Fluid