Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Interactive Grid Report using complex view

Shekhar ChandelJul 29 2024 — edited Jul 29 2024

How to insert data in this view using Interactive grid report in oracle apex


CREATE OR REPLACE FORCE EDITIONABLE VIEW "EMP_DEPT" ("EMPNO", "ENAME", "DEPTNO", "SAL", "DNAME", "LOC") AS
SELECT emp.empno, emp.ename, emp.deptno, emp.sal, dept.dname, dept.loc
FROM emp, dept
WHERE emp.deptno = dept.deptno;


CREATE TABLE "EMP"
( "EMPNO" NUMBER(4,0),
"ENAME" VARCHAR2(10),
"JOB" VARCHAR2(9),
"MGR" NUMBER(4,0),
"SAL" NUMBER(7,2),
"COMM" NUMBER(7,2),
"DEPTNO" NUMBER(2,0),
PRIMARY KEY ("EMPNO")
USING INDEX ENABLE
) ;

ALTER TABLE "EMP" ADD FOREIGN KEY ("DEPTNO")
REFERENCES "DEPT" ("DEPTNO") ENABLE;


CREATE TABLE "DEPT"
( "DEPTNO" NUMBER(4,0),
"DNAME" VARCHAR2(14),
"LOC" VARCHAR2(13),
PRIMARY KEY ("DEPTNO")
USING INDEX ENABLE
) ;

This post has been answered by SmithJohn45 on Jul 29 2024
Jump to Answer
Comments
Post Details