This is what I came up with but it seems broken
Select Firstname+' '+Lastname As [Firstname Lastname]
,x.synctime As [Nestle Synctime]
,Sum(Durationinminutes) As [Duration In Minutes]
From Tpeople p
Join Tsynclog sl On sl.People_Id = p.Id
join (
select people_id, max(synctime) as synctime
from...
I have a big presentation tomorrow and I have a query I'm trying to
make a little more presentable. (filtering data)
Tables:
--tpeople
--tsynclog
The query:
select Firstname+' '+Lastname as [FirstName LastName],synctime as
[Nestle synctime],sum(DurationInMinutes)
from tpeople
join tsynclog...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.