If you have the right, you could look up oracle server version by using the following SQL query
select * from v$version where banner like 'Oracle%';