i
Capgemini
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
I applied via Company Website and was interviewed in Apr 2023. There were 3 interview rounds.
SQL and PLSQL querys writing.
I applied via Approached by Company and was interviewed in Jul 2022. There were 3 interview rounds.
posted on 11 Nov 2024
I applied via Company Website
No, we cannot use commit or roll back within a trigger.
Triggers are automatically committed or rolled back as part of the transaction that fired them.
Using commit or rollback within a trigger can lead to unpredictable behavior and is not recommended.
Materialized views store the results of a query and can be refreshed to update the data.
Materialized views store the results of a query in a table-like structure
They can be refreshed manually or automatically based on a schedule
Refresh options include full, fast, and force refresh
Example: CREATE MATERIALIZED VIEW mv_name AS SELECT * FROM table_name;
Use CONNECT BY LEVEL to print numbers from 1 to 10 in Oracle SQL
Use CONNECT BY LEVEL to generate rows from 1 to 10
Select the generated numbers in the query
Context switching is the process of storing and restoring the state of a CPU so that multiple processes can share the same CPU.
Context switching allows the CPU to switch from one process to another, enabling multitasking.
In Oracle PLSQL, collection types are used to store multiple values in a single variable.
Examples of collection types in PLSQL include arrays, nested tables, and associative arrays.
Analytical functions are used to perform calculations across a set of rows related to the current row.
Analytical functions are used to calculate aggregate values based on a group of rows.
They can be used to calculate running totals, moving averages, rank, percentiles, etc.
Examples include functions like ROW_NUMBER(), RANK(), DENSE_RANK(), LAG(), LEAD(), SUM() OVER(), AVG() OVER().
Set operators are used to combine the result sets of two or more SELECT statements. UNION ALL keeps duplicates.
Set operators include UNION, UNION ALL, INTERSECT, and MINUS
UNION ALL retains duplicate rows from the result sets
Example: SELECT column1 FROM table1 UNION ALL SELECT column1 FROM table2
I was interviewed in Sep 2024.
OLAP systems are designed for analyzing and managing large volumes of data from multiple perspectives.
OLAP stands for Online Analytical Processing
OLAP systems allow users to analyze data in real-time
They provide advanced analytics capabilities like data mining, forecasting, and trend analysis
Examples of OLAP systems include Oracle Essbase, Microsoft Analysis Services, and IBM Cognos
Use Oracle External Tables and SQL Loader to process files in different formats and from different sources to load a single table.
Create External Tables in Oracle to define the structure of the files from different sources.
Use SQL Loader to load data from the files into the External Tables.
Transform and manipulate the data as needed using SQL queries before inserting into the final table.
I applied via Walk-in and was interviewed in Feb 2022. There were 2 interview rounds.
I applied via Naukri.com and was interviewed in Apr 2024. There was 1 interview round.
A view is a virtual table created by a query. It does not store data itself but displays data from one or more tables. Views can be used for querying data as if it were a table.
Views are created using a SELECT statement with optional joins, WHERE clauses, etc.
Views can simplify complex queries by pre-defining joins and filters.
Views do not store data themselves, they display data from underlying tables.
Views can be upd...
A synonym is an alternative name for a table, view, sequence, or other database object.
Synonyms can be used to provide a different name for an object, making it easier to reference.
They can be created to reference objects in other schemas or databases.
Synonyms can be public (accessible to all users) or private (accessible only to the creator).
A sequence is a database object in Oracle that generates unique numbers in a specified order.
Used to generate unique numbers for primary key columns
Can be used in INSERT statements to automatically generate values
Can be defined to increment by a specific value and start at a specific number
Procedures are named PL/SQL blocks that perform a specific task. They can accept parameters and return values.
Procedures are stored in the database and can be called by other PL/SQL blocks or applications.
They can accept input parameters to perform operations and can also return output values.
Procedures help in modularizing code and promoting reusability.
Example: CREATE PROCEDURE calculate_salary (emp_id IN NUMBER) IS
Procedures do not return any value while functions return a value.
Procedures are used to perform an action, while functions are used to calculate and return a value.
Procedures do not have a return statement, while functions must have a return statement.
Functions can be called from SQL queries, while procedures cannot be called directly in SQL queries.
Partitions in PL/SQL are used to divide a table into smaller, more manageable pieces.
Partitions help improve query performance by allowing data to be stored in separate segments based on a specified criteria.
Common partitioning methods include range, hash, list, and composite partitioning.
Example: Partitioning a sales table by month can improve query performance when searching for sales data within a specific time fram
SQL architecture refers to the structure and components of a SQL database system.
SQL architecture includes components like storage engine, query processor, and buffer manager.
The storage engine manages data storage and retrieval, while the query processor processes SQL queries.
The buffer manager handles caching and memory management to optimize performance.
Examples of SQL architectures include MySQL, Oracle, and SQL Se
I applied via Naukri.com and was interviewed in May 2024. There was 1 interview round.
Use the INSERT INTO statement with multiple value sets separated by commas
Use the INSERT INTO statement followed by the table name
List the column names in parentheses after the table name
Use the VALUES keyword followed by multiple value sets in parentheses, separated by commas
Example: INSERT INTO table_name (column1, column2) VALUES (value1, value2), (value3, value4)
Update query using joins in SQL
Use UPDATE statement with JOIN clause to update data in multiple tables
Specify the tables to be updated and joined using ON clause
Set the columns to be updated in SET clause
I applied via Company Website and was interviewed in Apr 2024. There were 3 interview rounds.
Test your algorithmic thinking and problem solving skills
Interview experience
based on 1 review
Rating in categories
Consultant
55.2k
salaries
| ₹5.2 L/yr - ₹18 L/yr |
Associate Consultant
52k
salaries
| ₹2.9 L/yr - ₹11.8 L/yr |
Senior Consultant
46k
salaries
| ₹7.5 L/yr - ₹25 L/yr |
Senior Analyst
20.7k
salaries
| ₹2 L/yr - ₹9 L/yr |
Senior Software Engineer
20k
salaries
| ₹3.5 L/yr - ₹12.1 L/yr |
Wipro
Accenture
Cognizant
TCS