sql where clause GUI 2