メモ
INSERT INTO テーブルA ( COL_A, COL_B)
VALUES (
'直接の値',
(SELECT COL_B FROM テーブルB WHERE 一意になる条件),
);
Go to list of users who liked
More than 5 years have passed since last update.
メモ
INSERT INTO テーブルA ( COL_A, COL_B)
VALUES (
'直接の値',
(SELECT COL_B FROM テーブルB WHERE 一意になる条件),
);
Register as a new user and use Qiita more conveniently
Go to list of users who liked