add table+insert into

This commit is contained in:
Alex
2025-12-21 11:33:56 +03:00
parent e7e91cf2d6
commit c66c5886c7
2 changed files with 12 additions and 1 deletions
@@ -0,0 +1,12 @@
-- Этап 1: Создание таблиц и связей
-- Создай все таблицы в SQL
-- Заполни данными (INSERT)
-- Настрой внешние ключи
--Таблица 1:
CREATE TABLE agoncharov.courses (
id int4 NOT NULL,
title varchar(50) NOT NULL,
category varchar(50) NOT NULL,
created_at date NOT NULL,
CONSTRAINT courses_pkey PRIMARY KEY (id)
);
@@ -1 +0,0 @@
create table users