finished select,where,joins,from in the orm