Linked Questions

2 votes
3 answers
6k views

Changed the database from MySQL to MySQLI and getting the error - A Database Error Occurred Error Number: 1055 Expression #23 of SELECT list is not in GROUP BY clause and contains nonaggregated ...
sunshine's user avatar
  • 381
0 votes
1 answer
4k views

select countrycode,name, max(population) from city group by CountryCode LIMIT 0, 1000 Error Code: 1055. Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column '...
arihant singh's user avatar
0 votes
2 answers
397 views

I am trying to build a query that returns the most recent message from two joined tables. But I am getting an error on group by. Maybe I am approaching it the wrong completely. I know that in my ...
ss_matches's user avatar
0 votes
1 answer
272 views

SQL Error (1055): Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'a.room id' which is not functionally dependent on columns in GROUP BY clause; this is ...
Abood 4433's user avatar
1 vote
0 answers
238 views

I am working on the Messaging system. Using query builder, I wanna get a message list link to the specific user. There are From and To in the database, and To will be the specific user, and From will ...
Esai's user avatar
  • 224
0 votes
0 answers
144 views

I got this error when I used GROUP BY in the query below Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #2 of SELECT list is not in GROUP BY clause and ...
Richard Branson's user avatar
0 votes
0 answers
146 views

Hie, am facing problems when i try to login into my php website online ,but when i login am getting this error There is some problem in connection: SQLSTATE[42000]: Syntax error or access violation: ...
Hustlermt's user avatar
-1 votes
2 answers
105 views

I am trying to get the SUM of a column in my MySQL query SELECT pi.* , pr.EK2 , pr.EK3 , SUM(P_OrderTotal) as SUM_P_OrderTotal FROM pixi pi LEFT JOIN konditionen pr ON pi....
EOB's user avatar
  • 3,095
-1 votes
3 answers
131 views

I have this basic query` SELECT * FROM contratti GROUP BY mail In MySQL I have this error: #1055 - Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column '...
Simon's user avatar
  • 3
0 votes
1 answer
63 views

I'm trying to insert data into a table and running into a problem with using the COUNT function. The count_rentals and count_returns columns are supposed to represent the number of times a given movie ...
Alaina Sand's user avatar
0 votes
0 answers
48 views

I have three tables: A table of plays (tbl_plays), a table of possible tags (tbl_tags), and a table of applied tags (tbl_tagged) each play may have one or more tags applied to it e.g. 'Three Blind ...
zebetz's user avatar
  • 39
0 votes
0 answers
41 views

My Yii framework website was working fine until I decided to upgrade the PHP. It was 5+ version. My current environment: 1. ubuntu0.22.04.2 for Linux on x86_64 ((Ubuntu)) 2. mysql Ver 8.0.33-0 3. PHP ...
coderookie's user avatar
0 votes
0 answers
33 views

I'm working on a project where I have a query that retrieves products from a MySQL database. However, I keep encountering the following error: Expression #1 of SELECT list is not in GROUP BY clause ...
Tamilmani E's user avatar
139 votes
16 answers
511k views

I am trying to set sql_mode in MySQL but it throws an error. Command: set global sql_mode='NO_BACKSLASH_ESCAPES','STRICT_TRANS_TABLE','NO_AUTO_CREATE_USER','NO_ENGINE_SUBSTITUTION' Is this not the ...
JPro's user avatar
  • 6,606
51 votes
5 answers
101k views

I have two tables, locations and sensors. Each entry in sensors has a foreign key pointing to locations. Using Sequelize, how do I get all entries from locations and total count of entries in sensors ...
MikkoP's user avatar
  • 5,102

15 30 50 per page
1
2 3 4 5