+ " `warehouse` as `warehouse` "
+ "where `warehouse`.`stores_id` = `store`.`store_id` "
+ "group by `store`.`store_type`";
SqlPattern[] patterns = {
new SqlPattern(
Dialect.DatabaseProduct.LUCIDDB,
loadCountDistinct_luciddb1,
loadCountDistinct_luciddb1),
new SqlPattern(
Dialect.DatabaseProduct.LUCIDDB,
loadCountDistinct_luciddb2,
loadCountDistinct_luciddb2),
new SqlPattern(
Dialect.DatabaseProduct.LUCIDDB,
loadOtherAggs_luciddb,
loadOtherAggs_luciddb),
new SqlPattern(
Dialect.DatabaseProduct.DERBY,
loadCountDistinct_derby1,
loadCountDistinct_derby1),
new SqlPattern(
Dialect.DatabaseProduct.DERBY,
loadCountDistinct_derby2,
loadCountDistinct_derby2),
new SqlPattern(
Dialect.DatabaseProduct.DERBY,
loadCountDistinct_derby3,
loadCountDistinct_derby3),
new SqlPattern(
Dialect.DatabaseProduct.DERBY,
loadOtherAggs_derby,
loadOtherAggs_derby),
new SqlPattern(
Dialect.DatabaseProduct.MYSQL,
load_mysql,
load_mysql),
};