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]
Bhuvanesh MohankumarRank #310 · 8.1K reputationPosted May 17, 2016, 1:10 AM EDT
Mansi Gupta67 reputationPosted May 18, 2016, 1:17 AM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts