Skip to content

PostgreSQL MCQ Questions

0
Answered
0
Correct
0%
Accuracy
Q1 Easy

What is the storage size of an integer on a 64bit system?

Q2 Easy

What is the default variable for the PROMPT3?

Q3 Easy

What is the default location of the standard elog?

Q4 Easy

True or false: With table inheritance child tables inherit primary and foreign key definitions from their parents

Q5 Easy

What is the difference between tokens and lexemes?

Q6 Easy

What is "index bloat"?

Q7 Easy

On a UNIX system, what is the best way to prevent all non-local connections to the postmaster?

Q8 Easy

True or false: When a table is created which uses a table name as a column type, not null constraints on the column type's table definition are honored by the including table.

Q9 Easy

What is the name of the special time input with value 00:00:00.00 UTC?

Q10 Easy

What is the command used to import a backup made with pg_dumpall > file.dmp?

Q11 Easy

If entity x is existence-dependent on entity y, then what is x called?

Q12 Easy

Data validation can be implemented at the definition stage through:

Q13 Easy

What is wrong in this query:Select * from Orders where OrderID=(select OrderID from OrderItems where ItemQty>50)

Q14 Easy

What is the difference between to_tsvector() and ::tsvector ?

Q15 Easy

What is the wrapper around the SQL command CREATE DATABASE?

Q16 Easy

The basic psql command to list tables is?

Q17 Easy

When using LIKE to compare strings, what is the wildcard operator (operator which matches zero or more characters)?

Q18 Easy

What is the first step for manually installing PL/pgSQL in PostgreSQL?

Q19 Easy

What is the ~ operator?

Q20 Easy

What is the difference between DO 'some code...' and EXECUTE 'some code...' statements?

Q21 Easy

What is the effect of turning fsync off in postgresql.conf?

Q22 Easy

What is true regarding file system backup?

Q23 Easy

What is a TOAST file?

Q24 Easy

What is a cluster?

Q25 Easy

What is the default ordering when ORDER BY is not specified?

Q26 Easy

What is a rollback of transactions normally used for?

Q27 Easy

What is the well known port number for the postgresql database service?

Q28 Easy

What is the correct order of clauses in the select statement?1 select2 order by3 where4 having5 group by