i
CGI Group
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
I applied via Company Website
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
Performance tunning and sql profiler
Types of indexes include clustered, non-clustered, unique, composite, and filtered indexes.
Clustered indexes physically reorder the data in the table based on the index key.
Non-clustered indexes create a separate structure for the index, pointing back to the original table data.
Unique indexes ensure that no two rows have the same values in the indexed columns.
Composite indexes are created on multiple columns to improve...
Asked question from basic aptitude topics
I was interviewed in Feb 2022.
Software Engineer
8.1k
salaries
| ₹3.8 L/yr - ₹12 L/yr |
Senior Software Engineer
7.2k
salaries
| ₹6.2 L/yr - ₹22.2 L/yr |
Lead Analyst
3.1k
salaries
| ₹9.9 L/yr - ₹30 L/yr |
Associate Software Engineer
1.8k
salaries
| ₹2.5 L/yr - ₹6.6 L/yr |
Senior Test Engineer
1.2k
salaries
| ₹6 L/yr - ₹20.2 L/yr |
TCS
Infosys
Wipro
HCLTech