Valid insertion versus the requested insertion

A laboratory uses the following PostgreSQL table:


SQL
CREATE TABLE Specimen (
    sample_id INTEGER PRIMARY KEY,
    label VARCHAR(12) NOT NULL,
    mass_g DECIMAL(5,2) DEFAULT 0.00
);


The table initially contains exactly one row: sample_id 91, label 'Control', and mass_g 1.25. Evaluate each proposed statement independently against that initial state.


Which statements successfully add a new row with sample_id 92, label 'Trial', and mass exactly 3.50 g? Select every statement that meets the complete request.

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More SQL Basics Questions: