Ntile Bigquery, I have a table with user_id, order_id, date and order amount.