my $query = "SELECT VERSION from test.csv WHERE OS="Fedora" AND RELEASE="Stentz"; my $sth = $dbh->prepare ($query); $sth->execute;