Guest User

Untitled

a guest
Aug 20th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.36 KB | None | 0 0
  1. CREATE OR REPLACE TRIGGER aktualizuj_srednia
  2. BEFORE INSERT OR UPDATE ON wojtek_ocena
  3. FOR EACH ROW
  4. DECLARE
  5.   p_id_semestru wojtek_semestr.id_semestru%TYPE;
  6.   p_id_realizacji wojtek_realizacja.id_realizacji%TYPE;
  7.   p_nr_leg wojtek_srednia.nr_leg%TYPE;
  8.   p_srednia wojtek_srednia.srednia%TYPE;
  9. BEGIN
  10.  
  11.   INSERT INTO wojtek_srednia VALUES(2351,'12L', 4);
  12.  
  13. END;
Add Comment
Please, Sign In to add comment