Created
September 2, 2017 21:31
-
-
Save DannyFeliz/582b3d359c0916f497f75f90cd0a4862 to your computer and use it in GitHub Desktop.
JOB_GRADES TABLE - ORACLE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE job_grades ( | |
grade CHAR(1), | |
lowest_sal NUMBER(8,2) NOT NULL, | |
highest_sal NUMBER(8,2) NOT NULL | |
); | |
ALTER TABLE job_grades | |
ADD CONSTRAINT jobgrades_grade_pk PRIMARY KEY (grade); | |
INSERT INTO job_grades VALUES ('A', 1000, 2999); | |
INSERT INTO job_grades VALUES ('B', 3000, 5999); | |
INSERT INTO job_grades VALUES ('C', 6000, 9999); | |
INSERT INTO job_grades VALUES ('D', 10000, 14999); | |
INSERT INTO job_grades VALUES ('E', 15000, 24999); | |
INSERT INTO job_grades VALUES ('F', 25000, 40000); | |
COMMIT; |
Thank you very much bro
Thank you so much 👍
Thank you, this is going to be my first project on oracle < : onell
Thanks, was in need of this
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks...very handy...:)