You are on page 1of 24

12/3/13

iSQL*Plus Release 9.2.0.1.0 Production: Work Screen

Logout New Session History Preferences Help

Work Screen
File or URL: Choose File No file chosen Load Script Enter statements: s e l e c t*f r o mp r o d u c t _ m a s t e r ; s e l e c td e s c r i p t i o n ,c o u n t ( d e s c r i p t i o n )f r o mp r o d u c t _ m a s t e rg r o u pb y d e s c r i p t i o n

Execute

Save Script

Clear Screen

Cancel

PRODUCT_NO DESCRIPTIO PROFIT_PERCENT UNIT_ QTY_ON_HAND REODER_LVL SELL_PRICE COST_PRICE P03453 P06734 P07868 P07885 P07965 P07975 P08865 P00001 P07865 9 rows selected. Monitors Mouse Keyboards CD Drive 540 HDD 1.44 Drive 1.22 Drive floppies floppies 6 piece 5 piece 2 piece 3 piece 4 piece 3 piece 5 piece 5 piece 6 piece 10 20 10 10 10 10 2 100 100 3 5 3 3 3 3 3 20 20 12000 1050 3150 5250 8400 1050 1050 525 525 11200 500 3050 5100 8000 1000 1000 500 500

DESCRIPTIO 1.22 Drive 1.44 Drive 540 HDD CD Drive Keyboards Monitors Mouse floppies 8 rows selected.

COUNT(DESCRIPTION) 1 1 1 1 1 1 1 2

172.16.10.240/isqlplus

1/2

12/3/13

iSQL*Plus Release 9.2.0.1.0 Production: Work Screen

172.16.10.240/isqlplus

2/2

12/4/13

iSQL*Plus Release 9.2.0.1.0 Production: Work Screen

Logout New Session History Preferences Help

Work Screen
File or URL: Choose File No file chosen Load Script Enter statements: s e l e c t*f r o mp r o d u c t _ m a s t e r ; s e l e c t*f r o mc l i e n t _ m a s t e r ; s e l e c t*f r o mp r o d u c t _ m a s t e rc r o s sj o i nc l i e n t _ m a s t e r ;

Execute

Save Script

Clear Screen

Cancel UNIT_ 6 piece 5 piece 2 piece 3 piece 4 piece 3 piece 5 piece 5 piece 6 piece QTY_ON_HAND 10 20 10 10 10 10 2 100 100 REODER_LVL 3 5 3 3 3 3 3 20 20 SELL_PRICE 12000 1050 3150 5250 8400 1050 1050 525 525 COST_PRICE 11200 500 3050 5100 8000 1000 1000 500 500

PRODUCT_NO P03453 P06734 P07868 P07885 P07965 P07975 P08865 P00001 P07865 9 rows selected.

DESCRIPTIO Monitors Mouse Keyboards CD Drive 540 HDD 1.44 Drive 1.22 Drive floppies floppies

PROFIT_PERCENT

CLIENT 1 2 3 4 5 6 6 rows selected. Ivan Vandana Pramada Basu Ravi Amit

NAME Bombay Madras Bombay Bombay Delhi Bombay

CITY Maharashtra Tamilnadu Maharashtra Maharashtra Maharashtra

STATE

PINCODE 400054 780001 400057 400056 100001 400050

BAL_DUE 15000 0 5000 0 2000 0

PRODUCT_NO DESCRIPTIO PROFIT_PERCENT UNIT_ QTY_ON_HAND REODER_LVL SELL_PRICE COST_PRICE CLIENT NAME P03453 P06734 P07868 P07885 P07965 P07975 P08865 P00001 P07865 P03453 P06734 P07868 P07885 P07965 P07975 P08865 P00001 P07865 P03453 P06734 P07868 P07885 P07965 P07975 P08865 Monitors Mouse Keyboards CD Drive 540 HDD 1.44 Drive 1.22 Drive floppies floppies Monitors Mouse Keyboards CD Drive 540 HDD 1.44 Drive 1.22 Drive floppies floppies Monitors Mouse Keyboards CD Drive 540 HDD 1.44 Drive 1.22 Drive 6 piece 5 piece 2 piece 3 piece 4 piece 3 piece 5 piece 5 piece 6 piece 6 piece 5 piece 2 piece 3 piece 4 piece 3 piece 5 piece 5 piece 6 piece 6 piece 5 piece 2 piece 3 piece 4 piece 3 piece 5 piece 10 20 10 10 10 10 2 100 100 10 20 10 10 10 10 2 100 100 10 20 10 10 10 10 2 3 5 3 3 3 3 3 20 20 3 5 3 3 3 3 3 20 20 3 5 3 3 3 3 3 12000 1050 3150 5250 8400 1050 1050 525 525 12000 1050 3150 5250 8400 1050 1050 525 525 12000 1050 3150 5250 8400 1050 1050 11200 1 500 1 3050 1 5100 1 8000 1 1000 1 1000 1 500 1 500 1 11200 2 500 2 3050 2 5100 2 8000 2 1000 2 1000 2 500 2 500 2 11200 3 500 3 3050 3 5100 3 8000 3 1000 3 1000 3 Ivan Ivan Ivan Ivan Ivan Ivan Ivan Ivan Ivan

CITY

STATE

PINCODE BAL_DUE 400054 400054 400054 400054 400054 400054 400054 400054 400054 780001 780001 780001 780001 780001 780001 780001 780001 780001 400057 400057 400057 400057 400057 400057 400057 15000 15000 15000 15000 15000 15000 15000 15000 15000 0 0 0 0 0 0 0 0 0 5000 5000 5000 5000 5000 5000 5000

Bombay Maharashtra Bombay Maharashtra Bombay Maharashtra Bombay Maharashtra Bombay Maharashtra Bombay Maharashtra Bombay Maharashtra Bombay Maharashtra Bombay Maharashtra

Vandana Madras Tamilnadu Vandana Madras Tamilnadu Vandana Madras Tamilnadu Vandana Madras Tamilnadu Vandana Madras Tamilnadu CITY STATE Vandana Madras Tamilnadu Vandana Madras Tamilnadu Vandana Madras Tamilnadu Vandana Madras Tamilnadu Pramada Bombay Maharashtra Pramada Bombay Maharashtra Pramada Bombay Maharashtra Pramada Bombay Maharashtra Pramada Bombay Maharashtra Pramada Bombay Maharashtra Pramada Bombay Maharashtra

PRODUCT_NO DESCRIPTIO PROFIT_PERCENT UNIT_ QTY_ON_HAND REODER_LVL SELL_PRICE COST_PRICE CLIENT NAME

PINCODE BAL_DUE

172.16.10.240/isqlplus

1/2

12/4/13

P08865 P00001 P07865 P03453 P06734 P07868 P07885 P07965 P07975 P08865 P00001 P07865 P03453 P06734 P07868 P07885 P07965 P07975 P08865 P00001 P07865 P03453 P06734 P07868 P07885 P07965 P07975 P08865 P00001 P07865

1.22 Drive floppies floppies Monitors Mouse Keyboards CD Drive 540 HDD 1.44 Drive 1.22 Drive floppies floppies Monitors Mouse Keyboards CD Drive 540 HDD 1.44 Drive 1.22 Drive floppies floppies Monitors Mouse Keyboards CD Drive 540 HDD 1.44 Drive 1.22 Drive floppies floppies

5 piece 5 piece 6 piece 6 piece 5 piece 2 piece 3 piece 4 piece 3 piece 5 piece 5 piece 6 piece 6 piece 5 piece 2 piece 3 piece 4 piece 3 piece 5 piece 5 piece 6 piece 6 piece 5 piece 2 piece 3 piece 4 piece 3 piece 5 piece 5 piece 6 piece

iSQL*Plus Release 9.2.0.1.0 Production: Work Screen


2 3 1050 525 525 12000 1050 3150 5250 8400 1050 1050 525 525 12000 1050 3150 5250 8400 1050 1050 525 525 12000 1050 3150 5250 8400 1050 1050 525 525 1000 3 500 3 500 3 11200 4 500 4 3050 4 5100 4 8000 4 1000 4 1000 4 500 4 500 4 11200 5 500 5 3050 5 5100 5 8000 5 1000 5 1000 5 500 5 500 5 11200 6 500 6 3050 6 5100 6 8000 6 1000 6 1000 6 500 6 500 6 100 100 10 20 10 10 10 10 2 100 100 10 20 10 10 10 10 2 100 100 10 20 10 10 10 10 2 100 100 20 20 3 5 3 3 3 3 3 20 20 3 5 3 3 3 3 3 20 20 3 5 3 3 3 3 3 20 20

