CREATE TABLE tariff ( kod_book INT primary key (kod_book) not null, price INT, category VARCHAR(10) ); INSERT INTO tariff (kod_book, price, category) VALUES ('111', '50', 'fantasy'); INSERT INTO tariff (kod_book, price, category) VALUES ('222', '90', 'fantasy'); INSERT INTO tariff (kod_book, price, category) VALUES ('333', '40', 'fantasy'); -- fetch SELECT * FROM tariff order by price ASC;