I've 2 table.
Table1
- Has count about 2700 rows
- Colums: ID, NO, NAME
Table2:
- Has count about 300 rows
- Colums: ID, NAME
where:
Table1.NO = Table2.ID
I want to list Table1(2700 rows) but if Table1 doesn't contain some of Table2's rows I want to write "NA"
How can i do that with SQL?