You are on page 1of 1

Consulta

use tarea
go
select * from producto
select * from [detalle ticket]

go
select p.pr_nombre as producto,p.pr_ganancia as ganancia,d.dt_cantidad as cantidad,d.dt_importe as total
from [detalle ticket] d inner join producto p on d.pr_id = p.pr_id

You might also like