diff --git a/WinTest/Data/Query/Base Select Query 2.sql b/WinTest/Data/Query/Base Select Query 2.sql
new file mode 100644
index 0000000..fe50018
--- /dev/null
+++ b/WinTest/Data/Query/Base Select Query 2.sql
@@ -0,0 +1,22 @@
+SELECT [Name], [Price], [Hour], [Date]
+FROM [dbo].[Courses]
+
+SELECT [Name], Price
+FROM [Courses]
+WHERE [Price] = (SELECT MIN(Price) FROM [Courses])
+
+
+--SELECT SUM([Price]) as FullPrice
+--FROM [Courses]
+
+--SELECT COUNT(*) as CountFull
+--FROM [Courses]
+--WHERE [Hour] > 72
+
+--SELECT [Name], ([Price]/[Hour]) as 'Price H'
+--FROM [Courses]
+
+SELECT [Name], Price
+FROM [Courses]
+WHERE [Price] = (SELECT MIN(Price) FROM [Courses])
+
diff --git a/WinTest/Data/Query/Base Select Query.sql b/WinTest/Data/Query/Base Select Query.sql
new file mode 100644
index 0000000..4af2021
--- /dev/null
+++ b/WinTest/Data/Query/Base Select Query.sql
@@ -0,0 +1,16 @@
+-- SELECT Столбцы
+-- FROM Название таблицы
+-- WHERE Условие выборки;
+
+SELECT * from [dbo].[Learners];
+SELECT [Name], [Surname], [Date_of_Birth],
+[Phone] from [dbo].[Learners];
+
+SELECT [Name] as 'Name-Name-Name', [Price], [Hour], [Date]
+from [dbo].[Courses] where [Price] > 100000;
+SELECT [Name], [Price], [Hour], [Date]
+from [dbo].[Courses]
+where [Price] > 100000 and [Hour]<30;
+-- условие: цена меньше 50 000
+-- часы от 15 до 100 часов
+
diff --git a/WinTest/Data/Query/CUD Query.sql b/WinTest/Data/Query/CUD Query.sql
new file mode 100644
index 0000000..4d8f2da
--- /dev/null
+++ b/WinTest/Data/Query/CUD Query.sql
@@ -0,0 +1,103 @@
+use Learner_Achivmen;
+
+
+
+-- Добавление записей
+
+--INSERT INTO Название таблицы
+
+-- (Название атрибута 1, Название атрибута 2…)
+
+-- VALUES (Значение атрибута 1, значение атрибута 2)
+
+-- ===========================1=====================================
+
+INSERT INTO [dbo].[Learners]
+
+([Name], [Surname], [Date_of_Birth], [Phone]) VALUES
+
+('Семен', 'Семенов', '01-01-2026', '79175012012'),
+
+('Петр', 'Петров', '01-01-2026', '79177542012');
+
+-- =================================2===============================
+
+INSERT INTO [dbo].[Courses]
+
+([Name], [Price], [Hour], [Date]) VALUES
+
+('Как правильно ходить', 9000, 32, '01-01-2026'),
+
+('Как правильно держать ложку', 12000, 5, '01-01-2026');
+
+-- =================================3===============================
+
+INSERT INTO [dbo].[Learner_Course]
+
+([Date], [LearnerId], [CourseId]) VALUES
+
+('01-01-2026', 1, 1),
+
+('01-01-2026', 1, 2);
+
+
+
+-- Обновление записей
+
+-- UPDATE Название таблицы
+
+-- SET Название атрибута = значение
+
+-- WHERE Условие обновления
+
+-- ===============1================
+
+UPDATE [dbo].[Learners]
+
+SET [Name] = 'Петр', [Surname] = 'Петров',
+
+Date_of_Birth = '01-01-2025',
+
+Phone = '79779979779' WHERE Id = 1
+
+-- ===============2================
+
+UPDATE [dbo].[Courses] SET
+
+[Name] = 'Не определено 1',
+
+Price = 999999999, [Hour] = 1,
+
+Date = '21-10-2026' WHERE Id = 1
+
+-- ===============3================
+
+UPdate [Learner_Course] SET LearnerId = 2,
+
+CourseId = 1 WHERE Id = 1
+
+
+
+-- Удаление записей
+
+--DELETE FROM Название таблицы
+
+--WHERE Условие удаления
+
+-- ==============1============
+
+DELETE FROM [dbo].[Learners]
+
+WHERE Id = 1
+
+-- ==============2============
+
+DELETE FROM [dbo].Courses
+
+WHERE Id = 1
+
+-- ==============3============
+
+DELETE FROM [dbo].Learner_Course
+
+WHERE Id = 1
\ No newline at end of file
diff --git a/WinTest/Data/Query/Query View.sql b/WinTest/Data/Query/Query View.sql
new file mode 100644
index 0000000..14365e0
--- /dev/null
+++ b/WinTest/Data/Query/Query View.sql
@@ -0,0 +1,9 @@
+--create view ViewCourse as
+--(
+-- SELECT C.[Name], [Hour], [Price], C.[Date]
+-- FROM [Learner_Course] as LC
+-- Inner Join [Courses] C on LC.CourseId = C.Id
+-- Inner Join [Learners] L on LC.LearnerId = L.Id
+--)
+select * from ViewCourse
+WHERE Price > 100000;
\ No newline at end of file
diff --git a/WinTest/Data/Query/Select Query Join.sql b/WinTest/Data/Query/Select Query Join.sql
new file mode 100644
index 0000000..d88db4c
--- /dev/null
+++ b/WinTest/Data/Query/Select Query Join.sql
@@ -0,0 +1,46 @@
+--SELECT C.[Name], [Hour], [Price], C.[Date]
+--FROM [Learner_Course] as LC
+--Inner Join [Courses] C on LC.CourseId = C.Id
+--Inner Join [Learners] L on LC.LearnerId = L.Id
+--WHERE C.[Name] like '%закр%'
+--and L.Phone like '%46%'
+
+SELECT C.[Name], [Hour], [Price], C.[Date]
+FROM [Learner_Course] as LC
+Inner Join [Courses] C on LC.CourseId = C.Id
+Inner Join [Learners] L on LC.LearnerId = L.Id
+
+SELECT C.[Name], [Hour], [Price], C.[Date]
+FROM [Learner_Course] as LC
+Left Join [Courses] C on LC.CourseId = C.Id
+Left Join [Learners] L on LC.LearnerId = L.Id
+
+SELECT C.[Name], [Hour], [Price], C.[Date]
+FROM [Learner_Course] as LC
+Right Join [Courses] C on LC.CourseId = C.Id
+Right Join [Learners] L on LC.LearnerId = L.Id
+
+SELECT C.[Name], [Hour], [Price], C.[Date]
+FROM [Learner_Course] as LC
+Full Join [Courses] C on LC.CourseId = C.Id
+Full Join [Learners] L on LC.LearnerId = L.Id
+
+SELECT C.[Name], [Hour], [Price], C.[Date]
+FROM [Learner_Course] as LC
+Cross Join [Courses] C
+Cross Join [Learners] L
+
+SELECT C.[Name], [Hour], [Price], C.[Date]
+FROM [Learner_Course] as LC, [Courses] C,
+[Learners] L
+
+SELECT C.[Name], [Hour], [Price], C.[Date]
+FROM [Learner_Course] as LC
+Inner Join [Courses] C on LC.CourseId = C.Id
+Inner Join [Learners] L on LC.LearnerId = L.Id
+
+SELECT C.[Name], [Hour], [Price], C.[Date]
+FROM [Learner_Course] as LC, [Courses] C,
+[Learners] L
+Where LC.CourseId = C.Id and LC.LearnerId = L.Id
+
diff --git a/WinTest/Data/Query/Select Query.sql b/WinTest/Data/Query/Select Query.sql
new file mode 100644
index 0000000..6bd71c2
--- /dev/null
+++ b/WinTest/Data/Query/Select Query.sql
@@ -0,0 +1,49 @@
+--use Learner_Achivmen;
+--SELECT UPPER([Name]), LOWER([Surname]),
+--Substring([Phone],7,4)
+--FROM [dbo].[Learners]
+
+--SELECT GETDATE()
+--SELECT SWITCHOFFSET(GETDATE(),0)
+
+--SELECT Month([Date])
+--from [dbo].[Learner_Course]
+
+--SELECT [Courses].[Name], [Hour], [Price],
+--[Courses].[Date] FROM [Courses],
+--[Learner_Course], [Learners]
+--WHERE
+--[Learner_Course].LearnerId = [Learners].Id
+--and [Learner_Course].CourseId = Courses.Id
+--and [Courses].[Name] like '%закр%' and
+--[Learners].Phone like '%46%'
+
+--SELECT [Courses].[Name], [Hour],
+--[Price], [Courses].[Date]
+--FROM [Courses]
+--WHERE ([Price] Between 0 And 50000) And
+--([Price] Not Between 10000 And 15000)
+
+--SELECT [Courses].[Name], [Hour],
+--[Price], [Courses].[Date]
+--FROM [Courses]
+--WHERE [Price] In (9000, 12000)
+--ORDER BY [Price] DESC, [Name] ASC
+
+--SELECT Count(*), Surname
+--FROM [dbo].[Learners]
+--GROUP BY [Surname]
+--HAVING Count(*)>1
+--ORDER BY Surname ASC
+
+
+SELECT C.[Name], [Hour], [Price], C.[Date]
+FROM [Learner_Course] as LC
+Inner Join [Courses] C on LC.CourseId = C.Id
+Inner Join [Learners] L on LC.LearnerId = L.Id
+WHERE C.[Name] like '%закр%'
+and L.Phone like '%46%'
+
+-- 1н > 5 : 2н > 5
+-- 2.5 > 4
+-- 3 > 3
\ No newline at end of file
diff --git a/WinTest/WinTest.csproj b/WinTest/WinTest.csproj
index 6ce69c3..3d9e2c9 100644
--- a/WinTest/WinTest.csproj
+++ b/WinTest/WinTest.csproj
@@ -190,6 +190,14 @@
+
+
+
+
+
+
+
+