|
When using IN in IBM® Unica® Interact, you can only use the value IN (value1 AND value2 . . . .) syntax.
|
Creates a new column named TEMP containing the value one.
|
Creates a new column named TEMP containing all ones.
|
Creates a new column named TEMP, where each value is a one if the corresponding row of column V1 contains a value in column V2, else a zero.
|
UPDATE movie_titles SET current_rental_price = (regular_rental_price * .9) WHERE title IN ( SELECT movie_title FROM movie_stars WHERE actor_last_name = 'Stewart' AND actor_first_name = 'James' ) ;
After the subquery produces its list of movie titles, the list is processed against the MOVIE_TITLES table and the appropriate rental prices are discounted for Philadelphia Story, It's a Wonderful Life, and so on.
|
Copyright IBM Corporation 2013. All Rights Reserved.
|