I am trying to build a table that lists products by their material number and their desecription. I am pulling this information from another table. My problem is I am getting mulitple Material Numbers with the same description.
Here is my query:
create table pricing
select distinct material_num, product_group, amt_charged, sales_org from daily_order_summary
where quantity = 1
and material_num is not null;
Is there a way to get just 1 material number? I thought by using the Distinct function this would allow me to do this.
Thanks!
Bill
Here is my query:
create table pricing
select distinct material_num, product_group, amt_charged, sales_org from daily_order_summary
where quantity = 1
and material_num is not null;
Is there a way to get just 1 material number? I thought by using the Distinct function this would allow me to do this.
Thanks!
Bill