I need to select the sale of items and the amount.
I\'ll use a script
select it.name , sum(sa.cash) from items it join sale sa on it.id