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 |
|
ssenthilnathan20
Starting Member
2 Posts |
Posted - 2009-04-28 : 08:43:34
|
| hi I have table select E.FullName,E.DepartmentID,S.NoOfWorkingDays,F.Percentage,S.CalculatedAmount from Employee E left join T5052_P009 S on E.EmployeeID=S.EmployeeID left join T5052_C010 F onE.EmployeeID=F.EmployeeID WHERE (E.CompanyID = 1) AND ( E.EmployeeId in ( 145, 190, 203, 204, 239, 258, 259, 261, 262, 306, 308, 309, 416, 417 )) group by E.DepartmentID,E.FullName,S.NoOfWorkingDays,F.Percentage,S.CalculatedAmount Execute query output below likeBen Miller 29 NULL NULL NULLDavid Bradley 29 NULL NULL NULLEric Hagins 29 NULL NULL NULLEric Kurjan 29 NULL NULL NULLFrank Pellow 29 NULL NULL NULLFukiko Ogisu 29 NULL NULL NULLGail Erickson 29 NULL NULL NULLGordon Hee 29 NULL NULL NULLJae Pak 29 NULL NULL NULLJian Shuo Wang 29 NULL NULL NULLJohn Wood 29 NULL NULL NULLJossef Goldberg 29 NULL NULL NULLdasda dadasda 31 NULL NULL NULLqeqeq eqweqe 45 NULL NULL NULLbut i want deptId = 29Ben Miller 29 NULL NULL NULLDavid Bradley 29 NULL NULL NULLEric Hagins 29 NULL NULL NULLEric Kurjan 29 NULL NULL NULLFrank Pellow 29 NULL NULL NULLFukiko Ogisu 29 NULL NULL NULLGail Erickson 29 NULL NULL NULLGordon Hee 29 NULL NULL NULLJae Pak 29 NULL NULL NULLJian Shuo Wang 29 NULL NULL NULLJohn Wood 29 NULL NULL NULLJossef Goldberg 29 NULL NULL NULLdeptId = 31dasda dadasda 31 NULL NULL NULLdeptId = 45qeqeq eqweqe 45 NULL NULL NULL |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2009-04-28 : 09:31:10
|
It is very easy to do in your reporting application. E 12°55'05.63"N 56°04'39.26" |
 |
|
|
ssenthilnathan20
Starting Member
2 Posts |
Posted - 2009-04-29 : 00:52:23
|
quote: Originally posted by Peso It is very easy to do in your reporting application. E 12°55'05.63"N 56°04'39.26"
give me sample |
 |
|
|
|
|
|
|
|