I'm trying to Select all records from table A which does not exist in table B for Current user.
In fact, I have a project that get banner from table A and show to user, Then i insert this activity to table B (see log) That I whould not like show a Repetitious banner to a user.
Table A (banners):
+-----------+
| bannerKey |
+-----------+
| x7y3 |
| r2s4 |
| j6n2 |
+-----------+
Table B (see log):
+-----------++----------+
| bannerKey || userName |
+-----------++----------+
| x7y3 || jack |
| j6n2 || Chris |
| r2s4 || Nicola |
| j6n2 || Allen |
| j6n2 || Nicola |
+-----------++----------+
So, How can i get a record from table A for current user that The current user, don't see this post in past?