January 23rd, 2006

Single Function

Calculus of a Single Variable Early Transcendental Functions by Ron Larson
Calculus of a Single Variable Early Transcendental Functions by Ron Larson
Paypal   US $80.00
Calculus of a Single Variable Early Transcendental Functions by Ron Larson 200
Calculus of a Single Variable Early Transcendental Functions by Ron Larson 200
Paypal   US $25.00
LED ONLY PIG TAIL WIRING HARNESS CONVERT SINGLE FUNCTION TO DUAL FUNCTION LIGHTS
LED ONLY PIG TAIL WIRING HARNESS CONVERT SINGLE FUNCTION TO DUAL FUNCTION LIGHTS
Paypal   US $9.99
Moen Asceri Chrome Single Function Showerhead 104239
Moen Asceri Chrome Single Function Showerhead 104239
Paypal   US $55.00
CILINDRICAL MICROPHONE STYLE SINGLE FUNCTION HAND SHOWERHEAD WITH HOSE
CILINDRICAL MICROPHONE STYLE SINGLE FUNCTION HAND SHOWERHEAD WITH HOSE
Paypal   US $22.00
Prince Castle 740 T12 12 Channel Single Function Electric Timer
Prince Castle 740 T12 12 Channel Single Function Electric Timer
Paypal   US $300.00
Kuryakyn Super Bright Silver Bullets 1646 Small Red Single Function LED Harley
Kuryakyn Super Bright Silver Bullets 1646 Small Red Single Function LED Harley
Paypal   US $109.00
2X 1156 AMBER 68 SMD TURN INDICATOR LED CAR LIGHT BULBS
2X 1156 AMBER 68 SMD TURN INDICATOR LED CAR LIGHT BULBS
Paypal   US $18.99
Moen Showhouse S136BN Isabel 7 Single Function Rainfall Showerhead
Moen Showhouse S136BN Isabel 7 Single Function Rainfall Showerhead
Paypal   US $179.99
4X 1156 BA15S RV TRAILER INTERIOR 12V WHITE LIGHT BULBS BULB 36 LED
4X 1156 BA15S RV TRAILER INTERIOR 12V WHITE LIGHT BULBS BULB 36 LED
Paypal   US $23.99
Moen 3868EP 4 Single Function Eco Performance Hand Shower with Slide Bar 7309
Moen 3868EP 4 Single Function Eco Performance Hand Shower with Slide Bar 7309
Paypal   US $34.99
Kohler K T15601 4S Single Handle Tub and Shower Trim with Single Function4646
Kohler K T15601 4S Single Handle Tub and Shower Trim with Single Function4646
Paypal   US $19.99
2X 1156 WHITE 63 LED TURN SIGNAL CORNER BRAKE BACK UP CAR LIGHT BULBS BULB
2X 1156 WHITE 63 LED TURN SIGNAL CORNER BRAKE BACK UP CAR LIGHT BULBS BULB
Paypal   US $19.99
New MS2 Multi function Tactical Single Two Point Gun Sling
New MS2 Multi function Tactical Single Two Point Gun Sling
Paypal   US $12.99
NW MAGPUL MS2 Multi function Tactical Single Two Point Rifle Gun Sling Mount Set
NW MAGPUL MS2 Multi function Tactical Single Two Point Rifle Gun Sling Mount Set
Paypal   US $16.85
NIB Delta RPW324HDF Single Function Personal Handshower w 24 Grab Bar
NIB Delta RPW324HDF Single Function Personal Handshower w 24 Grab Bar
Paypal   US $79.95
Moen 3861 2 Single Function Hand Shower with 69 Hose and Wall Bracket 3891
Moen 3861 2 Single Function Hand Shower with 69 Hose and Wall Bracket 3891
Paypal   US $54.99
Collectable MS2 Multi function Single Two Point Sling Strap Mount Set
Collectable MS2 Multi function Single Two Point Sling Strap Mount Set
Paypal   US $.96
Delta 59210 Chrome Single Function Hand Shower with Hose and Slide Bar from the
Delta 59210 Chrome Single Function Hand Shower with Hose and Slide Bar from the
Paypal   US $128.86
New Clean Up Multi Function Shower Head Rain Single
New Clean Up Multi Function Shower Head Rain Single
Paypal   US $4.39
2X 1156 WHITE 36 LED TURN SIGNAL CORNER BRAKE BACK UP CAR LIGHT BULBS BULB
2X 1156 WHITE 36 LED TURN SIGNAL CORNER BRAKE BACK UP CAR LIGHT BULBS BULB
Paypal   US $12.99
Newport Brass Single Function 6 Showerhead Only in Polished Nickel 2142 15
Newport Brass Single Function 6 Showerhead Only in Polished Nickel 2142 15
Paypal   US $69.99
Delta 57085 Single Function Slide Bar Handshower from the Grail Colle  7194
Delta 57085 Single Function Slide Bar Handshower from the Grail Colle 7194
Paypal   US $49.99
6X 1156 BA15S RV TRAILER INTERIOR 12V WHITE LIGHT BULBS BULB 63 LED
6X 1156 BA15S RV TRAILER INTERIOR 12V WHITE LIGHT BULBS BULB 63 LED
Paypal   US $54.99
Moen Fina S176 Single Function 7 Diameter Rainfall Showerhead Chrome
Moen Fina S176 Single Function 7 Diameter Rainfall Showerhead Chrome
Paypal   US $69.95
Moen 3865 4 Single Function Wall Mount Hand Shower with 59 Hose   7092
Moen 3865 4 Single Function Wall Mount Hand Shower with 59 Hose 7092
Paypal   US $39.99
Delta Classic Chrome Tub Shower Faucet Trim Kit with Single Function 134900
Delta Classic Chrome Tub Shower Faucet Trim Kit with Single Function 134900
Paypal   US $73.00
Calculus of a Single Variable Early Transcendental Functions Larson Edwards
Calculus of a Single Variable Early Transcendental Functions Larson Edwards
Paypal   US $58.02
4X 1156 BA15S RV TRAILER INTERIOR 12V WHITE LIGHT BULBS BULB 63 LED
4X 1156 BA15S RV TRAILER INTERIOR 12V WHITE LIGHT BULBS BULB 63 LED
Paypal   US $36.99
2X 1156 AMBER 45 LED TURN SIGNAL BRAKE CAR LIGHT BULBS BULB
2X 1156 AMBER 45 LED TURN SIGNAL BRAKE CAR LIGHT BULBS BULB
Paypal   US $13.99
2X 1156 RED 36 LED TURN SIGNAL CORNER BRAKE BACK UP CAR LIGHT BULBS BULB
2X 1156 RED 36 LED TURN SIGNAL CORNER BRAKE BACK UP CAR LIGHT BULBS BULB
Paypal   US $11.99
Collectable MS2 Multi function Single Two Point Sling Strap Mount Set OD Cloor
Collectable MS2 Multi function Single Two Point Sling Strap Mount Set OD Cloor
Paypal   US $7.77
Moen S6335 6 1 2 Single Function Showerhead from the Rothbury Coll  7434
Moen S6335 6 1 2 Single Function Showerhead from the Rothbury Coll 7434
Paypal   US $19.99
Tactical MS2 MAGPUL Multi function Single 2 Point Rifle Gun Sling w Mount Black
Tactical MS2 MAGPUL Multi function Single 2 Point Rifle Gun Sling w Mount Black
Paypal   US $16.58
6X 1156 BA15S RV TRAILER 12V LED LIGHT BULB 36 SMD 5050
6X 1156 BA15S RV TRAILER 12V LED LIGHT BULB 36 SMD 5050
Paypal   US $55.99
2X 1156 6000K BACK UP TAIL SIGNAL LED LIGHT BULBS 13SMD
2X 1156 6000K BACK UP TAIL SIGNAL LED LIGHT BULBS 13SMD
Paypal   US $10.99
Kohler K 12008 AK CP Single Function Showerhead
Kohler K 12008 AK CP Single Function Showerhead
Paypal   US $29.99
Moen 6300P Polished Brass Single Function Shower Head Only with 1 2 Inch
Moen 6300P Polished Brass Single Function Shower Head Only with 1 2 Inch
Paypal   US $29.95
Collectable MS2 Multi function Single Two Point Rifle Gun Sling Mount Set 3 Colo
Collectable MS2 Multi function Single Two Point Rifle Gun Sling Mount Set 3 Colo
Paypal   US $19.99
Chrome Baron Single Function Marker Lights
Chrome Baron Single Function Marker Lights
Paypal   US $12.99
DIAMOND MICRODERMABRASION DERMABRASION NV60 SINGLE FUNCTION
DIAMOND MICRODERMABRASION DERMABRASION NV60 SINGLE FUNCTION
Paypal   US $165.00
Samsung ML 2955DW Mono Laser Single Function Printer
Samsung ML 2955DW Mono Laser Single Function Printer
Paypal   US $146.99
New MS2 Multi function Tactical Single Two Point Gun Sling with Alloy Mount
New MS2 Multi function Tactical Single Two Point Gun Sling with Alloy Mount
Paypal   US $15.99
Digital TimerCounter AUTONICS CT6S 1P4 Single preset Various Function 6digit
Digital TimerCounter AUTONICS CT6S 1P4 Single preset Various Function 6digit
Paypal   US $56.00
Moen 6300 Chrome Single Function Shower Head Only with 1 2 Inch Connection
Moen 6300 Chrome Single Function Shower Head Only with 1 2 Inch Connection
Paypal   US $16.77
RV Motorhome Shower Head Brushed Nickel Color Single Function NEW
RV Motorhome Shower Head Brushed Nickel Color Single Function NEW
Paypal   US $15.69
Teleflex MV3 SIDE SINGLE LEVER DUAL FUNCTION LEFT HND
Teleflex MV3 SIDE SINGLE LEVER DUAL FUNCTION LEFT HND
Paypal   US $324.44
Delta Shower Trim Single Function T14255 NN Brilliance Pearl Nickel
Delta Shower Trim Single Function T14255 NN Brilliance Pearl Nickel
Paypal   US $90.00
Teleflex Marine CH5310P Single Mt3 Top Mount Dual Function Lever
Teleflex Marine CH5310P Single Mt3 Top Mount Dual Function Lever
Paypal   US $353.99
Teleflex Marine CH5210P Single S Top Mount Sing Function Lever
Teleflex Marine CH5210P Single S Top Mount Sing Function Lever
Paypal   US $213.33
Teleflex Marine CH5200P Twin S Top Mount Single Function Lever
Teleflex Marine CH5200P Twin S Top Mount Single Function Lever
Paypal   US $268.97
KOHLER K 419 BN Memoirs Single Function Handshower Vibrant Brushed Nickel
KOHLER K 419 BN Memoirs Single Function Handshower Vibrant Brushed Nickel
Paypal   US $110.00
KOHLER FORTE SINGLE FUNCTION KATALYST SHOWERHEAD CHROME K 10282 AK CP
KOHLER FORTE SINGLE FUNCTION KATALYST SHOWERHEAD CHROME K 10282 AK CP
Paypal   US $49.99
2 Bowflex Single Function Hand Grips 2 Shoe Rowing Harness
2 Bowflex Single Function Hand Grips 2 Shoe Rowing Harness
Paypal   US $39.95
Kohler K 13137 CP Polished Chrome Classic Pinstripe MasterClean Single Function
Kohler K 13137 CP Polished Chrome Classic Pinstripe MasterClean Single Function
Paypal   US $97.27
Kohler K 16166 AK PB Vibrant Polished Brass 5 1 2 Single Function Shower Head
Kohler K 16166 AK PB Vibrant Polished Brass 5 1 2 Single Function Shower Head
Paypal   US $71.06
Chrome 2 Function Single Handle Pull Out Kitchen Faucet With Soap Dispense
Chrome 2 Function Single Handle Pull Out Kitchen Faucet With Soap Dispense
Paypal   US $160.44
Delta Talbott 1 Handle Tub Shower Faucet w Single Function Showerhead 144960
Delta Talbott 1 Handle Tub Shower Faucet w Single Function Showerhead 144960
Paypal   US $119.00
KOHLER K 13137 Pinstripe Single Function Showerhead Chrome New
KOHLER K 13137 Pinstripe Single Function Showerhead Chrome New
Paypal   US $99.99
ConMed 134009 ABC Bend A Beam Single Function Handpiece
ConMed 134009 ABC Bend A Beam Single Function Handpiece
Paypal   US $64.99
Elizabethan Classics ECSHPOR 5 1 4 Inch Single Function Porcelain Showerhead
Elizabethan Classics ECSHPOR 5 1 4 Inch Single Function Porcelain Showerhead
Paypal   US $65.00
Single Function Handshower
Single Function Handshower
Paypal   US $102.02
Moen 6300BN Single Function Easy Clean XL Showerhead Brushed Nickel
Moen 6300BN Single Function Easy Clean XL Showerhead Brushed Nickel
Paypal   US $19.95
Moen Level Single Function Hand Shower with Slide Bar Brushed Nickel 3887BN
Moen Level Single Function Hand Shower with Slide Bar Brushed Nickel 3887BN
Paypal   US $282.43
KOHLER K 965 AK CP Purist Single Function Katalyst Showerhead Polished Chrome
KOHLER K 965 AK CP Purist Single Function Katalyst Showerhead Polished Chrome
Paypal   US $73.25
Pfister 015 A250 Polished Chrome Single Function Standard Showerhead with 6
Pfister 015 A250 Polished Chrome Single Function Standard Showerhead with 6
Paypal   US $11.49
1836 Multi Function Single Bitted Cam Lock
1836 Multi Function Single Bitted Cam Lock
Paypal   US $8.89
1835 Multi Function Single Bitted Cam Lock
1835 Multi Function Single Bitted Cam Lock
Paypal   US $8.89
Single Variable Calculus With Vector Functions for Ap Calculus by James
Single Variable Calculus With Vector Functions for Ap Calculus by James
Paypal   US $109.95
Calculus Early Transcendental Functions Single Variable by Robert T Smith
Calculus Early Transcendental Functions Single Variable by Robert T Smith
Paypal   US $12.95
Calculus of a Single Variable Early Transcendental Functions by Bruce H
Calculus of a Single Variable Early Transcendental Functions by Bruce H
Paypal   US $12.95
Single Function Ceiling Showerhead 1 Spray Setting Rain by Dawn Sinks
Single Function Ceiling Showerhead 1 Spray Setting Rain by Dawn Sinks
Paypal   US $203.64
Kohler Forte Single Function Katalyst Shower Head K 10282 AK
Kohler Forte Single Function Katalyst Shower Head K 10282 AK
Paypal   US $39.64
KOHLER K 10282 CP Forte Single Function Showerhead NEW
KOHLER K 10282 CP Forte Single Function Showerhead NEW
Paypal   US $51.96
Collectable Multi function Single Two Point Rifle Gun Sling Mount Set Webbing
Collectable Multi function Single Two Point Rifle Gun Sling Mount Set Webbing
Paypal   US $19.99
Moen ExactTemp Single Function Rainfall Showerhead Chrome S6310
Moen ExactTemp Single Function Rainfall Showerhead Chrome S6310
Paypal   US $87.99
Kohler K 10391 CP Devonshire Single Function Showerhead
Kohler K 10391 CP Devonshire Single Function Showerhead
Paypal   US $53.67
ARLEN NESS DEEP CUT FACTORY TURN SIGNALS W LED FIRE RING SINGLE FUNCTION 12 748
ARLEN NESS DEEP CUT FACTORY TURN SIGNALS W LED FIRE RING SINGLE FUNCTION 12 748
Paypal   US $89.96
NEW Breville BKC700XL Gourmet Single Serve Coffee Maker Iced Beverage Function
NEW Breville BKC700XL Gourmet Single Serve Coffee Maker Iced Beverage Function
Paypal   US $239.88
CFG Cornerstone 40077BN Single Function Shower Head Brushed Nickel
CFG Cornerstone 40077BN Single Function Shower Head Brushed Nickel
Paypal   US $9.95
Kohler K 419 BV Single Function Handshower Bronze
Kohler K 419 BV Single Function Handshower Bronze
Paypal   US $147.94
Danze D460024BN Brushed Nickel 4 Single Function Shower Head with 25 gpm Flow
Danze D460024BN Brushed Nickel 4 Single Function Shower Head with 25 gpm Flow
Paypal   US $37.05
Danze D460025 Chrome 4 Single Function Shower Head with 20 gpm Flow Rate from
Danze D460025 Chrome 4 Single Function Shower Head with 20 gpm Flow Rate from
Paypal   US $29.90
TRENDnet Single Channel Analog to IP Video Encoder Functions Video
TRENDnet Single Channel Analog to IP Video Encoder Functions Video
Paypal   US $183.53
Single Handle Deck Mount Kitchen Faucet Pull Out W Spring 2 Function Spout
Single Handle Deck Mount Kitchen Faucet Pull Out W Spring 2 Function Spout
Paypal   US $240.50
Moen 6302WR Wrought Iron Moenflo XL Single Function Shower Head Only with 1 2
Moen 6302WR Wrought Iron Moenflo XL Single Function Shower Head Only with 1 2
Paypal   US $74.51
Moen 3849BN Single Function Hand Shower WITH Slide Bar Brushed Nickel
Moen 3849BN Single Function Hand Shower WITH Slide Bar Brushed Nickel
Paypal   US $280.00
Croydex Single Function Shower Handset White
Croydex Single Function Shower Handset White
Paypal   US $20.91
Kuryakyn Razor Eyes Amber Single Function Turn Signals 2505
Kuryakyn Razor Eyes Amber Single Function Turn Signals 2505
Paypal   US $82.94
Practice Poi Glow Ball 9Function Orange Single Leather
Practice Poi Glow Ball 9Function Orange Single Leather
Paypal   US $35.47
CFG Cornerstone 42916OWBGR Single Function Showerhead Old World Bronze
CFG Cornerstone 42916OWBGR Single Function Showerhead Old World Bronze
Paypal   US $19.95
CFG Cornerstone 42018BNGR Single Function Showerhead Brushed Nickel
CFG Cornerstone 42018BNGR Single Function Showerhead Brushed Nickel
Paypal   US $14.95

