FiltredPreparedStatement fps = null;
ResultSet rs = null;
try
{
tc = L2DatabaseFactory.getInstance().getConnection();
fps = tc.prepareStatement("SELECT cha.char_name, cha.sex, cha.onlinetime, cha.pkkills, cha.pvpkills, cha.online FROM characters cha, olympiad_nobles oly WHERE cha.obj_Id = oly.char_id ORDER BY cha.pvpkills DESC LIMIT 20");
rs = fps.executeQuery();
StringBuilder sb = new StringBuilder();
sb.append("<table width=650>");
sb.append("<tr><td><center>ТОП 20 Дворян");
sb.append("<img src=L2UI.SquareWhite width=450 height=1>");