I have below 2 table in dyanmodb
users1
| ID | name | rollno |
|---|---|---|
| First-4 | First | 4 |
| Second-2 | Second | 2 |
users2
| ID | name | rollno |
|---|---|---|
| First-4 | First | 4 |
| Fourth-2 | Fourth | 2 |
so if we compare users1 and users2 we should get the values which are present in both table so it will return
| ID | name | rollno |
|---|---|---|
| First-4 | First | 4 |
In dyamodb How can I achieve it using node js sdk lambda.