ALTER TABLE - Popular snippets
- PostgreSQL 14 CREATE TABLE PRIMARY KEY DEFAULT UUID_GENERATE_V4 NOT ALTER TABLE FOREIGN KEY INSERT INTO
last run:
2024-07-04 09:05:08
45
- PostgreSQL 14 CREATE TABLE PRIMARY KEY AND ADD COLUMN ALTER TABLE SELECT
last run:
2025-01-04 08:00:40
39
- PostgreSQL 12 CREATE TABLE PRIMARY KEY DEFAULT ALTER TABLE ADD CONSTRAINT FOREIGN KEY INSERT INTO SELECT
last run:
2022-11-27 18:41:35
28
- Oracle Database 21c CREATE TABLE INSERT INTO SELECT ALTER TABLE UPDATE WHERE TRUNCATE DROP TABLE DELETE CREATE VIEW NOT PRIMARY KEY FOREIGN KEY INNER JOIN LEFT JOIN RIGHT CROSS JOIN
last run:
2023-05-31 16:17:04
27
- MySQL 8.0 CREATE TABLE PRIMARY KEY ALTER TABLE ADD CONSTRAINT FOREIGN KEY INSERT INTO SELECT SUM INNER JOIN GROUP BY LEFT JOIN WHERE IN
last run:
2024-11-21 18:10:11
26
- MS SQL Server 2022 CREATE TABLE PRIMARY KEY ALTER TABLE ADD CONSTRAINT FOREIGN KEY INSERT INTO SELECT CONCAT WHERE AND BETWEEN IN LIKE NOT OR ORDER BY
last run:
2025-01-11 16:15:19
25
- MySQL 5.7 UPDATE SUM WITH AND NOT CREATE TABLE CONSTRAINT PRIMARY KEY FOREIGN KEY INSERT
INTO INSERT INTO SELECT ALTER TABLE ADD COLUMN EXEC IN
last run:
2023-06-19 05:52:49
23
- MS SQL Server 2022 CREATE TABLE NOT COUNT INSERT INTO SELECT ALTER TABLE ADD CONSTRAINT PRIMARY KEY WHERE IN UPDATE CREATE PROCEDURE EXEC
last run:
2023-07-25 14:06:19
20
- PostgreSQL 14 CREATE TABLE ALTER TABLE
last run:
2024-03-12 10:44:05
16
- PostgreSQL 15 NOT DROP TABLE CASE CREATE OR REPLACE FUNCTION WITH SELECT ORDER BY INSERT INTO ALTER TABLE PRIMARY KEY WHERE JOIN
last run:
2023-09-09 18:56:12
15
ALTER TABLE - New snippets
-
PostgreSQL 15 CREATE TABLE PRIMARY KEY NOT DEFAULT ALTER TABLE ADD CONSTRAINT IN INSERT INTO BETWEEN AND CONSTRAINT FOREIGN KEY SELECT JOIN ORDER BY
added at:
2025-01-22 17:28:04
1
-
PostgreSQL 15 CREATE TABLE PRIMARY KEY NOT DEFAULT ALTER TABLE ADD CONSTRAINT IN INSERT INTO BETWEEN AND CONSTRAINT FOREIGN KEY SELECT WHERE
added at:
2025-01-22 17:27:33
1
-
PostgreSQL 15 CREATE TABLE PRIMARY KEY NOT DEFAULT ALTER TABLE ADD CONSTRAINT IN INSERT INTO BETWEEN AND CONSTRAINT FOREIGN KEY SELECT CONCAT JOIN ORDER BY
added at:
2025-01-22 17:27:12
1
-
PostgreSQL 15 CREATE TABLE PRIMARY KEY NOT DEFAULT ALTER TABLE ADD CONSTRAINT IN INSERT INTO BETWEEN AND CONSTRAINT FOREIGN KEY SELECT CONCAT JOIN ORDER BY
added at:
2025-01-22 17:26:48
1
-
PostgreSQL 15 CREATE TABLE PRIMARY KEY NOT DEFAULT ALTER TABLE ADD CONSTRAINT IN INSERT INTO BETWEEN AND CONSTRAINT FOREIGN KEY SELECT WHERE GROUP BY ORDER BY
added at:
2025-01-22 17:26:25
1
-
PostgreSQL 15 CREATE TABLE PRIMARY KEY NOT DEFAULT ALTER TABLE ADD CONSTRAINT IN INSERT INTO BETWEEN AND CONSTRAINT FOREIGN KEY SELECT ORDER BY
added at:
2025-01-22 17:26:01
1
-
PostgreSQL 15 CREATE TABLE PRIMARY KEY NOT DEFAULT ALTER TABLE ADD CONSTRAINT IN INSERT INTO BETWEEN AND CONSTRAINT FOREIGN KEY SELECT WHERE
added at:
2025-01-22 17:25:44
1
-
PostgreSQL 15 CREATE TABLE PRIMARY KEY NOT DEFAULT ALTER TABLE ADD CONSTRAINT IN INSERT INTO BETWEEN AND CONSTRAINT FOREIGN KEY SELECT ORDER BY
added at:
2025-01-22 17:25:25
1
-
PostgreSQL 15 CREATE TABLE PRIMARY KEY NOT DEFAULT ALTER TABLE ADD CONSTRAINT IN INSERT INTO BETWEEN AND CONSTRAINT FOREIGN KEY SELECT ORDER BY
added at:
2025-01-22 17:24:53
1
-
PostgreSQL 15 CREATE TABLE PRIMARY KEY NOT DEFAULT ALTER TABLE ADD CONSTRAINT IN INSERT INTO BETWEEN AND CONSTRAINT FOREIGN KEY SELECT ORDER BY CASE
added at:
2025-01-22 17:24:30
1