Filter interviews by
I applied via Recruitment Consulltant and was interviewed in Apr 2023. There were 2 interview rounds.
Query to find occurrence count of a character in a column of string datatype
Use the function LENGTH to get the length of the string
Use the function REPLACE to replace all characters except the one you want to count
Use the function LENGTH again to get the count of the character
To delete duplicate records, use the DELETE statement with a subquery to identify and remove the duplicates.
Identify the columns that contain duplicate data.
Use the GROUP BY clause to group the data by those columns.
Use the HAVING clause to filter the groups that have more than one row.
Use a subquery to select the duplicate rows.
Use the DELETE statement with the subquery to remove the duplicates.
I applied via Approached by Company and was interviewed in Jan 2024. There was 1 interview round.
The count of occurrences of a specific character in a word.
Iterate through each character in the word
Check if the character is equal to 'a'
If yes, increment a counter variable
Return the counter variable as the count of occurrences
I applied via LinkedIn and was interviewed in Oct 2023. There were 2 interview rounds.
Use SQL query with LENGTH and REPLACE functions to count number of A's in a word.
Use LENGTH function to get the total length of the word.
Use REPLACE function to remove all characters except 'A'.
Subtract the length of the word after replacing all characters except 'A' from the original length to get the count of 'A's.
Top trending discussions
based on 3 interviews
Interview experience
based on 1 review
Rating in categories
Software Engineer
99
salaries
| ₹8.3 L/yr - ₹25 L/yr |
Senior Product Specialist
73
salaries
| ₹12 L/yr - ₹27 L/yr |
Senior Software Engineer
71
salaries
| ₹14 L/yr - ₹31.5 L/yr |
Product Support Consultant
38
salaries
| ₹7.6 L/yr - ₹13.9 L/yr |
Senior Implementation Consultant
34
salaries
| ₹10.7 L/yr - ₹21.6 L/yr |
Tekwissen
Damco Solutions
In Time Tec Visionsoft
smartData Enterprises