The problem happens only with ONLY_FULL_GROUP_BY
Error(s), warning(s):
Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'pr.sku' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
|
Variable_name |
Value |
1 |
version |
5.7.12-log |
|
skuid |
sku |
title |
barcodes |
1 |
1 |
SKU1 |
title 1 |
BC1FORSKU1
BC2FORSKU1 |
2 |
2 |
SKU2 |
title 2 |
BC1FORSKU2
BC2FORSKU2 |
3 |
3 |
SKU3 |
title 3 |
BC1FORSKU3
BC2FORSKU3 |
|
skuid |
sku |
title |
barcodes |
1 |
1 |
SKU1 |
title 1 |
BC1FORSKU1
BC2FORSKU1 |
|
λ
.NET NoSQL database for rapid development
|