I'm trying to display on SQL a table where the 1st table still the same but with the 2nd table the foreign key of this table will help to no show the foreign key on the fist table.
Here's my tables,

**Table Login**

```
ID(foreign key), Username,Password,Level
-----------------------------------------
1,               test,    test,    Client
7,               ClientU, ClientP, Client

```

**Table Friends**

```
ID_User,ID_Friends
------------------
7,      1

```

My request is like when I put on a jsp page a table to no have the possibilities to add the same user again and over. Is it possible with an SQL command to display 0 lines if Login.ID = Friends.ID\_User are equals that they don't show up. It will help on my JSP page.

Thanks in advance