-
SQL Statements Syntax
How to display all rows and all the columns of employee table?
-
Using distinct keyword with the analytical functions
hi
I have to write a query to fetch 5 columns from the data. columns are title,description,msgs_count,alerts and severity.
msgs_count is count(title) over (partition by ) and alerts is sum(title partition by) over.
in case the duplicates of title are present in data. I want the title to come only once in the output but the msgs_count and alerts must not be affected. is it... -
Copying data across tables
In what ways can data be copied from one table to another?
-
Global temporary tables
What is a global temporary table?
-
Oracle collections
What are the types of collection in PL/SQL? What is the advantage of nested tables?
-
Dropping a type in Oracle
Can a type body be dropped without dropping the type specification?
-
Finding object dependencies
How can we find out the dependencies on a table?
-
Oracle locks
With what ways can we find out instance locks?
-
Web testing
While testing a website, an image that is supposed to appear on a page does not load (for example in IE, you would see an empty box with a small red cross icon). What type of investigation could you carry out to find out what the cause of the problem is? What information would you include when raising the defect
-
Group By
Create a query using “ group by” that shows maximum salary for each department?
-
What happens to the base table transactions when procedure has some error?
Procedure A calls procedure B. A updates table t1, t2. B updates table t3. If some error happens to B what happens to the updates in all those tables? Whether they will rollback or commit? If commits how far it will commit?
-
Reference table from inside a procedure
How do you reference a (updated) table from procedure A which is being updated by another procedure B?
-
Function purity
What is function purity level and why we need it in PL/SQL function?
-
-
What is procedure and package
Hi ,can any one tel pls what is use ofprocedures and packages? why we use can anyone tell me with one real time example
-
Why do we use cursors ?
Guys can you please help me in realtime scenario?
-
-
-
-
Create an anonymous PL/SQL block to enroll a Student
Create an anonymous PL/SQL block to enroll a student in a particular class. You will use the ENROLLMENTS table. Accept a STU_ID and CLASS_ID as input parameters. Use "today's date" for the ENROLLMENT_DATE and the string "Enrolled" for the STATUS.
PL/SQL Interview Questions
Ans