Oracle
 sql >> Database >  >> RDS >> Oracle

Seleziona conteggio (*) da più tabelle

SELECT  (
        SELECT COUNT(*)
        FROM   tab1
        ) AS count1,
        (
        SELECT COUNT(*)
        FROM   tab2
        ) AS count2
FROM    dual