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
WHERE ({AssertSqlHelper.Parameter("@__ef_filter__TenantPrefix_0")} = '') OR (`c0`.`CompanyName` IS NOT NULL AND (LEFT(`c0`.`CompanyName`, LEN({AssertSqlHelper.Parameter("@__ef_filter__TenantPrefix_0")})) = {AssertSqlHelper.Parameter("@__ef_filter__TenantPrefix_0")}))
239
-
) AS `t` ON `o`.`CustomerID` = `t`.`CustomerID`
240
-
WHERE `t`.`CustomerID` IS NOT NULL AND `t`.`CompanyName` IS NOT NULL
WHERE `o0`.`Quantity` > {AssertSqlHelper.Parameter("@__ef_filter___quantity_1")}
246
-
) AS `t1` ON `t0`.`OrderID` = `t1`.`OrderID`
247
-
WHERE (({AssertSqlHelper.Parameter("@__ef_filter__TenantPrefix_0")} = '') OR ((`c`.`CompanyName` IS NOT NULL) AND (LEFT(`c`.`CompanyName`, LEN({AssertSqlHelper.Parameter("@__ef_filter__TenantPrefix_0")})) = {AssertSqlHelper.Parameter("@__ef_filter__TenantPrefix_0")}))) AND (`t1`.`Discount` < IIF(10 IS NULL, NULL, CSNG(10)))
WHERE `c0`.`CompanyName` LIKE {AssertSqlHelper.Parameter("@ef_filter__TenantPrefix_startswith")}
238
+
) AS `c1` ON `o`.`CustomerID` = `c1`.`CustomerID`
239
+
WHERE `c1`.`CustomerID` IS NOT NULL AND `c1`.`CompanyName` IS NOT NULL
240
+
) AS `s` ON `c`.`CustomerID` = `s`.`CustomerID`)
241
+
LEFT JOIN (
242
+
SELECT `o0`.`OrderID`, `o0`.`Discount`
243
+
FROM `Order Details` AS `o0`
244
+
INNER JOIN (
245
+
SELECT `o1`.`OrderID`
246
+
FROM `Orders` AS `o1`
247
+
LEFT JOIN (
248
+
SELECT `c2`.`CustomerID`, `c2`.`CompanyName`
249
+
FROM `Customers` AS `c2`
250
+
WHERE `c2`.`CompanyName` LIKE {AssertSqlHelper.Parameter("@ef_filter__TenantPrefix_startswith")}
251
+
) AS `c3` ON `o1`.`CustomerID` = `c3`.`CustomerID`
252
+
WHERE `c3`.`CustomerID` IS NOT NULL AND `c3`.`CompanyName` IS NOT NULL
253
+
) AS `s0` ON `o0`.`OrderID` = `s0`.`OrderID`
254
+
WHERE `o0`.`Quantity` > {AssertSqlHelper.Parameter("@ef_filter___quantity")}
255
+
) AS `s1` ON `s`.`OrderID` = `s1`.`OrderID`
256
+
WHERE ((`c`.`CompanyName` LIKE {AssertSqlHelper.Parameter("@ef_filter__TenantPrefix_startswith")}) AND `s1`.`Discount` < 10) AND (`s`.`OrderID` IS NOT NULL AND `s1`.`OrderID` IS NOT NULL)
0 commit comments