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 |
How can we overcome recursive triggers in SQL?
State the difference between implict and explict cursor's?
table having two columns - entity,zone enity zone pen east pen west pen north pen south pen east pencil east pencil east pencil west I want the output as : entity east west north south pen 2 1 1 1 pencil 2 1 0 0
Is sql open source?
Why is sharding used?
If I have a table T with 4 rows & 2 columns A & B. A has values 1,2,3,4. and B has 10,20,30,40. Write an Update SQL query which can Swap the values of A & B for all records. (Do not use a sub-query)
What is the main difference between sql and pl/sql?
How do I restart sql?
What are the benefits of triggers?
What is sql not null constraint?
Can ddl statements be used in pl/sql?
Which command is used to call a stored procedure?
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)