Single Function

Quick Understanding Of Oracle Number Functions

NUMBER FUNCTIONS IN ORACLE

  • Particularly in business everything is guided by numbers
  • •          Fortunately Oracle, provides functions which deal with numbers.
  • •          Oracle functions deal with three classes of numbers:

            Single values, group values AND list values.

ü        Single value, is one number, such as 24.45.

ü        Group values, is all numbers in a column of a table.

ü        List values, is a series of numbers in columns of a row.

Lets best understand by an example consider the climate table below.

CityName       MinTemp        MaxTemp       DatedOn

------------------------------------------------------------------

Mumbai         33.33                40.5         12-mar-2010

Chennai         32.33                 42.50      12-mar-2010

Calcutta        34.45                 38.0        12-mar-2010

Delhi              36.89                46.89      12-mar-2010

Mumbai         33.45                 45.89      13-mar-2010

Single value, is one value in a column.

Group values, is values in a column, of all rows.for example all values of MinTemp column.

List Values, is collection of values in columns of a particular row. For example 33.33 and 40.5 are from the first row of the above table.

  • Functions acting on single values.

Function                                                                         Description

-------------------------------------------------------------------------------------------------

Value1 + value2                        Here + function, adds value1 with value2.

Value1 – value2                        Here – function, Substracts value2 from value1.

