Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
popupsql
Starting Member
5 Posts |
Posted - 2009-09-29 : 07:31:21
|
| hello here is my query:SELECT S.SportId,S.name,SUM(F.Hours) AS "Total"FROM FFFF FINNER JOIN SPORT SON S.SportId = F.SportIdGROUP BY Hours;i get this error : ORA-00979: not a GROUP BY expression do you know how can i fix it?i want show the total hourse (SUM) of each sport tanx |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2009-09-29 : 07:32:22
|
GROUP BY S.SportId,S.name N 56°04'39.26"E 12°55'05.63" |
 |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2009-09-29 : 07:36:30
|
| also this is ms sql server forum. you may post oracle doubts in www.dbforums.com in future as solns provided here might be sql server specific |
 |
|
|
|
|
|