create table
Jump to navigation
Jump to search
- MariaDB: https://mariadb.com/kb/en/create-table/
- PostgreSQL: https://www.postgresql.org/docs/current/sql-createtable.html
Examples[edit]
CREATE TABLE numbers ( value INTEGER );CREATE TABLE yourtable () PARTITION BY RANGE ();
Related[edit]
- MariaDB:
show table - PostgreSQL:
\dt - PostgreSQL: CREATE FOREIGN TABLE
create database- DROP TABLE
- INSERT INTO
- ALTER TABLE
- ALTER TABLE tablename OWNER TO "new-owner";
- cannot execute CREATE TABLE in a read-only transaction
- Read only
- RedShift:
CREATE EXTERNAL TABLE - REFERENCES
See also[edit]
CREATE TABLE, PARTITION BY { RANGE | LIST | HASH }- Table, foreign table, external table,
show table, Delete rows of a table, Table Partitioning (PARTITION BY RANGE),\dt, Hash table,CREATE TABLE, DROP TABLE, ALTER TABLE, SHOW TABLES, TRUNCATE CREATE [ DATABASE | INDEX | USER | ROLE | VIEW | TABLE | TRIGGER | FUNCTION | COLLATION ]
Advertising: