Access INSERT with nested SELECT

前端 未结 2 642
梦毁少年i
梦毁少年i 2021-01-15 06:02

Why does the following SQL statement not work?

INSERT INTO dialog (speaker, dialog_text) VALUES (
    (
        SELEC         


        
2条回答
  •  礼貌的吻别
    2021-01-15 06:41

    Following works:

       INSERT INTO dialog (speaker, dialog_text) 
                SELECT FIRST(id), "Some text"
                FROM FIGURE
                WHERE char_name="Doe" AND forename="John"
    

提交回复
热议问题