Pramada Bombay Maharashtra Pramada Bombay Maharashtra Pramada Bombay Maharashtra Basu Basu Basu Basu Basu Basu Basu Basu Basu Ravi Ravi Ravi Ravi Ravi Ravi Ravi Ravi Ravi Amit Amit Amit Amit Amit Amit Amit Amit Amit Bombay Maharashtra CITY STATE Bombay Maharashtra Bombay Maharashtra Bombay Maharashtra Bombay Maharashtra Bombay Maharashtra Bombay Maharashtra Bombay Maharashtra Bombay Maharashtra Delhi Delhi Delhi Delhi Delhi Delhi CITY Delhi Delhi Delhi Bombay Maharashtra Bombay Maharashtra Bombay Maharashtra Bombay Maharashtra Bombay Maharashtra Bombay Maharashtra Bombay Maharashtra Bombay Maharashtra Bombay Maharashtra STATE

400057 400057 400057 400056 400056 400056 400056 400056 400056 400056 400056 400056 100001 100001 100001 100001 100001 100001 100001 100001 100001 400050 400050 400050 400050 400050 400050 400050 400050 400050

5000 5000 5000 0 0 0 0 0 0 0 0 0 2000 2000 2000 2000 2000 2000 2000 2000 2000 0 0 0 0 0 0 0 0 0

PRODUCT_NO DESCRIPTIO PROFIT_PERCENT UNIT_ QTY_ON_HAND REODER_LVL SELL_PRICE COST_PRICE CLIENT NAME

PINCODE BAL_DUE

PRODUCT_NO DESCRIPTIO PROFIT_PERCENT UNIT_ QTY_ON_HAND REODER_LVL SELL_PRICE COST_PRICE CLIENT NAME

PINCODE BAL_DUE

54 rows selected.

172.16.10.240/isqlplus

2/2

12/3/13

iSQL*Plus Release 9.2.0.1.0 Production: Work Screen

Logout New Session History Preferences Help

Work Screen
File or URL: Choose File No file chosen Load Script Enter statements: d e s cc o l l e g e _ d a t a ; a l t e rt a b l ec o l l e g e _ d a t ad r o pc o n s t r a i n tp k _ h a ; d e s cc o l l e g e _ d a t a ;

Execute

Save Script Name

Clear Screen

Cancel Null? Type NUMBER(20) VARCHAR2(20)

R_NO COLLEGE_NAME Table altered. Name R_NO COLLEGE_NAME

NOT NULL

Null? NUMBER(20) VARCHAR2(20)

Type

172.16.10.240/isqlplus

1/1

12/2/13

iSQL*Plus Release 9.2.0.1.0 Production: Work Screen

Logout New Session History Preferences Help

Work Screen
File or URL: Choose File No file chosen Load Script Enter statements: c r e a t et a b l ec o l l e g e _ d a t a ( r e g _ nv a r c h a r 2 ( 2 0 )n o tn u l l , c i t yv a r c h a r 2 ( 1 0 ) , c o n s t r a i n tP K _ C L Gf o r e i g nk e y ( r e g _ n )r e f e r e n c e sc o l l e g e ( r e g _ n o ) ) ;

Execute Table created.

Save Script

Clear Screen

Cancel

172.16.10.240/isqlplus

1/1

12/3/13

iSQL*Plus Release 9.2.0.1.0 Production: Work Screen

Logout New Session History Preferences Help

Work Screen
File or URL: Choose File No file chosen Load Script Enter statements: s e l e c t*f r o mp r o d u c t _ m a s t e r ; s e l e c t*f r o mp r o d u c t _ m a s t e rw h e r ec o s t _ p r i c eI N ( 1 1 2 0 0, 5 0 0 ) ;

Execute

Save Script

Clear Screen

Cancel

PRODUCT_NO DESCRIPTIO PROFIT_PERCENT UNIT_ QTY_ON_HAND REODER_LVL SELL_PRICE COST_PRICE P03453 P06734 P07868 P07885 P07965 P07975 P08865 P00001 P07865 9 rows selected. Monitors Mouse Keyboards CD Drive 540 HDD 1.44 Drive 1.22 Drive floppies floppies 6 piece 5 piece 2 piece 3 piece 4 piece 3 piece 5 piece 5 piece 6 piece 10 20 10 10 10 10 2 100 100 3 5 3 3 3 3 3 20 20 12000 1050 3150 5250 8400 1050 1050 525 525 11200 500 3050 5100 8000 1000 1000 500 500

