Warning: Creating default object from empty value in /www/htdocs/v030397/mysql-qotd/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php on line 4991
Warning: Creating default object from empty value in /www/htdocs/v030397/mysql-qotd/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php on line 4993
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/v030397/mysql-qotd/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php:4991) in /www/htdocs/v030397/mysql-qotd/wp-includes/feed-rss2-comments.php on line 8 Comments on: Question 30: Which of of the following UPDATE-statements are valid?
http://mysql-qotd.casperia.net/archives/246
mysql 5.0/5.1 questions for learning purposesFri, 06 Aug 2010 16:56:36 +0000http://wordpress.org/?v=abchourly1By: urs
http://mysql-qotd.casperia.net/archives/246/comment-page-1#comment-36
ursFri, 26 Feb 2010 19:14:13 +0000http://mysql-qotd.casperia.net/?p=246#comment-36<b>
Answers:
a b c d e
All of the updates will work.
b and e do a dependent sub-query and are probably the least effecient.
(e is actually an example how not to do it, but valid nevertheless.)
c and d use inner joins, each with a different syntax. Statement a works with a sub-query.
</b>
Answers:
a b c d e
All of the updates will work.
b and e do a dependent sub-query and are probably the least effecient.
(e is actually an example how not to do it, but valid nevertheless.)
c and d use inner joins, each with a different syntax. Statement a works with a sub-query.