Value1 * value2                        Here * function, multiplies value2 with value1.

Value1 / value2                        Here / function, Divides value1 with value2.

ABS(value)                     Returns ABSolute value, ie returns positive value. 

SIGN(value)                      Returns,

   1  if value positive,

                -1 if value negative,

      0 if value zero.

CEIL(value)                     Returns Integer, just above the given value or equal to the value.

FLOOR(value)                  Returns Integer, just below the given or equal to the value.

MOD(value,divisor)        Returns, reminder of value/divisor.

NVL(value,substitute)              Substitutes value, if value is null.

POWER(value,exponent)   Returns, Value raised to an exponent.

SQRT(value)                    Returns, Square root of value

TRUNC(value, precision)   Returns, Value truncated to precision.

ROUND(value,precision)    Returns, value Rounded to precision.

 

Before we see some examples, lets' understand what does dual mean. Dual is a dummy table in oracle database, which is used for testing sql statements.

Let us work some examples, making use of functions acting on single values. Here letters in blue are results given by oracle when respective query is executed

SQL>select 6 + 2 from dual;

6 + 2

--------

   8

SQL>select 6 - 2 from dual;

6 - 2

------

   4

SQL>select 6 * 2 from dual;

6 * 2

-------

   12

SQL>select 6 / 2 from dual;

