SELECT * FROM Songs WHERE Songs.Artist LIKE ? OR Songs.Artist LIKE '? #### s/%/%%/ for $artist1, $artist2; $dbh->execute("%$artist1%", "%$artist2%");