Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

displaying different entities from different tables at once

SELECT E.first_name NAME,D.department_name DNAME
FROM employees E NATURAL JOIN departments D;

FIRST_NAME DNAME
---------- ------
MILLER     DEPT 1
JOHN       DEPT 1
MARTIN     DEPT 2
EDWIN      DEPT 2
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #displaying #entities #tables
ADD COMMENT
Topic
Name
9+1 =