HR Question, Java Question, Asp.Net Question, C and C++ Question, SAP, Web Services, Window and XML Question

Joins can be categorized as:
•    Inner joins (the typical join operation, which uses some comparison operator like = or <>). These include equi-joins and natural joins.
Inner joins use a comparison operator to match rows from two tables based on the values in common columns from each table. For example, retrieving all rows where the student [...]

Single row SELECTs.

Use DECLARE CURSOR statement either in working storage or in procedure division (before open cursor), to specify the SELECT statement.  Then use OPEN, FETCH rows in a loop and finally CLOSE.

If there is an ORDER BY clause, rows are fetched, sorted and made available for the FETCH statement. Other wise simply the cursor is placed on the first row.

« Previous Question                            

 Subscribe in a reader