TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Adrian Reszka
NA
76
749
How to write a linq query to match this sql one ... ?
May 17 2016 3:15 AM
Hi,
Can someone help me out with writing a linq querry to match this sql one ?
SELECT
[PID_unique_ID],
min(AllocationStart) as
'start'
,
max(AllocationStart) as
'end'
,GETDATE() AS CurrentDateTime
FROM [table].[dbo].[table_name]
Where table_name.AllocationStart BETWEEN DATEADD(ww,-2,GETDATE()) AND DATEADD(ww,4,GETDATE())
Group by [PID_unique_ID]
Reply
Answers (
2
)
How to write Linq query for count salary
How to calling Get method of Sq-lite?