خرید بک لینک

Vote count: 0

I`m trying to calculate CR(Conversion Rate) of column name 'action_type'.

The column 'action_type' is allocated to string values as follows...

  • 1 : sale
  • 2 : click

So, I think the conversion rate is '(SUM(sale) / SUM(click)) * 100".

The values '1'(sale) and '2'(click) are in the same column 'action_type'.

How do I write a sql query in hive?

Thank you!

asked 2 mins ago

برچسب: نویسنده: استخدام کار تاريخ: يکشنبه 10 مرداد 1395 ساعت: 10:42

صفحه بندی