Courseiva
Data and Database FundamentalseasyMultiple ChoiceObjective-mapped

FC0-U71 Data and Database Fundamentals Practice Question

Which SQL statement is used to remove all rows from a table while keeping the table structure?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

DELETE FROM table_name;

DELETE removes rows based on a condition or all rows if no WHERE clause is used, but TRUNCATE also removes all rows. However, DELETE is the standard DML command.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • DROP TABLE

    Why it's wrong here

    DROP TABLE removes the entire table structure.

  • ALTER TABLE

    Why it's wrong here

    ALTER TABLE modifies table structure, does not remove rows.

  • DELETE FROM table_name;

    Why this is correct

    Correct. DELETE without WHERE removes all rows but keeps the table.

  • REMOVE FROM table_name;

    Why it's wrong here

    REMOVE is not a SQL command.

About these practice questions

Courseiva writes every FC0-U71 question from scratch — 988 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This FC0-U71 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the FC0-U71 exam.