This is a weird imitation of SQL