6/2

----

  3

SQL>select ABS(-121) from dual;

ABS(-121)

--------------

       121

SQL>select ABS(121) from dual;

ABS(121)

-------------

     121

SQL> select ABS(-121) from dual;

 ABS(-121)                                                                      

----------------                                                                     

       121                                                                      

SQL> select sign(121) from dual;

 SIGN(121)                                                                     

----------------                                                                     

         1                                                                     

SQL> select sign(-121) from dual;

SIGN(-121)                                                                     

-----------------                                                                     

        -1                                                                      

SQL> select sign(0) from dual;

   SIGN(0)                                                                     

-----------------                                                                     

         0             

SQL> select CEIL(121.22) from dual;

CEIL(121.22)

--------------------

         122

SQL> select CEIL(-121.22) from dual;

CEIL(-121.22)

---------------------

         -121

SQL> select CEIL(121) from dual;

 CEIL(121)

-----------------

       121

SQL> select CEIL(-121) from dual;

CEIL(-121)

-----------------

      -121

SQL> select FLOOR(121.22) from dual;

FLOOR(121.22)

-----------------------

          121

 

SQL> select FLOOR(-121.22) from dual;

FLOOR(-121.22)

------------------------

          -122

SQL> select FLOOR(121) from dual;

FLOOR(121)

------------------

   121

SQL> select FLOOR(-121) from dual;

FLOOR(-121)

-------------------

       -121

SQL> select MOD(10,3) from dual;

 MOD(10,3)

----------------

         1

SQL> select MOD(10,2) from dual;

 MOD(10,2)

-----------------

         0

SQL> select MOD(10,0) from dual;

 MOD(10,0)

-----------------

        10

SQL> select MOD(0,10) from dual;

 MOD(0,10)

----------------

         0

SQL> select MOD(0,0) from dual;

  MOD(0,0)

---------------

         0

Consider  the climate table below

 

CityName           MinTemp       MaxTemp              DatedOn

-------------------------------------------------------------------------------

Secunderabad           27                33              12-feb-2008

Hyderabad               24                35              23-nov-2008

Ahmedabad              34                                        26-mar-2008

Gaziabad                 23                34              24-sep-2008

 

On observing the above table, we find that in 3rd row, value in, column MaxTemp is unavailable. Now by making use of NVL function we can substitute the unavailable data with some value.

Select CityName, NVL(MaxTemp,33.5) from dual;

CityName               MaxTemp

----- ----------------------------------

 Secunderabad          33

 Hyderabad                35 

 Ahmedabad              33.5

 Gaziabad                  34

Remember

ü       NVL function does not update the data base. It temporarily substitutes and displays on the screen.

SQL> select POWER (2, 3) from dual;

POWER (2,3)

-------------------

         8

SQL> select SQRT(4) from dual;

   SQRT(4)

-----------------

         2

SQL> select ROUND(34.4556,2) from dual;

ROUND(34.4556,2)

----------------------------

           34.46

SQL> select ROUND(34.4556,3) from dual;

ROUND(34.4556,3)

