Database Engineer Interview Questions

987

Database Engineer interview questions shared by candidates

Top Interview Questions

Sort: Relevance|Popular|Date
Comscore
Database Developer was asked...February 21, 2013

How do java deal with hash collision?

4 Answers

link them

There's quite an extended back and forth in actual interviews for questions like this, so there's no real replacement for actual practice. The Prepfully Comscore Database Developer experts have actually worked in this role, so they're able to do a propermock, which really puts you through the paces and lets you assess your readiness level. prepfully.com/practice-interviews Less

By chaining

Show More Responses
Charles Schwab

Do you need sponsorship for this position?

4 Answers

No

No

no

Show More Responses
CMSS Private Limited

1.find second max salary hint using count

4 Answers

SELECT max(salary) FROM emptable WHERE salary < (SELECT max(salary) FROM emptable); Less

SELECT max(salary) FROM emptable WHERE salary < (SELECT max(salary) FROM emptable); Less

select max(Emp_Sal) from Employee a where 1 = ( select count(*) from Employee b where b.Emp_Sal > a.Emp_Sal) Less

Show More Responses
MetricStream

Remove duplicates from table

4 Answers

Using Rowid or Having clause

hdfs dfs -rm /table/duplicates

Delete from table group by empID having count(empID)>1

Show More Responses
Texas Association of Community Health Centers

How much SQL do you know.

2 Answers

Tons, over 25 years.

I answered that I used SQL for adding database data for programming a site.

Bryant Christie

They gave me a sheet of queries to write and tasks to complete in a sample database that they had built including a few "if you have time" questions, and left me to do that on my own for about a half hour before reviewing what I had done.

2 Answers

I got through all of the basic questions with close attention to detail, but did not get to the extra questions. Less

Nice that you posted great info on the position and interview, but wondering what the starting salary was? Less

Chegus Infotech

Tell about OOPS concepts in java

2 Answers

Explained all the OOPS concepts with example 1) Abstraction 2) Encapsulation 3) Inheritance 4) Polymorphism Less

They are Abstraction, Encapsulation, Inheritance, and Polymorphism. is key to understanding how Java works. Less

KLAS Research

Do you understand database normalization?

2 Answers

Honestly

No

AIR Worldwide

Table with a single field with integer value. Write a query to display the field in both ascending and descending order.

2 Answers

Customerid is one of the integer values

Select * from customers Order by customerid; Similarly, Select*from customers Order by customerid desc; Less

Genpact

What is the difference between TRUNCATE and DELETE?

2 Answers

TRUCATE deletes all the records in the table while DELETE deletes those records which follows some condition. Less

When you “ delete “ for deleting all row then your identity value start from next number When you use “truncate” for deleting all row then your Identity start from 1 Less

Viewing 1 - 10 of 987 interview questions

See Interview Questions for Similar Jobs

database analystdatabase developerdatabase administratorsql server developerdata engineerdatabase architectsql developersoftware specialistdatabase managerdatabase programmer

Glassdoor has 987 interview questions and reports from Database engineer interviews. Prepare for your interview. Get hired. Love your job.