Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
join1_databaser [2018-10-05 14:03]
Joakim Forsgren
join1_databaser [2018-10-05 14:33] (current)
Joakim Forsgren
Line 1: Line 1:
 ====== Databaser + enkla JOIN ====== ====== Databaser + enkla JOIN ======
 <code sql> <code sql>
-För att få GROUP BY att fungera kör följande kommando+Eventuellt måste man köra detta kommando för att få GROUP BY att fungera
 +# Får ni felet ...incompatible with sql_mode=only_full_group_by... ​kör kommandot nedan
 SET sql_mode=(SELECT REPLACE(@@sql_mode,​ '​ONLY_FULL_GROUP_BY',​ ''​));​ SET sql_mode=(SELECT REPLACE(@@sql_mode,​ '​ONLY_FULL_GROUP_BY',​ ''​));​
 </​code>​ </​code>​