0
计数我有两个表:比赛日期和实体框架
create table dbo.Dates (
Id int not null
constraint Dates_Id_PK primary key clustered (Id),
[DateValue] date not null
}
create table dbo.Posts (
Id int identity not null
constraint Posts_Id_PK primary key clustered (Id),
Created datetime not null,
Title nvarchar (200) not null
)
对于这些表我有日期和邮政实体。
我怎样才能得到一个表的DateValue从日期和帖子数与该日期。
我需要将日期时间创建值与DateValue日期相匹配。
谢谢
米格尔
也许我解释自己错误。我正在寻找具有所有Dates.DateValue和Posts.Cound的新表...并非特定的一个。 –