Oracle commonly used classic sql query function code