select a.id,b.phone
from a
right join b
on a.id=b.emp_id
where a and b is table
very basic code which we use offten in our day to day development and sometime we stucked . i write those issue here with simple solution. You will get codes of html, css, javascript, jquery, json,ajax, node.js, vue.js, nuxt.js, php and Mysql
| inserted Id |
| 2 |
| 5 |
| 4 |
| 3 |
| inserted Id |
| 1 |
| 2 |
| 3 |
| 4 |