close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Query with GROUP BY... problem with the new MySQL version 5.7

Thread began 9/12/2018 3:53 am by Mike | Last modified 9/12/2018 4:29 pm by Mike | 147 views | 4 replies


Query with GROUP BY... problem with the new MySQL version 5.7

I'm upgrading an old DataAssist website with the new version (2.2.0 beta) and I've a problem with a query with "GROUP BY" declaration.

This is the error (see screenshot):
1055 - Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'website_namedb.tbl_applications.id_applications' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

This is the query:
SELECT tbl_products.name_products, tbl_products.applications_products, tbl_products.applications_imagenew_products, tbl_products.url_products, tbl_applications.id_applications, tbl_applications.desc_it_applications, tbl_applications.desc_en_applications, tbl_applications.desc_ru_applications, tbl_applications.desc_es_applications, tbl_applications.desc_fr_applications, tbl_applications.desc_de_applications, tbl_applications.desc_ro_applications, tbl_applications.image_applications, tbl_applications.imagedett_applications, tbl_applications.imageg_applications, tbl_applications.video_applications, tbl_applications.article_applications, tbl_applications.stato_applications, tbl_applications.image_new_applications FROM tbl_products INNER JOIN tbl_applications ON tbl_products.id_products = tbl_applications.article_applications WHERE tbl_applications.stato_applications = 1 AND tbl_products.stato_products = 1 AND tbl_products.applications_products = 1 GROUP BY tbl_products.id_products ORDER BY tbl_products.name_products ASC

How can I fix it?
I'm using the last version of MySQL server (5.7).

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...