My Query looks like this
SELECT Distinct tm.teamid,tm.Team_Name,CONCAT_WS(' ',tu.FirstName+' '+tu.LastName) as Leader FROM tblGameRelation tgr
LEFT JOIN tblTeam tm ON tgr.teamid = tm.teamid AND tgr.gameid = 62
LEFT JOIN tblUsersRelation tur ON tgr.typeid=tur.typeid AND tur.usertypeid=1
LEFT JOIN tblUsers tu ON tu.UserId= tur.UserId
My Problem is that when "Leader" field is Blank it should display "-" a Dash.I tried using if null but its not working, not sure if Mysql can do this, i know its possible in MSSQL SERVER