$sql = $con->prepare("SELECT * FROM notas A INNER JOIN comentarios B ON A.pr_id = B.id_nota ORDER BY A.pr_id DESC");