2 つのテーブルがA
あり、列を使用して結合し、そこから 3 番目のテーブルを作成B
したいと考えています。
私はこのクエリを実行しました:id
C
create table C select * from ( A left join B using (id))T;
しかし、それはエラーを出しています:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'T' at line 1
エラーが発生する理由がわかりません。