a department table an employee table
how to query a department where all employees
select e from Employee e where e.dept.id =?
write right ?
------ Solution ---------------------------------------- ----
from Employee e where e. field name = ?
did not look carefully behind you how to write, I was wrong above
The two table names posted, important fields stickers,
Again run right know about
------ Solution ------------------------- -------------------
from Employee e where e.dept.id =?
write can.
------ Solution ---------------------------------------- ----
from Employee as e where e.dept.id =? try.
------ For reference only -------------------------------------- -
from Employee e where e.dept.id = ?
right know about running
没有评论:
发表评论