Fetch an entire row from the employees table for a specific
employee ID:
Answers were Sorted based on User's Feedback
select * from employees where employee_id='1381';
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / 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 |
3. Select sum(a) sum_1,max(a) max_1 ,count(a) count_1 from ( ( select 1 a from dual union all Select to_number(‘2011’) a from dual union all select 1 a from dual) union select 2 b from dual);
Do prepared statements prevent sql injection?
What is materialized view in sql?
What is a column in a table?
What is nosql vs sql?
i want insert 10 records from table a to table b. if i m using statement level trigger how many record insert ?in row level trigger how many record inserted???
3 Answers Scope International,
Initially question was asked to mention the types of indexes. Then asked about BITMAP INDEX and B-Tree Index
What is the difference between view and stored procedure?
How can u find column name from a table which have max value in a row.( not max value)
how can stop the sequence with mention the max value and with out mention the max value
Can I copy :old and :new pseudo-records in/to an oracle stored procedure?
What is an alias command?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)