select Posts.Id, DateDiff(second,GetDAte(),Posts.Creati...


Please login or register to vote for this query.

(click on this box to dismiss)


Q&A for committed Christians, experts in Christianity and those interested in learning more

--select Top 10 Tags, CreationDate from Posts
--where year(CreationDate)='2017';
--select Tags from Posts;

--select Id, (year(GetDate())-year(CreationDate)) as Age from Users;
--select ID, DateDiff(yy,GetDAte(),CreationDate) as Age from Users
--group by Age;

select Posts.Id, DateDiff(second,GetDAte(),Posts.CreationDate) as DiffSec from Posts
Inner Join TagSynonyms
on Posts.OwnerUserId= TagSynonyms.OwnerUserId

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results