ГОС по БД #2

Beschreibung

God Philosophy Quiz am ГОС по БД #2, erstellt von хомяк убийца am 23/03/2019.
хомяк убийца
Quiz von хомяк убийца, aktualisiert more than 1 year ago
хомяк убийца
Erstellt von хомяк убийца vor mehr als 5 Jahre
1008
20

Zusammenfassung der Ressource

Frage 1

Frage
Retrieve the lowest experience from tutor. Tables: OFFICE {id (PK), locations, name}, TUTOR {id (PK), name, officeid (FK references office (id)), experience}, STUDENTS {id (PK), name, scholarship, registereddate, tutorid (FK references tutor (id))
Antworten
  • select min (experience) from tutor;
  • select max (experience) from tutor;
  • select max (t.experience) from tutor t group by t.name;
  • select min (t.experience) from tutor t group by t.name;

Frage 2

Frage
Retrieve book name, number of books, price and publisher, for those books which have more than 20 copies. Tables : BOOK {bookid, title, publisher_name, price}. BOOKCOPIES {bookid, libraryid,noOfCopies [references Book (bookid)]}
Antworten
  • select count (b.bookid),b.title, b.price, b.publisher_name from book b join book_copies bc on b.bookid=bc.bookid where bc.no_of_copies>20 group by b.title, b.price, b.publisher_name;
  • select count (b.bookid),b.title, b.price, b.publisher_name from book b join book_copies bc on b.bookid=bc.bookid where bc.no_of_copies>20;
  • select count (b.bookid),b.title, b.price, b.publisher_name from book b join book bc on b.bookid=bc.bookid where bc.no_of_copies>20 group by b.title, b.price, b.publisher_name;
  • select b.bookid,b.title, b.price, b.publisher_name from book b join book_copies bc on b.bookid=bc.bookid where bc.no_of_copies>20 group by b.title, b.price, b.publisher_name;

Frage 3

Frage
Retrieve card number, book name, borrower name, who have borrowed in 12 July, bookid (references Book (bookid)), libraryid (references Library (libraryid)), cardno 2013. Tables: BOOK {bookid, title, publisher_name, price}. BOOKLOANS {bookloans, cardno(references Borrower (cardno)),bookid (references Book (bookid)) dateout, duedate}. BORROWER {cardno, c_name, b_address, phoneno}
Antworten
  • select bl.cardno, b.title, br.c_name from book b join bookloans bl on bl.bookid=b.bookid join borrower br on br.cardno=bl.cardno where bl.dateout='12-07-2013'
  • select bl.cardno, b.title, br.c_name from book b join bookloans bl on bl.bookid=b.bookid join borrower br on br.cardno=bl.cardno where bl.duedate='12-07-2013'
  • select bl.cardno, b.title, br.c_name from book b join bookloans bl on bl.bookid=b.bookid where bl.dateout='12-07-2013'
  • select bl.cardno, b.title, br.c_name from book b join borrower br on br.cardno=bl.cardno where bl.dateout='12-07-2013'

Frage 4

Frage
Retrieve max price for Fariza's publication. BOOK {bookid, title, publisher_name, price}.BOOK_AUTHORS {author_name, bookid (references Book (bookid))}
Antworten
  • select max (b.price)from book b join book_authors ba on b.bookid=ba.bookid where ba.author_name = 'Fariza';
  • select max (b.price)from book b join book_authors ba on b.bookid=ba.bookid where ba.author_name = Fariza;
  • select max (b.price)from book b join book_authors ba b.bookid=ba.bookid where ba.author_name = 'Fariza';
  • select max (b.price)from book b join book_authors ba on b.bookid=ba.bookid; #subToPewDiePie

Frage 5

Frage
Retrieve book name, total number of book copies. BOOK {bookid, title, publisher_name, price}. BOOKCOPIES {bookid, libraryid,noOfCopies [references Book (bookid)]}
Antworten
  • select b.title, sum (no_of_copies) from book b join book_copies bc on b.bookid=bc.bookid group by b.title;
  • select b.title, sum (no_of_copies) from book b join book_copies bc b.bookid=bc.bookid group by b.title;
  • select b.title, count(no_of_copies) from book b join book_copies bc on b.bookid=bc.bookid group by b.title;
  • select b.title, count(no_of_copies) from book b join book_copies bc b.bookid=bc.bookid group by b.title;

Frage 6

Frage
Retrieve book title and total number of book copies, which has id 1. BOOK {bookid, title, publisher_name, price}. BOOKCOPIES {bookid, libraryid,noOfCopies [references Book (bookid)]}
Antworten
  • select b.title, sum (no_of_copies) from book b join book_copies bc on b.bookid=bc.bookid where b.bookid=1 group by b.title;
  • select b.title, sum (no_of_copies) from book b join book_copies bc on b.bookid=bc.bookid where b.bookid=1;
  • select b.title, count (no_of_copies) from book b join book_copies bc on b.bookid=bc.bookid where b.bookid=1 group by b.title;
  • select b.title, count (no_of_copies) from book b join book_copies bc on b.bookid=bc.bookid where b.bookid=1;

Frage 7

Frage
Retrieve borrower name and number of books that each borrower has. BOOKLOANS {bookloans, bookid (references Book (bookid)), libraryid (references Library (libraryid)), cardno (references Borrower (cardno)), dateout, duedate}. BORROWER {cardno, c_name, b_address, phoneno}
Antworten
  • select br.c_name, count(bl.bookid) from borrower br join bookloans bl on br.cardno = bl.cardno group by br.c_name;
  • select br.c_name, count(bl.bookid) from borrower br join bookloans bl on br.cardno = bl.cardno;
  • select br.c_name, sum(bl.bookid) from borrower br join bookloans bl on br.cardno = bl.cardno group by br.c_name;
  • select br.c_name, sum(bl.bookid) from borrower br join bookloans bl on br.cardno = bl.cardno;

Frage 8

Frage
Retrieve books name and prices. Increase price twice more for books, which have more than 20 copies;BOOK {bookid, title, publisher_name, price}. BOOKCOPIES {bookid, libraryid,noOfCopies [references Book (bookid)]}
Antworten
  • select b.title, b.price, b.price *2 as increasedprice from book b join book_copies bc on bc.bookid=b.bookid where bc.no_of_copies > 20;
  • select b.title, b.price book b join book_copies bc on bc.bookid=b.bookid where bc.no_of_copies > 20;
  • impossible to solve
  • select b.title, b.price, b.price *2 as increasedprice from book b join book_copies bc on bc.bookid=b.bookid;

Frage 9

Frage
Retrieve library name, book name, number of copies, which have more than 25 copies. BOOK {bookid, title, publisher_name, price}. BOOKCOPIES {bookid, libraryid,noOfCopies [references Book (bookid)]}. LIBRARY (libraryid)), cardno (references Borrower (cardno)), dateout, duedate}.
Antworten
  • select l.libraryname, b.title, bc.no_of_copies from book b join book_copies bc on b.bookid=bc.bookid join library l on l.libraryid = bc.libraryid where bc.no_of_copies>25;
  • select l.libraryname, b.title, bc.no_of_copies from book b join book_copies bc on b.bookid=bc.bookid where bc.no_of_copies>25;
  • select l.libraryname, b.title, bc.no_of_copies from book join library l on l.libraryid = bc.libraryid where bc.no_of_copies>25;
  • select l.libraryname, b.title, bc.no_of_copies from book b join book_copies bc on b.bookid=bc.bookid join library l l.libraryid = bc.libraryid where bc.no_of_copies>25;

