I'm having problems...
Here's the table:
Equipment
ID AMPS LINE
10 956
10 750
10 1000 795 A
20 1000
20 1200 820 A
20 956
What I need to do is find the minimum amps for each id along with the amps for the line:
ID AMPS LINE_AMPS
10 750 1000
20 956 1200
I've tried to use a subquery but got the error "You have written a subquery that can return more than one field without using the EXISTS reserved word...", then tried to return to one field and got null results.
Help!!![[sadeyes] [sadeyes] [sadeyes]](/data/assets/smilies/sadeyes.gif)
TIA![[smile2] [smile2] [smile2]](/data/assets/smilies/smile2.gif)
Wendy
Here's the table:
Equipment
ID AMPS LINE
10 956
10 750
10 1000 795 A
20 1000
20 1200 820 A
20 956
What I need to do is find the minimum amps for each id along with the amps for the line:
ID AMPS LINE_AMPS
10 750 1000
20 956 1200
I've tried to use a subquery but got the error "You have written a subquery that can return more than one field without using the EXISTS reserved word...", then tried to return to one field and got null results.
Help!!
![[sadeyes] [sadeyes] [sadeyes]](/data/assets/smilies/sadeyes.gif)
TIA
![[smile2] [smile2] [smile2]](/data/assets/smilies/smile2.gif)
Wendy