Whate is use of MOD function in pl/sql.
Answers were Sorted based on User's Feedback
Answer / prabu t
Same as other languages, returns remainder.
eg. select mod(5,3) as remainder from dual;
output
remainder
---------
2
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / dipti
it returns the reminder.
eg:-select mod(10,5) as modulus from dual;
o/p-:
modulus
------------
0
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / srinivas
It Displays the remainder.
Ex:
select mod(10,5),mod(5,2) from dual;
O/P: mod(10,5) mod(5,2)
0 1
| Is This Answer Correct ? | 2 Yes | 0 No |
What is the cause of mutating table error and how can we solve it?
Question: Below is the table city gender name delhi male a delhi female b mumbai male c mumbai female d delhi male e I want the o/p as follows: male female delhi 2 1 mumbai 1 1 Please help me in writing the query that can yield the o/p mentioned above?
How do I remove all records from a table?
can we delete the trigger in a view? if yes why if not why?
Is primary key a clustered index?
Explain autonomous transaction.
What is db journal file?
What is java sql connection?
what are the nonstandard string types? : Sql dba
how to concatenate two character strings? : Sql dba
If we declare constraints Unique and Not null on a single column then it will act as a Primary key, so what is the use of primary key??
C. Normalize the following data up to the 3rd Normal form. Create the tables and insert the data given. Emp_ID Name Dept_Name Salary Course_Title Date_Completed 100 Adam Marketing 48,000 SPSS 6/19/2008 Surveys 10/7/2008 140 Bob Accounting 52,000 Tax Acc 12/8/2008 110 Cathy IT SQL Server 1/12/2008 C# 4/22/2008 190 Dan Finance 150 Emily Marketing 55,000 SPSS 6/16/2008 42,000 Analysis 8/12/2008 Queries 1. Find all Names who have completed the SPSS Course. 2. Find employee with max salary. 3. Find employee with 2nd max salary. 4. Find all employees in Dept “Marketing”. 5. Find all the employees who have taken more than 2 courses. 6. Find all the employees who have completed the courses before month of September.
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)