ciao a tutti,

ho una tabella dalla quale ottengo i risultati voluti con due query per avere l'output in in due differenti table html

non riesco a capire se è possibile mettere insieme le due query per poi avere un unica table

1° query:
Codice PHP:
SELECT id_condsum(crediti)as crediti  
from tabella1
where crediti
!=
and id_cond $id 
group by causale 
2° query:
Codice PHP:
SELECT id_condsumdebiti) as debiti  
from tabella1
where id_cond 
$id 
group by id_cond 
c'è un modo per ottenerne una?