Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: SQLServer to Oracle

Re: SQLServer to Oracle

From: salvi <salvi_at_gmx.ch>
Date: 16 Aug 2001 02:30:45 -0700
Message-ID: <d0e08f90.0108160130.468d261d@posting.google.com>


try something like this..

SELECT TPARENT.id, TPARENT.name, temp.anzahl FROM TPARENT, (SELECT COUNT(TCHILD.parentid) anzahl, TCHILD.parentid FROM TCHILD GROUP BY TCHILD.parentid) temp
WHERE TPARENT.id = TCHILD.parentid Received on Thu Aug 16 2001 - 04:30:45 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US