PRODUCT_NO DESCRIPTIO PROFIT_PERCENT UNIT_ QTY_ON_HAND REODER_LVL SELL_PRICE COST_PRICE P03453 P06734 P00001 P07865 Monitors Mouse floppies floppies 6 piece 5 piece 5 piece 6 piece 10 20 100 100 3 5 20 20 12000 1050 525 525 11200 500 500 500

172.16.10.240/isqlplus

1/1

12/3/13

iSQL*Plus Release 9.2.0.1.0 Production: Work Screen

Logout New Session History Preferences Help

Work Screen
File or URL: Choose File No file chosen Load Script Enter statements: s e l e c t*f r o mp r o d u c t _ m a s t e r ; s e l e c t*f r o mp r o d u c t _ m a s t e rw h e r ec o s t _ p r i c ei sn u l l ;

Execute

Save Script

Clear Screen

Cancel

PRODUCT_NO DESCRIPTIO PROFIT_PERCENT UNIT_ QTY_ON_HAND REODER_LVL SELL_PRICE COST_PRICE P03453 P06734 P07868 P07885 P07965 P07975 P08865 P00001 P07865 9 rows selected. Monitors Mouse Keyboards CD Drive 540 HDD 1.44 Drive 1.22 Drive floppies floppies 6 piece 5 piece 2 piece 3 piece 4 piece 3 piece 5 piece 5 piece 6 piece 10 20 10 10 10 10 2 100 100 3 5 3 3 3 3 3 20 20 12000 1050 3150 5250 8400 1050 1050 525 525 11200 500 3050 5100 8000 1000 1000 500 500

no rows selected

172.16.10.240/isqlplus

1/1

12/3/13

iSQL*Plus Release 9.2.0.1.0 Production: Work Screen

Logout New Session History Preferences Help

Work Screen
File or URL: Choose File No file chosen Load Script Enter statements: s e l e c t*f r o mp r o d u c t _ m a s t e r ; s e l e c t*f r o mp r o d u c t _ m a s t e rw h e r ec o s t _ p r i c eL I K E ( ' 5 % ' ) ;

Execute

Save Script

Clear Screen

Cancel

PRODUCT_NO DESCRIPTIO PROFIT_PERCENT UNIT_ QTY_ON_HAND REODER_LVL SELL_PRICE COST_PRICE P03453 P06734 P07868 P07885 P07965 P07975 P08865 P00001 P07865 9 rows selected. Monitors Mouse Keyboards CD Drive 540 HDD 1.44 Drive 1.22 Drive floppies floppies 6 piece 5 piece 2 piece 3 piece 4 piece 3 piece 5 piece 5 piece 6 piece 10 20 10 10 10 10 2 100 100 3 5 3 3 3 3 3 20 20 12000 1050 3150 5250 8400 1050 1050 525 525 11200 500 3050 5100 8000 1000 1000 500 500

PRODUCT_NO DESCRIPTIO PROFIT_PERCENT UNIT_ QTY_ON_HAND REODER_LVL SELL_PRICE COST_PRICE P06734 P07885 P00001 P07865 Mouse CD Drive floppies floppies 5 piece 3 piece 5 piece 6 piece 20 10 100 100 5 3 20 20 1050 5250 525 525 500 5100 500 500

172.16.10.240/isqlplus

1/1

12/3/13

iSQL*Plus Release 9.2.0.1.0 Production: Work Screen

Logout New Session History Preferences Help

Work Screen
File or URL: Choose File No file chosen Load Script Enter statements: s e l e c t*f r o mp r o d u c t _ m a s t e r ; s e l e c tm a x ( s e l l _ p r i c e )f r o mp r o d u c t _ m a s t e r

Execute

Save Script

Clear Screen

Cancel

PRODUCT_NO DESCRIPTIO PROFIT_PERCENT UNIT_ QTY_ON_HAND REODER_LVL SELL_PRICE COST_PRICE P03453 P06734 P07868 P07885 P07965 P07975 P08865 P00001 P07865 9 rows selected. Monitors Mouse Keyboards CD Drive 540 HDD 1.44 Drive 1.22 Drive floppies floppies 6 piece 5 piece 2 piece 3 piece 4 piece 3 piece 5 piece 5 piece 6 piece 10 20 10 10 10 10 2 100 100 3 5 3 3 3 3 3 20 20 12000 1050 3150 5250 8400 1050 1050 525 525 11200 500 3050 5100 8000 1000 1000 500 500

