Information Technology > EXAM > INFO 2312 – Midterm 2 (All)
Consider the tables below. The csv files are attached with the exam in Moodle. The blank spaces are null values. Employee empno ename job mgr hiredate sal comm deptno 7369 SMITH CLERK 7902 17-12-1... 980 800 20 7499 ALLEN SALESMAN 7698 20-02-1981 1600 300 30 7521 WARD SALESMAN 7698 22-02-1981 1250 500 30 7566 JONES MANAGER 7839 02-04-1981 2975 20 7654 MARTIN SALESMAN 7698 28-09-1981 1250 1400 30 7698 BLAKE MANAGER 7839 01-05-1981 2850 30 7782 CLARK MANAGER 7839 09-06-1981 2450 10 7788 SCOTT ANALYST 7566 09-12-1982 3000 20 7839 KING PRESIDENT 17-11-1981 5000 10 7844 TURNER SALESMAN 7698 08-09-1981 1500 0 30 7876 ADAMS CLERK 7788 12-01-1983 1100 20 7900 JAMES CLERK 7698 03-12-1981 950 30 7902 FORD ANALYST 7566 03-12-1981 3000 20 7934 MILLER CLERK 7782 23-01-1982 1300 10 Department deptno dname loc 10 ACCOUNTING NEW YORK 20 RESEARCH DALLAS 30 SALES CHICAGO 40 OPERATIONS BOSTON 1. Create a new login group role ‘student’ with password ‘12345’, provide login access, database creation access and replication access. Then create a Database ‘midterm2’ and make ‘student’ as the owner of the database. The query can be generated by the GUI as shown in class to create group roles and databases. Past both queries below. [5 Marks] CREATE ROLE student WITH LOGIN NOSUPERUSER CREATEDB NOCREATEROLE INHERIT REPLICATION CONNECTION LIMIT -1 PASSWORD 'xxxxxx'; CREATE DATABASE midterm2 WITH OWNER = student ENCODING = 'UTF8' CONNECTION LIMIT = -1; [Show More]
Last updated: 2 years ago
Preview 1 out of 6 pages
Buy this document to get the full access instantly
Instant Download Access after purchase
Buy NowInstant download
We Accept:
Can't find what you want? Try our AI powered Search
Connected school, study & course
About the document
Uploaded On
Aug 04, 2022
Number of pages
6
Written in
This document has been written for:
Uploaded
Aug 04, 2022
Downloads
0
Views
73
In Scholarfriends, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Scholarfriends · High quality services·