MySQL Forums
Forum List  »  Portuguese

Re: COUNT em mais de uma tabela
Posted by: Oliver Thies
Date: July 06, 2008 06:10PM

Olá amigo.
é bem simples fazer o que vc pretende
select (select count(campo) from tabela1 )+(select count(campo) from tabela2) as qtd;
Creio que isso seja o suficiente.
Att.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: COUNT em mais de uma tabela
4810
July 06, 2008 06:10PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.