----------------------------

          34.456

SQL> select ROUND(-34.4556,2) from dual;

ROUND(-34.4556,2)

----------------------------

           -34.46

SQL> select TRUNC(34.4556,2) from dual;

TRUNC(34.4556,2)

---------------------------

           34.45

SQL> select TRUNC(34.4556,3) from dual;

TRUNC(34.4556,3)

---------------------------

          34.455

  • Functions acting on Group of values.

These Functions act, on values, of a column, in all rows, of a table.

The  most commonly used functions are

 

Function                                                   Description

-------------------------------------------------------------------------------------------------

AVG(ColumnName)                       Average of all values in the column.

COUNT(ColumnName)         number - of rows or of values in column.

SUM(ColumnName)            sum total, of all values in the column.

MIN(ColumnName)                        Returns least of all values in that column.

MAX(ColumnName)                       Returns highest of all values in that column.

STDDEV(Columnname)                 Usual statistical meaning.

VARIANCE(ColumnName)              Usual statistical meaning,

 

Lets' consider the emp table, from the scott/tiger  schema of oracle database

EMPNO   ENAME    JOB                MGR   HIREDATE     SAL        COMM   DEPTNO

7369        SMITH         CLERK        7902  17-DEC-80     800           20              20

7499        ALLEN         SALESMAN   7698  20-FEB-81     1600         300            30

7521        WARD         SALESMAN   7698  22-FEB-81     1250          500           30

7566        JONES         MANAGER    7839   02-APR-81       2975         20             20

7654        MARTIN       SALESMAN   7698  28-SEP-81       1250         1400          30

7698        BLAKE         MANAGER    7839   01-MAY-81       2850         30            30

7782        CLARK         MANAGER    7839   09-JUN-81        2450                  10             10

7788        SCOTT        ANALYST    7566  19-APR-87        3000                  20             20

7839        KING           PRESIDENT           17-NOV-81        5000        10             10

7844        TURNER       SALESMAN   7698  08-SEP-81        1500          0       30             20

7876        ADAMS        CLERK        7788  23-MAY-87       1100          20           20

7900        JAMES         CLERK        7698  03-DEC-81        950            30           30

7902        FORD          ANALYST    7566  03-DEC-81        3000          20           20

7934        MILLER        CLERK        7782  23-JAN-82        1300                    10           10

 

Lets work some examples, the letters in blue are the results returned by the oracle database,in reply to a query

Find the maximum salary paid

SQL> select MAX(sal) from emp;

MAX(SAL)

--------------

    5000

Find the minimum salary paid

SQL> select MIN(sal) from emp;

  MIN(SAL)

---------------

       800

Find the average salary paid

SQL> select AVG(sal) from emp;

  AVG(SAL)

-----------------

2073.21429

Find the total amount paid as salaries to the employees

SQL> select SUM(sal) from emp;

  SUM(SAL)

-----------------

     29025

COUNT functions usage is situational:

  • Is used to count the number of rows in a table, if the argument is *(asterisk)

 SQL> select COUNT(*) from emp;

  COUNT(*)

------------------

        14

  • Is used to count number of available data in a column of a table.

Find the number of,  NOT NULL values, in the column mgr of emp table?

SQL> select COUNT(mgr) from emp;

COUNT(MGR)

--------------------

        13

  • DISTINCT key word, can be used, with every GROUP Function, but its usage is more felt, with COUNT function. Let us see apply DISTINCT to find, how many types of jobs are there in emp table

SQL> select COUNT(DISTINCT JOB) from emp;

COUNT(DISTINCTJOB)

----------------------------------

                 5

There are 5 types of JOB are in emp table.

 

Lets write a query to find number, of NULL values in mgr column of emp table

SQL> select COUNT(*)-COUNT(mgr) from emp;

COUNT(*)-COUNT(MGR)

-----------------------------------

                  1

There is one NULL, in mgr column, of emp table.

Remember

ü       Asterisk can not be used with any other GROUP function, other than COUNT.

ü       DISTINCT finds its usage mostly with COUNT function.

ü       COUNT can be used either with character column or number column, where as other GROUP functions can be used only with numerical data.

ü       By now you should have observed, COUNT does not perform any arithmetic operations with the values of a column but it either counts number of values in a column or number rows in a table.

ü       The alternative to DISTINCT is ALL, which is the default.

  • Functions acting on list of values

These functions act on values, in two or more columns, of a row, in a table

The most frequently used functions are described in table below

 

FUNCTION                                                                   DESCRIPTION

-----------------------------------------------------------------------------------------------------------------------------

LEAST(value1,value2,value3,..)                 Returns least value,among the values in the argument list.

GREATEST(value1,value2,value3,..)    Returns greatest value, among the values in the argument                

                                                               List

Consider the StudentMarks  table below, with columns as student name, marks in physics, maths,

Chemistry

StudentName             MathMarks   PhysicsMarks             ChemistryMarks

------------------------------------------------------------------------------------------------------

Lova Raju                       67                  76                          89

Siri                               100                 99                          99

Viji                                99                  90                          88

Koti                               98                   88                                   87

 

Now write a query that would display student name and highest mark obtained, among the three subjects

Sql>select StudentName,Greatest(MathMarks,PhysicsMarks,ChemistryMarks) as HighestMark from StudentMarks;

ENAME      HIGHESTMARK

-------------------------------------

Lova Raju             89

Siri                      100

Viji                        99

Koti                       98

 

Write a query that would display student name and the least mark obtained, among the three subjects

Sql> select StudentName, LEAST(MathMarks,PhysicsMarks,ChemistryMarks) as LowestMark from StudentMarks;

  • NULLs in -List Value Functions  and Single Value Functions:
    • List value functions treat NULL values same as that of single value functions.
    • Single value functions produce NULL result, if any value is NULL.
    • List value functions produce NULL result, if any value in the list is NULL
  • NULLS in - GROUP Value Functions :
    • Group value functions treat NULL values differently than single value functions.
    • Group value functions ignore NULL values and go ahead with the result.

            Remember

