Está en la página 1de 109

m  


  
  

    
   
m     
`  i

    i
`   i

i


` i

  i
 
  i
 
 i
V—  — 
V      
V ! "#  
V— 
 
V      
V ! "  

   "   


i "  i$" im 
 — 
V  

V ^         


          %
      

          


  i    i     
           
! "    i     !
"        
|         —  i —
i —    i   —  

|       "    " 


  &     i     

|   !     ! "    


'      
       
           
VO  
 O    
(      " 
     )   
      

V *#+m+  "     , 


      ! 
 "  "        
        
"      
V   ) u   

 

u !  "   ! )  
         
 )   
     
 !         
  ,  
V       
   -
   !   .,
 %   

 /      


  

 m       ! /


V      
    
 -
 +(    (
  ii /
  " 

" " 
 (

 " 
V    
    
i  i "  
" -
       
 " 
    / ! 
 ),  
V         %   
 !  !  "       

V             


/    " 

V   i    "  i "  i


    /    !

V  !  "       " i 


     
    ' 
      
Ñ      !   "  ! 
              !
            
       0   
        

Ñ  "    !   (    i


    "    !/  "
  !      
Ñ        i     
   !       
     

V   '      "    


     ! "   

Ñ   '   "   (    


     ! 
Ñ   !"##$#
%$&
Ñ m      
 

Ñ      " 0"


   
£    "   !"
 "   

Ñ      


!
Ñ        " /   
   

Ñ             




Ñ      ! "   


  i 0   i   i
    
V 
   u

   O
u !
/            
   !  i        
  

V           


  ! /        
  !  "  i   !
          
!         
V m i
  !        ! 
 !            
    "    

V         


!   / ! !     "
       !     
 
V       !   "
       )  

V        !  " "


      "    
    % 

V     !   !   


            
    !          
V  !   !   
          " 
     !  /  ! /   
 
V m    !   "  i 
          
   '  !    ! /

V           


  " %  ' i  
     i  '  

V  ' #! % '# # !$&
#"&  # '!$# #&(  
#! $ $ ' # %$&-
      !        
        ! - mi +i 
   

                


  !      

               "i


   (i
m1,$1i      
"      )   
V          
         
         (
 !     !/

V m      !i     ! 


   "       ! 
!  " "       
V  
 "    "  
  ' !       -
   0  / 
 

 m  0     

 m   (    !


 

        ! 


     
V m  i       
             
          
   "  !  
i    '  
i !        
   "       )  !
0 
V     !     
  '
     
         

V        


         
   !       
     
V        #m     
             
!       !%   
             
    

 

    

 u

à## $$')"*'&$
V   i      !   
  '   (    
!            i
    ! i   " !  "
   i    ! ! 
   !        i
  ' %    ! 
    !   !
V  i !        
"i   !      "  
   
$' # !$##
V m   '        i 
     !    ! m   
     "     ! 
"           !  (

V   !    "   /  


^     
'# $
V       !     
    i     
     )   !  "
          
            

à"# # "'
V m     "  i 
          
   ^       
!      

V  i   ,  !  / i


!    !  "   !   
       
à ###$&
V 
 !  /     
" "

V  !  "   / ^ i  


0  /   !  !    
  !  "      

V  !  "    


"          
  
à$#!!$##$
V   !  "      i   
! 0     i   
         i   
   )     !  "
"   !  "
#' #"'

      $  "    


V          "  !   
  !       ! !  /
                
      i   /i   
V       !       
  ("        
V
           
            /  
 /      /     
         
  i+m#+#i
& m*1+&++
V *!
     23—
V O


u 
 
  
   
     

 
 
 
u
  u

V ‰      ! " 


23—,      
i     / !"
   ! 
V
         /    
"              
  "           

V !         2345i 


 

V !! "#
$    #  


##  



u #     

# 
u #  
!$i& m*1+&++
V !   &  m         
        2345i i   
      "  &  m   
        264      !
!              

V    !       &  m 
      m"  i ! 
        !   267i45—i    
1 i !  !  2.—i4.
V   ! )        
  ! / 8      ! +     
  "             
V         
   ! "   " 
         
V
  ! "     
   
V  !      
          
V  !       
 "        
 $#$ !
V  ,         "     
    
V  , (       i    
  "
V $ ,          
V #'$& #+ ,   ( !    9
!            "   
V   , m       !   ! 
   !              !  
(        " / 
 $#$  
V Check Employee Record           
 "          " /  
i i i  i  
V Calculate Employee Pay Rate      )  "
   
V Calculate Gross Pay     )  " i
"    ! /    ( 
V Calculate loans and deductions      )     
      i
i
,"i !   (i 
      
V Calculate Net Pay      )   " "  
          
V Receive Employee Net Salary          )
 
V  !         
 
V '# !      )    
"

,      "    ) 


            
V ‰%  $ !#$  !    "  
 ) 
V `$#         )     
V $#   ,      )      
V '#
# '           "
 
