0
0
DBMS Theoryknowledge~5 mins

Projection operation in DBMS Theory - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the projection operation in a database?
Projection is a database operation that selects specific columns from a table, creating a new table with only those columns.
Click to reveal answer
beginner
How does projection differ from selection in databases?
Projection chooses columns (attributes), while selection chooses rows (records) based on conditions.
Click to reveal answer
intermediate
What happens if you project the same column multiple times?
The result will include that column only once; duplicates are removed in projection.
Click to reveal answer
beginner
Why is projection useful in real-life database queries?
Projection helps to retrieve only needed information, reducing data size and improving query speed.
Click to reveal answer
intermediate
Can projection change the number of rows in the result?
No, projection only changes columns; the number of rows stays the same unless duplicate rows are removed.
Click to reveal answer
What does the projection operation do in a database?
ASelects specific rows from a table
BJoins two tables
CDeletes rows from a table
DSelects specific columns from a table
Which of the following is true about projection?
AIt selects specific columns from a table
BIt selects specific rows based on conditions
CIt changes the order of rows
DIt removes duplicate rows automatically
If you project columns 'Name' and 'Age' from a table, what will the result contain?
ABoth 'Name' and 'Age' columns
BOnly the 'Age' column
COnly the 'Name' column
DAll columns except 'Name' and 'Age'
Does projection affect the number of rows in the output?
AYes, it always reduces rows
BNo, it only changes columns
CYes, it duplicates rows
DYes, it deletes rows randomly
Which operation would you use to get only the 'Email' column from a user table?
ASelection
BJoin
CProjection
DUnion
Explain the projection operation and how it is used in databases.
Think about choosing only certain pieces of information from a table.
You got /3 concepts.
    Describe the difference between projection and selection operations in a database.
    One picks columns, the other picks rows.
    You got /3 concepts.