今天网上折腾了好久,终于把google的这个高亮插件给整上了,下面是SQL语句高亮的效果,不错吧 嘎嘎
SELECT year, product_name, customer_city, SUM(order_amount), COUNT(*) FROM sales_order_fact a , date_dim b , product_dim c , customer_dim d WHERE a.order_date_sk = b.date_sk AND a.product_sk = c.product_sk AND a.customer_sk = d.customer_sk GROUP BY year, product_name, customer_city ORDER BY year, product_name, customer_city ;
阅读全文