untill condition is true do (merged) [message #605818] |
Wed, 15 January 2014 02:35 |
kekanap
Messages: 19 Registered: January 2008 Location: Centurion
|
Junior Member |
|
|
Hallo Team,
Let me show you my sql statement and explain what i would like to do:
update verify_interbill.mtn_inbound
set charge = round((a.duration/60)*0.13,2)
where anum in (select distinct(anum) from verify_interbill.mtn_outbound)
and bnum in (select distinct(bnum) from verify_interbill.mtn_outbound)
and rate = 0.21;
Let me explain what i would like to do:
I would like to apply the statement above until (((charge - 84481.35)/84481.35) * 100) =< 5
Regards,
|
|
|
|
|
|
|
Re: untill do [message #605830 is a reply to message #605829] |
Wed, 15 January 2014 03:23 |
pablolee
Messages: 2882 Registered: May 2007 Location: Scotland
|
Senior Member |
|
|
Post a test case. If you don't understand what a test case is, then click on the link that Michel Cadot posted. Read the content, if you still don't understand, post here what it is that you don't understand.
In addition,. why don't you post this on a MySQL forum as that seems to be the technology that you're working with.
[Updated on: Wed, 15 January 2014 03:23] Report message to a moderator
|
|
|
|
Re: untill do [message #605833 is a reply to message #605829] |
Wed, 15 January 2014 03:30 |
|
Michel Cadot
Messages: 68716 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
Quote:mysql>
I move the topic to MySQL forum, this SQL & PL/SQL forum is for Oracle RDBMS SQL.
|
|
|