Price Tags

SQL practice problem 5 of 67 · Basics · Easy · 10 coins for your first accepted solve

The shop adds a 10% tax to every item.

Return name and price_with_tax (price × 1.1, rounded to 2 decimals).

Sort by price_with_tax descending, then name ascending.

Schema

CREATE TABLE items (
  id        INT PRIMARY KEY,
  name      TEXT NOT NULL,
  category  TEXT NOT NULL,
  price     NUMERIC(8,2) NOT NULL
);

Write your query in the browser, run it on the sample data, then submit it against hidden test data.

Previous: Podium · Next: Name Tags · All problems