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.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Need Help in Oracle Query

Author  Topic 

Gazillionaire
Starting Member

4 Posts

Posted - 2011-10-10 : 09:33:27
I have a department and employee table. I want all employees group by deparment.

Output like this in crystal report. Any Help guys??

DeptNo: 22 DeptName : Accounts

----------------------------------------

EmpId EmpName

1. John

2. sam

3. Anna

DeptNo: 23 DeptName: Adminstration

-------------------------------------------

EmpId EmpName

1. Gary

2. Noel

DeptNo: 24 DeptName: Finance

-------------------------------------------

EmpId EmpName

1. Brad

2. heather

DeptNo: 25 DeptName: I.T

-------------------------------------------

EmpId EmpName

1. Jamal

Thanks

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2011-10-10 : 09:36:10
try post in a oracle forum. SQLTeam is on Microsoft SQL Server


KH
[spoiler]Time is always against us[/spoiler]

Go to Top of Page
   

- Advertisement -