I've got this assignment where I've got a huge dataset of arrest records from several decades ago, and I'm supposed to use it to make inferences about homelessness somehow. The arrest records are in a database, jail.db. There's also a list of homeless shelters in a separate csv file in another folder, but not in the database. I'm trying to get a count of how many arrest records in jail.db have addresses that match addresses in addresses.csv. All the data is on a remote server with no more storage on it, and is read-only. So I'm trying to find a way to pipe the addresses from addresses.csv into a select WHERE query, either in sql directly or by piping with bash. But my linux is rusty and I have no fucking clue about sql, really. Is there a way to do this? Or another inroad to the problem that makes more sense?