If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
HOW DO I GROUP BY A TEXT FIELD AND SUM THE AMT..
HOW DO I GROUP BY A TEXT FIELD AND SUM THE AMT..
|
#2
|
|||
|
|||
aaae36 wrote:
HOW DO I GROUP BY A TEXT FIELD AND SUM THE AMT.. select text_column, sum(amount) as amt from table group by text_column -- MGFoster:::mgf00 at earthlink decimal-point net Oakland, CA (USA) |
#3
|
|||
|
|||
Hi there.. I am wanting to group by a text column that will contain more than
entry.. other fields will be different. and then my table contains an amount field.. I am needing to sum the amount field that has the same text in another column.... thank you and your help is greatly appreciated.. "MGFoster" wrote: aaae36 wrote: HOW DO I GROUP BY A TEXT FIELD AND SUM THE AMT.. select text_column, sum(amount) as amt from table group by text_column -- MGFoster:::mgf00 at earthlink decimal-point net Oakland, CA (USA) |
Thread Tools | |
Display Modes | |
|
|