SELECT g.guild, tower, duration, weight, footnote, DATE_FORMAT(rung,'%W %D %M %Y') AS rungdate FROM ns_p JOIN p USING(pid) JOIN g ON p.gid=g.gid WHERE pid=1661231 LIMIT 5

id '1661231' is invalid peal id