Ace Learns Logo Ace Learns
  • Home
  • History
  • Geography
  • Astronomy
  • Physics
  • Chemistry
  • Biology
  • Agriculture
  • Sports
  • Computer Science
  • Articles
  • Contact Us
MCQ Categories
  • Articles
  • Home
  • Contact Us
  • Home
  • »
  • Computer Science
  • »
  • Databases
  • »
  • SQL in DBMS
  • »
  • In SQL, which command is used to create a new table?

Databases

unfold_more
  • double_arrow ER Model in DBMS
  • double_arrow Functional Dependencies in DBMS
  • double_arrow Integrity Constraints in DBMS
  • double_arrow Normalization in DBMS
  • double_arrow Relational Algebra in DBMS
  • double_arrow Relational Calculus in DBMS
  • double_arrow SQL in DBMS
  • double_arrow Transactions in DBMS

In SQL, which command is used to create a new table?

The SQL CREATE TABLE command creates a new table in a database.
Here’s the syntax:

CREATE TABLE TableName (
column1 datatype1,
column2 datatype2,
…
columnN datatypeN,
CONSTRAINT constraint_name PRIMARY KEY (column_name)
);

Quick Links

  • Astronomy
    • chevron_right High-Energy Astrophysics
    • chevron_right Space Exploration
    • chevron_right The Universe
    • chevron_right Stars
  • Geography
    • chevron_right Oceanography
    • chevron_right Geomorphology
    • chevron_right Climatology
    • chevron_right Geopolitics and Global Issues
  • Computer Science
    • chevron_right Operating System
    • chevron_right Computer Organization
    • chevron_right Python Programming Language
    • chevron_right Computer Networks
  • Sports
    • chevron_right Olympics
    • chevron_right Asian Games
    • chevron_right Football
    • chevron_right Common Wealth Games

Ace Learns Logo Ace Learns © 2026 Ace Learns. All rights reserved.
  • Contact Us
  • Copyright
  • Privacy Policy