ü       Group value functions, ignore NULL values

ü       Single value and List value functions, don't  ignore NULL values.

 

About the Author

The author is a trainer in oracle and Java

u can get in toch with me on raju.allu@yahoo.com


Hash Function


Hash Function


$90.81


High Quality Content by WIKIPEDIA articles A hash function is any welldefined procedure or mathematical function that converts a large, possibly variablesized amount of data into a small datum, usually a single integer that may serve as an index to an array. The values returned by a hash function are called hash values, hash codes, hash sums, checksums or simply hashes. Hash functions are mostly used to speed up table lookup or data comparison taskssuch as finding items in a database, detecting duplicated or similar records in a large file, finding similar stretches in DNA sequences, and so on. A hash function may map two or more keys to the same hash value. In many applications, it is desirable to minimize the occurrence of such collisions, which means that the hash function must map the keys to the hash values as evenly as possible. Depending on the application, other properties may be required as well. Although the idea was conceived in the 1950s, the design of good hash functions is still a topic of active research. Author: Surhone, Lambert M./ Tennoe, Mariam T./ Henssonow, Susan F. Binding Type: Paperback Number of Pages: 132 Publication Date: 2010/09/10 Language: English Dimensions: 6.00 x 9.02 x 0.31 inches

Model 6302WR: Wrought Iron Moenflo XL Single-Function Showerhead


Model 6302WR: Wrought Iron Moenflo XL Single-Function Showerhead


$108


Model 6302WR: Wrought Iron Moenflo XL Single-Function Showerhead

Model 6302: Chrome Moenflo XL Single-Function Showerhead


Model 6302: Chrome Moenflo XL Single-Function Showerhead


$86


-Moenflo XL single function showerhead -single function showerhead -1 spray pattern -1/2" IPS connections -2.5 gpm (9.5 L/min)

Model 6302ORB: Oil Rubbed Bronze Moenflo XL Single-Function Showerhead


Model 6302ORB: Oil Rubbed Bronze Moenflo XL Single-Function Showerhead


$108


-Moenflo XL single function showerhead -single function showerhead -1 spray pattern -1/2" IPS connections -2.5 gpm (9.5 L/min)

Model 6302P: Polished Brass Moenflo XL Single-Function Showerhead


Model 6302P: Polished Brass Moenflo XL Single-Function Showerhead


$110


-Moenflo XL single function showerhead -single function showerhead -1 spray pattern -1/2" IPS connections -2.5 gpm (9.5 L/min)

Model 6302PM: Platinum Moenflo XL Single-Function Showerhead


Model 6302PM: Platinum Moenflo XL Single-Function Showerhead


$79


-Moenflo XL single function showerhead -single function showerhead -1 spray pattern -1/2" IPS connections -2.5 gpm (9.5 L/min)

Model 6302AN: Antique Nickel Moenflo XL Single-Function Showerhead


Model 6302AN: Antique Nickel Moenflo XL Single-Function Showerhead


$108


-Moenflo XL single function showerhead -single function showerhead -1 spray pattern -1/2" IPS connections -2.5 gpm (9.5 L/min)

Model 6302BN: Brushed Nickel Moenflo XL Single-Function Showerhead


Model 6302BN: Brushed Nickel Moenflo XL Single-Function Showerhead


$99


-Moenflo XL single function showerhead -single function showerhead -1 spray pattern -1/2" IPS connections -2.5 gpm (9.5 L/min)

Hand Shower with single Function


Hand Shower with single Function


$7.99


Style: Contemporary Finish: Chrome Shower Head: Handheld Showerhead Material: A Grade ABS Shipping Weight (kg): 0.49

16570001 Axor Montreux Shower Faucet with Thermostatic / Pressure Balance Valve  63 Hose  Hand Shower Holder  Single Function Shower Head and Single Function


16570001 Axor Montreux Shower Faucet with Thermostatic / Pressure Balance Valve 63 Hose Hand Shower Holder Single Function Shower Head and Single Function


$1207


Axor Montreux Shower Faucet with Thermostatic Pressure Balance Valve 63 Hose Hand Shower Holder Single Function Shower Head and Single Function Hand Shower

Model 3861BN: Brushed Nickel Single-Function Handshower


Model 3861BN: Brushed Nickel Single-Function Handshower


$333


-Single function hand shower with wall bracket -fits M-PACT system -1 spray pattern -69" double swivel hose assembly -vacuum breaker -Drop ell required for installation -Drop ell sold separately (A725 series) --see companion item -Showerheads 2.5 gpm (9.5 L/min) max.

Model 3861ORB: Bronze Single-Function Handshower


Model 3861ORB: Bronze Single-Function Handshower


$366


-Single function hand shower with wall bracket -fits M-PACT system -1 spray pattern -69" double swivel hose assembly -vacuum breaker -Drop ell required for installation -Drop ell sold separately (A725 series) --see companion item -Showerheads 2.5 gpm (9.5 L/min) max.

Model 3861: Chrome Single-Function Handshower


Model 3861: Chrome Single-Function Handshower


$185


-Single function hand shower with wall bracket - fits M-PACT system -1 spray pattern -69" double swivel hose assembly -vacuum breaker -Drop ell required for installation -Drop ell sold separately (A725 series) -- see companion items - Showerheads 2.5 gpm (9.5 L/min) max.

Model 3861AN: Antique Nickel Single-Function Handshower


Model 3861AN: Antique Nickel Single-Function Handshower


$366


-Single function hand shower with wall bracket -fits M-PACT system -1 spray pattern -69" double swivel hose assembly -vacuum breaker -Drop ell required for installation -Drop ell sold separately (A725 series) --see companion item -Showerheads 2.5 gpm (9.5 L/min) max.

Elasticity of a Function


Elasticity of a Function


$93.99


