what is server version?

select * from v$version;

what is client version?

SELECT
  DISTINCT
  client_version
FROM
  v$session_connect_info
WHERE
  sid = sys_context('userenv', 'sid');