Fixed INSERT INTO order
Started creating JOIN queries