DBAsupport.com Forums - Powered by vBulletin
Results 1 to 7 of 7

Thread: need help with grouping sets in sql - oracle

Threaded View

  1. #2
    Join Date
    Jan 2001
    Posts
    2,828
    Hi

    grouping sets (customer_id, sales_rep_id, extract(year from order_Date))

    shouldnt it also be

    grouping sets (customer_id, sales_rep_id, extract(year from order_Date),
    order_totals,orders
    )

    and whatever other combinations you desire

    regards
    Hrishy
    Last edited by hrishy; 08-16-2007 at 06:14 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width