answer action

Can’t find an answer?

Make use of a qualified tutor to get the answer

hatano yui
0
Q:

SQL : fk in insert mysql

Features

SQL
INSERT INTO joke(joke_text, joke_date, author_id)
VALUES (‘Humpty Dumpty had a great fall.’, ‘1899–03–13’, 
        (SELECT id FROM author WHERE author_name = ‘Famous Anthony’));
1
Your Answer

Tags

New to Communities?

Join the community