MAX(SELL_PRICE) 12000

172.16.10.240/isqlplus

1/1

12/3/13

iSQL*Plus Release 9.2.0.1.0 Production: Work Screen

Logout New Session History Preferences Help

Work Screen
File or URL: Choose File No file chosen Load Script Enter statements: s e l e c t*f r o mp r o d u c t _ m a s t e r ; s e l e c tm i n ( s e l l _ p r i c e )f r o mp r o d u c t _ m a s t e r

Execute

Save Script

Clear Screen

Cancel

PRODUCT_NO DESCRIPTIO PROFIT_PERCENT UNIT_ QTY_ON_HAND REODER_LVL SELL_PRICE COST_PRICE P03453 P06734 P07868 P07885 P07965 P07975 P08865 P00001 P07865 9 rows selected. Monitors Mouse Keyboards CD Drive 540 HDD 1.44 Drive 1.22 Drive floppies floppies 6 piece 5 piece 2 piece 3 piece 4 piece 3 piece 5 piece 5 piece 6 piece 10 20 10 10 10 10 2 100 100 3 5 3 3 3 3 3 20 20 12000 1050 3150 5250 8400 1050 1050 525 525 11200 500 3050 5100 8000 1000 1000 500 500

MIN(SELL_PRICE) 525

172.16.10.240/isqlplus

1/1

12/4/13

iSQL*Plus Release 9.2.0.1.0 Production: Work Screen

Logout New Session History Preferences Help

Work Screen
File or URL: Choose File No file chosen Load Script Enter statements: s e l e c t*f r o mp r o d u c t _ m a s t e r ; s e l e c t*f r o mc l i e n t _ m a s t e r ; s e l e c t*f r o mp r o d u c t _ m a s t e rn a t u r a lj o i nc l i e n t _ m a s t e r

Execute

Save Script

Clear Screen

Cancel UNIT_ 6 piece 5 piece 2 piece 3 piece 4 piece 3 piece 5 piece 5 piece 6 piece QTY_ON_HAND 10 20 10 10 10 10 2 100 100 REODER_LVL 3 5 3 3 3 3 3 20 20 SELL_PRICE 12000 1050 3150 5250 8400 1050 1050 525 525 COST_PRICE STATE

PRODUCT_NO P03453 P06734 P07868 P07885 P07965 P07975 P08865 P00001 P07865 9 rows selected.

DESCRIPTIO Monitors Mouse Keyboards CD Drive 540 HDD 1.44 Drive 1.22 Drive floppies floppies

PROFIT_PERCENT

11200 Maharashtra 500 Uttar Prdesh 3050 Orissa 5100 Tamilnadu 8000 Uttarakhand 1000 Tamilnadu 1000 Uttar Prdesh 500 Uttar Prdesh 500 Maharashtra

CLIENT 1 2 3 4 5 6 6 rows selected. Ivan Vandana Pramada Basu Ravi Amit

NAME Bombay Madras Bombay Bombay Delhi Bombay

CITY Maharashtra Tamilnadu Maharashtra Maharashtra Maharashtra

STATE

PINCODE 400054 780001 400057 400056 100001 400050

BAL_DUE 15000 0 5000 0 2000 0

STATE

PRODUCT_NO DESCRIPTIO PROFIT_PERCENT UNIT_ QTY_ON_HAND REODER_LVL SELL_PRICE COST_PRICE CLIENT NAME Monitors floppies Monitors floppies Monitors floppies Monitors floppies CD Drive 1.44 Drive 6 piece 6 piece 6 piece 6 piece 6 piece 6 piece 6 piece 6 piece 3 piece 3 piece 10 100 10 100 10 100 10 100 10 10 3 20 3 20 3 20 3 20 3 3 12000 525 12000 525 12000 525 12000 525 5250 1050 11200 1 500 1 11200 3 500 3 11200 4 500 4 11200 6 500 6 5100 2 1000 2 Ivan Ivan

CITY PINCODE BAL_DUE Bombay Bombay 400054 400054 400057 400057 400056 400056 400050 400050 780001 780001 15000 15000 5000 5000 0 0 0 0 0 0

Maharashtra P03453 Maharashtra P07865 Maharashtra P03453 Maharashtra P07865 Maharashtra P03453 Maharashtra P07865 Maharashtra P03453 Maharashtra P07865 Tamilnadu Tamilnadu P07885 P07975

