Writing query for multiple tables in php

前端 未结 2 1985
轮回少年
轮回少年 2020-12-07 06:40

I am writing my last query for my homework, but I am stuck on it right now. This query requires me to take information from 2 tables instead of 1. I am confused on how to ge

2条回答
  •  无人及你
    2020-12-07 07:02

    A good starting point would be the PostgreSQL tutorial, in particular, joins between tables.

    You must perform an inner join between the two tables to link them together into a bigger virtual row that you can then filter and select individual columns from.

    The tutorial provides better examples than I can.

提交回复
热议问题