select_statement
::=
"select" sql_item { "," sql_item }
"into" ( ( variable_name { "," variable_name } )
| record_name )
"from" ( table_reference { "," table_reference } )
sql_rest_of_select
This rule is call by-> cursor_body -> cursor_declaration -> cursor_loop_param -> insert_statement -> sql_statement