Pramada Bombay Pramada Bombay Basu Basu Amit Amit Bombay Bombay Bombay Bombay

Vandana Madras Vandana Madras

10 rows selected.

172.16.10.240/isqlplus

1/1

12/3/13

iSQL*Plus Release 9.2.0.1.0 Production: Work Screen

Logout New Session History Preferences Help

Work Screen
File or URL: Choose File No file chosen Load Script Enter statements: s e l e c t*f r o mp r o d u c t _ m a s t e r ; s e l e c t*f r o mp r o d u c t _ m a s t e rw h e r ed e s c r i p t i o ni sn o tn u l l

Execute

Save Script

Clear Screen

Cancel

PRODUCT_NO DESCRIPTIO PROFIT_PERCENT UNIT_ QTY_ON_HAND REODER_LVL SELL_PRICE COST_PRICE P03453 P06734 P07868 P07885 P07965 P07975 P08865 P00001 P07865 9 rows selected. Monitors Mouse Keyboards CD Drive 540 HDD 1.44 Drive 1.22 Drive floppies floppies 6 piece 5 piece 2 piece 3 piece 4 piece 3 piece 5 piece 5 piece 6 piece 10 20 10 10 10 10 2 100 100 3 5 3 3 3 3 3 20 20 12000 1050 3150 5250 8400 1050 1050 525 525 11200 500 3050 5100 8000 1000 1000 500 500

PRODUCT_NO DESCRIPTIO PROFIT_PERCENT UNIT_ QTY_ON_HAND REODER_LVL SELL_PRICE COST_PRICE P03453 P06734 P07868 P07885 P07965 P07975 P08865 P00001 P07865 9 rows selected. Monitors Mouse Keyboards CD Drive 540 HDD 1.44 Drive 1.22 Drive floppies floppies 6 piece 5 piece 2 piece 3 piece 4 piece 3 piece 5 piece 5 piece 6 piece 10 20 10 10 10 10 2 100 100 3 5 3 3 3 3 3 20 20 12000 1050 3150 5250 8400 1050 1050 525 525 11200 500 3050 5100 8000 1000 1000 500 500

172.16.10.240/isqlplus

1/2

12/3/13

iSQL*Plus Release 9.2.0.1.0 Production: Work Screen

172.16.10.240/isqlplus

2/2

12/3/13

iSQL*Plus Release 9.2.0.1.0 Production: Work Screen

Logout New Session History Preferences Help

Work Screen
File or URL: Choose File No file chosen Load Script Enter statements: s e l e c t*f r o mp r o d u c t _ m a s t e r ; s e l e c t*f r o mp r o d u c t _ m a s t e ro r d e rb yc o s t _ p r i c e

Execute

Save Script

Clear Screen

Cancel

PRODUCT_NO DESCRIPTIO PROFIT_PERCENT UNIT_ QTY_ON_HAND REODER_LVL SELL_PRICE COST_PRICE P03453 P06734 P07868 P07885 P07965 P07975 P08865 P00001 P07865 9 rows selected. Monitors Mouse Keyboards CD Drive 540 HDD 1.44 Drive 1.22 Drive floppies floppies 6 piece 5 piece 2 piece 3 piece 4 piece 3 piece 5 piece 5 piece 6 piece 10 20 10 10 10 10 2 100 100 3 5 3 3 3 3 3 20 20 12000 1050 3150 5250 8400 1050 1050 525 525 11200 500 3050 5100 8000 1000 1000 500 500

PRODUCT_NO DESCRIPTIO PROFIT_PERCENT UNIT_ QTY_ON_HAND REODER_LVL SELL_PRICE COST_PRICE P06734 P00001 P07865 P07975 P08865 P07868 P07885 P07965 P03453 9 rows selected. Mouse floppies floppies 1.44 Drive 1.22 Drive Keyboards CD Drive 540 HDD Monitors 5 piece 5 piece 6 piece 3 piece 5 piece 2 piece 3 piece 4 piece 6 piece 20 100 100 10 2 10 10 10 10 5 20 20 3 3 3 3 3 3 1050 525 525 1050 1050 3150 5250 8400 12000 500 500 500 1000 1000 3050 5100 8000 11200

172.16.10.240/isqlplus

1/2

12/3/13

iSQL*Plus Release 9.2.0.1.0 Production: Work Screen

172.16.10.240/isqlplus

2/2

12/2/13

iSQL*Plus Release 9.2.0.1.0 Production: Work Screen

