Add office photos
Engaged Employer

Cognizant

3.7
based on 51.6k Reviews
Video summary
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by

Stepett Technologies Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations

Q1. Write a sql to delete duplicate records from a table

Ans.

SQL query to delete duplicate records from a table.

  • Use the DELETE statement with a subquery to identify and delete duplicate records.

  • The subquery should select the duplicate records based on the criteria for duplication.

  • Ensure to keep at least one copy of the duplicate records to avoid deleting all instances.

View 7 more answers

Q2. Difference between soft parsing and hard parsing of sql

Ans.

Soft parsing is reusing the existing execution plan while hard parsing is generating a new execution plan.

  • Soft parsing is faster as it avoids the overhead of generating a new execution plan.

  • Hard parsing is slower as it involves generating a new execution plan.

  • Soft parsing occurs when the SQL statement is already in the shared pool.

  • Hard parsing occurs when the SQL statement is not in the shared pool or needs a new execution plan.

  • Soft parsing saves CPU and memory resources.

  • Hard...read more

View 2 more answers

Q3. Difference between implicit and explicit cursor

Ans.

Implicit cursors are automatically created by the Oracle server, while explicit cursors are explicitly declared by the programmer.

  • Implicit cursors are used for single-row queries, while explicit cursors are used for multi-row queries.

  • Implicit cursors are automatically opened, fetched, and closed by the Oracle server, while explicit cursors need to be manually opened, fetched, and closed by the programmer.

  • Implicit cursors are less flexible and have limited control, while expli...read more

View 2 more answers

Q4. Difference between Procedure and function

Ans.

Procedures and functions are both PL/SQL program units, but they have some key differences.

  • Procedures do not return a value, while functions do.

  • Procedures can have OUT parameters to pass values back to the caller, while functions cannot.

  • Functions can be used in SQL statements, while procedures cannot.

  • Functions must return a value, while procedures do not necessarily have to.

  • Procedures are typically used for performing actions, while functions are used for calculations or data...read more

View 4 more answers
Discover Stepett Technologies interview dos and don'ts from real experiences

Q5. Write a sql to find nth highest salary

Ans.

SQL query to find the nth highest salary

  • Use the ORDER BY clause to sort the salaries in descending order

  • Use the LIMIT clause to select the nth highest salary

View 1 answer

Q6. Difference between rdbms and dbms

Ans.

RDBMS is a type of DBMS that stores data in a structured manner using tables with relationships.

  • DBMS is a software system that manages data stored in a computer's memory or disk storage.

  • RDBMS is a type of DBMS that uses a relational model to store data in tables with relationships.

  • RDBMS supports ACID properties (Atomicity, Consistency, Isolation, Durability) for data integrity.

  • Examples of RDBMS include Oracle, MySQL, SQL Server, and PostgreSQL.

  • Examples of DBMS include MongoDB...read more

Add your answer

Q7. Difference between delete and truncate

Ans.

Delete is a DML operation that removes specific rows from a table, while truncate is a DDL operation that removes all rows from a table.

  • Delete is slower than truncate as it generates undo logs and triggers

  • Delete can be rolled back, while truncate cannot be rolled back

  • Delete operation maintains the integrity of the transaction log, while truncate operation does not

  • Delete operation fires delete triggers, while truncate operation does not

  • Delete operation can have a WHERE clause ...read more

View 1 answer

More about working at Cognizant

Top Rated Mega Company - 2024
Top Rated IT/ITES Company - 2024
HQ - Teaneck. New Jersey., United States (USA)
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Stepett Technologies

based on 1 interviews
1 Interview rounds
Technical Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Plsql Developer Interview Questions from Similar Companies

3.7
 • 36 Interview Questions
3.6
 • 17 Interview Questions
3.4
 • 13 Interview Questions
4.9
 • 13 Interview Questions
3.8
 • 10 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter