function orderTotal(order_number){
  return db.one(`SELECT groceries.orders.order_number, order_date, SUM(groceries.items.price)
  FROM groceries.items, groceries.orders
  WHERE groceries.orders.item = groceries.items.product_id
  AND groceries.orders.order_number = $1 GROUP BY groceries.orders.order_number, groceries.orders.order_date`, order_number);
}
//Order total for a specific order:
Order total for a specific order.
Order total for a specific order .
function orderTotal(order_number){
  return db.one(`SELECT groceries.orders.order_number, order_date, SUM(groceries.items.price)
  FROM groceries.items, groceries.orders
  WHERE groceries.orders.item = groceries.items.product_id
  AND groceries.orders.order_number = $1 GROUP BY groceries.orders.order_number, groceries.orders.order_date`, order_number);
}
function orderTotal ( order_number ) { return db . one ( ` ` , order_number ) ; }
Order total for a specific order:
Order total for a specific order :