20 | | LEFT OUTER JOIN |
21 | | "nakhll_market_product" ON ("nakhll_market_shop"."ID" = "nakhll_market_product"."FK_Shop_id") |
22 | | WHERE ("nakhll_market_shop"."Available" AND "nakhll_market_shop"."Publish") |
23 | | GROUP BY "nakhll_market_shop"."ID" HAVING COUNT("nakhll_market_product"."ID") > 1 |
24 | | ORDER BY RANDOM() |
| 20 | LEFT OUTER JOIN |
| 21 | "nakhll_market_product" ON ("nakhll_market_shop"."ID" = "nakhll_market_product"."FK_Shop_id") |
| 22 | WHERE ("nakhll_market_shop"."Available" AND "nakhll_market_shop"."Publish") |
| 23 | GROUP BY "nakhll_market_shop"."ID" HAVING COUNT("nakhll_market_product"."ID") > 1 |
| 24 | ORDER BY RANDOM() |