Matthew_SQL1.docx - 1-1 SQL> 1 1 select from rearp.student...

Info icon This preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
1-1 SQL> 1 1* select * from rearp.student SQL> desc rearp.course Name Null? Type ----------------------------------------- -------- ---------------------------- COURSE_NAME VARCHAR2(20) COURSE_NUMBER NOT NULL VARCHAR2(8) CREDIT_HOURS NUMBER(38) OFFERING_DEPT VARCHAR2(4) SQL> 1-2 SQL> create synonym stu for rearp.student; Synonym created. SQL> select * from stu; STNO SNAME ---------- ------------------------------------------------------------ MAJOR CLASS BDATE ------------ ---------- --------------- 2 Lineas ENGL 1 15-APR-01 3 Mary COSC 4 16-JUL-98 8 Brenda COSC 2 13-AUG-97 STNO SNAME ---------- ------------------------------------------------------------ MAJOR CLASS BDATE ------------ ---------- --------------- 6 Ken POLY 15-JUL-01 88 Smith 15-OCT-93 191 Jake MATH 2 10-JUN-01 48 rows selected. 1-3 SQL> create synonym cou for rearp.course; Synonym created. SQL> 1 1* create synonym cou for rearp.course SQL> create synonym sec for rearp.section
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
2 SQL> create synonym sec for rearp.section; Synonym created. SQL> create synonym pre for rearp.prereg; Synonym created. SQL> create synonym gr for rearp.grade_report; Synonym created. SQL> create synonym d2m for deparment_to_major; Synonym created. SQL> create synonym rm for rearp.room; Synonym created.
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern