MySQL : #1054 – Unknown column 'messages.app_id' in 'on clause'
I got this MySQL query, I need to join both tables apps and contacts, but I am getting this error: MySQL said: Documentation #1054 - Unknown column 'messages.app_id' in 'on clause' My query: SELECT `messages`.*, ( SELECT COUNT(*) FROM messages…