| joins and rollup [message #399294] |
Tue, 21 April 2009 08:34  |
rohitupgzp
Messages: 11 Registered: August 2008
|
Junior Member |
|
|
I have two files say emp (empid,ename)
and empwork (empid,projectid,workinghours,amount)
I want third out put as
empid,name, projectid, sum(amount),sum(workinghours)
Can anyone help me with what components should be used and in what order.
Regards
Rohit Sinha
|
|
|
|
|
|
| Re: joins and rollup [message #399748 is a reply to message #399570] |
Thu, 23 April 2009 21:41  |
 |
Kevin Meade
Messages: 2103 Registered: December 1999 Location: Connecticut USA
|
Senior Member |
|
|
Pick up a book about sql and learn it. SQL for Dummies comes to mind.
I am not attempting to diss you, this is a real book and an easy introduction to the language. It will cover exactly what you have asked.
Good luck, Kevin
|
|
|
|