I have a table called project and another table student. I want to fetch all the details about the project and all the details of the student in that project from single query. student table has project id as foreign key.There can be many students in a project.
3条回答 默认 最新
doufuxi7093 2016-06-02 17:25关注Select p.*,s.*(for all columns) from project p, Student s inner join p.id=s.id本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报