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: MIN value from a column in 2 tables.

Re: MIN value from a column in 2 tables.

From: Thomas Niering <thomas.niering_at_arcor.de>
Date: 20 Jan 2003 19:57:00 +0200
Message-ID: <8eFdCv3YXzB.thomas.niering@arcor.de>

Hallo Mark,

> I need to identify that the MIN value of ID is 1.

You could try something like this:

select min(one) from
(select min(id) as one from table1
union
selecct min(id) as one from table2)

Ciao Thomas Received on Mon Jan 20 2003 - 11:57:00 CST

Original text of this message

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