id | name | status | age | 1 | danny | single | 20 | 2 | marlon | married | 38 | 3 | paul | single | 25 |
id | name | educational level | status | 1 | danny | undergraduate | single | 2 | marlon | college graduate | married | 3 | paul | college graduate | married |
id | name | status | 1 | danny | single | 2 | marlon | married| 3 | paul | married|
SELECT t1.id, t1.[name], t2.status FROM FirstTable AS t1 INNER JOIN SecondTable AS t2 ON t1.id = t2.id
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)