You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assert.Equal("SELECT COUNT(*) AS [count] FROM (SELECT 1 FROM [A] WHERE [ColumnA] IS NOT NULL AND [ColumnB] IS NOT NULL) AS [countQuery]",c[EngineCodes.SqlServer]);
79
+
Assert.Equal("SELECT COUNT(*) AS [count] FROM (SELECT 1 FROM [A] WHERE [ColumnA] IS NOT NULL AND [ColumnB] IS NOT NULL) AS [CountQuery]",c[EngineCodes.SqlServer]);
Assert.Equal("SELECT COUNT(*) AS [Alias] FROM (SELECT 1 FROM [A] WHERE [ColumnA] IS NOT NULL AND [ColumnB] IS NOT NULL) AS [AliasCountQuery]",c[EngineCodes.SqlServer]);
37
90
}
38
91
39
92
[Fact]
@@ -43,7 +96,7 @@ public void DistinctCount()
43
96
44
97
varc=Compile(query);
45
98
46
-
Assert.Equal("SELECT COUNT(*) AS [count] FROM (SELECT DISTINCT * FROM [A]) AS [countQuery]",c[EngineCodes.SqlServer]);
99
+
Assert.Equal("SELECT COUNT(*) AS [count] FROM (SELECT DISTINCT * FROM [A]) AS [CountQuery]",c[EngineCodes.SqlServer]);
47
100
}
48
101
49
102
[Fact]
@@ -53,7 +106,7 @@ public void DistinctCountMultipleColumns()
53
106
54
107
varc=Compile(query);
55
108
56
-
Assert.Equal("SELECT COUNT(*) AS [count] FROM (SELECT DISTINCT [ColumnA], [ColumnB] FROM [A]) AS [countQuery]",c[EngineCodes.SqlServer]);
109
+
Assert.Equal("SELECT COUNT(*) AS [count] FROM (SELECT DISTINCT [ColumnA], [ColumnB] FROM [A]) AS [CountQuery]",c[EngineCodes.SqlServer]);
0 commit comments