SQL一発で取れるのは良いですね。
SELECT
id,
column1,
column2,
array(SELECT column3 FROM table2 WHERE table2.table1_id = table1.id) as culumn3
FROM
table1;
Go to list of users who liked
More than 5 years have passed since last update.
SQL一発で取れるのは良いですね。
SELECT
id,
column1,
column2,
array(SELECT column3 FROM table2 WHERE table2.table1_id = table1.id) as culumn3
FROM
table1;
Register as a new user and use Qiita more conveniently
Go to list of users who liked