hello everyone:
I have some rows with all the same data except for an amount field.
for instance:
Column1:Row 1 contains "apples"
Column2:Row 1 contains "$1.00"
Column1:Row 2 contains "apples"
Column2:Row 2 contains "$2.00"
Is there an SQL statement that could go thru my table and merge Rows 1 and 2 so that I only have one row with "apples" for "$3.00".
I know that this can be done by writing a make table query and doing group bys with a sum on Column2, but I would like to just update my table and not create another one.
if any one can help me with this matter. I would greatly appreciate it.
thanks,
Matt
I have some rows with all the same data except for an amount field.
for instance:
Column1:Row 1 contains "apples"
Column2:Row 1 contains "$1.00"
Column1:Row 2 contains "apples"
Column2:Row 2 contains "$2.00"
Is there an SQL statement that could go thru my table and merge Rows 1 and 2 so that I only have one row with "apples" for "$3.00".
I know that this can be done by writing a make table query and doing group bys with a sum on Column2, but I would like to just update my table and not create another one.
if any one can help me with this matter. I would greatly appreciate it.
thanks,
Matt