PostgreSQL
Test
Model Test
Ebook
Index
Databases - Upwork Home
MS SQL Server 2005
76
Oracle SQL 9i
45
MySQL
71
Data Structure
98
Data Warehousing
61
ANSI SQL
30
SQL
98
PostgreSQL
85
PostgreSQL RDBMS
59
Oracle PL/Sql 10g
50
Oracle 10g Database Administration
67
Oracle 10g
46
MS Access 2003
57
System Analysis
57
Schools
Ebook
Question:
How can data be accessed by users who do not have direct access to the tables?
A
By creating views
B
By creating triggers
C
By creating stored procedures
D
None of these above
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following statements are incorrect regarding referential integrity?
A
A foreign key can refer to a primary key
B
A foreign key can refer to a unique key
C
The on delete cascade clause will work only if there is a reference to a primary key
D
The referred key can either be in the same table or in some other table
E
A foreign key can be composite
F
Referential integrity can only be applied while creating the table
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following statements regarding views are incorrect?
A
A view is like a window through which data in tables can be viewed or changed
B
A view is derived from another table
C
A view cannot be derived from another view
D
A view is stored as a select statement only
E
A view has no data of its own
F
A view is another name for a table
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following statements is correct?
A
PostgreSQL is written in C
B
PostgreSQL can dynamically load compiled code for C on the fly
C
All the users are allowed to use CREATE FUNCTION to link to a C function
D
All of these above
Note:
Not available
Show answer
Show Note
Report
Question:
Which statements hold true for Partition Tables?
A
A table may be split into several independent pieces
B
All pieces must have the same size
C
A partition may be analyzed and exported
D
A partition cannot be truncated
E
When one partition goes offline, other partitions still remain available
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following is correct regarding VACUUM?
A
It deletes the temporary data and recovers the disk space
B
The table identifier must be provided
C
A VACUUM statement will clean up each table in the presently connected database
D
All of these above
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following techniques can be used to obtain a result which is based on comparing one row of a table with another row of the same table?
A
Equi-join
B
Inner Join
C
Outer Join
D
Self Join
E
Correlated Subquery
Note:
Not available
Show answer
Show Note
Report
Question:
Which method should be used to drop the master table if its primary key is being referenced by a foreign key in some other table?
A
Use cascade constraints clause with drop table
B
Disable the foreign key of the detail table
C
Drop the primary and foreign key constraints of both the tables
D
None of these above
Note:
Not available
Show answer
Show Note
Report
Question:
There is a column c1 in the table t to which a primary key pk is to be added. What will be the correct syntax?
A
Alter table t add primary key(c1);
B
Alter table t add constraint pk primary key(c1);
C
Alter table t add (constraint pk primary key(c1));
D
Alter table t add pk constraint primary key(c1);
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following are not DCL operations?
A
Insert
B
Grant
C
Delete
D
Update
E
Revoke
F
Commit
G
Rollback
Note:
Not available
Show answer
Show Note
Report
First
Prev
1
2
3
4
Next
Last
/9
Go
Schools
App Store
Whiteboard
Blogs
Quiz
Test
Apply Course
Games
Freelancers
Professionals
Newspapers
Terms
Privacy
Copyright © 2024. Powered by
Intellect Software Ltd