wht is d/f b/w inner join and outer join ? d/f group by and order by having by ?
Answer Posted / lu
u have 2 table (a,b), u join together,u get colunms
matching it's called inner....
u have 2 tables (a,b), u select a colunm(b) doesn't exist
in a...it's called outer...
goup by using for a row...
having by using for column
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
SET is the ANSI standard for variable assignment, SELECT is not. SET can only assign one variable at a time, SELECT can make multiple assignments at once. If assigning from a query, SET can only assign a scalar value. If the query returns multiple values/rows then SET will raise an error. SELECT will assign one of the values to the variable and hide the fact that multiple values were returned (so you'd likely never know why something was going wrong elsewhere - have fun troubleshooting that one) When assigning from a query if there is no value returned then SET will assign NULL, where SELECT will not make the assignment at all (so the variable will not be changed from it's previous value) As far as speed differences - there are no direct differences between SET and SELECT. However SELECT's ability to make multiple assignments in one shot does give it a slight speed advantage over SET.
What is netezza database?
What are the 2 sqlcodes that are returned?
What does db2 plan contain?
What is dclgen (declaration generator)?
I have a subprogram B calling from mainprogram A.I have opened a cursor in A ,Can i fetch the same cursor in subprogram B , If yes , Please explain the reason?
How to execute stored procedure in db2 command editor?
What is performance tuning db2?
What is difference between isnull and coalesce?
Explain about dbrm.
What are catalog tables in db2?
What is innodb buffer pool?
Name the lockable units in DB2?
What is the physical storage length of time data type?
How do I import data from excel to db2?