![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
|||||||
| Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
|
Herramientas | Buscar en Tema | Desplegado |
|
#3
|
|||
|
|||
|
Quizas sea esto lo que necesitas:
Código:
Select TablaVenta.CodigoVen_TablaVenta, Count(*) as TotVta,
(Select Count(*) as TotCot From TablaCoti
Where TablaCoti.CodigoVen_TablaCoti=TablaVenta.CodigoVen_TablaCoti) as TotCoti
From TablaVenta
group by CodigoVen_TablaVenta
Saludos. |
|
|
|