Search
 
SCRIPT & CODE EXAMPLE
 

SQL

fk in insert mysql

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’));
Comment

PREVIOUS NEXT
Code Example
Sql :: copy table in sql 
Sql :: mysql size of database 
Sql :: how to use query in nosql 
Sql :: arithmetic operators in sql 
Sql :: sql server select record with max id 
Sql :: sql unique 
Sql :: sql server set default value equal to auto increment 
Sql :: drop procedure if exists sql server 
Sql :: timestamp sql 
Sql :: postgres full text search example 
Sql :: insert data from one database table to another database table in postgresql using pgadmin 
Sql :: get size of mysql database 
Sql :: oracle sql developer 
Sql :: sql highest salary by location 
Sql :: hibernate show sql xml property 
Sql :: sql trying to delete database in use 
Sql :: mysql workbench 
Sql :: what is delete in sql 
Sql :: stored procedure data to table 
Sql :: how to get second highest salary in each department in sql 
Sql :: select multiple tables mysql 
Sql :: set a value by excuting stored procedure 
Sql :: mysql row generator 
Sql :: postgresql populate data random 
Sql :: sql where multiple values 
Sql :: Find the names of sailors who have reserved a red boat, and list in the order of age 
Sql :: redirection 301 htaccess nom de domaine 
Sql :: create a database mysql 
Sql :: function plsql 
Sql :: sql developer connect to sql server 
ADD CONTENT
Topic
Content
Source link
Name
5+9 =