Comment sélectionner le comte de deux colonnes distinctes?

Je voudrais faire un décompte du nombre total de distinctes COMPONENT_ID et PACKAGE_ID retour de ce SQL.

SELECT DISTINCT COMPONENT_ID, PACKAGE_ID FROM BILL;

OriginalL'auteur Oh Chin Boon | 2011-08-19