Help for this page

Select Code to Download


  1. or download this
    select max(prod_id)
    from product
    where effdt = (select max(effdt) from product)
    
  2. or download this
    insert order (prod_id, prod_cnt)
    select prod_id, count(*)
    from product
    group by prod_id