![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
03/06/2008, 22:52
|
Colaborador | | Fecha de Ingreso: marzo-2008 Ubicación: Cáceres
Mensajes: 3.735
Antigüedad: 16 años, 10 meses Puntos: 300 | |
Respuesta: SELECT count (*) varias tablas Si sólo quieres sacar el total, podrías probar esto (te he puesto un ejemplo con solo tres tablas)
SELECT ((SELECT COUNT(*) FROM tabla1 WHERE... ) + (SELECT COUNT(*) FROM tabla2 WHERE... ) + (SELECT COUNT(*) FROM tabla3 WHERE... )) AS total |