The eikonal approximation is a method of approximation useful in wave scattering equations within the realms of quantum mechanics, optics, quantum electrodynamics, and partial wave expansionThe main advantage the eikonal approximation offers is that the equations reduce to a differential equation in a single variable. This reduction into a single variable is the result of the straight line approximation or the eikonal approximation which allows us to choose the straight line as a special direction.The early steps involved in the eikonal approximation in quantum mechanics are very closely related to the WKB approximation. The WKB approximation involves an expansion in terms of Plancks constant. It, like the eikonal approximation, reduces the equations into a differential equation in a single variable. But the difficulty with the WKB approximation is that this variable is described by the trajectory of the particle which, in general, is complicated. The advantage of the eikonal approximation is that the classical trajectory is a straight line. Author: Surhone, Lambert M./ Timpledon, Miriam T./ Marseken, Susan F. Binding Type: Paperback Number of Pages: 130 Publication Date: 2010/08/04 Language: English Dimensions: 6.00 x 9.02 x 0.31 inches

Model 6312: Icon Chrome Moenflo XLT Single-Function Showerhead


Model 6312: Icon Chrome Moenflo XLT Single-Function Showerhead


$75


-Moenflo XLT single function showerhead -1 spray pattern - 1/2" IPS connection -Showerheads 2.5 gpm (9.5 L/min) max.

Model 6303BN: Brushed Nickel Easy Clean XLT Single-Function Showerhead


Model 6303BN: Brushed Nickel Easy Clean XLT Single-Function Showerhead


$73


-Easy Clean XLT single function showerhead -1 spray pattern -1/2" IPS connections - Showerheads 2.5 gpm (9.5 L/min) max.

Lung Function Testing


Lung Function Testing


$80


Although diagnosis always begins with a careful history and physical examination and a physician is obligated to consider more than the diseased organ, testing of lung function has become standard practice to confirm the diagnosis, evaluate the severity of respiratory impairment, assess the therapy response and follow-up patients with various cardio-respiratory disorders. Ventilation, diffusion, blood flow and control of breathing are the major components of respiration and one or more of these functional components can be affected by any disorder. Frequently, no single pulmonary function test yields all the information in an individual patient and multiple tests have to be combined to allow proper evaluation of the patient. The pulmonary function laboratory is therefore very important in pulmonary medicine to provide accurate and timely results of lung function tests. The purpose of this issue of the European Respiratory Monograph is to provide up-to-date information on the application and interpretation of different pulmonary function tests in the work-up of patients suffering from cardio-respiratory diseases.

Generalized Functions: Dirac Delta Function, Distribution, Heaviside Step Function, Green's Function, Generalized Function


Generalized Functions: Dirac Delta Function, Distribution, Heaviside Step Function, Green's Function, Generalized Function


$19.51


Chapters: Dirac Delta Function, Distribution, Heaviside Step Function, Green's Function, Generalized Function, Poisson Summation Formula, Homogeneous Distribution, Paley-wiener Theorem, Pseudo-Differential Operator, Fourier Inversion Theorem, Fbi Transform, Symmetry of Second Derivatives, Wave Front Set, Weak Solution, Cauchy Principal Value, Fundamental Solution, Weak Derivative, Hyperfunction, Rigged Hilbert Space, Dirac Comb, Schwartz Kernel Theorem, Singularity Function, Principal Part, Algebraic Analysis, Microlocal Analysis. Source: Wikipedia. Pages: 130. Not illustrated. Free updates online. Purchase includes a free trial membership in the publisher's book club where you can select from more than a million books without charge. Excerpt: The Dirac delta or Dirac's delta is a mathematical construct introduced by theoretical physicist Paul Dirac. Informally, it is a generalized function representing an infinitely sharp peak bounding unit area: a 'function' (x) that has the value zero everywhere except at x = 0 where its value is infinitely large in such a way that its total integral is 1. In the context of signal processing it is often referred to as the unit impulse function. The Dirac delta is not strictly a function, because any function that is equal to zero everywhere but a single point must have total integral zero. While for many purposes it can be manipulated as a function, formally it can be defined as a distribution that is also a measure. In many applications, the Dirac delta is regarded as a kind of limit (a weak limit) of a sequence of functions having a tall spike at the origin. The approximating functions of the sequence are thus "approximate" or "nascent" delta functions. The graph of the delta function is usually thought of as following the whole x-axis and the positive y-axis. (This informal picture can sometimes be misleading, for example in the limiting case of the sinc function.) Despite its name, the...More: http: //booksllc.net/?id=3702

The Theory of the Riemann Zeta-Function


The Theory of the Riemann Zeta-Function


$120.98


The Riemann zeta-function embodies both additive and multiplicative structures in a single function, making it our most important tool in the study of prime numbers. This volume studies all aspects of the theory, starting from first principles and probing the function's own challenging theory, with the famous and still unsolved "Riemann hypothesis" at its heart. The second edition has been revised to include descriptions of work done in the last forty years and is updated with many additional references; it will provide stimulating reading for postgraduates and workers in analytic number theory and classical analysis.

Pme Aggregation Function


Pme Aggregation Function


$87.62


High Quality Content by WIKIPEDIA articles PME Aggregation Function (PAF) is a mechanism defined in Clause 61 of IEEE 802.3, which allows one or more Physical Medium Entities (PMEs) to be combined together to form a single logical Ethernet link. The PAF is located in the Physical Coding Sublayer (PCS), between the Media Access Control (MAC)PHY Rate Matching function and the Transmission Convergence (TC) sublayer. It interfaces with the PMEs across the interface, and to the MACPHY Rate Matching function using an abstract interface. PAF is an optional function which is currently (2007) defined for two IEEE 802.3 interfaces: 2BASETL and 10PASSTS, both of which are EFM copper PHYs. Author: Surhone, Lambert M./ Tennoe, Mariam T./ Henssonow, Susan F. Binding Type: Paperback Number of Pages: 104 Publication Date: 2010/10/15 Language: English Dimensions: 9.02 x 5.98 x 0.25 inches

Mono Laser Single Function Printer


Mono Laser Single Function Printer


$99.99


At 29 ppm and built-in duplex you can double your print output or halve your paper costs. Either way you look at it there is no denying that duplex printing is an essential

BI00067TCB Single-Function Showerhead in Tuscan


