Fetch an entire row from the employees table for a specific
employee ID:

Answer Posted / suresh ku patra



DECLARE
l_employee employees%ROWTYPE;
BEGIN
SELECT *
INTO l_employee
FROM employees
WHERE employee_id = 138;

DBMS_OUTPUT.put_line (
l_employee.last_name);
END;


Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is timestamp in mysql? : Sql dba

571


What is the difference between partition and index?

487


what is a trigger in mysql? Define different types of trigger. : Sql dba

560


What is before and after trigger?

524


what is a field in a database ? : Sql dba

550






Why do we use partitions in sql?

549


What is the meaning of disabling a trigger?

651


What is replication id?

524


What is sql comments?

655


What is query execution plan in sql?

575


what are the differences between get and post methods in form submitting. Give the case where we can use get and we can use post methods? : Sql dba

678


Explain what is a database?

652


What is trigger types of trigger?

556


Why partition by is used in sql?

561


What operators deal with null?

613