Baselight
Sign In
Loading...Loading chart...
1SELECT 
2  "smoker", 
3  AVG("tip" / "total_bill" * 100) AS percent_tip
4FROM @kaggle.saurabhbadole_restaurant_tips_dataset.tips
5GROUP BY "smoker"
6
smokerpercent_tip
Yes16.3196044636878
No15.932846217921526

Share link

Anyone who has the link will be able to view this.