Logout New Session History Preferences Help

Work Screen
File or URL: Choose File No file chosen Load Script Enter statements: c r e a t et a b l ec o l l e g e ( c _ n a m ev a r c h a r 2 ( 2 0 )n o tn u l l , r e g _ n ov a r c h a r 2 ( 2 0 )n o tn u l l , c i t yv a r c h a r 2 ( 1 0 ) , c o n s t r a i n tP K _ C O L L E G Ep r i m a r yk e y ( r e g _ n o ) ) ; d e s c r i b ec o l l e g e

Execute Table created.

Save Script

Clear Screen

Cancel

Name C_NAME REG_NO CITY NOT NULL NOT NULL

Null? VARCHAR2(20) VARCHAR2(20) VARCHAR2(10)

Type

172.16.10.240/isqlplus

1/1

12/3/13

iSQL*Plus Release 9.2.0.1.0 Production: Work Screen

Logout New Session History Preferences Help

Work Screen
File or URL: Choose File No file chosen Load Script Enter statements: s e l e c t*f r o mp r o d u c t _ m a s t e r ; s e l e c ts u m ( s e l l _ p r i c e )f r o mp r o d u c t _ m a s t e r

Execute

Save Script

Clear Screen

Cancel

PRODUCT_NO DESCRIPTIO PROFIT_PERCENT UNIT_ QTY_ON_HAND REODER_LVL SELL_PRICE COST_PRICE P03453 P06734 P07868 P07885 P07965 P07975 P08865 P00001 P07865 9 rows selected. Monitors Mouse Keyboards CD Drive 540 HDD 1.44 Drive 1.22 Drive floppies floppies 6 piece 5 piece 2 piece 3 piece 4 piece 3 piece 5 piece 5 piece 6 piece 10 20 10 10 10 10 2 100 100 3 5 3 3 3 3 3 20 20 12000 1050 3150 5250 8400 1050 1050 525 525 11200 500 3050 5100 8000 1000 1000 500 500

SUM(SELL_PRICE) 33000

172.16.10.240/isqlplus

1/1

12/2/13

iSQL*Plus Release 9.2.0.1.0 Production: Work Screen

Logout New Session History Preferences Help

Work Screen
File or URL: Choose File No file chosen Load Script Enter statements: c r e a t et a b l ed a t ( f i r s tn u m b e r ( 1 0 ) , n a m ev a r c h a r 2 ( 1 0 ) , c o n s t r a i n tv d fu n i q u e ( n a m e ) ) ;

Execute Table created.

Save Script

Clear Screen

Cancel

172.16.10.240/isqlplus

1/1

12/3/13

iSQL*Plus Release 9.2.0.1.0 Production: Work Screen

Logout New Session History Preferences Help

Work Screen
File or URL: Choose File No file chosen Load Script Enter statements: s e l e c t*f r o mp r o d u c t _ m a s t e r ; s e l e c ta v g ( c o s t _ p r i c e )f r o mp r o d u c t _ m a s t e r

Execute

Save Script

Clear Screen

Cancel

PRODUCT_NO DESCRIPTIO PROFIT_PERCENT UNIT_ QTY_ON_HAND REODER_LVL SELL_PRICE COST_PRICE P03453 P06734 P07868 P07885 P07965 P07975 P08865 P00001 P07865 9 rows selected. Monitors Mouse Keyboards CD Drive 540 HDD 1.44 Drive 1.22 Drive floppies floppies 6 piece 5 piece 2 piece 3 piece 4 piece 3 piece 5 piece 5 piece 6 piece 10 20 10 10 10 10 2 100 100 3 5 3 3 3 3 3 20 20 12000 1050 3150 5250 8400 1050 1050 525 525 11200 500 3050 5100 8000 1000 1000 500 500

AVG(COST_PRICE) 3427.77778

172.16.10.240/isqlplus

1/1

12/3/13

iSQL*Plus Release 9.2.0.1.0 Production: Work Screen

Logout New Session History Preferences Help

Work Screen
File or URL: Choose File No file chosen Load Script Enter statements: s e l e c t*f r o mp r o d u c t _ m a s t e r ; s e l e c t*f r o mp r o d u c t _ m a s t e rw h e r es e l l _ p r i c eb e t w e e n1 0 5 0a n d8 4 0 0

Execute

Save Script

Clear Screen

Cancel

PRODUCT_NO DESCRIPTIO PROFIT_PERCENT UNIT_ QTY_ON_HAND REODER_LVL SELL_PRICE COST_PRICE P03453 P06734 P07868 P07885 P07965 P07975 P08865 P00001 P07865 9 rows selected. Monitors Mouse Keyboards CD Drive 540 HDD 1.44 Drive 1.22 Drive floppies floppies 6 piece 5 piece 2 piece 3 piece 4 piece 3 piece 5 piece 5 piece 6 piece 10 20 10 10 10 10 2 100 100 3 5 3 3 3 3 3 20 20 12000 1050 3150 5250 8400 1050 1050 525 525 11200 500 3050 5100 8000 1000 1000 500 500

PRODUCT_NO DESCRIPTIO PROFIT_PERCENT UNIT_ QTY_ON_HAND REODER_LVL SELL_PRICE COST_PRICE P06734 P07868 P07885 P07965 P07975 P08865 6 rows selected. Mouse Keyboards CD Drive 540 HDD 1.44 Drive 1.22 Drive 5 piece 2 piece 3 piece 4 piece 3 piece 5 piece 20 10 10 10 10 2 5 3 3 3 3 3 1050 3150 5250 8400 1050 1050 500 3050 5100 8000 1000 1000

172.16.10.240/isqlplus

1/1

12/2/13

iSQL*Plus Release 9.2.0.1.0 Production: Work Screen

Logout New Session History Preferences Help

Work Screen
File or URL: Choose File No file chosen Load Script Enter statements: c r e a t et a b l ed a t ( f i r s tn u m b e r ( 1 0 ) , n a m ev a r c h a r 2 ( 1 0 ) , c o n s t r a i n tv d fc h e c k ( f i r s t>0 ) ) ;

Execute Table created.

Save Script

Clear Screen

Cancel

172.16.10.240/isqlplus

1/1

12/4/13

iSQL*Plus Release 9.2.0.1.0 Production: Work Screen

Logout New Session History Preferences Help

Work Screen
File or URL: Choose File No file chosen Load Script Enter statements: s e l e c t*f r o mp r o d u c t _ m a s t e r ; s a v e p o i n tA ; d e l e t ef r o mp r o d u c t _ m a s t e rw h e r es e l l _ p r i c e>1 0 0 0 ; s e l e c t*f r o mp r o d u c t _ m a s t e r ; r o l l b a c kt os a v e p o i n tA ; d e l e t ef r o mp r o d u c t _ m a s t e rw h e r es e l l _ p r i c e>1 0 0 0 ; c o m m i t ; r o l l b a c kt os a v e p o i n tA ; s e l e c t*f r o mp r o d u c t _ m a s t e r ;

Execute

Save Script

Clear Screen

Cancel STATE

PRODUCT_NO DESCRIPTIO PROFIT_PERCENT UNIT_ QTY_ON_HAND REODER_LVL SELL_PRICE COST_PRICE P06734 P07868 P07975 P08865 P00001 P07865 6 rows selected. Savepoint created. 4 rows deleted. Mouse Keyboards 1.44 Drive 1.22 Drive floppies floppies 5 piece 2 piece 3 piece 5 piece 5 piece 6 piece 20 10 10 2 100 100 5 3 3 3 20 20 1050 3150 1050 1050 525 525

Uttar 500 Prdesh 3050 Orissa 1000 Tamilnadu 1000 500 Uttar Prdesh Uttar Prdesh

500 Maharashtra

PRODUCT_NO DESCRIPTIO PROFIT_PERCENT UNIT_ QTY_ON_HAND REODER_LVL SELL_PRICE COST_PRICE P00001 P07865 floppies floppies 5 piece 6 piece 100 100 20 20 525 525

STATE

Uttar 500 Prdesh 500 Maharashtra

Rollback complete. 4 rows deleted. Commit complete. r o l l b a c kt os a v e p o i n tA * ERROR at line 1: ORA-01086: savepoint 'A' never established

172.16.10.240/isqlplus

1/2

12/4/13

iSQL*Plus Release 9.2.0.1.0 Production: Work Screen

PRODUCT_NO DESCRIPTIO PROFIT_PERCENT UNIT_ QTY_ON_HAND REODER_LVL SELL_PRICE COST_PRICE P00001 P07865 floppies floppies 5 piece 6 piece 100 100 20 20 525 525 500

STATE Uttar Prdesh

500 Maharashtra

172.16.10.240/isqlplus

2/2