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 Galaxies
  • Geography
    • chevron_right Oceanography
    • chevron_right Geomorphology
    • chevron_right Regional Geography
    • chevron_right Geopolitics and Global Issues
  • Physics
    • chevron_right Geometrical Optics
    • chevron_right Thermodynamics
    • chevron_right Dynamics
    • chevron_right Waves and Optics
  • Current Affairs & Events
    • chevron_right Daily Current Affairs
    • chevron_right Latest Current Events

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