Difference between revisions of "Create table"
Jump to navigation
Jump to search
| Line 18: | Line 18: | ||
* [[Read only]] | * [[Read only]] | ||
* [[RedShift]]: <code>[[CREATE EXTERNAL TABLE]]</code> | * [[RedShift]]: <code>[[CREATE EXTERNAL TABLE]]</code> | ||
| + | * [[REFERENCES]] | ||
== See also == | == See also == | ||
Latest revision as of 21:09, 12 June 2025
- 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: