Hi All
Ada yang bisa bantu , saya ingin mengalikan hasil operasi 'sum' dengan
variable seperti berikut
SQL> select id_mesin, sum(pemakaian_mesin) from
t_aktivitas_konvensional
2 where id_mesin='T1' and job_barang_id='2304601'
3 group by id_mesin;
ID_MESIN SUM(PEMAKAIAN_MESIN)
---------- --------------------
T1 9
SQL> desc r_mesin;
Name Null? Type
------------------------------- -------- ----
ID_MESIN NOT NULL CHAR(10)
NAMA_MESIN VARCHAR2(100)
RATE_JAM NUMBER(10,2)
bisakah kita mengalikan hasil 'sum(pemakaian_mesin)' dengan rate_jam
pada table r_mesin?
Tolong bantuannya?
---------------------------------
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail Beta.
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/PhFolB/TM
--------------------------------------------------------------------~->
--
-----------I.N.D.O - O.R.A.C.L.E---------------
Keluar: [EMAIL PROTECTED]
Website: http://indo-oracle.blogspot.com
Mirror: http://indooracle.wordpress.com
-----------------------------------------------
Bergabung dengan Indonesia Thin Client User Groups,
Terminal Server, Citrix, New Moon Caneveral, di:
http://indo-thin.blogspot.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/indo-oracle/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/