rest of beginning sql