Good afternoon I have three tables in sql I want to know which is the best-selling product EYE I do not need to have the stock as data
create table Producto(
id_prod int primary key,
nombre varchar(15)
Precio decimal(2,2)
)
create table Venta(
idventa int primary key,
fecha date
)
create table Detalle(
id_detalle int primary key,
idventa int,
id_prod int
)