$ !#$#!
V         /  "      ,
 ,          ( 0  ,  
  
V                
       i      i
+(  +     
    

V            /    !
   
       '      
V              / 
 '  !  "   i "i   "i  
            
V +(          / ! 
           
67:
$#$ $&#!
V               
      " 
V    !            
'      
V      /    i  !i     
         
V                
      "    i       
    i            
 "i   !  , !       ! 
      " 
V  '             
      !       

V                "      
    "

V +            "          


    

V           "   "    

V $   '   i           




V +          "

V          !     0   
 
V #    /  ^ !    +      
"     
V i      '          
  / !     "         
V   " (i  i i ! i        
     )     m   (     
  "     "  
V  "             
  
V   i              ! " 
 )   i     "    i 
 !        i      
!     ! /
$,-.'$#& #(
 #     
    
   
         
     "  
  0 
   
 #    i i  

V ##$
 m  '        "        i
    i  i i    
        "   "     "
"          "    
               ' i
 i           "

V #à%&!
 m       ; !;        

    "     '  
      
  i    !    (          
             (    /i  
    
V $###$&!
 m  ,  +#   
 '    
   "!    
" +#    "  
          

 $ (         


       
         
"
V !/#$#'
 àirst normal form (1Nà or Minimal àorm)
£  "   !  "
          

 Second normal form (2Nà)


£ 3*" —*   i     /  "m
     /

£ m3*" —*   ,"   


   !    /

 Ôhird normal form (3Nà)


£ *!   " +   363 9   "
 *    "    !    -

£  #"     —à


£ +  ," # ,     
      / #

-%% !/ %!/%:
V #"#"')"$&"&,).
  &            
"     "i  i  
        "

Ôhree (3) types of SQL:


£   & &
£   & &
£   & &
rata refinition Language (rrL)
,    &       i 
    "   "
,    &   !   "  
      "      
    "      (   

rata Manipulation Language (rML)


, &        &       i
  i     0     "
, &           "  
  (  
rata Control Language (rCL)
V &       "
      "   
       /      
"            !
   "
 —:

 0

 1`2 
V             
   m 
!i      "    "     
 "     

V               


        !  "          
  !           i  i 
 ! ! "  

V $                 


!     )           
        

V    )            i   


               
+ )       ! "    
V m    "%    
             
      
V          ! /i     
   " /       % 
V    "   3.     
   
V         ! "   " 
               
           
  ) " " !   


"''à!#
 + 1 
$ 
+  
 /1 
++   

 !  
+ 
+ 


"#$3'"#$

$
1 #   
 /+ m  
#   *
+ 
+ 

`$#
$
*    
1 
+*    

*    

+ 
+ 


'"$&!$##
$
)
i3.  %
  

  #  


+
<#  # 
+ 
+ 
à

4 

m (    

4 !4!$#*'%$ #

m (    
*    + # 
 m   
*"   3

   !  
+ 

  m   !/
#  
  "    
 
#   + i  
*    
   

 m   
*"   —

   ! 
    
 + 
/ 

     ! 
 
     
#   + 
!
V                i 
  )           
        i  ! i     
" 

V   (i         "    


     ! /  i  !       
 /  ! /          i    
        " /i  !    
         "  ! /     
   ! /   
!  ,$#(.
V           
   / i
,"i 1i
i   
!   ( "  !     


V             


            i
    !         
 

V #   ! /        


  !      " "! 
  i    i      " 
        
!  ,$#(.
V        "  (   
            
           
   "        

V     "     


            
    !  !    ! 
 
#! %
V 
 !     
     

V        


   

V /   !" 


"   ' 

V m    " 


      
 
V          
  '  
V +      
! !   
V  !  "  !
       
V        
    
V       "  

V           
V   "     
            
+           
  "  m       

V      i
i
,"i ( 
 "  "     

V m            ! 


      
V       " !   
      "  
" /       

V    '     i ! 


     "       
     

V +            


" !        
    "  !  
 
V     
   
     

V    "  i(i  i


     " "

V  / /     


  i !     
V    i   
      
   i
 i (

V m   !"    


  

V   !  (# i


+ #  
  "
   "      
""  / /  
 
V       ! 
 i     
     
  
     "  "
  

V    !       




V        i  


   !"  
   ( "   
  !(  
V m       ! 
  i!"  

V # i!       


    i 
  "! 
("

V # i!       


    i 
  "! 
("
 ‰ 5 ` 
   
 /= 
`  i

    i
`   i

i


` i

  i
 
  i
 
 i