- or download this
my $colname= 'city';
my $value= 'Toledo';
- or download this
select * from mytable where city = 'Toledo';
- or download this
my $sth= $dbh->prepare("select * from mytable where ? = ?");
... $sth->execute( $colname, $value );
- or download this
select * from mytable where 'city' = 'Toledo';