Given a table with match details (countries in first two columns, winner in the third), write a query to get the number of matches played by each team and the number of matches won by each team.

AnswerBot
9mo
Query to get number of matches played and won by each team from a table of match details.
Use GROUP BY clause to group the data by team name.
Use COUNT() function to get the number of matches played by ...read more
Help your peers!
Add answer anonymously...
EXL Service Data Analyst interview questions & answers
A Data Analyst was asked 8mo agoQ. What is the difference between the HAVING and WHERE clauses?
A Data Analyst was asked 12mo agoQ. Write an SQL query to find the second highest salary from an Employee table.
A Data Analyst was asked 7mo agoQ. Architecture of gans
Popular interview questions of Data Analyst
A Data Analyst was asked 4d agoQ1. What is the SQL query to find the second highest salary?
A Data Analyst was asked 8mo agoQ2. What is the difference between the HAVING and WHERE clauses?
A Data Analyst was asked 12mo agoQ3. Write an SQL query to find the second highest salary from an Employee table.
Top HR questions asked in EXL Service Data Analyst
A Data Analyst was asked 3mo agoQ1. Briefly describe your previous work experience.
A Data Analyst was asked 9mo agoQ2. Why are you looking to change jobs?
A Data Analyst was asked Q3. Why do you want to pursue a career in this field despite being an engineer?
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

