Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有桌子:
Credit_account ============== Acid int (PK)(AI) Customer Id(Foreign Key ref Customer Table) Credit Account char(15);
我想插入记录为
1 2 1-2 2 3 2-3 3 1 1-3
是否有任何特定原因必须使用 select 语句?然后有一些缺失的信息。
如果必须使用 select 语句,可能是因为该表中的数据来自 JOIN。否则,您不需要多个 SELECT 语句。一个 INSERT 语句就足够了。