mysql-error-1055 Questions

33

Solved

I'm using MySQL 5.7.13 on my windows PC with WAMP Server. My problem is while executing this query SELECT * FROM `tbl_customer_pod_uploads` WHERE `load_id` = '78' AND `status` = 'Active' GROUP BY ...
Homework asked 27/1, 2017 at 5:27

14

Solved

my Query : select libelle,credit_initial,disponible_v,sum(montant) as montant FROM fiche,annee,type where type.id_type=annee.id_type and annee.id_annee=fiche.id_annee and annee = year(current_ti...
Plumbo asked 21/6, 2016 at 18:16

10

Solved

I have been having issues switching to an offline version of the Lahman SQL baseball database. I was using a terminal embed into an EDX course. This command runs fine on the web terminal: SELECT c...
Emissary asked 24/3, 2016 at 18:3

18

Solved

I have upgraded my system and have installed MySql 5.7.9 with php for a web application I am working on. I have a query that is dynamically created, and when run in older versions of MySQL it works...
Soricine asked 6/12, 2015 at 7:42

4

Solved

I have a problem with my query and mysql throws the following error: #1055 - Expression #66 of SELECT list is not in GROUP BY clause and contains nonaggregated column 's.status' which is not fun...
Talkathon asked 1/8, 2016 at 18:1

3

Solved

Since updating MySQL I've noticed the following query fails SELECT u.*, p.name as plan, COUNT(u.id) as totalprojects FROM users u LEFT JOIN plans p ON p.id = access LEFT JOIN maps m ON m.user_id =...
Mid asked 19/10, 2016 at 15:41

5

Solved

The site produces results, but with SELECT COUNT and SELECT query with GROUP BY having two different result counts. This is likely due to the error that is displaying in phpmyadmin but not on the s...
Cask asked 12/9, 2014 at 3:47

1

Solved

I have a basic key-value table, that has some data in it for each user. With the updated mysql it has the sql_mode set to only_full_group_by (new default) when you do a group by. When I try to run ...
Psychogenesis asked 16/12, 2017 at 21:32

5

Solved

I'm updating an old website and one of the queries isn't working anymore: SELECT * FROM tbl WHERE col1 IS NULL GROUP BY col2 ORDER BY col2 I noticed if I dropped the GROUP BY it works, but the r...
Knit asked 7/12, 2017 at 18:24

3

This might be obvious, and I may be completely missing the point, but I've got a table which contains multiple rows with user_id, site_id, e.g. ldstaff | ld_site ____________________ 3 1 3 2 4 ...
Ilse asked 23/9, 2016 at 10:12

3

Solved

I'm trying to figure out without disabling "only_full_group_by" in my.ini here is my query: SELECT p.title, COUNT(t.qty) AS total FROM payments t LEFT JOIN products AS p ON p.id = t.item...
Emarie asked 5/2, 2017 at 19:44

3

Solved

currently im working with mysql 5.7 in development, and 5.6 in production. Each time i run a query with a group by in development i get some error like "Error Code: 1055. Expression #1 of SELECT li...
Nette asked 7/5, 2016 at 13:47

2

Receiving the following error: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'world.country.Code' which is not functionally dependent on columns in...
Goer asked 21/1, 2016 at 0:27
1

© 2022 - 2024 — McMap. All rights reserved.