MySQL server has gone away SQL=SELECT
tl.id AS projectteamid,
tl.team_id,
tl.picture projectteam_picture,
tl.project_id,
t.id,
t.name as team_name,
t.short_name,
t.middle_name,
t.club_id,
t.website AS team_www,
t.picture team_picture,
c.name as club_name,
c.address as club_address,
c.zipcode as club_zipcode,
c.state as club_state,
c.location as club_location,
c.email as club_email,
c.logo_big,
c.logo_small,
c.logo_middle,
c.country as club_country,
c.website AS club_www,
CASE WHEN CHAR_LENGTH( t.alias ) THEN CONCAT_WS( ':', t.id, t.alias ) ELSE t.id END AS team_slug,
CASE WHEN CHAR_LENGTH( c.alias ) THEN CONCAT_WS( ':', c.id, c.alias ) ELSE c.id END AS club_slug
FROM jos_joomleague_project_team tl
LEFT JOIN jos_joomleague_team t ON tl.team_id = t.id
LEFT JOIN jos_joomleague_club c ON t.club_id = c.id
LEFT JOIN jos_joomleague_division d ON d.id = tl.division_id
LEFT JOIN jos_joomleague_playground plg ON plg.id = tl.standard_playground
WHERE tl.project_id = 35 ORDER BY t.name
NO ITEMS