create table customers (
id int primary key auto_increment,
name varchar(128)
);
create table products (
id int primary key auto_increment,
name varchar(128),
price decimal(9, 2)
);
create table baskets (
id int primary key auto_increment,
user_id int references customers(id),
product_id int references products(id),
price decimal(9, 2),
amount decimal(6, 3)
);