Baselight
SELECT 
  "size", 
  AVG("tip" / "total_bill" * 100) AS percent_tip
FROM @kaggle.saurabhbadole_restaurant_tips_dataset.tips
GROUP BY "size"
sizepercent_tip
121.729201548727808
216.571919173482897
315.215685473711835
414.594900639351334
514.149548965142023
615.622920072028379

Share link

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