5.5 Numeric
5.20
select
total_amount,
tip_amount,
tip_amount /(total_amount - tip_amount) as tip_percent
from
nyc_yellow_taxi_0601_0615_2016
where
tip_amount > 0
and trip_distance > 2
limit
5
select
total_amount,
tip_amount,
tip_amount /(total_amount - tip_amount) as tip_percent
from
nyc_yellow_taxi_0601_0615_2016
where
tip_amount > 0
and trip_distance > 2
limit
5