SELECT * FROM raw_stock WHERE date='2002-09-23' group by token ORDER BY time
then I got this:
SELECT
list is not in GROUP BY
clause and contains non aggregated column 'db.table.table_id'
which is not functionally dependent on columns in GROUP BY
clause; this is incompatible with sql_mode=only_full_group_by
I saw answer to this here : https://stackoverflow.com/questions/41887460/select-list-is-not-in-group-by-clause-and-contains-nonaggregated-column-inc/41887524#=
but that is if you are not on shared hosting where you have the global right
This question may look like a repetition but it is not, you can Disable ONLY_FULL_GROUP_BY if you have dedicated, VPS servers own by you...but when you host your app on shared hosting the situation is not the same. If you try to Disable ONLY_FULL_GROUP_BY it will tell you, you don't have admin privileges to do so...please correct me if am wrong