SELECT ROUND(TRUNC(MOD(1600,10),-1),2)
FROM dual;
Answers were Sorted based on User's Feedback
ANS:
SELECT ROUND(TRUNC(MOD(1600,10),-1),2) as "result"
FROM dual;
Result
------
0
Explanation:
-----------
MOD(1600,10)---> 0
TRUNC(0,-1)----> 0
ROUND(0,2)-----> 0
| Is This Answer Correct ? | 127 Yes | 5 No |
Answer / sathish p
First mod(1600,10) output is 0...
So total output ZERO only..
| Is This Answer Correct ? | 10 Yes | 2 No |
What is keys and its types?
How do you optimize a stored procedure query?
i have a customer table. trans_id trans_date trans_amt debit_credit_indicator 001 01-JAN-13 1099 cr 001 12-JAN-13 500 db 002 24-FEB-13 400 db 002 23-MAR-13 345 cr 001 18-APR-13 800 cr 002 15-MAR-13 600 db 001 12-FEB-13 200 cr i want like this output. trans_id trans_amt debit_credit_indicator i want get highest credit amount and lowest credit amount and highest debit amount and lowest debit amount for each trans_id. pls give me answer. i want urgent
I i have 2 tables A & B ,A contains 10 records B contains 20 records ,what w'll be the o/p if we perform equijoin,outer join,right outer join,left outer join,full outer join,cross join seperately Can anyone help on this?
What is delimiter in pl sql?
Where not exists in sql?
Explain unique key in sql.
what is the need of the cursor attribute notfound..(because using found attribute we can complete the task......found + negation operator = not found )
How to display the contents of a current record fetched in a reference cursor?
Can %notfound return null after a fetch?
What is minus?
Is sql dba a good career? : SQL DBA
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)