The SQL below returns no result but there is one record in the table:

```
SELECT DISTINCT ul.* FROM UserLogin ul, ContactPerson cp, UserRole url, Role rl

```

If I run this query, it returns the record:

```
SELECT DISTINCT ul.* FROM UserLogin ul

```

Can you help explain this and how to make the first one work?