Frage 10

Frage
Retrieve the number of departments in the department table. Tables: DEPARTMENT {id, name}. EMPLOYEE {id, name, salary, dep_id (references Department (id))}
Antworten
  • select count(id) from department
  • select sum (id) from department;
  • select coun(id) from department
  • select id from department

Frage 11

Frage
Retrieve total salaries payable to employee. Tables: DEPARTMENT {id, name}. EMPLOYEE {id, name, salary, dep_id (references Department (id))}
Antworten
  • select sum (salary) from employee;
  • select count (salary) from employee;
  • select sum (id) from employee;
  • select max (salary) from employee;

Frage 12

Frage
Retrieve office name and tutor name, who have experience equal or more than five years. Tables: OFFICE {id (PK), locations, name}, TUTOR {id (PK), name, officeid (FK references office (id)), experience}, STUDENTS {id (PK), name, scholarship, registereddate, tutorid (FK references tutor (id))
Antworten
  • select o.name, t.name from office o join tutor t on o.id=t.officeid where t.experience >=5;
  • select o.name, t.name from office o join tutor t on o.id=t.officeid where t.experience >5;
  • select o.name, t.name from office o join tutor t o.id=t.officeid where t.experience >=5;
  • select o.name, t.name from office join tutor on o.id=t.officeid where t.experience >=5;

Frage 13

Frage
Retrieve tutor name and their office locations, who refer to CSSE and Management. Tables: OFFICE {id (PK), locations, name}, TUTOR {id (PK), name, officeid (FK references office (id)), experience}, STUDENTS {id (PK), name, scholarship, registereddate, tutorid (FK references tutor (id))
Antworten
  • select t.name, o.locations from office o join tutor t on o.id=t.officeid where o.name in ('CSSE', 'Management');
  • select t.name, o.locations from office o join tutor t on o.id=t.officeid where o.name in ('CSSE' or 'Management');
  • select t.name, o.locations from office o join tutor t o.id=t.officeid where o.name in ('CSSE', 'Management');
  • select t.name, o.locations from office o join tutor t on o.id=t.officeid where o.name in ('CSSE') or ('Management');

Frage 14

Frage
Retrieve student's name, which starts from A. Tables: OFFICE {id (PK), LOCATIONS, name}, tutor {id (PK), name, officeid (FK references office (id)), experience}, STUDENTS {id (PK), name, scholarship, registereddate, tutorid (FK references tutor (id))
Antworten
  • select name from students where name like 'A_%';
  • select name from students where name like 'A';
  • select name from students where name like 'a%';
  • select name from students where name like '%A%'

Frage 15

Frage
Retrieve all students name with the department name, but excluding department CSSE. Tables: OFFICE {id (PK), locations, name}, TUTOR {id (PK), name, officeid (FK references office (id)), experience}, STUDENTS {id (PK), name, scholarship, registereddate, tutorid (FK references tutor (id))
Antworten
  • select s.name, o.name from students s join tutor t on t.id=s.tutorid join office o on o.id=t.officeid where o.name <> 'CSSE';
  • select s.name, o.name from students s join tutor t on t.id=s.tutorid join office o on o.id=t.officeid;
  • select s.name, o.name from students s join tutor t on t.id=s.tutorid join office o on o.id=t.officeid where o.name = 'CSSE';
  • select s.name, o.name from students s join tutor t on t.id=s.tutorid join office o on o.id=t.officeid group by o.name, s.name;

Frage 16

Frage
Which of the following query is incorrect for retrieving all students name with the department name, but excluding department CSSE. Tables: OFFICE {id (PK), locations, name}, TUTOR {id (PK), name, officeid (FK references office (id)), experience}, STUDENTS {id (PK), name, scholarship, registereddate, tutorid (FK references tutor (id))
Antworten
  • select s.name, o.name from students s join tutor t on t.id=s.tutorid join office o on o.id=t.officeid where o.name <= 'CSSE';
  • select s.name, o.name from students s join tutor t on t.id=s.tutorid join office o on o.id=t.officeid where o.name <> 'CSSE';
  • select s.name, o.name from students s join tutor t on t.id=s.tutorid join office o on o.id=t.officeid where o.name not like 'CSSE';
  • select s.name, o.name from students s join tutor t on t.id=s.tutorid join office o on o.id=t.officeid where o.name not in ('CSSE');

Frage 17

Frage
Retrieve students name, scholarship and their office name, who have scholarship ranging from 3200 to 4500.Tables: OFFICE {id (PK), locations, name}, TUTOR {id (PK), name, officeid (FK references office (id)), experience}, STUDENTS {id (PK), name, scholarship, registereddate, tutorid (FK references tutor (id))
Antworten
  • select s.name, s.scholarship, o.name from students s join tutor t on t.id=s.tutorid join office o on o.id=t.officeid where s.scholarship between 3200 and 4500;
  • select s.name, s.scholarship, o.name from students s join tutor t on t.id=s.tutorid where s.scholarship between 3200 and 4500;
  • select s.name, s.scholarship, o.name from students join office o on o.id=t.officeid where s.scholarship between 3200 and 4500;
  • select s.name, s.scholarship, o.name from students s join tutor t on t.id=s.tutorid join office o on o.id=t.officeid where s.scholarship 3200 and 4500;

Frage 18

Frage
What kind symbol is used to find one character in wildcards?
Antworten
  • -
  • ?
  • $
  • in

Frage 19

Frage
Find an average scholarship of students. Tables: STUDENTS {id (PK), name, scholarship, registereddate, tutorid }
Antworten
  • select avg (scholarship) from students ;
  • select averg (scholarship) from students ;
  • select avrg (scholarship) from students ;
  • select av (scholarship) from students ;

Frage 20

Frage
Retrieve average scholarship of students for each department. Tables: OFFICE {id (PK), locations, name}, TUTOR {id (PK), name, officeid (FK references office (id)), experience}, STUDENTS {id (PK), name, scholarship, registereddate, tutorid (FK references tutor (id))
Antworten
  • select avg (scholarship), o.name from students s join tutor t on t.id=s.tutorid join office o on o.id=t.officeid group by o.name;
  • select avg (scholarship), o.name from students s join tutor t on t.id=s.tutorid join office o on o.id=t.officeid ;
  • select avg (scholarship), o.name from students s join tutor t on t.id=s.tutorid group by o.name;
  • select avg (scholarship), o.name from students s d join office o on o.id=t.officeid group by o.name;

Frage 21

Frage
Retrieve student number in each department. Tables: OFFICE {id (PK), locations, name}, TUTOR {id (PK), name, officeid (FK references office (id)), experience}, STUDENTS {id (PK), name, scholarship, registereddate, tutorid (FK references tutor (id))
Antworten
  • select count (s.id), o.name from students s join tutor t on t.id=s.tutorid join office o on o.id=t.officeid group by o.name;
  • select sum (s.id), o.name from students s join tutor t on t.id=s.tutorid join office o on o.id=t.officeid group by o.name;
  • select o.name from students s join tutor t on t.id=s.tutorid join office o on o.id=t.officeid group by o.name;
  • select count (s.id), o.name from students s join tutor t on t.id=s.tutorid join office o on o.id=t.officeid;

Frage 22

Frage
Retrieve student number in each department. Tables: OFFICE {id (PK), locations, name}, TUTOR {id (PK), name, officeid (FK references office (id)), experience}, STUDENTS {id (PK), name, scholarship, registereddate, tutorid (FK references tutor (id))
Antworten
  • select count (s.id), o.name from students s join tutor t on t.id=s.tutorid join office o on o.id=t.officeid group by o.name;
  • select sum (s.id), o.name from students s join tutor t on t.id=s.tutorid join office o on o.id=t.officeid group by o.name;
  • select o.name from students s join tutor t on t.id=s.tutorid join office o on o.id=t.officeid group by o.name;
  • select count (s.id), o.name from students s join tutor t
  • on t.id=s.tutorid join office o on o.id=t.officeid;

Frage 23

Frage
Retrieve total amount of scholarship of each department. Tables: OFFICE {id (PK), locations, name}, TUTOR {id (PK), name, officeid (FK references office (id)), experience}, STUDENTS {id (PK), name, scholarship, registereddate, tutorid (FK references tutor (id))
Antworten
  • select sum (scholarship), o.name from students s join tutor t on t.id=s.tutorid join office o on o.id=t.officeid group by o.name;
  • select count (scholarship), o.name from students s join tutor t on t.id=s.tutorid join office o on o.id=t.officeid group by o.name;
  • select sum (scholarship), o.name from students s join tutor t on t.id=s.tutorid join office o on o.id=t.officeid;
  • select count (scholarship), o.name from students s join tutor t on t.id=s.tutorid join office o on o.id=t.officeid;

Frage 24

Frage
SQL stands for
Antworten
  • Sequence Question Language
  • Structured Query Language
  • Structured Querty Language
  • Selection Query Language

Frage 25

Frage
You can add a row using SQL in a database with which of the following
Antworten
  • ADD
  • CREATE
  • INSERT
  • UPDATE

Frage 26

Frage
The command to remove rows from a table “Customer”
Antworten
  • Remove from Customer
  • Delete from Customer
  • Drop from Customer
  • Update row from Customer

Frage 27

Frage
The SQL WHERE clause
Antworten
  • Condition that limits the column data that are returned
  • Condition that limits the row data are returned
  • Clause that returns all rows
  • Clause that returns nothing

Frage 28

Frage
The command to eliminate a table from a database
Antworten
  • Drop
  • Delete
  • Remove
  • Update

Frage 29

Frage
Which of the following is correct order of keywords for SQL Select statement?
Antworten
  • SELECT, FROM, WHERE
  • WHERE, FROM, SELECT
  • FROM, WHERE, SELECT
  • SELECT, WHERE, FROM

Frage 30

Frage
SQL data definition commands make up a(n)
Antworten
  • DDC
  • DML
  • DDL
  • DDD

Frage 31

Frage
In a relation, the columns are also called attributes
Antworten
  • True
  • False

Frage 32

Frage
Find the SQL statement that is equal to: SELECT NAME FROM CUSTOMER WHERE STATE = 'VA';
Antworten
  • SELECT NAME IN CUSTOMER WHERE STATE IN 'VA';
  • SELECT NAME IN CUSTOMER WHERE STATE = 'VA';
  • SELECT NAME FROM CUSTOMER WHERE STATE IN 'VA';
  • SELECT NAME IN CUSTOMER WHERE STATE = 'V';

Frage 33

Frage
In E\R diagrams, we will represent Entities as
Antworten
  • Boxes with rounded corners
  • Links between two entities
  • Ovals
  • Diamond box

Frage 34

Frage
In E\R diagrams, we will represent Relationships as
Antworten
  • Boxes with rounded corners
  • Links between two entities
  • Ovals
  • Diamond box

Frage 35

Frage
In E\R diagrams, we will represent Attributes as
Antworten
  • Boxes with rounded corners
  • Links between two entities
  • Ovals
  • Diamond box

Frage 36

Frage
Many to many relationships are difficult to represent in database, so we need to
Antworten
  • Split many to many relationship into two one to many relationships
  • Split one to many relationship into two one to many relationships
  • Split many to many relationship into one to many relationships
  • Split many to many relationship into three one to many relationships

Frage 37

Frage
The result of a SQL SELECT statement is a(n)
Antworten
  • Report
  • Table
  • Form
  • File

Frage 38

Frage
Which of the following are the five built-in functions provided by SQL?
Antworten
  • COUNT, SUM, AVG, MAX, MULT
  • SUM, AVG, MIN, MAX, NAME
  • SUM, AVG, MULT, DIV, MIN
  • COUNT, SUM, AVG, MAX, MIN

Frage 39

Frage
In a relation, the order of the rows matters
Antworten
  • True
  • False

Frage 40

Frage
Given the functional dependency R → (S,T) , then it is also true that R → S
Antworten
  • True
  • False

Frage 41

Frage
Given the functional dependency R → (S,T) , then it is also true that R → T
Antworten
  • True
  • False

Frage 42

Frage
SQL can be used to
Antworten
  • create database structures only
  • query database data only
  • modify database data only
  • All of the these can be done by SQL

Frage 43

Frage
The SQL statement that queries or reads data from a table is _
Antworten
  • READ
  • QUERY
  • SELECT
  • NONE

Frage 44

Frage
A subquery in an SQL SELECT statement
Antworten
  • can only be used with two tables
  • has a distinct form that cannot be duplicated by a join
  • can always be duplicated by a join
  • cannot have its results sorted using ORDER BY

Frage 45

Frage
The SQL keyword BETWEEN is used
Antworten
  • for ranges
  • as a wildcard
  • to limit the columns displayed
  • None of the above

Frage 46

Frage
Sometimes you want to change the structure of an existing table, what are your options?
Antworten
  • Change table
  • Drop Table
  • Alter Table
  • Create Table

Frage 47

Frage
how to Add a new column into existing table?
Antworten
  • ALTER TABLE Student MODIFY COLUMN sDegree CHAR(64) NOT NULL
  • ALTER TABLE Student ADD COLUMN sDegree VARCHAR(64) NOT NULL
  • ALTER TABLE S ADD COLUMN s VACHAR(64) NOT NULL
  • ALTER TABLE Student DROP COLUMN sDegree VARCHAR(64) NOT NULL

Frage 48

Frage
how to rename a column in existing table?
Antworten
  • ALTER TABLE Student MODIFY COLUMN sDegree CHAR(64) NOT NULL
  • ALTER TABLE Student ADD COLUMN sDegree VARCHAR(64) NOT NULL
  • ALTER TABLE Student RENAME COLUMN s to SS VACHAR(64) NOT NULL
  • ALTER TABLE Student DROP COLUMN sDegree VARCHAR(64) NOT NULL

Frage 49

Frage
how to change the row(s) in a table
Antworten
  • insert
  • update
  • change
  • delete

Frage 50

Frage
how to remove the row(s) from a table
Antworten
  • insert
  • update
  • change
  • delete

Frage 51

Frage
A SELECT statement can be nested inside another query to form a
Antworten
  • Subselect
  • Subresults
  • Subquery
  • Query in query

Frage 52

Frage
SQL uses privileges to control access to tables and other database objects, so which is NOT?
Antworten
  • Select privilege
  • Update privilege
  • Insert privilege
  • Drop privilege

Frage 53

Frage
To convert any relation into _______, split any nonatomic values
Antworten
  • First normal form
  • Second normal form
  • Third normal form
  • Fourth normal form

Frage 54

Frage
A functional dependency (FD) is a
Antworten
  • link between three sets of attributes in a relation
  • link between all sets of attributes in a relation
  • link between four sets of attributes in a relation
  • link between two sets of attributes in a relation

Frage 55

Frage
which if the following does not refer to redundancy problems?
Antworten
  • INSERT anomalies
  • CREATE anomalies
  • UPDATE anomalies
  • DELETE anomalies

Frage 56

Frage
To convert any relation into _______, remove transitive dependency
Antworten
  • First normal form
  • Second normal form
  • Third normal form
  • Fourth normal form

Frage 57

Frage
What is it ?
Antworten
  • Relation
  • Tuples
  • Attributes
  • Relationships

Frage 58

Frage
What is it ?
Antworten
  • Relation
  • Tuples
  • Attributes
  • Relationships

Frage 59

Frage
What is it ?
Antworten
  • Relation
  • Tuples
  • Attributes
  • Relationships

Frage 60

Frage
Choose the correct relational algebra operation
Antworten
  • Union
  • Difference
  • Itersection
  • Product

Frage 61

Frage
Choose the correct relational algebra operation
Antworten
  • Union
  • Difference
  • Intersection
  • Product

Frage 62

Frage
Choose the correct relational algebra operation
Antworten
  • Difference
  • Union
  • Intersection
  • Product

Frage 63

Frage
Choose the correct relational algebra operation
Antworten
  • Union
  • Difference
  • Intersection
  • Product

Frage 64

Frage
Are given table union compatible ?
Antworten
  • yes
  • no

Frage 65

Frage
Which of the following is not correct? INSERT INTO Employee(ID, Name, Salary) VALUES
Antworten
  • INSERT INTO Employee(ID, Name, Salary) VALUES(2,‘Mary’,26);
  • INSERT INTO Employee (Name,ID) VALUES (‘Mary’,2);
  • INSERT INTO Employee VALUES (2, ‘Mary’,26000);
  • INSERT INTO Employe VALUES(26, ‘Mary’,26);

Frage 66

Frage
Please increase salary for 10%?
Antworten
  • UPDATE Employee SET Salary = Salary*0.5
  • UPDATE Employee SET Salary = Salary * 0.1
  • UPDATE Employee SET Salary = Salary * 1.1
  • UPDATE Employee Update Salary = Salary*0.1

Frage 67

Frage
Please remove staff, who earns more than 22000?
Antworten
  • DELETE FROM Employee WHERE Salary >=22000
  • DELETE FROM Employe WHERE Salary => 22000;
  • REMOVE FROM Employee WHERE Salary >22000;
  • DELETE FROM Employee WHERE Salary = 22000;

Frage 68

Frage
πsName,sAddress(Student) is equal to?
Antworten
  • SELECT Sname FROM Students
  • SELECT Sname, SAddress FORM Students
  • SELECT Sname and SAddress FROM Students
  • SELECT Sname, SAddress FROM Student

Frage 69

Frage
SQL query to find a list of the ID numbers and Marks for students who have passed IAI
Antworten
  • Select ID, Mark from Grade Where code = 'IAI' and Mark > 50;
  • Select ID, Mark from Grade Where code = 'AIA' and Mark > 50;
  • Select ID, Mark, Code from Grade Where code = 'IAI';
  • Select ID, Mark from Grade Where code = 'IAI' and Mark >=50;

Frage 70

Frage
Find students who studying any Programming module
Antworten
  • Select First,Last from Student,Grade Where Code='PR1'OR'PR2'
  • Select First,Last from Student Natural Join Grade Where Code like'PR%'
  • Select First Last from Student Natural Join Grade Where Code like'PR%'
  • Select First from Student Natural Join Grade Where Code = 'PR%'

Frage 71

Frage
How to use privileges in SQL?
Antworten
  • ON<objects> TO<users> GRANT<privileges>
  • GRANT<privileges> ON<objects> TO<users>
  • GRANT<privileges> TO<users> ON<objects>
  • GRANT<tables> ON<objects> TO<users>

Frage 72

Frage
If Admin’ grants ALL privileges to ‘Manager’, and SELECT to ‘Finance’ with grant option, So..
Antworten
  • ‘Manager’ grants ALL to ‘Personnel’
  • ‘Manager’ grants SELECT to ‘Personnel’
  • ‘Finance’ grants SELECT to ‘Manager’
  • ‘Finance’ grants ALL to ‘Manager’

Frage 73

Frage
If Admin’ grants ALL privileges to ‘Manager’, and SELECT to ‘Finance’ with grant option, So..
Antworten
  • ‘Finance’ grants SELECT to ‘Personnel’
  • ‘Manager’ grants SELECT to ‘Personnel’
  • ‘Finance’ grants SELECT to ‘Manager’
  • ‘Finance’ grants ALL to ‘Manager’

Frage 74

Frage
If ‘Manager’ revokes ALL from ‘Personnel’
Antworten
  • ‘Personnel’ still has ALL privileges from ‘Finance’
  • ‘Finance’ still has SELECT privileges from ‘Personnel’
  • ‘Personnel’ still has SELECT privileges from ‘Finance’
  • ‘Admin’ still has ALL privileges from ‘Finance’

Frage 75

Frage
If ‘Finance revokes SELECT from ‘Personnel’
Antworten
  • ‘Personnel’ still has ALL privileges from ‘Finance’
  • ‘Finance’ still has SELECT privileges from ‘Personnel’
  • ‘Personnel’ still has ALL privileges from ‘Manager’
  • ‘Admin’ still has ALL privileges from ‘Finance’

Frage 76

Frage
If ‘Admin’ revokes Select from ‘Finance’
Antworten
  • ‘Personnel’ still has ALL privileges from ‘Finance’
  • ‘Finance’ still has SELECT privileges from ‘Personnel’
  • ‘Personnel’ still has ALL privileges from ‘Manager’
  • ‘Admin’ still has ALL privileges from ‘Finance’

Frage 77

Frage
If ‘Admin’ revokes ALL from ‘Manager’
Antworten
  • ‘Personnel’ still has ALL privileges from ‘Finance’
  • ‘Finance’ still has SELECT privileges from ‘Personnel’
  • ‘Finance still has SELECT privileges from ‘Admin’
  • ‘Admin’ still has ALL privileges from ‘Finance’
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Breakdown of Philosophy
rlshindmarsh
Who did what now?...Ancient Greek edition
Chris Clark
Reason and Experience Plans
rlshindmarsh
The Cosmological Argument
Summer Pearce
AS Philosophy Exam Questions
Summer Pearce
Philosophy of Art
mccurryby
"The knower's perspective is essential in the pursuit of knowledge." To what extent do you agree?
nataliaapedraza
The Ontological Argument
daniella0128
Religious Experience
alexandramchugh9
Chapter 6: Freedom vs. Determinism Practice Quiz
Kristen Gardner
Environmental Ethics
Jason Edwards-Suarez