{"id":1574,"date":"2024-09-17T15:22:09","date_gmt":"2024-09-17T15:22:09","guid":{"rendered":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/?p=1574"},"modified":"2024-09-17T15:22:10","modified_gmt":"2024-09-17T15:22:10","slug":"ab-%d0%b1%d0%b0%d0%b7%d0%b0-%d0%bc%d0%b0%d0%b3%d0%b0%d0%b7%d0%b8%d0%bd","status":"publish","type":"post","link":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/2024\/09\/17\/ab-%d0%b1%d0%b0%d0%b7%d0%b0-%d0%bc%d0%b0%d0%b3%d0%b0%d0%b7%d0%b8%d0%bd\/","title":{"rendered":"AB \u0431\u0430\u0437\u0430 &#8212; \u043c\u0430\u0433\u0430\u0437\u0438\u043d"},"content":{"rendered":"\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"has-large-font-size wp-block-paragraph\"><strong>SQL Server<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">CREATE DATABASE ShopBase ;\nUSE ShopBase ;<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>TABLE BRANDS<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">Create table brands(\nbrand_id int primary key identity(1,1),\nbrand_name varchar(20)\n);\nINSERT INTO brands\n(brand_name) \nVALUES ('zara'),\n('h&amp;m'),\n('dior'),\n('nike'),\n('chanel');\nselect * from brands<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/kodu4.wordpress.com\/wp-content\/uploads\/2024\/05\/pilt-64.png?w=133\" alt=\"\" class=\"wp-image-1356\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>TABLE CATEGORIES<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\nCreate table categories(\ncategory_id int primary key identity(1,1),\ncategory_name varchar(20)\n);\nINSERT INTO categories\n(category_name) \nVALUES (&#039;\u00fcler\u00f5ivad&#039;),\n(&#039;ujumisriided&#039;),\n(&#039;kombinesoonid&#039;),\n(&#039;pesu&#039;),\n(&#039;pid\u017eaama&#039;);\nselect * from categories\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/kodu4.wordpress.com\/wp-content\/uploads\/2024\/05\/pilt-61.png?w=162\" alt=\"\" class=\"wp-image-1352\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>TABLE CUSTOMERS<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\nCreate table customers(\ncustomer_id int primary key identity(1,1),\nfirst_name varchar(20),\nlast_name varchar(20),\nphone varchar(20),\nemail varchar(20),\nstreet varchar(20),\ncity varchar(20),\nstate varchar(20),\nzip_code char(5)\n);\nINSERT INTO customers\n(first_name,last_name,phone,email,street,city,state,zip_code) \nVALUES (&#039;Valeria&#039;,&#039;Allik&#039;,&#039;55516475&#039;,&#039;lera@gmail.com&#039;,&#039;Narva mnt&#039;,&#039;Tallinn&#039;,&#039;Estonia&#039;,52345),\n(&#039;Daria&#039;,&#039;Halchenko&#039;,&#039;55596734&#039;,&#039;d.h@gmail.com&#039;,&#039;Peterbuuri tee&#039;,&#039;Tallinn&#039;,&#039;Estonia&#039;,54321),\n(&#039;Alexandra&#039;,&#039;Semjonova&#039;,&#039;55539674&#039;,&#039;sasha@gmail.com&#039;,&#039;Telliskivi tee&#039;,&#039;Tallinn&#039;,&#039;Estonia&#039;,13245),\n(&#039;David&#039;,&#039;Myrseth&#039;,&#039;55503752&#039;,&#039;david@gmail.com&#039;,&#039;Paemurru tee&#039;,&#039;Narva&#039;,&#039;Estonia&#039;,65432),\n(&#039;Maria&#039;,&#039;Gorbunova&#039;,&#039;55504829&#039;,&#039;maria@gmail.com&#039;,&#039;Viljandi mnt&#039;,&#039;Tallinn&#039;,&#039;Estonia&#039;,94037);\nselect * from customers\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/kodu4.wordpress.com\/wp-content\/uploads\/2024\/05\/pilt-62.png?w=612\" alt=\"\" class=\"wp-image-1353\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>TABLE PRODUCTS<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\nCREATE TABLE products(\nproduct_id int not null primary key identity(1,1),\nproduct_name varchar(20),\nbrand_id int,\ncategory_id int,\nmodel_year int,\nlist_price decimal(7, 2),\nFOREIGN KEY (brand_id) REFERENCES brands(brand_id),\nFOREIGN KEY (category_id) REFERENCES categories(category_id)\n);\nINSERT INTO products\n(product_name, brand_id, category_id,model_year,list_price) \nVALUES (&#039;s\u00e4rk&#039;, 1, 1, 2020, 25.20),\n(&#039;t-s\u00e4rk&#039;, 2, 2, 2023, 10.99),\n(&#039;teksad&#039;, 3, 3, 2021, 30.50),\n(&#039;p\u00fcksid&#039;, 4, 4, 2024, 15.20),\n(&#039;ujumisp\u00fcksid&#039;, 5, 5, 2022, 9.99);\nselect * from products\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/kodu4.wordpress.com\/wp-content\/uploads\/2024\/05\/pilt-63.png?w=405\" alt=\"\" class=\"wp-image-1355\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>TABLE STORES<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\nCreate table stores(\nstore_id int primary key identity(1,1),\nstore_name varchar(20),\nphone varchar(20),\nemail varchar(20),\nstreet varchar(20),\ncity varchar(20),\nstate varchar(20),\nzip_code char(5)\n);\nINSERT INTO stores\n(store_name, phone, email,street,city,state,zip_code) \nVALUES (&#039;Blive&#039;, &#039;55583951&#039;, &#039;blive@gmail.com&#039;, &#039;Narva mnt&#039;, &#039;Tallin&#039;,&#039;Estonia&#039;,47382),\n(&#039;Hibe&#039;, &#039;55503728&#039;, &#039;hibe@gmail.com&#039;, &#039;Viljandi mnt&#039;, &#039;Tallin&#039;,&#039;Estonia&#039;,58361),\n(&#039;Illit&#039;, &#039;55529571&#039;, &#039;illit@gmail.com&#039;, &#039;Telliskivi tee&#039;, &#039;Tallin&#039;,&#039;Estonia&#039;,94017),\n(&#039;TXT&#039;, &#039;55530681&#039;, &#039;txt@gmail.com&#039;, &#039;Paemurru tee&#039;, &#039;Narva&#039;,&#039;Estonia&#039;,10603),\n(&#039;SKZ&#039;, &#039;55559306&#039;, &#039;skz@gmail.com&#039;, &#039;Peterbuuri tee&#039;, &#039;Tallin&#039;,&#039;Estonia&#039;,50381);\nselect * from stores\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/kodu4.wordpress.com\/wp-content\/uploads\/2024\/05\/pilt-65.png?w=523\" alt=\"\" class=\"wp-image-1359\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>TABLE STAFFS<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\nCREATE TABLE staffs(\nstaff_id int not null primary key identity(1,1),\nfirst_name varchar(20),\nlast_name varchar(20),\nemail varchar(20),\nphone varchar(20),\nactive bit,\nstore_id int,\nmanager_id int,\nFOREIGN KEY (store_id) REFERENCES stores(store_id),\nFOREIGN KEY (manager_id) REFERENCES staffs(staff_id)\n);\nINSERT INTO staffs\n(first_name, last_name, email,phone,active,store_id,manager_id) \nVALUES (&#039;Kirill&#039;, &#039;Saats&#039;, &#039;kirill@gmail.com&#039;, &#039;55594027&#039;, 1, 1, 1),\n(&#039;David&#039;, &#039;Lennuk&#039;, &#039;lennuk@gmail.com&#039;, &#039;55573950&#039;, 0, 2, 2),\n(&#039;Martin&#039;, &#039;Sild&#039;, &#039;martin@gmail.com&#039;, &#039;55525852&#039;, 1, 3, 3),\n(&#039;Lev&#039;, &#039;Jegorov&#039;, &#039;lev@gmail.com&#039;, &#039;55568397&#039;, 0, 4, 4),\n(&#039;Timur&#039;, &#039;Bashirov&#039;, &#039;timur@gmail.com&#039;, &#039;55528401&#039;, 1, 5, 5);\nselect * from staffs\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/kodu4.wordpress.com\/wp-content\/uploads\/2024\/05\/pilt-66.png?w=518\" alt=\"\" class=\"wp-image-1360\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>TABLE ORDERS<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\nCREATE TABLE orders(\norder_id int not null primary key identity(1,1),\ncustomer_id int,\norder_status varchar(20),\norder_date date,\nrequired_date date,\nshipped_date date,\nstore_id int,\nstaff_id int,\nFOREIGN KEY (customer_id) REFERENCES customers(customer_id),\nFOREIGN KEY (store_id) REFERENCES stores(store_id),\nFOREIGN KEY (staff_id) REFERENCES staffs(staff_id)\n);\nINSERT INTO orders\n(customer_id, order_status, order_date, required_date, shipped_date,store_id,staff_id) \nVALUES (1, &#039;Shipped&#039;, &#039;2024-08-15&#039;, &#039;2024-08-16&#039;, &#039;2024-07-14&#039;, 1, 1),\n(2, &#039;Shipped&#039;, &#039;2024-10-25&#039;, &#039;2024-04-30&#039;, &#039;2024-09-17&#039;, 2, 2),\n(3, &#039;Shipped&#039;, &#039;2024-10-15&#039;, &#039;2024-03-02&#039;, &#039;2024-09-24&#039;, 3, 3),\n(4, &#039;Shipped&#039;, &#039;2023-12-16&#039;, &#039;2024-07-13&#039;, &#039;2024-11-20&#039;, 4, 4),\n(5, &#039;Shipped&#039;, &#039;2024-01-19&#039;, &#039;2024-05-26&#039;, &#039;2024-12-30&#039;, 5, 5);\nselect * from orders\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/kodu4.wordpress.com\/wp-content\/uploads\/2024\/05\/pilt-67.png?w=539\" alt=\"\" class=\"wp-image-1362\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>TABLE ORDER ITEMS<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\nCREATE TABLE order_items(\norder_id int not null,\nitem_id int,\nproduct_id int,\nquantity int,\nlist_price decimal(7, 2),\ndiscount varchar(10),\nPRIMARY KEY (order_id, item_id),\nFOREIGN KEY(product_id) REFERENCES products(product_id),\nFOREIGN KEY(order_id) REFERENCES orders(order_id),\nFOREIGN KEY(item_id) REFERENCES orders(order_id)\n);\nINSERT INTO order_items\n(order_id, item_id, product_id, quantity,list_price,discount) \nVALUES (1, 1, 1, 10, 110.50, &#039;5%&#039;),\n(2, 2, 2, 30, 30.99, &#039;10%&#039;),\n(3, 3, 3, 42, 43.80, &#039;40%&#039;),\n(4, 4, 4, 56, 12.99, &#039;25%&#039;),\n(5, 5, 5, 5, 58.35, &#039;12%&#039;);\nselect * from order_items\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/kodu4.wordpress.com\/wp-content\/uploads\/2024\/05\/pilt-69.png?w=340\" alt=\"\" class=\"wp-image-1369\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><img decoding=\"async\" src=\"image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOQAAAB2CAYAAADY+T\/FAAAO0UlEQVR4Xu1dPWzcyhGeS5pUsYHXBK59Lg5qAqQ6dakip1GlVkgjlVKjTkh1nRu5CXDqrkmhIICA4ElAeqlJKwiITkEqG2keYL\/qNYkyy58TSZGc5eyQuxzvNf457ux+3zcfd7k8DidP+IGAPg8PDwGNJg4lMjAsA5PQD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thmwtx6LyPqRfPVi90yKywg7aSAMGCcI08uA8Q0oQO2QMDSJqwCChuUYeoiElMmPgGBoTkUOhRh6iITmZ4LmNxkTkUKqRh2hITiZ4bqMxETmUauSh0ZAcgmKbyEBkwJ2BWMLDncNBI2icGTgEauQhLlk5meC5jcZE5FCqkYdoSE4meG6jMRE5lGrkIRqSkwme22hMRA6lGnlgGrKlNAKH2QHb0CKGj00DBgnJNfLgYMi60ggSNPcbw07EsLFpwCChskYeeIZsKo0gwXLPMUgRR4BNAwYJmTXywDdkTWkECZL7jmElYuDYNGCQ0FkjD3xDYvGgammEEKp2UUJbiRg4Ng0YKJ1svtfIA8+QFbZCfW6wTlRSxBFg04DBxnDUMRp5iIYkVA\/xZKMxESnzaT25VnGxDNlcGoFD67BtqGQeAzYNGCRU18gDy5CtpREkmO4xBiXiGLBpwCAhsUYemIaUoNNPDFpEP+Pq0qsGDF3wNh2rkYdoSInMGDiGxkTkUKiRh2hITiZ4bqMxETmUauQhGpKTCZ7baExEDqUaeYiG5GSC5zYaE5FDqUYeGg3JISi2iQxEBtwYqJbvMNEmT\/hxCxtbRwYiA1IM\/B9J+0E6UIt73AAAAABJRU5ErkJggg==\" alt=\"\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>TABLE STOCKS<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\nCREATE TABLE stocks(\nstore_id int not null,\nproduct_id int,\nquantity int,\nPRIMARY KEY (store_id, product_id),\nFOREIGN KEY(product_id) REFERENCES products(product_id),\nFOREIGN KEY(store_id) REFERENCES stores(store_id)\n);\nINSERT INTO stocks\n(store_id, product_id, quantity) \nVALUES (1, 1, 30),\n(2, 2, 90),\n(3, 3, 76),\n(4, 4, 81),\n(5, 5, 48);\nselect * from stocks\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/kodu4.wordpress.com\/wp-content\/uploads\/2024\/05\/pilt-68.png?w=173\" alt=\"\" class=\"wp-image-1365\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\"><strong>K\u00d5IK TABLES<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/kodu4.wordpress.com\/wp-content\/uploads\/2024\/05\/pilt-70.png?w=759\" alt=\"\" class=\"wp-image-1371\"\/><\/figure>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\"><strong>KASUTAJAD <\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>STAFF<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/kodu4.wordpress.com\/wp-content\/uploads\/2024\/05\/hoiva-4.png?w=699\" alt=\"\" class=\"wp-image-1374\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/kodu4.wordpress.com\/wp-content\/uploads\/2024\/05\/hoiva-5.png?w=698\" alt=\"\" class=\"wp-image-1376\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>MANAGER<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/kodu4.wordpress.com\/wp-content\/uploads\/2024\/05\/hoiva-6.png?w=694\" alt=\"\" class=\"wp-image-1378\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/kodu4.wordpress.com\/wp-content\/uploads\/2024\/05\/hoiva-7.png?w=697\" alt=\"\" class=\"wp-image-1380\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u00d5IGUSED &#8216;STAFF<\/strong>&#8216;<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\ngrant SELECT on customers to staff; \ngrant SELECT on staffs to staff;\ngrant SELECT on orders to staff;\ngrant SELECT on order_items to staff;\ngrant SELECT on stores to staff;\ngrant insert on order_items to staff;\ngrant insert on orders to staff;\nDENY DELETE on order_items to staff;\nDENY DELETE on orders to staff;\nDENY update on order_items to staff;\nDENY update on orders to staff;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong>\u00d5IGUSED &#8216;MANAGER&#8217;<\/strong><\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: sql; title: ; notranslate\" title=\"\">\nGRANT SELECT to manager;\nDENY insert on stores to manager;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong>\u00dcLEVAATUS &#8216;STAFF&#8217;<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>select<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/kodu4.wordpress.com\/wp-content\/uploads\/2024\/05\/pilt-71.png?w=653\" alt=\"\" class=\"wp-image-1384\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/kodu4.wordpress.com\/wp-content\/uploads\/2024\/05\/pilt-72.png?w=568\" alt=\"\" class=\"wp-image-1385\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/kodu4.wordpress.com\/wp-content\/uploads\/2024\/05\/pilt-73.png?w=581\" alt=\"\" class=\"wp-image-1386\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/kodu4.wordpress.com\/wp-content\/uploads\/2024\/05\/pilt-74.png?w=383\" alt=\"\" class=\"wp-image-1387\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/kodu4.wordpress.com\/wp-content\/uploads\/2024\/05\/pilt-75.png?w=581\" alt=\"\" class=\"wp-image-1389\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>drop<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/kodu4.wordpress.com\/wp-content\/uploads\/2024\/05\/hoiva-8.png?w=702\" alt=\"\" class=\"wp-image-1393\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/kodu4.wordpress.com\/wp-content\/uploads\/2024\/05\/pilt-76.png?w=687\" alt=\"\" class=\"wp-image-1395\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>update<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/kodu4.wordpress.com\/wp-content\/uploads\/2024\/05\/pilt-77.png?w=740\" alt=\"\" class=\"wp-image-1396\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/kodu4.wordpress.com\/wp-content\/uploads\/2024\/05\/pilt-78.png?w=718\" alt=\"\" class=\"wp-image-1397\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u00dcLEVAATUS &#8216;MANAGER&#8217;<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>insert<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/kodu4.wordpress.com\/wp-content\/uploads\/2024\/05\/pilt-79.png?w=784\" alt=\"\" class=\"wp-image-1399\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>select<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/kodu4.wordpress.com\/wp-content\/uploads\/2024\/05\/pilt-80.png?w=650\" alt=\"\" class=\"wp-image-1400\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/kodu4.wordpress.com\/wp-content\/uploads\/2024\/05\/pilt-81.png?w=571\" alt=\"\" class=\"wp-image-1402\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/kodu4.wordpress.com\/wp-content\/uploads\/2024\/05\/pilt-82.png?w=550\" alt=\"\" class=\"wp-image-1403\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>SQL Server CREATE DATABASE ShopBase ; USE ShopBase ; TABLE BRANDS Create table brands( brand_id int primary key identity(1,1), brand_name varchar(20) ); INSERT INTO brands (brand_name) VALUES (&#8216;zara&#8217;), (&#8216;h&amp;m&#8217;), (&#8216;dior&#8217;), (&#8216;nike&#8217;), (&#8216;chanel&#8217;); select * from brands TABLE CATEGORIES TABLE CUSTOMERS TABLE PRODUCTS TABLE STORES TABLE STAFFS TABLE ORDERS TABLE ORDER ITEMS TABLE STOCKS K\u00d5IK TABLES [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-1574","post","type-post","status-publish","format-standard","hentry","category-andmebaasisusteemide-alused"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>AB \u0431\u0430\u0437\u0430 - \u043c\u0430\u0433\u0430\u0437\u0438\u043d - Valeria Allik portfoolio | Russian<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/2024\/09\/17\/ab-\u0431\u0430\u0437\u0430-\u043c\u0430\u0433\u0430\u0437\u0438\u043d\/\" \/>\n<meta property=\"og:locale\" content=\"ru_RU\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AB \u0431\u0430\u0437\u0430 - \u043c\u0430\u0433\u0430\u0437\u0438\u043d - Valeria Allik portfoolio | Russian\" \/>\n<meta property=\"og:description\" content=\"SQL Server CREATE DATABASE ShopBase ; USE ShopBase ; TABLE BRANDS Create table brands( brand_id int primary key identity(1,1), brand_name varchar(20) ); INSERT INTO brands (brand_name) VALUES (&#039;zara&#039;), (&#039;h&amp;m&#039;), (&#039;dior&#039;), (&#039;nike&#039;), (&#039;chanel&#039;); select * from brands TABLE CATEGORIES TABLE CUSTOMERS TABLE PRODUCTS TABLE STORES TABLE STAFFS TABLE ORDERS TABLE ORDER ITEMS TABLE STOCKS K\u00d5IK TABLES [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/2024\/09\/17\/ab-\u0431\u0430\u0437\u0430-\u043c\u0430\u0433\u0430\u0437\u0438\u043d\/\" \/>\n<meta property=\"og:site_name\" content=\"Valeria Allik portfoolio | Russian\" \/>\n<meta property=\"article:published_time\" content=\"2024-09-17T15:22:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-17T15:22:10+00:00\" \/>\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=\"4 \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:\\\/\\\/valeriaallik23.thkit.ee\\\/wp\\\/ru\\\/2024\\\/09\\\/17\\\/ab-%d0%b1%d0%b0%d0%b7%d0%b0-%d0%bc%d0%b0%d0%b3%d0%b0%d0%b7%d0%b8%d0%bd\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/valeriaallik23.thkit.ee\\\/wp\\\/ru\\\/2024\\\/09\\\/17\\\/ab-%d0%b1%d0%b0%d0%b7%d0%b0-%d0%bc%d0%b0%d0%b3%d0%b0%d0%b7%d0%b8%d0%bd\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/valeriaallik23.thkit.ee\\\/wp\\\/ru\\\/#\\\/schema\\\/person\\\/be38dc15d5db1134b3b156c050997e18\"},\"headline\":\"AB \u0431\u0430\u0437\u0430 &#8212; \u043c\u0430\u0433\u0430\u0437\u0438\u043d\",\"datePublished\":\"2024-09-17T15:22:09+00:00\",\"dateModified\":\"2024-09-17T15:22:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/valeriaallik23.thkit.ee\\\/wp\\\/ru\\\/2024\\\/09\\\/17\\\/ab-%d0%b1%d0%b0%d0%b7%d0%b0-%d0%bc%d0%b0%d0%b3%d0%b0%d0%b7%d0%b8%d0%bd\\\/\"},\"wordCount\":44,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/valeriaallik23.thkit.ee\\\/wp\\\/ru\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/valeriaallik23.thkit.ee\\\/wp\\\/ru\\\/2024\\\/09\\\/17\\\/ab-%d0%b1%d0%b0%d0%b7%d0%b0-%d0%bc%d0%b0%d0%b3%d0%b0%d0%b7%d0%b8%d0%bd\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/kodu4.wordpress.com\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/pilt-64.png?w=133\",\"articleSection\":[\"Andmebaasis\u00fcsteemide alused\"],\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/valeriaallik23.thkit.ee\\\/wp\\\/ru\\\/2024\\\/09\\\/17\\\/ab-%d0%b1%d0%b0%d0%b7%d0%b0-%d0%bc%d0%b0%d0%b3%d0%b0%d0%b7%d0%b8%d0%bd\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/valeriaallik23.thkit.ee\\\/wp\\\/ru\\\/2024\\\/09\\\/17\\\/ab-%d0%b1%d0%b0%d0%b7%d0%b0-%d0%bc%d0%b0%d0%b3%d0%b0%d0%b7%d0%b8%d0%bd\\\/\",\"url\":\"https:\\\/\\\/valeriaallik23.thkit.ee\\\/wp\\\/ru\\\/2024\\\/09\\\/17\\\/ab-%d0%b1%d0%b0%d0%b7%d0%b0-%d0%bc%d0%b0%d0%b3%d0%b0%d0%b7%d0%b8%d0%bd\\\/\",\"name\":\"AB \u0431\u0430\u0437\u0430 - \u043c\u0430\u0433\u0430\u0437\u0438\u043d - Valeria Allik portfoolio | Russian\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/valeriaallik23.thkit.ee\\\/wp\\\/ru\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/valeriaallik23.thkit.ee\\\/wp\\\/ru\\\/2024\\\/09\\\/17\\\/ab-%d0%b1%d0%b0%d0%b7%d0%b0-%d0%bc%d0%b0%d0%b3%d0%b0%d0%b7%d0%b8%d0%bd\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/valeriaallik23.thkit.ee\\\/wp\\\/ru\\\/2024\\\/09\\\/17\\\/ab-%d0%b1%d0%b0%d0%b7%d0%b0-%d0%bc%d0%b0%d0%b3%d0%b0%d0%b7%d0%b8%d0%bd\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/kodu4.wordpress.com\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/pilt-64.png?w=133\",\"datePublished\":\"2024-09-17T15:22:09+00:00\",\"dateModified\":\"2024-09-17T15:22:10+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/valeriaallik23.thkit.ee\\\/wp\\\/ru\\\/2024\\\/09\\\/17\\\/ab-%d0%b1%d0%b0%d0%b7%d0%b0-%d0%bc%d0%b0%d0%b3%d0%b0%d0%b7%d0%b8%d0%bd\\\/#breadcrumb\"},\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/valeriaallik23.thkit.ee\\\/wp\\\/ru\\\/2024\\\/09\\\/17\\\/ab-%d0%b1%d0%b0%d0%b7%d0%b0-%d0%bc%d0%b0%d0%b3%d0%b0%d0%b7%d0%b8%d0%bd\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\\\/\\\/valeriaallik23.thkit.ee\\\/wp\\\/ru\\\/2024\\\/09\\\/17\\\/ab-%d0%b1%d0%b0%d0%b7%d0%b0-%d0%bc%d0%b0%d0%b3%d0%b0%d0%b7%d0%b8%d0%bd\\\/#primaryimage\",\"url\":\"https:\\\/\\\/kodu4.wordpress.com\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/pilt-64.png?w=133\",\"contentUrl\":\"https:\\\/\\\/kodu4.wordpress.com\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/pilt-64.png?w=133\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/valeriaallik23.thkit.ee\\\/wp\\\/ru\\\/2024\\\/09\\\/17\\\/ab-%d0%b1%d0%b0%d0%b7%d0%b0-%d0%bc%d0%b0%d0%b3%d0%b0%d0%b7%d0%b8%d0%bd\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/valeriaallik23.thkit.ee\\\/wp\\\/ru\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AB \u0431\u0430\u0437\u0430 &#8212; \u043c\u0430\u0433\u0430\u0437\u0438\u043d\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/valeriaallik23.thkit.ee\\\/wp\\\/ru\\\/#website\",\"url\":\"https:\\\/\\\/valeriaallik23.thkit.ee\\\/wp\\\/ru\\\/\",\"name\":\"Valeria Allik portfoolio | Russian\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/valeriaallik23.thkit.ee\\\/wp\\\/ru\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/valeriaallik23.thkit.ee\\\/wp\\\/ru\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ru-RU\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/valeriaallik23.thkit.ee\\\/wp\\\/ru\\\/#organization\",\"name\":\"Valeria Allik portfoolio | Russian\",\"url\":\"https:\\\/\\\/valeriaallik23.thkit.ee\\\/wp\\\/ru\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\\\/\\\/valeriaallik23.thkit.ee\\\/wp\\\/ru\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/valeriaallik23.thkit.ee\\\/wp\\\/ru\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/09\\\/Pink-Bold-Retro-Aesthetic-Inspirational-Quote-Instagram-Post.png\",\"contentUrl\":\"https:\\\/\\\/valeriaallik23.thkit.ee\\\/wp\\\/ru\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/09\\\/Pink-Bold-Retro-Aesthetic-Inspirational-Quote-Instagram-Post.png\",\"width\":1080,\"height\":1080,\"caption\":\"Valeria Allik portfoolio | Russian\"},\"image\":{\"@id\":\"https:\\\/\\\/valeriaallik23.thkit.ee\\\/wp\\\/ru\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/valeriaallik23.thkit.ee\\\/wp\\\/ru\\\/#\\\/schema\\\/person\\\/be38dc15d5db1134b3b156c050997e18\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bb13eb1a5656740feb3312c206d66a49c17d0b3f3092b85508fd48f21160ac98?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bb13eb1a5656740feb3312c206d66a49c17d0b3f3092b85508fd48f21160ac98?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bb13eb1a5656740feb3312c206d66a49c17d0b3f3092b85508fd48f21160ac98?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\\\/\\\/valeriaallik23.thkit.ee\\\/wp\"],\"url\":\"https:\\\/\\\/valeriaallik23.thkit.ee\\\/wp\\\/ru\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"AB \u0431\u0430\u0437\u0430 - \u043c\u0430\u0433\u0430\u0437\u0438\u043d - Valeria Allik portfoolio | Russian","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:\/\/valeriaallik23.thkit.ee\/wp\/ru\/2024\/09\/17\/ab-\u0431\u0430\u0437\u0430-\u043c\u0430\u0433\u0430\u0437\u0438\u043d\/","og_locale":"ru_RU","og_type":"article","og_title":"AB \u0431\u0430\u0437\u0430 - \u043c\u0430\u0433\u0430\u0437\u0438\u043d - Valeria Allik portfoolio | Russian","og_description":"SQL Server CREATE DATABASE ShopBase ; USE ShopBase ; TABLE BRANDS Create table brands( brand_id int primary key identity(1,1), brand_name varchar(20) ); INSERT INTO brands (brand_name) VALUES ('zara'), ('h&amp;m'), ('dior'), ('nike'), ('chanel'); select * from brands TABLE CATEGORIES TABLE CUSTOMERS TABLE PRODUCTS TABLE STORES TABLE STAFFS TABLE ORDERS TABLE ORDER ITEMS TABLE STOCKS K\u00d5IK TABLES [&hellip;]","og_url":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/2024\/09\/17\/ab-\u0431\u0430\u0437\u0430-\u043c\u0430\u0433\u0430\u0437\u0438\u043d\/","og_site_name":"Valeria Allik portfoolio | Russian","article_published_time":"2024-09-17T15:22:09+00:00","article_modified_time":"2024-09-17T15:22:10+00:00","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":"4 \u043c\u0438\u043d\u0443\u0442\u044b"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/2024\/09\/17\/ab-%d0%b1%d0%b0%d0%b7%d0%b0-%d0%bc%d0%b0%d0%b3%d0%b0%d0%b7%d0%b8%d0%bd\/#article","isPartOf":{"@id":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/2024\/09\/17\/ab-%d0%b1%d0%b0%d0%b7%d0%b0-%d0%bc%d0%b0%d0%b3%d0%b0%d0%b7%d0%b8%d0%bd\/"},"author":{"name":"admin","@id":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/#\/schema\/person\/be38dc15d5db1134b3b156c050997e18"},"headline":"AB \u0431\u0430\u0437\u0430 &#8212; \u043c\u0430\u0433\u0430\u0437\u0438\u043d","datePublished":"2024-09-17T15:22:09+00:00","dateModified":"2024-09-17T15:22:10+00:00","mainEntityOfPage":{"@id":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/2024\/09\/17\/ab-%d0%b1%d0%b0%d0%b7%d0%b0-%d0%bc%d0%b0%d0%b3%d0%b0%d0%b7%d0%b8%d0%bd\/"},"wordCount":44,"commentCount":0,"publisher":{"@id":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/#organization"},"image":{"@id":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/2024\/09\/17\/ab-%d0%b1%d0%b0%d0%b7%d0%b0-%d0%bc%d0%b0%d0%b3%d0%b0%d0%b7%d0%b8%d0%bd\/#primaryimage"},"thumbnailUrl":"https:\/\/kodu4.wordpress.com\/wp-content\/uploads\/2024\/05\/pilt-64.png?w=133","articleSection":["Andmebaasis\u00fcsteemide alused"],"inLanguage":"ru-RU","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/2024\/09\/17\/ab-%d0%b1%d0%b0%d0%b7%d0%b0-%d0%bc%d0%b0%d0%b3%d0%b0%d0%b7%d0%b8%d0%bd\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/2024\/09\/17\/ab-%d0%b1%d0%b0%d0%b7%d0%b0-%d0%bc%d0%b0%d0%b3%d0%b0%d0%b7%d0%b8%d0%bd\/","url":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/2024\/09\/17\/ab-%d0%b1%d0%b0%d0%b7%d0%b0-%d0%bc%d0%b0%d0%b3%d0%b0%d0%b7%d0%b8%d0%bd\/","name":"AB \u0431\u0430\u0437\u0430 - \u043c\u0430\u0433\u0430\u0437\u0438\u043d - Valeria Allik portfoolio | Russian","isPartOf":{"@id":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/#website"},"primaryImageOfPage":{"@id":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/2024\/09\/17\/ab-%d0%b1%d0%b0%d0%b7%d0%b0-%d0%bc%d0%b0%d0%b3%d0%b0%d0%b7%d0%b8%d0%bd\/#primaryimage"},"image":{"@id":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/2024\/09\/17\/ab-%d0%b1%d0%b0%d0%b7%d0%b0-%d0%bc%d0%b0%d0%b3%d0%b0%d0%b7%d0%b8%d0%bd\/#primaryimage"},"thumbnailUrl":"https:\/\/kodu4.wordpress.com\/wp-content\/uploads\/2024\/05\/pilt-64.png?w=133","datePublished":"2024-09-17T15:22:09+00:00","dateModified":"2024-09-17T15:22:10+00:00","breadcrumb":{"@id":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/2024\/09\/17\/ab-%d0%b1%d0%b0%d0%b7%d0%b0-%d0%bc%d0%b0%d0%b3%d0%b0%d0%b7%d0%b8%d0%bd\/#breadcrumb"},"inLanguage":"ru-RU","potentialAction":[{"@type":"ReadAction","target":["https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/2024\/09\/17\/ab-%d0%b1%d0%b0%d0%b7%d0%b0-%d0%bc%d0%b0%d0%b3%d0%b0%d0%b7%d0%b8%d0%bd\/"]}]},{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/2024\/09\/17\/ab-%d0%b1%d0%b0%d0%b7%d0%b0-%d0%bc%d0%b0%d0%b3%d0%b0%d0%b7%d0%b8%d0%bd\/#primaryimage","url":"https:\/\/kodu4.wordpress.com\/wp-content\/uploads\/2024\/05\/pilt-64.png?w=133","contentUrl":"https:\/\/kodu4.wordpress.com\/wp-content\/uploads\/2024\/05\/pilt-64.png?w=133"},{"@type":"BreadcrumbList","@id":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/2024\/09\/17\/ab-%d0%b1%d0%b0%d0%b7%d0%b0-%d0%bc%d0%b0%d0%b3%d0%b0%d0%b7%d0%b8%d0%bd\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/"},{"@type":"ListItem","position":2,"name":"AB \u0431\u0430\u0437\u0430 &#8212; \u043c\u0430\u0433\u0430\u0437\u0438\u043d"}]},{"@type":"WebSite","@id":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/#website","url":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/","name":"Valeria Allik portfoolio | Russian","description":"","publisher":{"@id":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ru-RU"},{"@type":"Organization","@id":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/#organization","name":"Valeria Allik portfoolio | Russian","url":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/","logo":{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/#\/schema\/logo\/image\/","url":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/wp-content\/uploads\/sites\/2\/2024\/09\/Pink-Bold-Retro-Aesthetic-Inspirational-Quote-Instagram-Post.png","contentUrl":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/wp-content\/uploads\/sites\/2\/2024\/09\/Pink-Bold-Retro-Aesthetic-Inspirational-Quote-Instagram-Post.png","width":1080,"height":1080,"caption":"Valeria Allik portfoolio | Russian"},"image":{"@id":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/#\/schema\/person\/be38dc15d5db1134b3b156c050997e18","name":"admin","image":{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/secure.gravatar.com\/avatar\/bb13eb1a5656740feb3312c206d66a49c17d0b3f3092b85508fd48f21160ac98?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/bb13eb1a5656740feb3312c206d66a49c17d0b3f3092b85508fd48f21160ac98?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/bb13eb1a5656740feb3312c206d66a49c17d0b3f3092b85508fd48f21160ac98?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/valeriaallik23.thkit.ee\/wp"],"url":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/wp-json\/wp\/v2\/posts\/1574","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/wp-json\/wp\/v2\/comments?post=1574"}],"version-history":[{"count":1,"href":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/wp-json\/wp\/v2\/posts\/1574\/revisions"}],"predecessor-version":[{"id":1575,"href":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/wp-json\/wp\/v2\/posts\/1574\/revisions\/1575"}],"wp:attachment":[{"href":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/wp-json\/wp\/v2\/media?parent=1574"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/wp-json\/wp\/v2\/categories?post=1574"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/valeriaallik23.thkit.ee\/wp\/ru\/wp-json\/wp\/v2\/tags?post=1574"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}