{"id":720,"date":"2023-03-06T12:25:54","date_gmt":"2023-03-06T10:25:54","guid":{"rendered":"https:\/\/portfoolio403336508.wordpress.com\/?page_id=720"},"modified":"2023-03-06T12:25:54","modified_gmt":"2023-03-06T10:25:54","slug":"iseseisev-too-sql-server","status":"publish","type":"page","link":"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/en\/iseseisev-too-sql-server\/","title":{"rendered":"iseseisev t\u00f6\u00f6\/ sql server"},"content":{"rendered":"<p>1.l\u00f5i uue tabeli filmi nime ja pikkusega<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">create table film(\n    nimetusID int primary key identity(1,1),\n    filmNimetus varchar(25) UNIQUE,\n    pikkus int)\n\ninsert into film(filmNimetus, pikkus)\nvalues('Kaardid, rahad kaks p\u00fcst', 86);\n\nselect * from film<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/wp-content\/uploads\/2023\/03\/pilt-20.png?w=292\" alt=\"\" class=\"wp-image-721\" width=\"374\" height=\"174\" \/><\/figure>\n\n\n\n<p>2.otsi filmi pealkirja esimese t\u00e4he j\u00e4rgi<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">USE kinoteatr\ngo\nCREATE PROCEDURE filmiOtsing\n@taht char(1)\nAS\nBEGIN\nSELECT * FROM film\nWHERE filmNimetus LIKE @taht + '%';\nEND\n\nEXEC filmiOtsing @taht='V'<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/wp-content\/uploads\/2023\/03\/pilt-21.png?w=262\" alt=\"\" class=\"wp-image-724\" width=\"325\" height=\"150\" \/><\/figure>\n\n\n\n<p>3.eemaldas nimekirjast kolmanda filmi<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">USE kinoteatr;\ngo\nCREATE PROCEDURE filmKustutamine\n@kustutaId int\nAS\nBEGIN\nSELECT * FROM film;\n\nDELETE FROM film\nWHERE nimetusID=@kustutaId;\n\nSELECT * FROM film;\nEND\nEXEC filmKustutamine @kustutaId=3<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/wp-content\/uploads\/2023\/03\/pilt-22.png?w=421\" alt=\"\" class=\"wp-image-726\" width=\"434\" height=\"333\" srcset=\"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/wp-content\/uploads\/2023\/03\/pilt-22.png 421w, https:\/\/veronikamilovzorova22.thkit.ee\/wp\/wp-content\/uploads\/2023\/03\/pilt-22-300x230.png 300w\" sizes=\"auto, (max-width: 434px) 100vw, 434px\" \/><\/figure>\n\n\n\n<p>4.<strong>sorteeritud filmi aja j\u00e4rgi<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">USE kinoteatr;\ngo\nCREATE PROCEDURE hiNnang\nAS\nBEGIN\nSELECT filmNimetus, pikkus,\nIIF(pikkus&gt;100, 'Pikk film', 'L\u00fchike film') AS hiNnang\nFROM film;\nEND\n\nEXEC hiNnang<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/wp-content\/uploads\/2023\/03\/pilt-23.png?w=347\" alt=\"\" class=\"wp-image-728\" width=\"411\" height=\"208\" srcset=\"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/wp-content\/uploads\/2023\/03\/pilt-23.png 347w, https:\/\/veronikamilovzorova22.thkit.ee\/wp\/wp-content\/uploads\/2023\/03\/pilt-23-300x152.png 300w\" sizes=\"auto, (max-width: 411px) 100vw, 411px\" \/><\/figure>\n\n\n\n<p>5.kubab tabelist linnad 2 veergu<\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">USE kinoteatr\ngo\nCREATE PROCEDURE lihtneSelect\nAS\nBEGIN\nSELECT filmNimetus, pikkus\nFROM film;\nEND\n\nEXEC lihtneSelect;<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/wp-content\/uploads\/2023\/03\/pilt-24.png?w=260\" alt=\"\" class=\"wp-image-730\" width=\"363\" height=\"204\" \/><\/figure>\n\n\n\n<p>6.lisatud uus film<\/p>\n\n\n\n<p><\/p>\n\n\n\n<pre class=\"wp-block-syntaxhighlighter-code\">USE kinoteatr\ngo\nCREATE PROCEDURE lisafilm\n@filmNimetus varchar(25),\n@pikkus int\nAS\nBEGIN\nINSERT INTO film(filmNimetus, pikkus)\nVALUES (@filmNimetus, @pikkus);\nSELECT * FROM film;\nEND \n\nEXEC lisafilm @filmNimetus='Punane koer', @pikkus=101;<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/wp-content\/uploads\/2023\/03\/pilt-25.png?w=329\" alt=\"\" class=\"wp-image-732\" width=\"371\" height=\"192\" srcset=\"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/wp-content\/uploads\/2023\/03\/pilt-25.png 329w, https:\/\/veronikamilovzorova22.thkit.ee\/wp\/wp-content\/uploads\/2023\/03\/pilt-25-300x155.png 300w\" sizes=\"auto, (max-width: 371px) 100vw, 371px\" \/><\/figure>\n\n\n\n<p>7.<\/p>","protected":false},"excerpt":{"rendered":"<p>1.l\u00f5i uue tabeli filmi nime ja pikkusega 2.otsi filmi pealkirja esimese t\u00e4he j\u00e4rgi 3.eemaldas nimekirjast kolmanda filmi 4.sorteeritud filmi aja j\u00e4rgi 5.kubab tabelist linnad 2 veergu 6.lisatud uus film 7.<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-720","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>iseseisev t\u00f6\u00f6\/ sql server - Veronika Milovzorova portfolio\/ est<\/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:\/\/veronikamilovzorova22.thkit.ee\/wp\/en\/iseseisev-too-sql-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"iseseisev t\u00f6\u00f6\/ sql server - Veronika Milovzorova portfolio\/ est\" \/>\n<meta property=\"og:description\" content=\"1.l\u00f5i uue tabeli filmi nime ja pikkusega 2.otsi filmi pealkirja esimese t\u00e4he j\u00e4rgi 3.eemaldas nimekirjast kolmanda filmi 4.sorteeritud filmi aja j\u00e4rgi 5.kubab tabelist linnad 2 veergu 6.lisatud uus film 7.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/en\/iseseisev-too-sql-server\/\" \/>\n<meta property=\"og:site_name\" content=\"Veronika Milovzorova portfolio\/ est\" \/>\n<meta property=\"og:image\" content=\"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/wp-content\/uploads\/2023\/03\/pilt-20.png?w=292\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/veronikamilovzorova22.thkit.ee\\\/wp\\\/iseseisev-too-sql-server\\\/\",\"url\":\"https:\\\/\\\/veronikamilovzorova22.thkit.ee\\\/wp\\\/iseseisev-too-sql-server\\\/\",\"name\":\"iseseisev t\u00f6\u00f6\\\/ sql server - Veronika Milovzorova portfolio\\\/ est\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/veronikamilovzorova22.thkit.ee\\\/wp\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/veronikamilovzorova22.thkit.ee\\\/wp\\\/iseseisev-too-sql-server\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/veronikamilovzorova22.thkit.ee\\\/wp\\\/iseseisev-too-sql-server\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/veronikamilovzorova22.thkit.ee\\\/wp\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/pilt-20.png?w=292\",\"datePublished\":\"2023-03-06T10:25:54+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/veronikamilovzorova22.thkit.ee\\\/wp\\\/iseseisev-too-sql-server\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/veronikamilovzorova22.thkit.ee\\\/wp\\\/iseseisev-too-sql-server\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/veronikamilovzorova22.thkit.ee\\\/wp\\\/iseseisev-too-sql-server\\\/#primaryimage\",\"url\":\"https:\\\/\\\/veronikamilovzorova22.thkit.ee\\\/wp\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/pilt-20.png?w=292\",\"contentUrl\":\"https:\\\/\\\/veronikamilovzorova22.thkit.ee\\\/wp\\\/wp-content\\\/uploads\\\/2023\\\/03\\\/pilt-20.png?w=292\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/veronikamilovzorova22.thkit.ee\\\/wp\\\/iseseisev-too-sql-server\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/veronikamilovzorova22.thkit.ee\\\/wp\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"iseseisev t\u00f6\u00f6\\\/ sql server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/veronikamilovzorova22.thkit.ee\\\/wp\\\/#website\",\"url\":\"https:\\\/\\\/veronikamilovzorova22.thkit.ee\\\/wp\\\/\",\"name\":\"Veronika Milovzorova portfolio\\\/ est\",\"description\":\"Noorem Tarkvaraarendaja\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/veronikamilovzorova22.thkit.ee\\\/wp\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"iseseisev t\u00f6\u00f6\/ sql server - Veronika Milovzorova portfolio\/ est","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:\/\/veronikamilovzorova22.thkit.ee\/wp\/en\/iseseisev-too-sql-server\/","og_locale":"en_US","og_type":"article","og_title":"iseseisev t\u00f6\u00f6\/ sql server - Veronika Milovzorova portfolio\/ est","og_description":"1.l\u00f5i uue tabeli filmi nime ja pikkusega 2.otsi filmi pealkirja esimese t\u00e4he j\u00e4rgi 3.eemaldas nimekirjast kolmanda filmi 4.sorteeritud filmi aja j\u00e4rgi 5.kubab tabelist linnad 2 veergu 6.lisatud uus film 7.","og_url":"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/en\/iseseisev-too-sql-server\/","og_site_name":"Veronika Milovzorova portfolio\/ est","og_image":[{"url":"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/wp-content\/uploads\/2023\/03\/pilt-20.png?w=292","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/iseseisev-too-sql-server\/","url":"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/iseseisev-too-sql-server\/","name":"iseseisev t\u00f6\u00f6\/ sql server - Veronika Milovzorova portfolio\/ est","isPartOf":{"@id":"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/#website"},"primaryImageOfPage":{"@id":"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/iseseisev-too-sql-server\/#primaryimage"},"image":{"@id":"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/iseseisev-too-sql-server\/#primaryimage"},"thumbnailUrl":"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/wp-content\/uploads\/2023\/03\/pilt-20.png?w=292","datePublished":"2023-03-06T10:25:54+00:00","breadcrumb":{"@id":"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/iseseisev-too-sql-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/veronikamilovzorova22.thkit.ee\/wp\/iseseisev-too-sql-server\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/iseseisev-too-sql-server\/#primaryimage","url":"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/wp-content\/uploads\/2023\/03\/pilt-20.png?w=292","contentUrl":"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/wp-content\/uploads\/2023\/03\/pilt-20.png?w=292"},{"@type":"BreadcrumbList","@id":"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/iseseisev-too-sql-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/"},{"@type":"ListItem","position":2,"name":"iseseisev t\u00f6\u00f6\/ sql server"}]},{"@type":"WebSite","@id":"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/#website","url":"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/","name":"Veronika Milovzorova portfolio\/ eng","description":"junior software developer","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/en\/wp-json\/wp\/v2\/pages\/720","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/en\/wp-json\/wp\/v2\/comments?post=720"}],"version-history":[{"count":0,"href":"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/en\/wp-json\/wp\/v2\/pages\/720\/revisions"}],"wp:attachment":[{"href":"https:\/\/veronikamilovzorova22.thkit.ee\/wp\/en\/wp-json\/wp\/v2\/media?parent=720"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}