I m getting an error as when I compiled the below code as alias required in select list of the cursor.

```
   Create Or Replace PROCEDURE pr_no_debit is
     Cursor c_Today(From_date date, To_Date date) is
     Select Today from sttm_dates where today between From_Date and To_Date;

        cursor c_no_debit is
      Select a.* , b.* from STTM_NO_DEBIT_customer a , STTM_FIN_CYCLE b where a.Fin_Cycle = b.Fin_Cycle ;

   l_No_Debit_List   STTM_NO_DEBIT_CUSTOMER%ROWTYPE;

   begin
     For i_indx in c_Today(l_No_Debit_List.From_Date,l_No_Debit_List.To_Date) 
       Loop  
         for j_indx in c_no_debit 

     loop

       update sttm_cust_account set ac_stat_no_Dr='Y' where account_class=j_index.account_class;
     end loop;

   End Loop;

     -- At the end of the period Change No_Debit to 'N'

   End pr_no_debit;  

```