Quoth Igor Tandetnik <itandet...@mvps.org>, on 2010-12-12 10:30:24 -0500:
> Make it
> 
>   INSERT INTO "cast" (titleID, castID)
>   VALUES
>     ((SELECT titleID FROM titles WHERE title = 'Alien'),
>      (SELECT artistID FROM artists WHERE lastname = 'Weaver'));
> 
> Note the added VALUES keyword.

Oh yes.  D'oh!  I think I accidentally hit kill-word before sending;
sorry about that.  (The other response about the table definitions is
useful too.)

   ---> Drake Wilson
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to