Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: questions about views
Several answers:
-----Original Message-----
From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Stefan Kuhn
Sent: Monday, July 16, 2007 4:00 AM
To: oracle-l_at_freelists.org
Subject: questions about views
Hi all,
I am new to oracle and views and I have two questions:
1. How can I add a new integer columns, which can simply start with 1 and
count, as a primary key to a view I. e. i have have the select query, which
is fine, and I just want the new column as the first column in the table.
2. Can I put two queries in one view? I have a table, which has two columns,
the values of these columns are supposed to go in one column. No problem to
select one of them, but I have no idea how to do it with both columns.
Thanks for help
Stefan
--
Stefan Kuhn BSc MA
IPB Halle
AG Bioinformatik & Massenspektrometrie
Weinberg 3
06120 Halle
http://www.ipb-halle.de http://msbi.bic-gh.de
skuhn_at_ipb-halle.de Tel. +49 (0) 345 5582 1474 Fax.+49 (0) 345 5582 1409
--
http://www.freelists.org/webpage/oracle-l
--
http://www.freelists.org/webpage/oracle-l
Received on Mon Jul 16 2007 - 08:21:25 CDT
![]() |
![]() |