Difference between revisions of "Create table"
Jump to navigation
Jump to search
(8 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
* [[MariaDB]]: https://mariadb.com/kb/en/create-table/ | * [[MariaDB]]: https://mariadb.com/kb/en/create-table/ | ||
* [[PostgreSQL]]: https://www.postgresql.org/docs/current/sql-createtable.html | * [[PostgreSQL]]: https://www.postgresql.org/docs/current/sql-createtable.html | ||
+ | |||
+ | |||
+ | [[CREATE TABLE numbers ( value INTEGER );]] | ||
== Related == | == Related == | ||
− | * <code>[[show table]]</code> | + | * MariaDB: <code>[[show table]]</code> |
+ | * [[PostgreSQL]]: <code>[[\dt]]</code> | ||
* <code>[[create database]]</code> | * <code>[[create database]]</code> | ||
+ | * [[DROP TABLE]] | ||
+ | * [[INSERT INTO]] | ||
+ | * [[ALTER TABLE]] | ||
+ | ** ALTER TABLE tablename OWNER TO "new-owner"; | ||
+ | * [[cannot execute CREATE TABLE in a read-only transaction]] | ||
+ | * [[Read only]] | ||
== See also == | == See also == | ||
+ | * {{create table}} | ||
* {{SQL}} | * {{SQL}} | ||
[[Category:SQL]] | [[Category:SQL]] |
Latest revision as of 11:11, 23 September 2024
- MariaDB: https://mariadb.com/kb/en/create-table/
- PostgreSQL: https://www.postgresql.org/docs/current/sql-createtable.html
CREATE TABLE numbers ( value INTEGER );
Related[edit]
- MariaDB:
show table
- PostgreSQL:
\dt
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
See also[edit]
- create table
- SQL, NewSQL, RDMS: GraphQL (2015), SQLite,
select, insert
,select count
, Distributed SQL, TablePlus, Cache hit ratio,pg_stat_user_tables
,EXPLAIN
, Index (PostgreSQL), DDL, SQL/MED, Group by, List users, SQL Injection, SQLAlchemy,CREATE USER, CREATE ROLE, EXPLAIN, ALTER DATABASE, REVOKE, NOLOCK, NOWAIT, EXISTS
, Unique constraint,.sql
Advertising: