Difference between revisions of "Create table"
Jump to navigation
Jump to search
(10 intermediate revisions by 4 users not shown) | |||
Line 2: | Line 2: | ||
* [[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 | ||
− | [[show table]] | + | |
+ | [[CREATE TABLE numbers ( value INTEGER );]] | ||
+ | |||
+ | == Related == | ||
+ | * MariaDB: <code>[[show table]]</code> | ||
+ | * [[PostgreSQL]]: <code>[[\dt]]</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: