Professional KnowledgeEasyIBPS SO
Which SQL keyword is used to eliminate duplicate rows from a query result?
- A. DISTINCT
- B. UNIQUE KEY
- C. GROUP ONLY
- D. DIFFER
Correct answer: A. DISTINCT
SELECT DISTINCT returns only unique rows; UNIQUE KEY is a constraint, not a result filter.
Practise more IT Officer Professional Knowledge (IBPS SO) questionsIT Officer Professional Knowledge (IBPS SO): notes and key points
More IT Officer Professional Knowledge (IBPS SO) questions
- A table is in 1NF and has no partial dependency of a non-key attribute on part of a composite key. It is at least in:
- How many usable host addresses does an IPv4 subnet with a /26 mask provide?
- Relation R(A, B, C, D) has functional dependencies A->B, B->C and C->D, and A is the only candidate key. The highest normal form R…
- Reference string 1,2,3,4,1,2,5,1,2,3,4,5 is run under FIFO page replacement with 4 frames. The number of page faults is:
- How many structurally distinct binary search trees can be built from the keys 1, 2, 3, 4, 5?
- Three processes each need at most 2 instances of the same resource type. The minimum number of instances that guarantees the system is…