
































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

































Answer: A Rationale: A primary key uniquely identifies each row in a table. SQLite enforces uniqueness and non-null constraints on primary key columns.
Rationale: close() terminates the database connection and releases resources.
D. To encrypt the database Answer: B Rationale: Parameterized queries use placeholders (e.g., ?) and pass values separately, preventing malicious input from being interpreted as SQL code.
Answer: B Rationale: Without a WHERE clause, DELETE removes all rows from the table. The table structure remains.
B. A column that references the primary key of another table, establishing a relationship C. A key used for encryption D. A temporary key Answer: B Rationale: A foreign key creates a link between two tables by referencing the primary key of another table.
C. The sum of all values D. The average value Answer: B Rationale: COUNT(*) counts all rows, including those with NULL values.