Catalog Without Archive

Catalog Without Archive

The cat_products table holds the product catalog of the "Kotomarket" pet store. Some products are discontinued and marked with the category 'архив' (archive) — they should not be shown to customers. Return all products except those in the 'архив' category. For each matching product return the columns product_id, name, category, price. Use only SELECT and WHERE — no sorting, grouping, or other constructs.

Expected output sample

This is what a correct answer looks like — its row count is its own, it doesn't have to match the schema tables. Your answer must use the same column names as this sample — alias them with AS if needed.

product_idnamecategoryprice
1Когтеточка «Башня»мебель2490
2Корм «Сытый кот» 2кгкорм890
3Игрушка «Мышка»игрушки150
PostgreSQLv16

Your query result will appear here

Focus radio
Paused · SomaFM · Fluid