aligned sql