About 488,000 results
Open links in new tab
  1. PostgreSQL Create Table - W3Schools

    Create Table. The following SQL statement will create a table named cars in your PostgreSQL database:

  2. How to generate the "create table" sql statement for an existing table

    Oct 2, 2019 · Generate the create table statement for a table in postgresql from linux commandline: Create a demo table: CREATE TABLE your_table( thekey integer NOT NULL, …

  3. PostgreSQL – CREATE TABLE - GeeksforGeeks

    Apr 15, 2025 · In PostgreSQL, the CREATE TABLE statement is used to define a new table within a database. It allows us to specify the table's structure, including column names, data types, …

  4. PostgreSQL: Documentation: 17: CREATE TABLE

    May 8, 2025 · CREATE TABLE distributors ( did integer, name varchar(40), UNIQUE(name) ); Create the same table, specifying 70% fill factor for both the table and its unique index: …

  5. PostgreSQL CREATE TABLE Statement - PostgreSQL Tutorial

    Feb 16, 2024 · To create a table in a database, you need to execute the CREATE TABLE statement using a PostgreSQL client such as psql and pgAdmin. We’ll show you step-by-step …

  6. CREATE TABLE in PostgreSQL | Example - Datensen

    In this article, we explored how to prepare a DDL script for creating a database table in PostgreSQL using the CREATE TABLE statement. By defining the table name, columns, data …

  7. Create Table in PostgreSQL: A Guide With Examples

    Aug 2, 2021 · In this article, we are going to explore a bunch of ways to create a table in PostgreSQL. 1. Creating a table using the PostgreSQL CREATE TABLE statement. 2. …

  8. PostgreSQL: Generate full Database Script using PGAdmin Tool

    Sep 5, 2016 · How to generate full database schema script or data script in PostgreSQL? In PostgreSQL, We can also generate Database full script using Backup Option of PGAdmin tool. …

  9. How to create a table in PostgreSQL - DatabaseFAQs.com

    Feb 17, 2025 · To create a table in PostgreSQL, follow the below steps. 1. Open the command prompt or terminal. 2. Run the following command to make a connection to your PostgreSQL …

  10. PostgreSQL CREATE TABLE Examples - SQL Server Tips

    May 23, 2024 · After creating a PostgreSQL database, the next step is creating tables which we will cover using the PostgreSQL CREATE TABLE command. In this tutorial, we will review the …

Refresh