i
HCLTech
Work with us
Filter interviews by
I applied via Recruitment Consulltant and was interviewed before Jul 2022. There were 3 interview rounds.
Delete removes rows one by one and can be rolled back, while truncate removes all rows at once and cannot be rolled back.
Delete is a DML command, while truncate is a DDL command.
Delete operation is slower as it generates a lot of undo and redo logs, while truncate is faster.
Delete can have a WHERE clause to specify which rows to delete, while truncate removes all rows in a table.
Delete can be rolled back using ROLLBACK...
Different types of joins in SQL include inner join, left join, right join, and full outer join.
Inner join: Returns rows when there is a match in both tables.
Left join: Returns all rows from the left table and the matched rows from the right table.
Right join: Returns all rows from the right table and the matched rows from the left table.
Full outer join: Returns rows when there is a match in either table.
To delete duplicate records, use SQL queries with DISTINCT keyword or create a unique index on the table.
Use SQL queries with DISTINCT keyword to select unique records and insert them into a new table
Create a unique index on the table to prevent duplicate entries in the future
Use DELETE statement with a subquery to remove duplicate records from the table
To find the nth highest salary, we can use a SQL query with the ORDER BY and LIMIT clauses.
Use a SQL query with ORDER BY and LIMIT clauses to sort the salaries in descending order and retrieve the nth highest salary.
For example, to find the 3rd highest salary in a table named 'employees', the query would be: SELECT DISTINCT salary FROM employees ORDER BY salary DESC LIMIT 2, 1
Primary key uniquely identifies each record in a table, while a unique key ensures that all values in a column are distinct.
Primary key is a combination of unique and not null constraints
Primary key can only be one per table
Unique key can have multiple per table
Example: Primary key - employee_id, Unique key - email
Yes, I am comfortable with 24x7 support as I understand the importance of continuous support in a fast-paced environment.
I am willing to work in shifts to provide round-the-clock support
I have experience working in a similar role with 24x7 support requirements
I understand the importance of timely response and resolution of issues in a 24x7 support setup
What people are saying about HCLTech
I applied via Campus Placement and was interviewed before Nov 2020. There were 2 interview rounds.
I applied via Campus Placement and was interviewed before Aug 2020. There were 3 interview rounds.
I applied via Campus Placement and was interviewed before Oct 2019. There were 4 interview rounds.
A C++ program to check if a given string is a palindrome or not.
Create a character array to store the input string
Use two pointers, one at the beginning and one at the end of the array
Compare the characters at both pointers and move them towards each other until they meet
If all characters match, the string is a palindrome
If any character doesn't match, the string is not a palindrome
I applied via Indeed and was interviewed before Dec 2018. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Nov 2017. There were 5 interview rounds.
I appeared for an interview in Oct 2016.
I am a recent graduate with a degree in Business Administration and a passion for problem-solving and teamwork.
Recent graduate with a degree in Business Administration
Passionate about problem-solving and teamwork
Strong communication and analytical skills
Experience in internships and extracurricular activities
I expect the company to provide a supportive and challenging work environment, opportunities for growth and learning, and a strong company culture.
Supportive and challenging work environment
Opportunities for growth and learning
Strong company culture
Yes, I am open to relocating for the right opportunity.
I am willing to relocate for the right job opportunity
I have experience moving for previous jobs
I am excited about the possibility of exploring a new location
I plan to gain experience and expertise in the consulting field, eventually aiming for a leadership role.
Gain experience and expertise in the consulting field
Work towards a leadership role
Continuously learn and develop skills
Build a strong professional network
Stay updated with industry trends and advancements
I applied via Campus Placement and was interviewed before Dec 2016. There were 5 interview rounds.
based on 1 interview experience
Difficulty level
Duration
based on 1 review
Rating in categories
Software Engineer
24.9k
salaries
| ₹2.7 L/yr - ₹8.1 L/yr |
Technical Lead
22.8k
salaries
| ₹10.9 L/yr - ₹21 L/yr |
Senior Software Engineer
16.8k
salaries
| ₹5.7 L/yr - ₹15.5 L/yr |
Lead Engineer
16.4k
salaries
| ₹5.3 L/yr - ₹12.5 L/yr |
Analyst
15.8k
salaries
| ₹2.3 L/yr - ₹6.5 L/yr |
TCS
Wipro
Accenture
Cognizant