
Asked in Wipro
Write an SQL query to find the users who made purchases in 3 consecutive months within a year.

AnswerBot
1y
SQL query to find users who purchased 3 consecutive months in a year
Use a self join on the table to compare purchase months for each user
Group by user and year, then filter for counts of 3 consecutive...read more
Help your peers!
Add answer anonymously...
Top Lead Data Engineer Interview Questions Asked at Wipro
Q. How would you build an ETL pipeline to read JSON files that are irregularly drop...read more
Q. Write an SQL query using window functions to find the highest sale amount per da...read more
Q. How does Kafka work with Spark Streaming?
Interview Questions Asked to Lead Data Engineer at Other Companies
Top Skill-Based Questions for Wipro Lead Data Engineer
Big Data Interview Questions and Answers
250 Questions
Python Interview Questions and Answers
200 Questions
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

