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
where are cookies actually stored on the hard disk? : Sql dba
What is pl/sql table? Why it is used?
What are the set operators in sql?
Why use triggers in sql?
How do I write a sql query in pgadmin 4?
Explain the advantages and disadvantages of stored procedure?
What are all the different normalization?
what is the difference between truncate and delete statement? : Transact sql
What is a constraint?
Why is %isopen always false for an implicit cursor?
What is the difference between functions, procedures, and packages in pl/sql?
How do I tune a sql query?
Define select, insert, create, delete, update, drop keywords
Can we use ddl statements in stored procedure sql server?
Does inner join return duplicate rows?