Complete from and where clause