PDOStatement::fetchColumn — Returns a single column from the next row of a result set
طبق دایکیومنت PHP این متد میاد طبق ورودی int اولین ستون (n + 1) رو بر میگردونه و اگر اون ستون نباشه false برمیگردونه
توجه شما رو به مثال زیر جلب میکنم
$sth = $dbh->prepare("SELECT name, colour FROM fruit");
$sth->execute();
print("Fetch the first column from the first row in the result set:\\n");
$result = $sth->fetchColumn(); // inja ma chizi behesh pass nadadim va avalin sotoon bar migardeprint("name = $result\\n");
print("Fetch the second column from the second row in the result set:\\n");
$result = $sth->fetchColumn(1); // inja ma 1 behesh pass nadadim va dovomin sotoon bar migardeprint("colour = $result\\n");