/* Write a query to find all duplicate jobs in the People table */ select count(*) from People p1 join People p2 on p1.Job = p2.job and p1.FirstName <> p2.FirstName; /* Write a query to find all duplicate FirstName, and Job values in the People table and number of duplicates */ with cte as( select row_number() over(order by FirstName, job) as num, FirstName, job from People ) select count(*) from cte p1 join cte p2 on p1.Job = p2.job and p1.FirstName = p2.FirstName and p1.num <> p2.num; /* Write a query to find all duplicate First Names with different jobs in the People table */ select p1.FirstName from People p1 join People p2 on p1.Job < p2.job and p1.FirstName = p2.FirstName;
Sr Engineer Interview Questions
109,013 sr engineer interview questions shared by candidates
Since you've quit your previous job, do you consider yourself jobless?
If you're only given the data without knowing anything about the dataset, how would build a machine learning model from it?
Summing up the individual digits for each number from 0 to k (0<=k<=10000000), return how many times the most common sum occurs. Examples: k=10 gives 2 (since 1 and 10 both sum up to 1) k=50 gives 6 (since 5, 14, 23, 32, 41, 50 all sum up to 5) k=7777 gives 555
console.log("1"==1<5>false)
Selenium , Java , Code Test , and Then Project Related .
How do you deal with ambiguity?
Is your work slow-paced or fast-paced?
Round a floating point number to the nearest integer. Do not use any helper functions.
Are you available next week for an interview ?
Viewing 531 - 540 interview questions