時間:2023-03-17 16:20:01 | 來源:電子商務
時間:2023-03-17 16:20:01 來源:電子商務
在線旅游電商數(shù)據(jù)分析二三事SELECT a.*, (@i :=@i + 1) AS 'id'FROM oneday1108 a, (SELECT @i := 0)bORDER BY capture_time;
新表結構如下圖:SELECT product, sales, product_showprice, supplyFROM oneday1108WHERE sales>0ORDER BY sales DESC;
SELECT 1108new_id.id, 1108new_id.product as '線路', 1108new_id.sales as '1108銷量', oneday1020.sales as '1020銷量', (oneday1020.sales - 1108new_id.sales) as '國慶增量', round((oneday1020.sales - 1108new_id.sales)/7) as '國慶日增銷量', round(1108new_id.sales/30) as '平時日均銷量', 1108new_id.product_showprice as '線路最低價', 1108new_id.supply as '供應商', oneday1020.product as '曾用線路名'FROM 1108new_idJOIN oneday1020 ON(oneday1020.product_link = 1108new_id.product_link)WHERE 1108new_id.sales>0ORDER BY (oneday1020.sales - 1108new_id.sales) DESC;
oneday1020是10月20日爬取的數(shù)據(jù)表select count(case when product_showprice >1000 then 1 end) as '大于1000',count(case when product_showprice between 900 and 999 then 1 end) as '900-999',count(case when product_showprice between 800 and 899 then 1 end) as '800-899',count(case when product_showprice between 700 and 799 then 1 end) as '700-799',count(case when product_showprice between 600 and 699 then 1 end) as '600-699',count(case when product_showprice between 500 and 599 then 1 end) as '500-599',count(case when product_showprice between 400 and 499 then 1 end) as '400-499',count(case when product_showprice between 300 and 399 then 1 end) as '300-399',count(case when product_showprice between 200 and 299 then 1 end) as '200-299',count(case when product_showprice between 100 and 199 then 1 end) as '100-199',count(case when product_showprice <100 then 1 end) as '99以下'from 1108new_id;
99以下的低質特價團有不少,線路價格主要集中在100-400之間。select sum(case when product_showprice >1000 then sales end) as '大于1000',sum(case when product_showprice between 900 and 999 then sales end) as '900-999',sum(case when product_showprice between 800 and 899 then sales end) as '800-899',sum(case when product_showprice between 700 and 799 then sales end) as '700-799',sum(case when product_showprice between 600 and 699 then sales end) as '600-699',sum(case when product_showprice between 500 and 599 then sales end) as '500-599',sum(case when product_showprice between 400 and 499 then sales end) as '400-499',sum(case when product_showprice between 300 and 399 then sales end) as '300-399',sum(case when product_showprice between 200 and 299 then sales end) as '200-299',sum(case when product_showprice between 100 and 199 then sales end) as '100-199',sum(case when product_showprice <100 then sales end) as '99以下'from 1108new_id;
同價格下,銷量和線路成正比,參加99以下的特價團人不少,不過參加200-299的游客人數(shù)比較多,這個價位的旅游線路基本上是純玩的高性價比線路。說明在價格合適的情況下,大多數(shù)人還是愿意參團品質較好的旅游線路。關鍵詞:分析,數(shù)據(jù),旅游
微信公眾號
版權所有? 億企邦 1997-2025 保留一切法律許可權利。