SQL Queries and PL/SQL Functions Examples
SQL Queries
Find series name by episode:
SELECT s.nombre "NOMBRE SERIE"
FROM SERIE s
WHERE s.ID_CODSERIE = (
SELECT e.SERIE_ID_CODSERIE
FROM EPISODIO e
WHERE e.NOMBRE = 'la manzana madura'
);
Find actor name by character:
SELECT a.nombre "NOMBRE ACTOR"
FROM actor a
WHERE a.ID_ACTOR = (
SELECT p.ACTOR_ID_ACTOR
FROM personaje p
WHERE p.NOMBRE = 'Sheldon'
);
Find actors who won a Grammy:
SELECT a.NOMBRE "NOMBRE ACTOR", a.F_NAC "FECHA DE NACIMIENTO"
FROM ACTOR a
INNER JOIN GANA g ON a.ID_ACTOR
Oracle Database Architecture: Components and Structure
Key Components of an Oracle Database
- Control File: Contains information about physical files, the name of the database, block sizes, and information for recovery. Control files are required to open the database.
- Data File: Contains information that records end-user applications.
- Redo Log: Records all changes made to the database and the recovery status.
- Pfile and Spfile: These are settings of the System Global Area (SGA) and optional features of Oracle background processes.
Oracle Instance and Server
- An
Understanding Isometries in R2 and R3: A Comprehensive Breakdown
Understanding Isometries in R2
Theory
It retains the standard distance i = A · AT = Id. Det = +1 or -1.
Vector fix: v ∈ P associates at v ∈ P 1SI F ∈ G = Tv, then F o G also. Det H = Det G · Det F.
Equations: Tv(x, y) = (x, y). Base service: Tv = Cne · Tn · Cne-1
Note: A * I must be symmetrical.
CNE
- Find a point on the axis or plane (one that satisfies the equation).
- From the equation equal to 0, if you are caught, separate subjects. If not equal to 0, they are roofed and left all depending on