Add office photos
Engaged Employer

Synechron

3.6
based on 2.9k Reviews
Video summary
Filter interviews by

Kaavyaratna Group Interview Questions and Answers

Updated 21 Oct 2024
Popular Designations

Q1. given 2 table and explain o/p a(1,1,1,2,3) b(1,1,3,4,5) innner join left and right and cross join

Ans.

Explanation of inner join, left join, right join, and cross join with given tables a and b.

  • Inner join: Returns only the rows where there is a match in both tables based on the specified condition.

  • Left join: Returns all rows from the left table and the matched rows from the right table. If there is no match, NULL values are returned.

  • Right join: Returns all rows from the right table and the matched rows from the left table. If there is no match, NULL values are returned.

  • Cross j...read more

Add your answer

Q2. give a table teams with only one columns teamname each team play with each other ones

Ans.

Create a table with team names where each team plays with each other once.

  • Create a table teams with column teamname

  • Insert team names into the table

  • Use a combination of team names to represent matches

Add your answer

Q3. explain row_number, rank, dense_rank with exmaple ..

Ans.

row_number assigns a unique sequential integer to each row, rank assigns a unique rank to each row with gaps, dense_rank assigns a unique rank to each row without gaps.

  • row_number assigns a unique sequential integer to each row in the result set

  • rank assigns a unique rank to each row in the result set with gaps between ranks

  • dense_rank assigns a unique rank to each row in the result set without any gaps

Add your answer

Q4. departmnet wise highest salary, and then 5 highest salary

Ans.

To find department wise highest salary and then 5 highest salaries, use SQL queries with GROUP BY and ORDER BY clauses.

  • Use SQL query with GROUP BY clause to get department wise highest salary

  • Use ORDER BY clause to get 5 highest salaries overall

Add your answer
Discover Kaavyaratna Group interview dos and don'ts from real experiences

Q5. what are indexs and types of indexs

Ans.

Indexes are data structures that improve the speed of data retrieval operations in a database. There are different types of indexes.

  • Indexes are used to quickly locate data without having to search every row in a database table.

  • Types of indexes include clustered indexes, non-clustered indexes, unique indexes, and composite indexes.

  • Clustered indexes physically reorder the data in the table based on the index key.

  • Non-clustered indexes store a separate copy of the indexed columns...read more

Add your answer

Q6. explain Types of join

Ans.

Types of joins in SQL are Inner Join, Left Join, Right Join, and Full 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 Join: Returns rows when there is a match in either table.

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Kaavyaratna Group

based on 1 interviews
Interview experience
5.0
Excellent
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
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