Products from two warehouses

Products from two warehouses

The tovary table of the "Kotomarket" marketplace stores products and the cities where their warehouses are located. A manager wants to see products stored in a warehouse in Moscow or in Saint Petersburg — to plan delivery across the two capitals. Return the columns id, nazvanie, gorod_sklada, cena for products whose gorod_sklada equals 'Москва' or 'Санкт-Петербург'. Row order does not matter.

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.

idnazvaniegorod_skladacena
1Когтеточка "Башня"Москва2400
3Игрушка-мышкаСанкт-Петербург150
5Шлейка для котаМосква600
PostgreSQLv16

Your query result will appear here

Focus radio
Paused · SomaFM · Fluid