{"id":349,"date":"2025-05-09T11:24:00","date_gmt":"2025-05-09T11:24:00","guid":{"rendered":"https:\/\/edu.govs.kz\/openedu\/?p=349"},"modified":"2025-07-31T06:33:08","modified_gmt":"2025-07-31T06:33:08","slug":"3-7-sql-%d0%b4%d0%b5%d1%80%d0%b5%d0%ba%d1%82%d0%b5%d1%80-%d2%9b%d0%be%d1%80%d1%8b-%d0%bc%d0%b5%d0%bd-%d0%b6%d2%b1%d0%bc%d1%8b%d1%81","status":"publish","type":"post","link":"https:\/\/edu.govs.kz\/openedu\/?p=349","title":{"rendered":"3.7. SQL &#8212; \u0434\u0435\u0440\u0435\u043a\u0442\u0435\u0440 \u049b\u043e\u0440\u044b \u043c\u0435\u043d \u0436\u04b1\u043c\u044b\u0441"},"content":{"rendered":"\n<p>\u0411\u0456\u0437 \u043a\u0435\u0437 \u043a\u0435\u043b\u0433\u0435\u043d CMS \u043f\u0435\u043d \u0436\u04b1\u043c\u044b\u0441 \u0436\u0430\u0441\u0430\u0493\u0430\u043d\u0434\u0430 \u0436\u04af\u0439\u0435\u043d\u0456\u04a3 \u0444\u0430\u0439\u043b\u0434\u0430\u0440\u044b zip \u0444\u0430\u0439\u043b \u0430\u0440\u049b\u044b\u043b\u044b \u0431\u0435\u0440\u0456\u043b\u0441\u0435, \u0414\u0435\u0440\u0435\u043a\u0442\u0435\u0440 \u049b\u043e\u0440\u044b .SQL \u043a\u0435\u04a3\u0435\u0439\u0442\u0456\u043b\u0456\u043c\u0456\u043d\u0434\u0435\u0433\u0456 \u0444\u0430\u0439\u043b \u0430\u0440\u049b\u044b\u043b\u044b \u0431\u0435\u0440\u0456\u043b\u0435\u0434\u0456 \u041c\u044b\u0441\u0430\u043b\u044b: \u041c\u0435\u043d\u0456\u04a3\u0441\u0430\u0439\u0442\u044b\u043c.zip \u0431\u043e\u043b\u0441\u0430, \u0414\u0435\u0440\u0435\u043a\u0442\u0435\u0440 \u049b\u043e\u0440\u044b: \u0414\u0435\u0440\u0435\u043a\u0442\u0435\u0440\u049b\u043e\u0440\u044b.sql \u0444\u0430\u0439\u043b\u044b \u0430\u0440\u049b\u044b\u043b\u044b \u0441\u0430\u049b\u0442\u0430\u043b\u0430\u0434\u044b. \u0411\u04b1\u043b \u0444\u0430\u0439\u043b \u0456\u0448\u0456\u043d\u0434\u0435 \u0440\u0435\u0442\u0456\u043c\u0435\u043d \u0441\u0430\u049b\u0442\u0430\u043b\u0493\u0430\u043d \u0436\u04af\u0439\u0435\u0433\u0435 \u049b\u0430\u0436\u0435\u0442 \u0431\u0430\u0440\u043b\u044b\u049b \u0430\u049b\u043f\u0430\u0440\u0442\u0442\u0430\u0440 \u043a\u0435\u0441\u0442\u0435 \u0442\u04af\u0440\u0456\u043d\u0434\u0435 \u0441\u0430\u049b\u0442\u0430\u043b\u0430\u0434\u044b, \u0441\u043e\u043d\u044b\u043c\u0435\u043d \u049b\u0430\u0442\u0430\u0440 \u0436\u0430\u04a3\u0430\u043b\u044b\u049b\u0442\u0430\u0440 \u043c\u04d9\u0442\u0456\u043d\u0456, \u0441\u0443\u0440\u0435\u0442\u0442\u0435\u0440 \u043c\u0435\u043d \u049b\u04b1\u0436\u0430\u0442\u0442\u0430\u0440 \u0441\u0456\u043b\u0442\u0435\u043c\u0435\u0441\u0456, \u043f\u0430\u0439\u0434\u0430\u043b\u0430\u043d\u0443\u0448\u044b \u0430\u0442\u044b, \u043f\u0430\u0440\u043e\u043b\u044c\u0434\u0435\u0440 \u0436 .\u0442. \u0431. \u043c\u0430\u04a3\u044b\u0437\u0434\u044b \u0430\u049b\u043f\u0430\u0440\u0442\u0442\u0430\u0440 \u0441\u0430\u049b\u0442\u0430\u043b\u0493\u0430\u043d. \u04e9\u0442\u043a\u0435\u043d \u0441\u0430\u0431\u0430\u049b\u0442\u0430 \u0431\u0456\u0437 php \u0442\u0456\u043b\u0456 \u043c\u0435\u043d sql \u0442\u0456\u043b\u0456 \u0442\u044b\u0493\u044b\u0437 \u0431\u0430\u0439\u043b\u0430\u043d\u044b\u0441\u0442\u044b \u0435\u043a\u0435\u043d\u0456\u043d \u0430\u0442\u0430\u043f \u04e9\u0442\u0442\u0456\u043a, \u0442\u04e9\u043c\u0435\u043d\u0434\u0435 \u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u043c\u044b\u0441\u0430\u043b\u0434\u0430\u0440 \u043c\u0435\u043d sql \u0442\u0456\u043b\u0456 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043b\u0430\u0440\u044b\u043c\u0435\u043d \u0442\u0430\u043d\u044b\u0441\u0430\u0442\u044b\u043d \u0431\u043e\u043b\u0430\u043c\u044b\u0437:<\/p>\n\n\n\n<p><strong>SQL (Structured Query Language)<\/strong> \u2014 \u0434\u0435\u0440\u0435\u043a\u049b\u043e\u0440\u043b\u0430\u0440\u043c\u0435\u043d (\u0431\u0430\u0437\u0430\u043b\u0430\u0440\u043c\u0435\u043d) \u0436\u04b1\u043c\u044b\u0441 \u0456\u0441\u0442\u0435\u0443\u0433\u0435 \u0430\u0440\u043d\u0430\u043b\u0493\u0430\u043d \u0430\u0440\u043d\u0430\u0439\u044b \u0442\u0456\u043b. \u041e\u043b \u0430\u0440\u049b\u044b\u043b\u044b \u0431\u0456\u0437 \u0434\u0435\u0440\u0435\u043a\u0442\u0435\u0440\u0434\u0456:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li> \u0422\u0430\u04a3\u0434\u0430\u0443 (SELECT)<\/li>\n\n\n\n<li> \u0415\u043d\u0433\u0456\u0437\u0443 (INSERT)<\/li>\n\n\n\n<li> \u0416\u0430\u04a3\u0430\u0440\u0442\u0443 (UPDATE)<\/li>\n\n\n\n<li> \u0416\u043e\u044e (DELETE)<\/li>\n\n\n\n<li> \u0414\u0435\u0440\u0435\u043a\u049b\u043e\u0440 \u043c\u0435\u043d \u043a\u0435\u0441\u0442\u0435 \u049b\u04b1\u0440\u0443 (CREATE)<\/li>\n<\/ul>\n\n\n\n<p>SQL \u043a\u04e9\u0431\u0456\u043d\u0435\u0441\u0435 <strong>MySQL<\/strong>, <strong>PostgreSQL<\/strong>, <strong>Oracle<\/strong>, <strong>SQLite<\/strong>, <strong>MS SQL Server<\/strong> \u0441\u0438\u044f\u049b\u0442\u044b \u0434\u0435\u0440\u0435\u043a\u049b\u043e\u0440 \u0431\u0430\u0441\u049b\u0430\u0440\u0443 \u0436\u04af\u0439\u0435\u043b\u0435\u0440\u0456\u043d\u0434\u0435 \u049b\u043e\u043b\u0434\u0430\u043d\u044b\u043b\u0430\u0434\u044b.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"> SQL \u0442\u0456\u043b\u0456\u043d\u0456\u04a3 \u043d\u0435\u0433\u0456\u0437\u0433\u0456 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043b\u0430\u0440\u044b<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u041a\u043e\u043c\u0430\u043d\u0434\u0430<\/th><th>\u0421\u0438\u043f\u0430\u0442\u0442\u0430\u043c\u0430\u0441\u044b<\/th><\/tr><\/thead><tbody><tr><td><code>SELECT<\/code><\/td><td>\u041a\u0435\u0441\u0442\u0435\u0434\u0435\u043d \u0434\u0435\u0440\u0435\u043a\u0442\u0435\u0440\u0434\u0456 \u0442\u0430\u04a3\u0434\u0430\u0443<\/td><\/tr><tr><td><code>INSERT<\/code><\/td><td>\u0416\u0430\u04a3\u0430 \u0436\u043e\u043b (\u0434\u0435\u0440\u0435\u043a) \u049b\u043e\u0441\u0443<\/td><\/tr><tr><td><code>UPDATE<\/code><\/td><td>\u0411\u0430\u0440 \u0434\u0435\u0440\u0435\u043a\u0442\u0435\u0440\u0434\u0456 \u0436\u0430\u04a3\u0430\u0440\u0442\u0443<\/td><\/tr><tr><td><code>DELETE<\/code><\/td><td>\u0414\u0435\u0440\u0435\u043a\u0442\u0435\u0440\u0434\u0456 \u0436\u043e\u044e<\/td><\/tr><tr><td><code>CREATE<\/code><\/td><td>\u0416\u0430\u04a3\u0430 \u043a\u0435\u0441\u0442\u0435 \u043d\u0435\u043c\u0435\u0441\u0435 \u0431\u0430\u0437\u0430 \u049b\u04b1\u0440\u0443<\/td><\/tr><tr><td><code>DROP<\/code><\/td><td>\u041a\u0435\u0441\u0442\u0435\u043d\u0456 \u043d\u0435\u043c\u0435\u0441\u0435 \u0431\u0430\u0437\u0430\u043d\u044b \u0436\u043e\u044e<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>\u0425\u043e\u0441\u0442\u0438\u043d\u0433 \u043f\u0430\u043d\u0435\u043b\u0456\u043d\u0434\u0435\u0433\u0456 &#8212; \u0411\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 &#8212; phpMyAdmin \u049b\u043e\u0441\u044b\u043c\u0448\u0430\u0441\u044b\u043d \u0430\u0448\u0443<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"212\" src=\"https:\/\/edu.govs.kz\/openedu\/wp-content\/uploads\/2025\/05\/image-8-1024x212.png\" alt=\"\" class=\"wp-image-352\" srcset=\"https:\/\/edu.govs.kz\/openedu\/wp-content\/uploads\/2025\/05\/image-8-1024x212.png 1024w, https:\/\/edu.govs.kz\/openedu\/wp-content\/uploads\/2025\/05\/image-8-300x62.png 300w, https:\/\/edu.govs.kz\/openedu\/wp-content\/uploads\/2025\/05\/image-8-768x159.png 768w, https:\/\/edu.govs.kz\/openedu\/wp-content\/uploads\/2025\/05\/image-8-1536x318.png 1536w, https:\/\/edu.govs.kz\/openedu\/wp-content\/uploads\/2025\/05\/image-8.png 1885w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>SQL \u0432\u043a\u043b\u0430\u0434\u043a\u0430\u0441\u044b \u0430\u0440\u049b\u044b\u043b\u044b \u043e\u0441\u044b \u0431\u0430\u0437\u0430\u0493\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043b\u0430\u0440 \u0436\u0430\u0437\u0430 \u0430\u043b\u0430\u043c\u044b\u0437<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"393\" src=\"https:\/\/edu.govs.kz\/openedu\/wp-content\/uploads\/2025\/05\/image-9-1024x393.png\" alt=\"\" class=\"wp-image-353\" srcset=\"https:\/\/edu.govs.kz\/openedu\/wp-content\/uploads\/2025\/05\/image-9-1024x393.png 1024w, https:\/\/edu.govs.kz\/openedu\/wp-content\/uploads\/2025\/05\/image-9-300x115.png 300w, https:\/\/edu.govs.kz\/openedu\/wp-content\/uploads\/2025\/05\/image-9-768x295.png 768w, https:\/\/edu.govs.kz\/openedu\/wp-content\/uploads\/2025\/05\/image-9-1536x589.png 1536w, https:\/\/edu.govs.kz\/openedu\/wp-content\/uploads\/2025\/05\/image-9.png 1699w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"> \u041a\u0435\u0441\u0442\u0435 \u049b\u04b1\u0440\u0443 (CREATE TABLE)<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>CREATE TABLE student (<br>    id INT PRIMARY KEY AUTO_INCREMENT,<br>    name VARCHAR(100),<br>    age INT,<br>    city VARCHAR(50)<br>);<br><\/code><\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u0411\u04b1\u043b \u043a\u043e\u043c\u0430\u043d\u0434\u0430 <code>student<\/code> \u0430\u0442\u0442\u044b \u043a\u0435\u0441\u0442\u0435 \u0436\u0430\u0441\u0430\u0439\u0434\u044b. \u04d8\u0440 \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u0442\u0456\u04a3 id, \u0430\u0442\u044b, \u0436\u0430\u0441\u044b, \u0436\u04d9\u043d\u0435 \u0442\u04b1\u0440\u0430\u0442\u044b\u043d \u049b\u0430\u043b\u0430\u0441\u044b \u0431\u043e\u043b\u0430\u0434\u044b.<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"> \u0414\u0435\u0440\u0435\u043a \u049b\u043e\u0441\u0443 (INSERT INTO)<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>INSERT INTO student (name, age, city)<br>VALUES ('\u0410\u0439\u0434\u0430\u043d\u0430', 20, '\u0410\u043b\u043c\u0430\u0442\u044b');<br><\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"> \u0414\u0435\u0440\u0435\u043a\u0442\u0435\u0440\u0434\u0456 \u0442\u0430\u04a3\u0434\u0430\u0443 (SELECT)<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>SELECT * FROM student;<br><\/code><\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u0411\u0430\u0440\u043b\u044b\u049b \u0431\u0430\u0493\u0430\u043d\u0434\u0430\u0440\u0434\u044b \u0448\u044b\u0493\u0430\u0440\u0430\u0434\u044b.<\/p>\n<\/blockquote>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>SELECT name, city FROM student WHERE age > 18;<br><\/code><\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>18 \u0436\u0430\u0441\u0442\u0430\u043d \u04af\u043b\u043a\u0435\u043d \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u0442\u0435\u0440\u0434\u0456\u04a3 \u0430\u0442\u044b \u043c\u0435\u043d \u049b\u0430\u043b\u0430\u0441\u044b.<\/p>\n<\/blockquote>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"> \u0416\u0430\u04a3\u0430\u0440\u0442\u0443 (UPDATE)<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>UPDATE student<br>SET city = '\u0410\u0441\u0442\u0430\u043d\u0430'<br>WHERE name = '\u0410\u0439\u0434\u0430\u043d\u0430';<br><\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"> \u0416\u043e\u044e (DELETE)<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>DELETE FROM student WHERE age &lt; 18;<br><\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u049a\u043e\u0441\u044b\u043c\u0448\u0430 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043b\u0430\u0440<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u041a\u043e\u043c\u0430\u043d\u0434\u0430<\/th><th>\u041c\u044b\u0441\u0430\u043b<\/th><\/tr><\/thead><tbody><tr><td><code>ORDER BY<\/code><\/td><td><code>SELECT * FROM student ORDER BY age DESC;<\/code><\/td><\/tr><tr><td><code>LIMIT<\/code><\/td><td><code>SELECT * FROM student LIMIT 5;<\/code><\/td><\/tr><tr><td><code>LIKE<\/code><\/td><td><code>WHERE name LIKE '\u0410%'<\/code><\/td><\/tr><tr><td><code>BETWEEN<\/code><\/td><td><code>WHERE age BETWEEN 18 AND 25<\/code><\/td><\/tr><tr><td><code>IN<\/code><\/td><td><code>WHERE city IN ('\u0410\u043b\u043c\u0430\u0442\u044b', '\u0410\u0441\u0442\u0430\u043d\u0430')<\/code><\/td><\/tr><tr><td><code>AS<\/code><\/td><td><code>SELECT name AS \"\u0410\u0442\u044b\" FROM student;<\/code><\/td><\/tr><tr><td><code>COUNT()<\/code><\/td><td><code>SELECT COUNT(*) FROM student;<\/code><\/td><\/tr><tr><td><code>GROUP BY<\/code><\/td><td><code>GROUP BY city<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h1 class=\"wp-block-heading\">SQL \u043c\u0435\u043d PHP \u0431\u0430\u0439\u043b\u0430\u043d\u044b\u0441\u044b<\/h1>\n\n\n\n<p><strong>PHP<\/strong> \u2013 \u0441\u0435\u0440\u0432\u0435\u0440\u043b\u0456\u043a \u0442\u0456\u043b.<br><strong>SQL<\/strong> \u2013 \u043c\u04d9\u043b\u0456\u043c\u0435\u0442\u0442\u0435\u0440 \u0431\u0430\u0437\u0430\u0441\u044b\u043c\u0435\u043d \u0436\u04b1\u043c\u044b\u0441 \u0456\u0441\u0442\u0435\u0439\u0442\u0456\u043d \u0442\u0456\u043b.<br> PHP \u0430\u0440\u049b\u044b\u043b\u044b \u0431\u0456\u0437 SQL \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043b\u0430\u0440\u044b\u043d <strong>\u043e\u0440\u044b\u043d\u0434\u0430\u0439\u043c\u044b\u0437<\/strong>: \u0434\u0435\u0440\u0435\u043a\u0442\u0435\u0440\u0434\u0456 <strong>\u049b\u043e\u0441\u0430\u043c\u044b\u0437<\/strong>, <strong>\u0448\u044b\u049b\u0430\u0440\u0430\u043c\u044b\u0437<\/strong>, <strong>\u04e9\u0448\u0456\u0440\u0435\u043c\u0456\u0437<\/strong>, <strong>\u0436\u0430\u04a3\u0430\u0440\u0442\u0430\u043c\u044b\u0437<\/strong>.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">1-\u041c\u044b\u0441\u0430\u043b: \u041a\u0435\u0441\u0442\u0435\u0434\u0435\u043d \u043c\u04d9\u043b\u0456\u043c\u0435\u0442 \u0448\u044b\u0493\u0430\u0440\u0443 (<code>SELECT<\/code>)<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"> MySQL-\u0434\u0435 \u043e\u0441\u044b\u043d\u0434\u0430\u0439 \u0431\u0430\u0437\u0430 \u0431\u0430\u0440 \u0434\u0435\u043f \u0435\u043b\u0435\u0441\u0442\u0435\u0442\u0435\u0439\u0456\u043a:<\/h3>\n\n\n\n<p><strong>\u041a\u0435\u0441\u0442\u0435 \u0430\u0442\u044b:<\/strong> <code>student<\/code><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>id<\/th><th>name<\/th><th>age<\/th><th>city<\/th><\/tr><\/thead><tbody><tr><td>1<\/td><td>\u0410\u0439\u0433\u04af\u043b<\/td><td>19<\/td><td>\u0410\u043b\u043c\u0430\u0442\u044b<\/td><\/tr><tr><td>2<\/td><td>\u0411\u0435\u0440\u0456\u043a<\/td><td>21<\/td><td>\u0410\u0441\u0442\u0430\u043d\u0430<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"> PHP-\u043a\u043e\u0434 (\u043c\u04d9\u043b\u0456\u043c\u0435\u0442\u0442\u0435\u0440\u0434\u0456 \u0448\u044b\u0493\u0430\u0440\u0443)<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>&lt;?php<br>\/\/ 1. \u0414\u0435\u0440\u0435\u043a\u049b\u043e\u0440\u043c\u0435\u043d \u049b\u043e\u0441\u044b\u043b\u0443<br>$conn = mysqli_connect(\"localhost\", \"root\", \"\", \"my_database\");<br><br>\/\/ 2. SQL \u0441\u04b1\u0440\u0430\u043d\u044b\u0441 \u0436\u0430\u0437\u0443<br>$sql = \"SELECT * FROM student\";<br><br>\/\/ 3. \u041d\u04d9\u0442\u0438\u0436\u0435\u043d\u0456 \u043e\u0440\u044b\u043d\u0434\u0430\u0443<br>$result = mysqli_query($conn, $sql);<br><br>\/\/ 4. \u041c\u04d9\u043b\u0456\u043c\u0435\u0442\u0442\u0435\u0440\u0434\u0456 \u0448\u044b\u0493\u0430\u0440\u0443<br>while ($row = mysqli_fetch_assoc($result)) {<br>    echo \"\u0410\u0442\u044b: \" . $row['name'] . \" | \u0416\u0430\u0441\u044b: \" . $row['age'] . \" | \u049a\u0430\u043b\u0430\u0441\u044b: \" . $row['city'] . \"&lt;br>\";<br>}<br><br>\/\/ 5. \u049a\u043e\u0441\u044b\u043b\u044b\u043c\u0434\u044b \u0436\u0430\u0431\u0443<br>mysqli_close($conn);<br>?><br><\/code><\/pre>\n\n\n\n<p> \u0411\u04b1\u043b \u043a\u043e\u0434 \u0434\u0435\u0440\u0435\u043a\u049b\u043e\u0440\u0434\u0430\u043d \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u0442\u0435\u0440\u0434\u0456 \u0448\u044b\u0493\u0430\u0440\u0430\u0434\u044b.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"> 2-\u041c\u044b\u0441\u0430\u043b: \u0416\u0430\u04a3\u0430 \u043c\u04d9\u043b\u0456\u043c\u0435\u0442 \u049b\u043e\u0441\u0443 (<code>INSERT INTO<\/code>)<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>&lt;?php<br>$conn = mysqli_connect(\"localhost\", \"root\", \"\", \"my_database\");<br><br>$name = \"\u0421\u0430\u044f\u0436\u0430\u043d\";<br>$age = 18;<br>$city = \"\u0428\u044b\u043c\u043a\u0435\u043d\u0442\";<br><br>$sql = \"INSERT INTO student (name, age, city) VALUES ('$name', $age, '$city')\";<br>mysqli_query($conn, $sql);<br><br>echo \"\u0416\u0430\u04a3\u0430 \u0441\u0442\u0443\u0434\u0435\u043d\u0442 \u049b\u043e\u0441\u044b\u043b\u0434\u044b!\";<br>mysqli_close($conn);<br>?><br><\/code><\/pre>\n\n\n\n<p>\u0411\u04b1\u043b \u043a\u043e\u0434 \u0436\u0430\u04a3\u0430 \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u0442\u0456 \u0431\u0430\u0437\u0430\u0493\u0430 \u049b\u043e\u0441\u0430\u0434\u044b.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"> \u041c\u04d9\u043b\u0456\u043c\u0435\u0442\u0442\u0456 \u0436\u0430\u04a3\u0430\u0440\u0442\u0443 (<code>UPDATE<\/code>)<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>&lt;?php<br>$conn = mysqli_connect(\"localhost\", \"root\", \"\", \"my_database\");<br><br>$sql = \"UPDATE student SET city = '\u0422\u0430\u0440\u0430\u0437' WHERE name = '\u0421\u0430\u044f\u0436\u0430\u043d'\";<br>mysqli_query($conn, $sql);<br><br>echo \"\u041c\u04d9\u043b\u0456\u043c\u0435\u0442 \u0436\u0430\u04a3\u0430\u0440\u0442\u044b\u043b\u0434\u044b!\";<br>mysqli_close($conn);<br>?><br><\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"> 4-\u041c\u044b\u0441\u0430\u043b: \u041c\u04d9\u043b\u0456\u043c\u0435\u0442\u0442\u0456 \u04e9\u0448\u0456\u0440\u0443 (<code>DELETE<\/code>)<\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>&lt;?php<br>$conn = mysqli_connect(\"localhost\", \"root\", \"\", \"my_database\");<br><br>$sql = \"DELETE FROM student WHERE name = '\u0411\u0435\u0440\u0456\u043a'\";<br>mysqli_query($conn, $sql);<br><br>echo \"\u0421\u0442\u0443\u0434\u0435\u043d\u0442 \u04e9\u0448\u0456\u0440\u0456\u043b\u0434\u0456!\";<br>mysqli_close($conn);<br>?><br><\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"> \u049a\u044b\u0441\u049b\u0430\u0448\u0430 \u0442\u04af\u0441\u0456\u043d\u0456\u043a:<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>PHP \u0431\u04e9\u043b\u0456\u0433\u0456<\/th><th>\u041c\u0430\u049b\u0441\u0430\u0442\u044b<\/th><\/tr><\/thead><tbody><tr><td><code>mysqli_connect()<\/code><\/td><td>\u0411\u0430\u0437\u0430\u0493\u0430 \u049b\u043e\u0441\u044b\u043b\u0443<\/td><\/tr><tr><td><code>mysqli_query()<\/code><\/td><td>SQL \u0441\u04b1\u0440\u0430\u043d\u044b\u0441\u0442\u044b \u043e\u0440\u044b\u043d\u0434\u0430\u0443<\/td><\/tr><tr><td><code>mysqli_fetch_assoc()<\/code><\/td><td>\u041d\u04d9\u0442\u0438\u0436\u0435\u043d\u0456 \u0448\u044b\u0493\u0430\u0440\u0443 (\u0431\u0456\u0440-\u0431\u0456\u0440\u0434\u0435\u043d)<\/td><\/tr><tr><td><code>mysqli_close()<\/code><\/td><td>\u049a\u043e\u0441\u044b\u043b\u044b\u043c\u0434\u044b \u0436\u0430\u0431\u0443<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0411\u0456\u0437 \u043a\u0435\u0437 \u043a\u0435\u043b\u0433\u0435\u043d CMS \u043f\u0435\u043d \u0436\u04b1\u043c\u044b\u0441 \u0436\u0430\u0441\u0430\u0493\u0430\u043d\u0434\u0430 \u0436\u04af\u0439\u0435\u043d\u0456\u04a3 \u0444\u0430\u0439\u043b\u0434\u0430\u0440\u044b zip \u0444\u0430\u0439\u043b \u0430\u0440\u049b\u044b\u043b\u044b \u0431\u0435\u0440\u0456\u043b\u0441\u0435, \u0414\u0435\u0440\u0435\u043a\u0442\u0435\u0440 \u049b\u043e\u0440\u044b .SQL \u043a\u0435\u04a3\u0435\u0439\u0442\u0456\u043b\u0456\u043c\u0456\u043d\u0434\u0435\u0433\u0456 \u0444\u0430\u0439\u043b \u0430\u0440\u049b\u044b\u043b\u044b \u0431\u0435\u0440\u0456\u043b\u0435\u0434\u0456 \u041c\u044b\u0441\u0430\u043b\u044b: \u041c\u0435\u043d\u0456\u04a3\u0441\u0430\u0439\u0442\u044b\u043c.zip \u0431\u043e\u043b\u0441\u0430, \u0414\u0435\u0440\u0435\u043a\u0442\u0435\u0440 \u049b\u043e\u0440\u044b: \u0414\u0435\u0440\u0435\u043a\u0442\u0435\u0440\u049b\u043e\u0440\u044b.sql \u0444\u0430\u0439\u043b\u044b \u0430\u0440\u049b\u044b\u043b\u044b \u0441\u0430\u049b\u0442\u0430\u043b\u0430\u0434\u044b. \u0411\u04b1\u043b \u0444\u0430\u0439\u043b \u0456\u0448\u0456\u043d\u0434\u0435 \u0440\u0435\u0442\u0456\u043c\u0435\u043d \u0441\u0430\u049b\u0442\u0430\u043b\u0493\u0430\u043d \u0436\u04af\u0439\u0435\u0433\u0435<span class=\"more-button\"><a href=\"https:\/\/edu.govs.kz\/openedu\/?p=349\" class=\"more-link\">\u0430\u0440\u044b \u049b\u0430\u0440\u0430\u0439 \u043e\u049b\u0443<span class=\"screen-reader-text\">3.7. SQL &#8212; \u0434\u0435\u0440\u0435\u043a\u0442\u0435\u0440 \u049b\u043e\u0440\u044b \u043c\u0435\u043d \u0436\u04b1\u043c\u044b\u0441<\/span><i class=\"fa fa-angle-right\" aria-hidden=\"true\"><\/i><\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-349","post","type-post","status-publish","format-standard","hentry","category-html-css-php--java----"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>3.7. SQL - \u0434\u0435\u0440\u0435\u043a\u0442\u0435\u0440 \u049b\u043e\u0440\u044b \u043c\u0435\u043d \u0436\u04b1\u043c\u044b\u0441 - edu.govs.kz<\/title>\n<meta name=\"description\" content=\"SQL - \u0434\u0435\u0440\u0435\u043a\u0442\u0435\u0440 \u049b\u043e\u0440\u044b \u043c\u0435\u043d \u0436\u04b1\u043c\u044b\u0441 SQL \u0442\u0456\u043b\u0456\u043d\u0456\u04a3 \u043d\u0435\u0433\u0456\u0437\u0433\u0456 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043b\u0430\u0440\u044b \u0425\u043e\u0441\u0442\u0438\u043d\u0433 \u043f\u0430\u043d\u0435\u043b\u0456\u043d\u0434\u0435\u0433\u0456 - \u0411\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 - phpMyAdmin \u049b\u043e\u0441\u044b\u043c\u0448\u0430\u0441\u044b\u043d \u0430\u0448\u0443 \u041a\u0435\u0441\u0442\u0435 \u049b\u04b1\u0440\u0443\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/edu.govs.kz\/openedu\/?p=349\" \/>\n<meta property=\"og:locale\" content=\"ru_RU\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"3.7. SQL - \u0434\u0435\u0440\u0435\u043a\u0442\u0435\u0440 \u049b\u043e\u0440\u044b \u043c\u0435\u043d \u0436\u04b1\u043c\u044b\u0441 - edu.govs.kz\" \/>\n<meta property=\"og:description\" content=\"SQL - \u0434\u0435\u0440\u0435\u043a\u0442\u0435\u0440 \u049b\u043e\u0440\u044b \u043c\u0435\u043d \u0436\u04b1\u043c\u044b\u0441 SQL \u0442\u0456\u043b\u0456\u043d\u0456\u04a3 \u043d\u0435\u0433\u0456\u0437\u0433\u0456 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043b\u0430\u0440\u044b \u0425\u043e\u0441\u0442\u0438\u043d\u0433 \u043f\u0430\u043d\u0435\u043b\u0456\u043d\u0434\u0435\u0433\u0456 - \u0411\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 - phpMyAdmin \u049b\u043e\u0441\u044b\u043c\u0448\u0430\u0441\u044b\u043d \u0430\u0448\u0443 \u041a\u0435\u0441\u0442\u0435 \u049b\u04b1\u0440\u0443\" \/>\n<meta property=\"og:url\" content=\"https:\/\/edu.govs.kz\/openedu\/?p=349\" \/>\n<meta property=\"og:site_name\" content=\"edu.govs.kz\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-09T11:24:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-31T06:33:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/edu.govs.kz\/openedu\/wp-content\/uploads\/2025\/05\/image-8.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1885\" \/>\n\t<meta property=\"og:image:height\" content=\"390\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0430\u0432\u0442\u043e\u0440\u043e\u043c\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u043c\u0438\u043d\u0443\u0442\u044b\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/edu.govs.kz\/openedu\/?p=349#article\",\"isPartOf\":{\"@id\":\"https:\/\/edu.govs.kz\/openedu\/?p=349\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/edu.govs.kz\/openedu\/#\/schema\/person\/30b3909c7e9425abac8beb52cf125317\"},\"headline\":\"3.7. SQL &#8212; \u0434\u0435\u0440\u0435\u043a\u0442\u0435\u0440 \u049b\u043e\u0440\u044b \u043c\u0435\u043d \u0436\u04b1\u043c\u044b\u0441\",\"datePublished\":\"2025-05-09T11:24:00+00:00\",\"dateModified\":\"2025-07-31T06:33:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/edu.govs.kz\/openedu\/?p=349\"},\"wordCount\":310,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/edu.govs.kz\/openedu\/#organization\"},\"image\":{\"@id\":\"https:\/\/edu.govs.kz\/openedu\/?p=349#primaryimage\"},\"thumbnailUrl\":\"https:\/\/edu.govs.kz\/openedu\/wp-content\/uploads\/2025\/05\/image-8-1024x212.png\",\"articleSection\":[\"3. HTML, CSS, PHP \u0436\u04d9\u043d\u0435 Java \u0431\u0430\u0493\u0434\u0430\u0440\u043b\u0430\u043c\u0430\u043b\u0430\u0443 \u0442\u0456\u043b\u0434\u0435\u0440\u0456 - \u04e9\u0442\u0435 \u043e\u04a3\u0430\u0439\"],\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/edu.govs.kz\/openedu\/?p=349#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/edu.govs.kz\/openedu\/?p=349\",\"url\":\"https:\/\/edu.govs.kz\/openedu\/?p=349\",\"name\":\"3.7. SQL - \u0434\u0435\u0440\u0435\u043a\u0442\u0435\u0440 \u049b\u043e\u0440\u044b \u043c\u0435\u043d \u0436\u04b1\u043c\u044b\u0441 - edu.govs.kz\",\"isPartOf\":{\"@id\":\"https:\/\/edu.govs.kz\/openedu\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/edu.govs.kz\/openedu\/?p=349#primaryimage\"},\"image\":{\"@id\":\"https:\/\/edu.govs.kz\/openedu\/?p=349#primaryimage\"},\"thumbnailUrl\":\"https:\/\/edu.govs.kz\/openedu\/wp-content\/uploads\/2025\/05\/image-8-1024x212.png\",\"datePublished\":\"2025-05-09T11:24:00+00:00\",\"dateModified\":\"2025-07-31T06:33:08+00:00\",\"description\":\"SQL - \u0434\u0435\u0440\u0435\u043a\u0442\u0435\u0440 \u049b\u043e\u0440\u044b \u043c\u0435\u043d \u0436\u04b1\u043c\u044b\u0441 SQL \u0442\u0456\u043b\u0456\u043d\u0456\u04a3 \u043d\u0435\u0433\u0456\u0437\u0433\u0456 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043b\u0430\u0440\u044b \u0425\u043e\u0441\u0442\u0438\u043d\u0433 \u043f\u0430\u043d\u0435\u043b\u0456\u043d\u0434\u0435\u0433\u0456 - \u0411\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 - phpMyAdmin \u049b\u043e\u0441\u044b\u043c\u0448\u0430\u0441\u044b\u043d \u0430\u0448\u0443 \u041a\u0435\u0441\u0442\u0435 \u049b\u04b1\u0440\u0443\",\"breadcrumb\":{\"@id\":\"https:\/\/edu.govs.kz\/openedu\/?p=349#breadcrumb\"},\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/edu.govs.kz\/openedu\/?p=349\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\/\/edu.govs.kz\/openedu\/?p=349#primaryimage\",\"url\":\"https:\/\/edu.govs.kz\/openedu\/wp-content\/uploads\/2025\/05\/image-8.png\",\"contentUrl\":\"https:\/\/edu.govs.kz\/openedu\/wp-content\/uploads\/2025\/05\/image-8.png\",\"width\":1885,\"height\":390},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/edu.govs.kz\/openedu\/?p=349#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\",\"item\":\"https:\/\/edu.govs.kz\/openedu\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"3.7. SQL &#8212; \u0434\u0435\u0440\u0435\u043a\u0442\u0435\u0440 \u049b\u043e\u0440\u044b \u043c\u0435\u043d \u0436\u04b1\u043c\u044b\u0441\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/edu.govs.kz\/openedu\/#website\",\"url\":\"https:\/\/edu.govs.kz\/openedu\/\",\"name\":\"edu.govs.kz\",\"description\":\"\u0432\u0435\u0431-\u0441\u0430\u0439\u0442 \u049b\u04b1\u0440\u0443, \u0442\u0435\u0445\u043d\u0438\u043a\u0430\u043b\u044b\u049b \u049b\u043e\u043b\u0434\u0430\u0443 \u0436\u04d9\u043d\u0435 \u0441\u04af\u0439\u0435\u043c\u0435\u043b\u0434\u0435\u0443 \u0431\u0438\u0437\u0435\u0441\u0456\u043d\u0435 \u04af\u0439\u0440\u0435\u0442\u0443\",\"publisher\":{\"@id\":\"https:\/\/edu.govs.kz\/openedu\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/edu.govs.kz\/openedu\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ru-RU\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/edu.govs.kz\/openedu\/#organization\",\"name\":\"edu.govs.kz\",\"url\":\"https:\/\/edu.govs.kz\/openedu\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\/\/edu.govs.kz\/openedu\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/edu.govs.kz\/openedu\/wp-content\/uploads\/2025\/07\/favicon.png\",\"contentUrl\":\"https:\/\/edu.govs.kz\/openedu\/wp-content\/uploads\/2025\/07\/favicon.png\",\"width\":100,\"height\":72,\"caption\":\"edu.govs.kz\"},\"image\":{\"@id\":\"https:\/\/edu.govs.kz\/openedu\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/instagram.com\/edu.govs.kz\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/edu.govs.kz\/openedu\/#\/schema\/person\/30b3909c7e9425abac8beb52cf125317\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\/\/edu.govs.kz\/openedu\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/34440583f58d1407a433ede550aaaca7dc32d9549192213b3a2097cb6bfb0c97?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/34440583f58d1407a433ede550aaaca7dc32d9549192213b3a2097cb6bfb0c97?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\/\/edu.govs.kz\/openedu\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"3.7. SQL - \u0434\u0435\u0440\u0435\u043a\u0442\u0435\u0440 \u049b\u043e\u0440\u044b \u043c\u0435\u043d \u0436\u04b1\u043c\u044b\u0441 - edu.govs.kz","description":"SQL - \u0434\u0435\u0440\u0435\u043a\u0442\u0435\u0440 \u049b\u043e\u0440\u044b \u043c\u0435\u043d \u0436\u04b1\u043c\u044b\u0441 SQL \u0442\u0456\u043b\u0456\u043d\u0456\u04a3 \u043d\u0435\u0433\u0456\u0437\u0433\u0456 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043b\u0430\u0440\u044b \u0425\u043e\u0441\u0442\u0438\u043d\u0433 \u043f\u0430\u043d\u0435\u043b\u0456\u043d\u0434\u0435\u0433\u0456 - \u0411\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 - phpMyAdmin \u049b\u043e\u0441\u044b\u043c\u0448\u0430\u0441\u044b\u043d \u0430\u0448\u0443 \u041a\u0435\u0441\u0442\u0435 \u049b\u04b1\u0440\u0443","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/edu.govs.kz\/openedu\/?p=349","og_locale":"ru_RU","og_type":"article","og_title":"3.7. SQL - \u0434\u0435\u0440\u0435\u043a\u0442\u0435\u0440 \u049b\u043e\u0440\u044b \u043c\u0435\u043d \u0436\u04b1\u043c\u044b\u0441 - edu.govs.kz","og_description":"SQL - \u0434\u0435\u0440\u0435\u043a\u0442\u0435\u0440 \u049b\u043e\u0440\u044b \u043c\u0435\u043d \u0436\u04b1\u043c\u044b\u0441 SQL \u0442\u0456\u043b\u0456\u043d\u0456\u04a3 \u043d\u0435\u0433\u0456\u0437\u0433\u0456 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043b\u0430\u0440\u044b \u0425\u043e\u0441\u0442\u0438\u043d\u0433 \u043f\u0430\u043d\u0435\u043b\u0456\u043d\u0434\u0435\u0433\u0456 - \u0411\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 - phpMyAdmin \u049b\u043e\u0441\u044b\u043c\u0448\u0430\u0441\u044b\u043d \u0430\u0448\u0443 \u041a\u0435\u0441\u0442\u0435 \u049b\u04b1\u0440\u0443","og_url":"https:\/\/edu.govs.kz\/openedu\/?p=349","og_site_name":"edu.govs.kz","article_published_time":"2025-05-09T11:24:00+00:00","article_modified_time":"2025-07-31T06:33:08+00:00","og_image":[{"width":1885,"height":390,"url":"https:\/\/edu.govs.kz\/openedu\/wp-content\/uploads\/2025\/05\/image-8.png","type":"image\/png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0430\u0432\u0442\u043e\u0440\u043e\u043c":"admin","\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f":"2 \u043c\u0438\u043d\u0443\u0442\u044b"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/edu.govs.kz\/openedu\/?p=349#article","isPartOf":{"@id":"https:\/\/edu.govs.kz\/openedu\/?p=349"},"author":{"name":"admin","@id":"https:\/\/edu.govs.kz\/openedu\/#\/schema\/person\/30b3909c7e9425abac8beb52cf125317"},"headline":"3.7. SQL &#8212; \u0434\u0435\u0440\u0435\u043a\u0442\u0435\u0440 \u049b\u043e\u0440\u044b \u043c\u0435\u043d \u0436\u04b1\u043c\u044b\u0441","datePublished":"2025-05-09T11:24:00+00:00","dateModified":"2025-07-31T06:33:08+00:00","mainEntityOfPage":{"@id":"https:\/\/edu.govs.kz\/openedu\/?p=349"},"wordCount":310,"commentCount":0,"publisher":{"@id":"https:\/\/edu.govs.kz\/openedu\/#organization"},"image":{"@id":"https:\/\/edu.govs.kz\/openedu\/?p=349#primaryimage"},"thumbnailUrl":"https:\/\/edu.govs.kz\/openedu\/wp-content\/uploads\/2025\/05\/image-8-1024x212.png","articleSection":["3. HTML, CSS, PHP \u0436\u04d9\u043d\u0435 Java \u0431\u0430\u0493\u0434\u0430\u0440\u043b\u0430\u043c\u0430\u043b\u0430\u0443 \u0442\u0456\u043b\u0434\u0435\u0440\u0456 - \u04e9\u0442\u0435 \u043e\u04a3\u0430\u0439"],"inLanguage":"ru-RU","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/edu.govs.kz\/openedu\/?p=349#respond"]}]},{"@type":"WebPage","@id":"https:\/\/edu.govs.kz\/openedu\/?p=349","url":"https:\/\/edu.govs.kz\/openedu\/?p=349","name":"3.7. SQL - \u0434\u0435\u0440\u0435\u043a\u0442\u0435\u0440 \u049b\u043e\u0440\u044b \u043c\u0435\u043d \u0436\u04b1\u043c\u044b\u0441 - edu.govs.kz","isPartOf":{"@id":"https:\/\/edu.govs.kz\/openedu\/#website"},"primaryImageOfPage":{"@id":"https:\/\/edu.govs.kz\/openedu\/?p=349#primaryimage"},"image":{"@id":"https:\/\/edu.govs.kz\/openedu\/?p=349#primaryimage"},"thumbnailUrl":"https:\/\/edu.govs.kz\/openedu\/wp-content\/uploads\/2025\/05\/image-8-1024x212.png","datePublished":"2025-05-09T11:24:00+00:00","dateModified":"2025-07-31T06:33:08+00:00","description":"SQL - \u0434\u0435\u0440\u0435\u043a\u0442\u0435\u0440 \u049b\u043e\u0440\u044b \u043c\u0435\u043d \u0436\u04b1\u043c\u044b\u0441 SQL \u0442\u0456\u043b\u0456\u043d\u0456\u04a3 \u043d\u0435\u0433\u0456\u0437\u0433\u0456 \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u043b\u0430\u0440\u044b \u0425\u043e\u0441\u0442\u0438\u043d\u0433 \u043f\u0430\u043d\u0435\u043b\u0456\u043d\u0434\u0435\u0433\u0456 - \u0411\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 - phpMyAdmin \u049b\u043e\u0441\u044b\u043c\u0448\u0430\u0441\u044b\u043d \u0430\u0448\u0443 \u041a\u0435\u0441\u0442\u0435 \u049b\u04b1\u0440\u0443","breadcrumb":{"@id":"https:\/\/edu.govs.kz\/openedu\/?p=349#breadcrumb"},"inLanguage":"ru-RU","potentialAction":[{"@type":"ReadAction","target":["https:\/\/edu.govs.kz\/openedu\/?p=349"]}]},{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/edu.govs.kz\/openedu\/?p=349#primaryimage","url":"https:\/\/edu.govs.kz\/openedu\/wp-content\/uploads\/2025\/05\/image-8.png","contentUrl":"https:\/\/edu.govs.kz\/openedu\/wp-content\/uploads\/2025\/05\/image-8.png","width":1885,"height":390},{"@type":"BreadcrumbList","@id":"https:\/\/edu.govs.kz\/openedu\/?p=349#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","item":"https:\/\/edu.govs.kz\/openedu\/"},{"@type":"ListItem","position":2,"name":"3.7. SQL &#8212; \u0434\u0435\u0440\u0435\u043a\u0442\u0435\u0440 \u049b\u043e\u0440\u044b \u043c\u0435\u043d \u0436\u04b1\u043c\u044b\u0441"}]},{"@type":"WebSite","@id":"https:\/\/edu.govs.kz\/openedu\/#website","url":"https:\/\/edu.govs.kz\/openedu\/","name":"edu.govs.kz","description":"\u0432\u0435\u0431-\u0441\u0430\u0439\u0442 \u049b\u04b1\u0440\u0443, \u0442\u0435\u0445\u043d\u0438\u043a\u0430\u043b\u044b\u049b \u049b\u043e\u043b\u0434\u0430\u0443 \u0436\u04d9\u043d\u0435 \u0441\u04af\u0439\u0435\u043c\u0435\u043b\u0434\u0435\u0443 \u0431\u0438\u0437\u0435\u0441\u0456\u043d\u0435 \u04af\u0439\u0440\u0435\u0442\u0443","publisher":{"@id":"https:\/\/edu.govs.kz\/openedu\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/edu.govs.kz\/openedu\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ru-RU"},{"@type":"Organization","@id":"https:\/\/edu.govs.kz\/openedu\/#organization","name":"edu.govs.kz","url":"https:\/\/edu.govs.kz\/openedu\/","logo":{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/edu.govs.kz\/openedu\/#\/schema\/logo\/image\/","url":"https:\/\/edu.govs.kz\/openedu\/wp-content\/uploads\/2025\/07\/favicon.png","contentUrl":"https:\/\/edu.govs.kz\/openedu\/wp-content\/uploads\/2025\/07\/favicon.png","width":100,"height":72,"caption":"edu.govs.kz"},"image":{"@id":"https:\/\/edu.govs.kz\/openedu\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/instagram.com\/edu.govs.kz"]},{"@type":"Person","@id":"https:\/\/edu.govs.kz\/openedu\/#\/schema\/person\/30b3909c7e9425abac8beb52cf125317","name":"admin","image":{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/edu.govs.kz\/openedu\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/34440583f58d1407a433ede550aaaca7dc32d9549192213b3a2097cb6bfb0c97?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/34440583f58d1407a433ede550aaaca7dc32d9549192213b3a2097cb6bfb0c97?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/edu.govs.kz\/openedu\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/edu.govs.kz\/openedu\/index.php?rest_route=\/wp\/v2\/posts\/349","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/edu.govs.kz\/openedu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/edu.govs.kz\/openedu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/edu.govs.kz\/openedu\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/edu.govs.kz\/openedu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=349"}],"version-history":[{"count":2,"href":"https:\/\/edu.govs.kz\/openedu\/index.php?rest_route=\/wp\/v2\/posts\/349\/revisions"}],"predecessor-version":[{"id":354,"href":"https:\/\/edu.govs.kz\/openedu\/index.php?rest_route=\/wp\/v2\/posts\/349\/revisions\/354"}],"wp:attachment":[{"href":"https:\/\/edu.govs.kz\/openedu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/edu.govs.kz\/openedu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/edu.govs.kz\/openedu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}