Add office photos
Employer?
Claim Account for FREE

Saras Analytics

2.7
based on 33 Reviews
Filter interviews by

Al Thabath Holding Interview Questions and Answers

Updated 14 Oct 2024

Q1. Difference between Having and where clause?

Ans.

HAVING clause is used with GROUP BY to filter the results based on aggregate functions, while WHERE clause is used to filter individual rows.

  • HAVING clause is used after GROUP BY clause.

  • HAVING clause is used to filter the results based on aggregate functions like SUM, COUNT, AVG, etc.

  • WHERE clause is used before GROUP BY clause.

  • WHERE clause is used to filter individual rows based on conditions.

  • HAVING clause cannot be used without GROUP BY clause.

  • WHERE clause can be used without...read more

Add your answer

Q2. Difference between Rank and Dense rank function?

Ans.

Rank function assigns unique rank to each distinct row, while Dense rank function assigns same rank to rows with same values.

  • Rank function is used to assign a unique rank to each distinct row based on the order specified in the ORDER BY clause.

  • Dense rank function is used to assign the same rank to rows with the same values, skipping the next rank if there are ties.

  • Rank function returns consecutive ranks, while dense rank function returns consecutive ranks with no gaps.

  • Rank fu...read more

Add your answer

Q3. What is LOD in Tableau?

Ans.

LOD stands for Level of Detail. It is a technique used in Tableau to perform complex calculations on aggregated data.

  • LOD expressions allow users to compute values at different levels of detail in a visualization

  • They can be used to create custom aggregations, filters, and calculations

  • There are three types of LOD expressions: FIXED, INCLUDE, and EXCLUDE

  • FIXED LOD expressions define a level of detail that is independent of the visualization

  • INCLUDE LOD expressions add a specified ...read more

Add your answer

Q4. where and having clause difference

Ans.

The difference between WHERE and HAVING clauses in SQL.

  • WHERE clause is used to filter rows based on a condition before the data is grouped or aggregated.

  • HAVING clause is used to filter groups based on a condition after the data is grouped or aggregated.

  • WHERE clause is used with SELECT, UPDATE, DELETE statements, while HAVING clause is used with SELECT statements that include GROUP BY clause.

  • WHERE clause filters individual rows, while HAVING clause filters groups of rows.

  • WHERE...read more

Add your answer
Discover Al Thabath Holding interview dos and don'ts from real experiences

Q5. SQL: What is the difference between HAVING and WHERE? Can WHERE be replaced with HAVING?

Ans.

HAVING is used with GROUP BY to filter grouped rows, WHERE is used to filter individual rows. WHERE cannot be replaced with HAVING.

  • WHERE is used to filter individual rows before grouping, HAVING is used to filter grouped rows after grouping

  • HAVING is used in conjunction with GROUP BY clause, WHERE is used independently

  • WHERE filters rows based on conditions, HAVING filters groups based on conditions

  • Example: SELECT department, AVG(salary) FROM employees GROUP BY department HAVIN...read more

Add your answer

Q6. Aptitude: There are 2 jugs: one measures 7L and another measures 11L. How do you measure 15L?

Ans.

Fill the 7L jug and pour it into the 11L jug. Fill the 7L jug again and pour it into the 11L jug until it is full. This will leave 1L in the 7L jug. Empty the 11L jug and pour the 1L from the 7L jug into it. Fill the 7L jug again and pour it into the 11L jug. This will give you 15L in the 11L jug.

  • Fill the 7L jug and pour it into the 11L jug.

  • Fill the 7L jug again and pour it into the 11L jug until it is full.

  • This will leave 1L in the 7L jug. Empty the 11L jug and pour the 1L f...read more

Add your answer

Q7. SQL: What is the difference between UNION and UNION ALL?

Ans.

UNION combines and removes duplicates, UNION ALL combines without removing duplicates

  • UNION merges the result sets of two or more SELECT statements and removes duplicates

  • UNION ALL merges the result sets of two or more SELECT statements without removing duplicates

  • UNION is slower than UNION ALL as it involves removing duplicates

  • Example: SELECT column1 FROM table1 UNION SELECT column1 FROM table2;

  • Example: SELECT column1 FROM table1 UNION ALL SELECT column1 FROM table2;

Add your answer

Q8. Guesstimate: How many ballons can fill in an aeroplane?

Ans.

The number of balloons that can fill an airplane depends on the size of the airplane and the size of the balloons.

  • The size of the airplane (e.g. small private plane vs. commercial airliner) will greatly impact the number of balloons that can fit.

  • The size of the balloons (e.g. standard party balloons vs. large weather balloons) will also affect the total number that can be accommodated.

  • Consider the available space inside the airplane and how tightly the balloons can be packed ...read more

Add your answer

Q9. Assumptions of linear regression

Ans.

Assumptions of linear regression include linearity, independence, homoscedasticity, and normality.

  • Linearity: The relationship between the independent and dependent variables is linear.

  • Independence: The residuals are independent of each other.

  • Homoscedasticity: The variance of the residuals is constant across all levels of the independent variables.

  • Normality: The residuals are normally distributed.

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

Interview Process at Al Thabath Holding

based on 7 interviews in the last 1 year
Interview experience
3.9
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

3.9
 • 472 Interview Questions
3.5
 • 456 Interview Questions
3.8
 • 358 Interview Questions
4.4
 • 218 Interview Questions
4.0
 • 202 Interview Questions
4.3
 • 130 Interview Questions
View all
Top Saras Analytics Interview Questions And Answers
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
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

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