BI00067TCB Single-Function Showerhead in Tuscan


$107.25


This is the ROHL Collection bringing authentic luxury to the kitchen and bath Authentic luxury is defined by quality authenticity innovation and value Every faucet fixture and accessory we offer is designed by acclaimed architects and craftsmen to re...

BI00067STN Single-Function Showerhead in Satin


BI00067STN Single-Function Showerhead in Satin


$107.25


This is the ROHL Collection bringing authentic luxury to the kitchen and bath Authentic luxury is defined by quality authenticity innovation and value Every faucet fixture and accessory we offer is designed by acclaimed architects and craftsmen to re...

BI00067PN Single-Function Showerhead in Polished


BI00067PN Single-Function Showerhead in Polished


$61.5


This is the ROHL Collection bringing authentic luxury to the kitchen and bath Authentic luxury is defined by quality authenticity innovation and value Every faucet fixture and accessory we offer is designed by acclaimed architects and craftsmen to re...

BI00067APC Single-Function Showerhead in Polished


BI00067APC Single-Function Showerhead in Polished


$53.25


This is the ROHL Collection bringing authentic luxury to the kitchen and bath Authentic luxury is defined by quality authenticity innovation and value Every faucet fixture and accessory we offer is designed by acclaimed architects and craftsmen to re...

B204TCB Single-Function Handshower in Tuscan


B204TCB Single-Function Handshower in Tuscan


$183.75


This is the ROHL Collection bringing authentic luxury to the kitchen and bath Authentic luxury is defined by quality authenticity innovation and value Every faucet fixture and accessory we offer is designed by acclaimed architects and craftsmen to re...

B204STN Single-Function Handshower in Satin


B204STN Single-Function Handshower in Satin


$183.75


This is the ROHL Collection bringing authentic luxury to the kitchen and bath Authentic luxury is defined by quality authenticity innovation and value Every faucet fixture and accessory we offer is designed by acclaimed architects and craftsmen to re...

B204PN Single-Function Handshower in Polished


B204PN Single-Function Handshower in Polished


$128.25


This is the ROHL Collection bringing authentic luxury to the kitchen and bath Authentic luxury is defined by quality authenticity innovation and value Every faucet fixture and accessory we offer is designed by acclaimed architects and craftsmen to re...

B204APC Single-Function Handshower in Polished


B204APC Single-Function Handshower in Polished


$92.25


This is the ROHL Collection bringing authentic luxury to the kitchen and bath Authentic luxury is defined by quality authenticity innovation and value Every faucet fixture and accessory we offer is designed by acclaimed architects and craftsmen to re...

27490001 Single Function Shower Head:


27490001 Single Function Shower Head:


$337


Axor Starck Showerhead Solid brass construction Adjustable spray angle Rubit cleaning system Requires 12 in female fitting in wall Extension Nipple 12 inx4 in

Contemporary Hand Shower with single Function


Contemporary Hand Shower with single Function


$21.99


Type: Handheld Finish: Chrome Showerhead Dimension(cm): 20x2.4x2.4 Showerhead Material: A Grade ABS Net Weight (kg): 0.1 Shipping Weight (kg): 0.17

Model 10590:  Bancroft� Single-function Showerhead - Vibrant Polished Nickel


Model 10590: Bancroft� Single-function Showerhead - Vibrant Polished Nickel


$81


Bancroft� single-function showerhead. Inspired by early 1900s American design, the Bancroft� single-function showerhead combines a nostalgic aesthetic with solid brass construction to achieve universal appeal and durability for today�s bathroom. Its diaphragm design, which eliminates freeze-ups from contamination and hard water, helps provide maximum water coverage. The perfect complement to the Bancroft Suite of products, this single-function showerhead embodies traditional elegance. - 5-1/2" diameter spray face and 72 nozzles deliver full water coverage and warmth - Provides optimal water coverage - MasterClean� sprayface resists hard water buildup and is easy to clean

Model 10590:  Bancroft� Single-function Showerhead - Polished Chrome


Model 10590: Bancroft� Single-function Showerhead - Polished Chrome


$82


Bancroft� single-function showerhead. Inspired by early 1900s American design, the Bancroft� single-function showerhead combines a nostalgic aesthetic with solid brass construction to achieve universal appeal and durability for today�s bathroom. Its diaphragm design, which eliminates freeze-ups from contamination and hard water, helps provide maximum water coverage. The perfect complement to the Bancroft Suite of products, this single-function showerhead embodies traditional elegance. - 5-1/2" diameter spray face and 72 nozzles deliver full water coverage and warmth - Provides optimal water coverage - MasterClean� sprayface resists hard water buildup and is easy to clean

Kohler K-16244-CP Polished Chrome Margaux Single-Function Showerhead


Kohler K-16244-CP Polished Chrome Margaux Single-Function Showerhead


$117.33


The Kohler K-16244-CP Polished Chrome Margaux Single-Function Showerhead is designed to fashionably match your decor. The K-16244-CP features solid brass construction for durability and reliability.Faucet Type: Margaux single-function showerheadFaucet Finish: Polished ChromeComplete your design solution with a single-function showerheadKOHLER finishes resist corrosion and tarnishing, exceeding industry durability standards over two timesComplements Margaux faucet lineFeatures MasterClean sprayface that resists mineral buildup and is easy to cleanab1953 certified

Kohler K-18493-CP Polished Chrome Symbol Single-Function Showerhead With Arm And Flange


Kohler K-18493-CP Polished Chrome Symbol Single-Function Showerhead With Arm And Flange


$289.05


The Kohler K-18493-CP Polished Chrome Symbol Single-Function Showerhead With Arm And Flange is designed to fashionably match your decor. The K-18493-CP features solid brass construction for durability and reliability.Faucet Type: Symbol single-function showerhead with arm and flangeFaucet Finish: Polished ChromeComplete your Symbol design solution with a single-function showerhead (arm and flange included)Optimal water coverage provided by 5-1/2 inch diameter and 72 spray nozzlesEasy to clean MasterClean sprayface resists mineral buildupab1953 certified


wordpress stats