Difference between revisions of "Create table"
Jump to navigation
Jump to search
(One intermediate revision by the same user 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 == | ||
Line 13: | Line 16: | ||
** ALTER TABLE tablename OWNER TO "new-owner"; | ** ALTER TABLE tablename OWNER TO "new-owner"; | ||
* [[cannot execute CREATE TABLE in a read-only transaction]] | * [[cannot execute CREATE TABLE in a read-only transaction]] | ||
+ | * [[Read only]] | ||
== See also == | == See also == |
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: