SQL Queries I have written for various classes