Help for this page

Select Code to Download


  1. or download this
    # could be any number of artists
    my @vals =("Artist1", "Artist2")
    # And now I build the SQL statement with placeholders based on values
    my $sql = 'SELECT * FROM Songs WHERE Songs.Artist IN (' .join (", ", m
    +ap {"?"} @vals) .')';