<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6807641511975030935</id><updated>2024-11-08T18:40:41.591+03:00</updated><category term="dbms"/><category term="rnd"/><category term="Академический Университет"/><category term="2010"/><category term="СУБД 2010"/><category term="CSCenter"/><category term="sakod"/><category term="Big Data 2014"/><category term="СУБД 2013"/><category term="2014"/><category term="2015"/><category term="СУБД 2015"/><category term="2013"/><category term="СУБД 2014"/><category term="Лекционные курсы"/><category term="matmex"/><category term="анонс"/><category term="glagne"/><category term="образование"/><category term="2012"/><category term="google"/><category term="СУБД 2012"/><category term="diy"/><category term="Big Data 2013"/><category term="Papeeria"/><category term="cloud"/><category term="idea"/><category term="parallel"/><category term="today"/><category term="Баобаб"/><category term="Проекты"/><category term="видео"/><category term="деньги"/><category term="CSC 2014"/><category term="LaTeX"/><category term="books"/><category term="intel"/><category term="job"/><category term="mapreduce"/><category term="thesis"/><category term="Отдельные лекции"/><category term="книги"/><title type='text'>Дмитрий Барашев</title><subtitle type='html'>неэффективный преподаватель, по мнению министра образования</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.barashev.net/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://www.barashev.net/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>181</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6807641511975030935.post-6769064884835256178</id><published>2015-12-16T14:08:00.000+03:00</published><updated>2015-12-16T14:20:06.820+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2015"/><category scheme="http://www.blogger.com/atom/ns#" term="dbms"/><category scheme="http://www.blogger.com/atom/ns#" term="Академический Университет"/><category scheme="http://www.blogger.com/atom/ns#" term="СУБД 2015"/><title type='text'>Запросы второй контрольной</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;https://docs.google.com/document/d/163uX7w3_7cI7h0fxUsifeGeFLxD2ivZelh-Iy6_eRPc/edit?usp=sharing&quot; target=&quot;_blank&quot;&gt;Вариант 211&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://docs.google.com/document/d/13kJglZ6SkE4-CRcTCC2w1nTWIXrZhpWWhnTsBTSdt9U/edit?usp=sharing&quot; target=&quot;_blank&quot;&gt;Вариант 212&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://drive.google.com/open?id=0B0o9buNJq6vteTBmdHkyZDdseUk&quot; target=&quot;_blank&quot;&gt;Схема&lt;/a&gt; и &lt;a href=&quot;https://drive.google.com/open?id=0B0o9buNJq6vtbWYwMEUtSjRHX3c&quot; target=&quot;_blank&quot;&gt;данные&lt;/a&gt; для вариантов 211 и 212&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://docs.google.com/document/d/1gtG52Lpd4ry4oQGFuXrwhWlk1f6_olpcCvAc-7xn6HM/edit?usp=sharing&quot; target=&quot;_blank&quot;&gt;Вариант 221&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://docs.google.com/document/d/14MnbsuQ-hCnX5mFKGI1GJiiRrAHyQ2ZPtOrIewRQkP8/edit?usp=sharing&quot; target=&quot;_blank&quot;&gt;Вариант 222&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://drive.google.com/file/d/0B0o9buNJq6vtbjlFd0paUGZQTkE/view?usp=sharing&quot; target=&quot;_blank&quot;&gt;Схема&lt;/a&gt; и &lt;a href=&quot;https://drive.google.com/file/d/0B0o9buNJq6vtWk9zV295N2p4ajg/view?usp=sharing&quot; target=&quot;_blank&quot;&gt;данные&lt;/a&gt; для вариантов 221 и 222&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.barashev.net/feeds/6769064884835256178/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.barashev.net/2015/12/blog-post_16.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/6769064884835256178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/6769064884835256178'/><link rel='alternate' type='text/html' href='http://www.barashev.net/2015/12/blog-post_16.html' title='Запросы второй контрольной'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00486288940158906753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6807641511975030935.post-6090264145177017066</id><published>2015-12-14T01:45:00.001+03:00</published><updated>2015-12-14T01:45:53.070+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2015"/><category scheme="http://www.blogger.com/atom/ns#" term="dbms"/><category scheme="http://www.blogger.com/atom/ns#" term="Академический Университет"/><category scheme="http://www.blogger.com/atom/ns#" term="СУБД 2015"/><title type='text'>Схемы БД ко второй контрольной</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
На второй контрольной надо будет писать запросы разной степени сложности. Сами запросы вы увидите во время контрольной, а схемы БД можно поизучать уже сейчас.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://drive.google.com/file/d/0B0o9buNJq6vtZVdNYllvVEVKMkU/view?usp=sharing&quot; target=&quot;_blank&quot;&gt;Вариант 21 &quot;Пироги&quot;&lt;/a&gt; (почти те самые, но с некоторыми изменениями)&lt;br /&gt;
&lt;a href=&quot;https://drive.google.com/file/d/0B0o9buNJq6vtNEczUXJISFU1WFE/view?usp=sharing&quot; target=&quot;_blank&quot;&gt;Вариант 23 &quot;Банк&quot;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.barashev.net/feeds/6090264145177017066/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.barashev.net/2015/12/blog-post_14.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/6090264145177017066'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/6090264145177017066'/><link rel='alternate' type='text/html' href='http://www.barashev.net/2015/12/blog-post_14.html' title='Схемы БД ко второй контрольной'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00486288940158906753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6807641511975030935.post-544935585301640687</id><published>2015-12-13T01:48:00.000+03:00</published><updated>2015-12-13T01:50:36.489+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2015"/><category scheme="http://www.blogger.com/atom/ns#" term="dbms"/><category scheme="http://www.blogger.com/atom/ns#" term="Академический Университет"/><category scheme="http://www.blogger.com/atom/ns#" term="СУБД 2015"/><title type='text'>Экзаменационные вопросы 2014 года</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Как выглядели &lt;a href=&quot;https://www.dropbox.com/s/g730zainefj1fvq/%D0%A1%D0%A3%D0%91%D0%94%202014.%20%D0%90%D0%A3%20-%20exam.pdf?dl=0&quot; target=&quot;_blank&quot;&gt;экзаменационные задачи в прошлом году&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.barashev.net/feeds/544935585301640687/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.barashev.net/2015/12/2014.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/544935585301640687'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/544935585301640687'/><link rel='alternate' type='text/html' href='http://www.barashev.net/2015/12/2014.html' title='Экзаменационные вопросы 2014 года'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00486288940158906753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6807641511975030935.post-5978214960508861742</id><published>2015-12-01T04:44:00.000+03:00</published><updated>2015-12-09T14:34:09.754+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2015"/><category scheme="http://www.blogger.com/atom/ns#" term="dbms"/><category scheme="http://www.blogger.com/atom/ns#" term="Академический Университет"/><category scheme="http://www.blogger.com/atom/ns#" term="СУБД 2015"/><title type='text'>Схема БД для контеста</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Контест посвящен космическим путешествиям!&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://drive.google.com/file/d/0B0o9buNJq6vtV0hTV1M1XzVnSjg/view?usp=sharing&quot; target=&quot;_blank&quot;&gt;Схема БД тут&lt;/a&gt;.&lt;br /&gt;
А &lt;a href=&quot;https://drive.google.com/file/d/0B0o9buNJq6vtZ2RlRk5tak9iM0k/view?usp=sharing&quot; target=&quot;_blank&quot;&gt;тут SQL-скрипт&lt;/a&gt;, генерирующий данные.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://docs.google.com/document/d/1LJTVt6fvP76QYKroJnLVivnTVP5C8HcrpAfG1ZJUvbQ/edit&quot; target=&quot;_blank&quot;&gt;&amp;nbsp;А &amp;nbsp;тут запросы&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Оба скрипта доступны в SQooL в виде шаблона &quot;Контест 2 декабря&quot;&lt;br /&gt;
&lt;br /&gt;
Напомню правила:&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Баллы можно получить за авторство запросов и за решение&lt;/li&gt;
&lt;li&gt;Автор запроса должен написать запрос в человекочитаемом текстовом виде, дать ему оценку по шкале &quot;простой&quot; - &quot;средний&quot; - &quot;сложный&quot; - &quot;никто не решит!&quot;, написать свое каноническое решение и прислать мне по почте.&amp;nbsp;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;У нас не будет много времени на уточнение решения, поэтому постарайтесь делать канонические решения правильными.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Каноническое решение должно давать детерминированный ответ. Лучше всего делать ответ упорядоченным и оговаривать условие сортировки в тексте&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;В процессе решения на паре вы выбираете запросы из имеющихся, решаете и присылаете мне ответы. Постараюсь проверять в реальном времени. За правильное решение запроса со стоимостью P каждый из N решивших получает P/(N+1) баллов. Автор получает тоже P/(N+1) балл, при условии что запрос вообще хоть кто-то решал (была хоть одна попытка).&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
Пример запроса:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Найти всех пилотов, водивших корабли на планеты с диктатурой. В ответе должны быть имена пилотов, отсортированные по возрастанию.&lt;/div&gt;
&lt;div&gt;
Простой.&lt;/div&gt;
&lt;div&gt;
Решение:&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: #ffd966; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;SELECT DISTINCT C.name FROM Commander C JOIN Flight F ON(C.id = F.commander_id) JOIN Planet P ON (F.planet_id = P.id) JOIN Government G ON (G.id = P.government_id)&lt;br /&gt;WHERE G.value = &#39;диктатура&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #ffd966; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;ORDER BY name;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.barashev.net/feeds/5978214960508861742/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.barashev.net/2015/12/blog-post.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/5978214960508861742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/5978214960508861742'/><link rel='alternate' type='text/html' href='http://www.barashev.net/2015/12/blog-post.html' title='Схема БД для контеста'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00486288940158906753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6807641511975030935.post-2575907162884900949</id><published>2015-11-25T14:38:00.002+03:00</published><updated>2015-11-25T15:13:56.925+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2015"/><category scheme="http://www.blogger.com/atom/ns#" term="dbms"/><category scheme="http://www.blogger.com/atom/ns#" term="Академический Университет"/><category scheme="http://www.blogger.com/atom/ns#" term="СУБД 2015"/><title type='text'>Тренировочный контест</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
Схема и данные&lt;/h3&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;a href=&quot;https://drive.google.com/file/d/0B0o9buNJq6vtQUtZMzBXSkhkNnc/view?usp=sharing&quot; target=&quot;_blank&quot;&gt;Схема&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;https://drive.google.com/file/d/0B0o9buNJq6vtdUNLcERTeFA4TEU/view?usp=sharing&quot; target=&quot;_blank&quot;&gt;Данные&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
Запросы&lt;/h3&gt;
&lt;div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Работник-чемпион по количеству интервью&amp;nbsp;&lt;/li&gt;
&lt;li&gt;У кандидатов с вердиктами &#39;soft accept&#39; и &#39;strong accept&#39; найти MAX и MIN средние баллы за интервью и выветси данные о соответствующих кандидатах&lt;/li&gt;
&lt;li&gt;Найти кандидатов, подавшихся на &amp;gt;1 вакансию&lt;/li&gt;
&lt;li&gt;Найти противоречия в данных, например:&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;несовпадения дат&lt;/li&gt;
&lt;li&gt;проигнорированный флажок фильтрации&lt;/li&gt;
&lt;li&gt;принятые (&#39;* accept&#39;) кандидаты с низким баллом (например &amp;lt; 2.0)&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.barashev.net/feeds/2575907162884900949/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.barashev.net/2015/11/blog-post_25.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/2575907162884900949'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/2575907162884900949'/><link rel='alternate' type='text/html' href='http://www.barashev.net/2015/11/blog-post_25.html' title='Тренировочный контест'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00486288940158906753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6807641511975030935.post-5062554023984045155</id><published>2015-11-18T14:16:00.000+03:00</published><updated>2015-11-18T14:16:58.782+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2015"/><category scheme="http://www.blogger.com/atom/ns#" term="dbms"/><category scheme="http://www.blogger.com/atom/ns#" term="Академический Университет"/><category scheme="http://www.blogger.com/atom/ns#" term="СУБД 2015"/><title type='text'>Тексты заданий первой контрольной</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Файлопомойка&lt;br /&gt;
&lt;a href=&quot;https://docs.google.com/document/d/1jE_ZAZjP55QQnFLCas0voQpbzNzJiZl6wQpBcc0Y8pM/edit?usp=sharing&quot;&gt;https://docs.google.com/document/d/1jE_ZAZjP55QQnFLCas0voQpbzNzJiZl6wQpBcc0Y8pM/edit?usp=sharing&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Пироги&lt;br /&gt;
&lt;a href=&quot;https://docs.google.com/document/d/1V5rdHUC4EyqQfLZrtoOvE2fKd4-8HpunEtw8QDvBSW8/edit?usp=sharing&quot;&gt;https://docs.google.com/document/d/1V5rdHUC4EyqQfLZrtoOvE2fKd4-8HpunEtw8QDvBSW8/edit?usp=sharing&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Футбол&lt;br /&gt;
&lt;a href=&quot;https://docs.google.com/document/d/1veCHQIPt1WbipQ5FDmNtfzeXsLzu-LDJskqJCMYV6Zk/edit?usp=sharing&quot;&gt;https://docs.google.com/document/d/1veCHQIPt1WbipQ5FDmNtfzeXsLzu-LDJskqJCMYV6Zk/edit?usp=sharing&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.barashev.net/feeds/5062554023984045155/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.barashev.net/2015/11/blog-post.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/5062554023984045155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/5062554023984045155'/><link rel='alternate' type='text/html' href='http://www.barashev.net/2015/11/blog-post.html' title='Тексты заданий первой контрольной'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00486288940158906753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6807641511975030935.post-3124882592232607477</id><published>2015-10-23T02:46:00.004+03:00</published><updated>2015-10-23T02:46:47.728+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2015"/><category scheme="http://www.blogger.com/atom/ns#" term="dbms"/><category scheme="http://www.blogger.com/atom/ns#" term="Академический Университет"/><category scheme="http://www.blogger.com/atom/ns#" term="СУБД 2015"/><title type='text'>Практика 21 октября. Исходники и ДЗ</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;https://www.dropbox.com/s/fk30h5uwooi0ftz/Class06.zip?dl=0&quot; target=&quot;_blank&quot;&gt;Исходники&lt;/a&gt;, использованные на практике 21 октября&lt;br /&gt;
&lt;br /&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
Домашнее задание&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 18.1818px; margin-bottom: 10px;&quot;&gt;
Мы хотим организовать ключевые слова, характеризующие содержание статьи или интересы ученого, в деревянную иерархию. Примером такой иерархии может служить ACM Computing Classification System [1]&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 18.1818px; margin-bottom: 10px;&quot;&gt;
Иерархия представляет из себя лес, где корнями являются очень широкие темы, а каждый последующий уровень постепенно тему сужает.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 18.1818px; margin-bottom: 10px;&quot;&gt;
Статья может быть связана с любыми элементами этой классификации, на любом уровне.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 18.1818px; margin-bottom: 10px;&quot;&gt;
Нужно придумать схему хранения этой классификации в БД и связи статей с темами и написать запросы:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 18.1818px; margin-bottom: 10px; margin-top: 0px;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;добавляющий новую тему с указанной родительской темой (приветствуется оформление в виде хранимой процедуры)&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;показывающий всё поддерево тем, начиная с заданной. Результат должен быть удобен для обработки приложением, чтобы ему не нужно было прикладывать чрезмерных усилий, чтобы напечатать дерево. Добавлять в метки пробелы-отступы, однако, не нужно.&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;выдающий все статьи, проассоциированные с темами из поддерева с заданным корнем&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;находящий ближайшего общего предка для двух заданных тем&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 18.1818px; margin-bottom: 10px;&quot;&gt;
Запросы приведены в порядке возрастания сложности (как мне кажется), так что начните с самых простых&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 18.1818px; margin-bottom: 10px;&quot;&gt;
[1]&amp;nbsp;&lt;a href=&quot;http://dl.acm.org/ccs/ccs.cfm&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #337ab7; text-decoration: none;&quot;&gt;http://dl.acm.org/ccs/ccs.cfm&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.barashev.net/feeds/3124882592232607477/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.barashev.net/2015/10/21.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/3124882592232607477'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/3124882592232607477'/><link rel='alternate' type='text/html' href='http://www.barashev.net/2015/10/21.html' title='Практика 21 октября. Исходники и ДЗ'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00486288940158906753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6807641511975030935.post-855016449464901355</id><published>2015-10-17T02:21:00.001+03:00</published><updated>2015-10-17T02:21:17.985+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2015"/><category scheme="http://www.blogger.com/atom/ns#" term="dbms"/><category scheme="http://www.blogger.com/atom/ns#" term="Академический Университет"/><category scheme="http://www.blogger.com/atom/ns#" term="СУБД 2015"/><title type='text'>Практика 14 октября, исходники</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Исходники, использованные на практике 14 октября.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://www.dropbox.com/s/clmccnc9pihvqtk/Class04.zip?dl=0&quot;&gt;Медленная БД и сессии&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://www.dropbox.com/s/j19p1zky14z7g1h/Class05.zip?dl=0&quot;&gt;Представления и хранимые процедуры&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.barashev.net/feeds/855016449464901355/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.barashev.net/2015/10/14.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/855016449464901355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/855016449464901355'/><link rel='alternate' type='text/html' href='http://www.barashev.net/2015/10/14.html' title='Практика 14 октября, исходники'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00486288940158906753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6807641511975030935.post-5454933399875814649</id><published>2015-10-16T03:56:00.002+03:00</published><updated>2015-10-16T03:56:22.047+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2015"/><category scheme="http://www.blogger.com/atom/ns#" term="dbms"/><category scheme="http://www.blogger.com/atom/ns#" term="Академический Университет"/><category scheme="http://www.blogger.com/atom/ns#" term="СУБД 2015"/><title type='text'>Домашнее задание №4</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;&quot;&gt;
Описание&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin-bottom: 10px;&quot;&gt;
Ваш босс хочет знать, какие ключевые слова в тренде на каждой конференции. Для этого ему нужно представление, в котором для каждой конференции записаны три самых часто встречающихся ключевых слова в статьях, поданных на эту конференцию.&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin-bottom: 10px;&quot;&gt;
Исходники для генерации схемы и данных тут: &lt;a href=&quot;https://www.dropbox.com/s/l1phax16uv2d2lo/hw04.zip?dl=0&quot;&gt;hw04.zip&lt;/a&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;&quot;&gt;
Схема и данные&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin-bottom: 10px;&quot;&gt;
В приложенном архиве находятся файл со схемой БД и скрипт на Питоне, заполняющий таблицы данными&lt;/div&gt;
&lt;pre class=&quot;hljs&quot; style=&quot;background: white; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #4d4d4c; font-family: Menlo, Monaco, Consolas, &#39;Courier New&#39;, monospace; font-size: 13px; line-height: 1.42857; margin-bottom: 10px; overflow: auto; padding: 0.5em; word-break: break-all; word-wrap: break-word;&quot;&gt;&lt;code class=&quot;hljs vim&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 0px; box-sizing: border-box; display: block; font-family: Menlo, Monaco, Consolas, &#39;Courier New&#39;, monospace; font-size: inherit; overflow-x: auto; padding: 0.5em; white-space: pre-wrap;&quot;&gt;psql -&lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: border-box; color: #8959a8;&quot;&gt;h&lt;/span&gt; localhost -U postgres &amp;lt; &lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: border-box; color: #f5871f;&quot;&gt;01&lt;/span&gt;_gen_schema.sql
&lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: border-box; color: #8959a8;&quot;&gt;python&lt;/span&gt; &lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: border-box; color: #f5871f;&quot;&gt;02&lt;/span&gt;_gen_data.&lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: border-box; color: #8959a8;&quot;&gt;py&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;&quot;&gt;
Схема БД&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin-bottom: 10px;&quot;&gt;
В базе данных есть таблицы Conference, Paper, Keyword и связи многие-ко-многим PaperConference и PaperKeyword. Смысл таблиц и их атрибутов, полагаю, ясен из их названий.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;&quot;&gt;
Задание&lt;/h3&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin-bottom: 10px;&quot;&gt;
В результате должно получиться представление со схемой:&lt;/div&gt;
&lt;pre class=&quot;hljs&quot; style=&quot;background: white; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #4d4d4c; font-family: Menlo, Monaco, Consolas, &#39;Courier New&#39;, monospace; font-size: 13px; line-height: 1.42857; margin-bottom: 10px; overflow: auto; padding: 0.5em; word-break: break-all; word-wrap: break-word;&quot;&gt;&lt;code class=&quot;hljs gradle&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 0px; box-sizing: border-box; display: block; font-family: Menlo, Monaco, Consolas, &#39;Courier New&#39;, monospace; font-size: inherit; overflow-x: auto; padding: 0.5em; white-space: pre-wrap;&quot;&gt;conference TEXT, keyword TEXT, &lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: border-box; color: #8959a8;&quot;&gt;count&lt;/span&gt; &lt;span class=&quot;hljs-keyword&quot; style=&quot;box-sizing: border-box; color: #8959a8;&quot;&gt;INT&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin-bottom: 10px;&quot;&gt;
Запись в представлении означает, что в статьях, поданных на конференцию&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Menlo, Monaco, Consolas, &#39;Courier New&#39;, monospace; font-size: 12.6px; padding: 2px 4px;&quot;&gt;conference&lt;/code&gt;&amp;nbsp;ключевое слово&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Menlo, Monaco, Consolas, &#39;Courier New&#39;, monospace; font-size: 12.6px; padding: 2px 4px;&quot;&gt;keyword&lt;/code&gt;&amp;nbsp;упоминается&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Menlo, Monaco, Consolas, &#39;Courier New&#39;, monospace; font-size: 12.6px; padding: 2px 4px;&quot;&gt;count&lt;/code&gt;раз. В представление должны попасть для каждой конференции ключевые слова с наибольшим значением count, в количестве не более трех. Например, из следующих записей&lt;/div&gt;
&lt;pre class=&quot;hljs&quot; style=&quot;background: white; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #4d4d4c; font-family: Menlo, Monaco, Consolas, &#39;Courier New&#39;, monospace; font-size: 13px; line-height: 1.42857; margin-bottom: 10px; overflow: auto; padding: 0.5em; word-break: break-all; word-wrap: break-word;&quot;&gt;&lt;code class=&quot;hljs cpp&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 0px; box-sizing: border-box; display: block; font-family: Menlo, Monaco, Consolas, &#39;Courier New&#39;, monospace; font-size: inherit; overflow-x: auto; padding: 0.5em; white-space: pre-wrap;&quot;&gt;Conf1 KW1 &lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: border-box; color: #f5871f;&quot;&gt;5&lt;/span&gt;
Conf1 KW2 &lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: border-box; color: #f5871f;&quot;&gt;8&lt;/span&gt;
Conf1 KW3 &lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: border-box; color: #f5871f;&quot;&gt;1&lt;/span&gt;
Conf1 KW4 &lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: border-box; color: #f5871f;&quot;&gt;6&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin-bottom: 10px;&quot;&gt;
в представление должны попасть первая, вторая и четвертая. Если есть несколько ключевых слов с одинаковым значением count и в представление нужно включить только часть из них, то отсортируйте эти ключевые слова лексикографически и возьмите первые. Пример:&lt;/div&gt;
&lt;pre class=&quot;hljs&quot; style=&quot;background: white; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #4d4d4c; font-family: Menlo, Monaco, Consolas, &#39;Courier New&#39;, monospace; font-size: 13px; line-height: 1.42857; margin-bottom: 10px; overflow: auto; padding: 0.5em; word-break: break-all; word-wrap: break-word;&quot;&gt;&lt;code class=&quot;hljs cpp&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-radius: 0px; box-sizing: border-box; display: block; font-family: Menlo, Monaco, Consolas, &#39;Courier New&#39;, monospace; font-size: inherit; overflow-x: auto; padding: 0.5em; white-space: pre-wrap;&quot;&gt;Conf1 KW2 &lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: border-box; color: #f5871f;&quot;&gt;8&lt;/span&gt;
Conf1 KW4 &lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: border-box; color: #f5871f;&quot;&gt;6&lt;/span&gt;
Conf1 KW1 &lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: border-box; color: #f5871f;&quot;&gt;5&lt;/span&gt;
-----------
Conf1 KW3 &lt;span class=&quot;hljs-number&quot; style=&quot;box-sizing: border-box; color: #f5871f;&quot;&gt;5&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin-bottom: 10px;&quot;&gt;
Задание можно решить многими способами. Как-то явно фантазию ограничивать не будем, но все же постарайтесь не увлекаться. Вы написали и забыли, а проверяющим читать. Постарайтесь написать комментарии ко всем нетривиальным решениям.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.barashev.net/feeds/5454933399875814649/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.barashev.net/2015/10/4.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/5454933399875814649'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/5454933399875814649'/><link rel='alternate' type='text/html' href='http://www.barashev.net/2015/10/4.html' title='Домашнее задание №4'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00486288940158906753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6807641511975030935.post-5196287687318527479</id><published>2015-09-27T03:47:00.003+03:00</published><updated>2015-09-27T03:47:36.775+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2015"/><category scheme="http://www.blogger.com/atom/ns#" term="dbms"/><category scheme="http://www.blogger.com/atom/ns#" term="Академический Университет"/><category scheme="http://www.blogger.com/atom/ns#" term="СУБД 2015"/><title type='text'>Домашнее задание №3</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: white; font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 13px; line-height: 20.8px; margin-bottom: 15px;&quot;&gt;
TL;DR: нужно написать код простого приложения, общающегося с БД через API. Исходники для генерации схемы и данных тут: &lt;a href=&quot;https://www.dropbox.com/s/6ujvv15btoyfkqx/HW03.zip?dl=0&quot; target=&quot;_blank&quot;&gt;hw03.zip&lt;/a&gt;&lt;/div&gt;
&lt;h2 style=&quot;-webkit-font-smoothing: antialiased; background-color: white; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 24px; margin: 20px 0px 10px; padding: 0px;&quot;&gt;
Установка&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 13px; line-height: 20.8px; margin-bottom: 15px;&quot;&gt;
Для того, чтобы протестировать приложение, нужно запустить Postgres, создать схему и заполнить БД данными. Команды, создающие схему, и питоновский скрипт, генерирующий данные, предполагают, что Постгрес запущен на локальной машине на стандартном для него порту 5432 и в нем есть пользователь&amp;nbsp;&lt;q&gt;postgres&lt;/q&gt;&amp;nbsp;с паролем&amp;nbsp;&lt;q&gt;csc&lt;/q&gt;.&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 13px; line-height: 20.8px; margin-bottom: 15px; margin-top: 15px;&quot;&gt;
Инструкции по установке постгреса для вашей OS ищите на сайте постгреса. Те, кто пользуется &lt;a href=&quot;http://docs.docker.com/linux/started/&quot; target=&quot;_blank&quot;&gt;Докером&lt;/a&gt; (разве кто-то еще не пользуется Докером?), могут установить и запустить постгрес командой&lt;/div&gt;
&lt;pre class=&quot;hljs&quot; style=&quot;background-color: #f8f8f8; border-radius: 3px; border: 1px solid rgb(204, 204, 204); font-size: 13px; line-height: 19px; margin-bottom: 15px; margin-top: 15px; overflow: auto; padding: 6px 10px;&quot;&gt;&lt;code style=&quot;background: transparent; border-radius: 3px; border: none; margin: 0px; padding: 0px;&quot;&gt;docker run --name postgres-dbms-2015-hw03 -e POSTGRES_PASSWORD=csc -d -p 5432:5432 postgres
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 13px; line-height: 20.8px; margin-bottom: 15px; margin-top: 15px;&quot;&gt;
Если докеровского образа с постгресом у вас еще нет то он будет скачан (несколько десятков мегабайт). Постгрес запустится так, как написано выше (порт, пользователь, пароль)&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 13px; line-height: 20.8px; margin-bottom: 15px; margin-top: 15px;&quot;&gt;
Кроме постгреса вам понадобится python. В python 3 скорее всего всё тоже будет работать, но выяснять при проверке и чтении каждого из ваших сорока решений, какой же там нынче используется питон, совершенно не хочется. Поэтому если вы можете использовать Python 2, используйте пожалуйста его.&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 13px; line-height: 20.8px; margin-bottom: 15px; margin-top: 15px;&quot;&gt;
Для работы с постгресом из питона нужно будет установить пакет psycopg2. Пользователи Ubuntu/Debian могут поставить его командой&lt;/div&gt;
&lt;pre class=&quot;hljs&quot; style=&quot;background-color: #f8f8f8; border-radius: 3px; border: 1px solid rgb(204, 204, 204); font-size: 13px; line-height: 19px; margin-bottom: 15px; margin-top: 15px; overflow: auto; padding: 6px 10px;&quot;&gt;&lt;code style=&quot;background: transparent; border-radius: 3px; border: none; margin: 0px; padding: 0px;&quot;&gt;apt-get install python-psycopg2
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 13px; line-height: 20.8px; margin-bottom: 15px; margin-top: 15px;&quot;&gt;
Пользователи других систем - обратитесь к документации об установке питоновских пакетов для вашей системы.&lt;/div&gt;
&lt;h2 style=&quot;-webkit-font-smoothing: antialiased; background-color: white; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 24px; margin: 20px 0px 10px; padding: 0px;&quot;&gt;
Генерация схемы и данных&lt;/h2&gt;
В архиве &lt;a href=&quot;https://www.dropbox.com/s/6ujvv15btoyfkqx/HW03.zip?dl=0&quot; target=&quot;_blank&quot;&gt;hw03.zip&lt;/a&gt; находятся несколько файлов.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;hljs&quot; style=&quot;background-color: #f8f8f8; border-radius: 3px; border: 1px solid rgb(204, 204, 204); font-size: 13px; line-height: 19px; margin-bottom: 15px; margin-top: 15px; overflow: auto; padding: 6px 10px;&quot;&gt;&lt;code style=&quot;background: transparent; border-radius: 3px; border: none; margin: 0px; padding: 0px;&quot;&gt;-- генерация схемы&lt;/code&gt;&lt;/pre&gt;
&lt;pre class=&quot;hljs&quot; style=&quot;background-color: #f8f8f8; border-radius: 3px; border: 1px solid rgb(204, 204, 204); font-size: 13px; line-height: 19px; margin-bottom: 15px; margin-top: 15px; overflow: auto; padding: 6px 10px;&quot;&gt;&lt;code style=&quot;background: transparent; border-radius: 3px; border: none; margin: 0px; padding: 0px;&quot;&gt;psql -h localhost -U postgres &amp;lt; 01_gen_schema.sql
-- заполнение схемы данными&lt;/code&gt;&lt;/pre&gt;
&lt;pre class=&quot;hljs&quot; style=&quot;background-color: #f8f8f8; border-radius: 3px; border: 1px solid rgb(204, 204, 204); font-size: 13px; line-height: 19px; margin-bottom: 15px; margin-top: 15px; overflow: auto; padding: 6px 10px;&quot;&gt;&lt;code style=&quot;background: transparent; border-radius: 3px; border: none; margin: 0px; padding: 0px;&quot;&gt;python 02_gen_data.py
&lt;/code&gt;&lt;/pre&gt;
&lt;pre class=&quot;hljs&quot; style=&quot;background-color: #f8f8f8; border-radius: 3px; border: 1px solid rgb(204, 204, 204); font-size: 13px; line-height: 19px; margin-bottom: 15px; margin-top: 15px; overflow: auto; padding: 6px 10px;&quot;&gt;&lt;code style=&quot;background: transparent; border-radius: 3px; border: none; margin: 0px; padding: 0px;&quot;&gt;-- проход по содержимому таблицы Conference&lt;/code&gt;&lt;/pre&gt;
&lt;pre class=&quot;hljs&quot; style=&quot;background-color: #f8f8f8; border-radius: 3px; border: 1px solid rgb(204, 204, 204); font-size: 13px; line-height: 19px; margin-bottom: 15px; margin-top: 15px; overflow: auto; padding: 6px 10px;&quot;&gt;&lt;code style=&quot;background: transparent; border-radius: 3px; border: none; margin: 0px; padding: 0px;&quot;&gt;python 03_scan_conference.py&lt;/code&gt;&lt;/pre&gt;
&lt;h2 style=&quot;-webkit-font-smoothing: antialiased; background-color: white; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 24px; margin: 20px 0px 10px; padding: 0px;&quot;&gt;
Докеровский образ с готовыми данными&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 13px; line-height: 20.8px; margin-bottom: 15px;&quot;&gt;
Можно воспользоваться докеровским образом, в котором уже сгенерирована схема и данные. Команда&lt;/div&gt;
&lt;pre class=&quot;hljs&quot; style=&quot;background-color: #f8f8f8; border-radius: 3px; border: 1px solid rgb(204, 204, 204); font-size: 13px; line-height: 19px; margin-bottom: 15px; margin-top: 15px; overflow: auto; padding: 6px 10px;&quot;&gt;&lt;code style=&quot;background: transparent; border-radius: 3px; border: none; margin: 0px; padding: 0px;&quot;&gt;docker run --name postgres-dbms-2015-hw03 -d -p 5432:5432 dbarashev/postgres:csc_hw03
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 13px; line-height: 20.8px; margin-bottom: 15px; margin-top: 15px;&quot;&gt;
должна его скачать и запустить постгрес, в котором уже всё есть. Локальный питон и psycopg2 вам всё равно потребуются.&lt;/div&gt;
&lt;h2 style=&quot;-webkit-font-smoothing: antialiased; background-color: white; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 24px; margin: 20px 0px 10px; padding: 0px;&quot;&gt;
Схема БД&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 13px; line-height: 20.8px; margin-bottom: 15px;&quot;&gt;
У вас есть 4 таблицы: University(university_id, name), Researcher(researcher_id, name, university_id), Conference(conference_id, name) и Participant(conference_id, researcher_id). Думаю, что их смысл очевиден из названий таблиц и столбцов.&lt;/div&gt;
&lt;h2 style=&quot;-webkit-font-smoothing: antialiased; background-color: white; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 24px; margin: 20px 0px 10px; padding: 0px;&quot;&gt;
Задание&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 13px; line-height: 20.8px; margin-bottom: 15px;&quot;&gt;
Вам нужно написать два скрипта. Первый для каждой конференции должен посчитать количество её участников, работающих в заданном университете. Название университета передавайте в аргументах командной строки. Запуск скрипта должен выглядеть примерно так:&lt;/div&gt;
&lt;pre class=&quot;hljs&quot; style=&quot;background-color: #f8f8f8; border-radius: 3px; border: 1px solid rgb(204, 204, 204); font-size: 13px; line-height: 19px; margin-bottom: 15px; margin-top: 15px; overflow: auto; padding: 6px 10px;&quot;&gt;&lt;code style=&quot;background: transparent; border-radius: 3px; border: none; margin: 0px; padding: 0px;&quot;&gt;python hw3_01.py Uni42
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 13px; line-height: 20.8px; margin-bottom: 15px; margin-top: 15px;&quot;&gt;
Второй скрипт должен перевести всех исследователей из одного университета в другой, а первый университет удалить. Названия университетов тоже передавайте в командной строке. Запуск должен выглядеть примерно такЖ&lt;/div&gt;
&lt;pre class=&quot;hljs&quot; style=&quot;background-color: #f8f8f8; border-radius: 3px; border: 1px solid rgb(204, 204, 204); font-size: 13px; line-height: 19px; margin-bottom: 15px; margin-top: 15px; overflow: auto; padding: 6px 10px;&quot;&gt;&lt;code style=&quot;background: transparent; border-radius: 3px; border: none; margin: 0px; padding: 0px;&quot;&gt;python hw3_02.py Uni42 Uni24
&lt;/code&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 13px; line-height: 20.8px; margin-bottom: 15px; margin-top: 15px;&quot;&gt;
После этого Uni42 должен быть удален, а все, кто в нем работал, должны оказаться в Uni24&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 13px; line-height: 20.8px; margin-bottom: 15px; margin-top: 15px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;-webkit-font-smoothing: antialiased; background-color: white; font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 18px; margin: 20px 0px 10px; padding: 0px;&quot;&gt;
Замечания&lt;/h3&gt;
&lt;div style=&quot;background-color: white; font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 13px; line-height: 20.8px; margin-bottom: 15px;&quot;&gt;
Задачу можно решить разными способами. Если вы знаете хороший, то прекрасно, воспользуйтесь им. Если хорошего не знаете, то решите каким-то, и нам будет о чем поговорить на занятии. Будет неплохо, если вы вкратце опишете своё решение в сопроводительном тексте. Например&amp;nbsp;&lt;q&gt;иду циклом в питоне по исследователям из первого университета и для каждого выполняю запрос...&lt;/q&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 13px; line-height: 20.8px; margin-bottom: 15px; margin-top: 15px;&quot;&gt;
Помните, что задание не на искусство написания красивого и непонятного питоновского кода. Чем проще будет этот код, тем лучше.&lt;/div&gt;
&lt;h2 style=&quot;-webkit-font-smoothing: antialiased; background-color: white; border-bottom-color: rgb(204, 204, 204); border-bottom-style: solid; border-bottom-width: 1px; font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 24px; margin: 20px 0px 10px; padding: 0px;&quot;&gt;
Как сдавать решение&lt;/h2&gt;
&lt;div style=&quot;background-color: white; font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 13px; line-height: 20.8px; margin-bottom: 15px;&quot;&gt;
Присылайте решения в виде текстовых файлов с расширением .py в кодировке UTF-8 на адрес dbms@barashev.net. Если можете прицепить два файла, то так и сделайте, если нет, то положите в ZIP архив. Писать код в тексте письма не нужно.&lt;br /&gt;
&lt;br /&gt;
Дедлайн: вечер 12 октября&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 13px; line-height: 20.8px; margin-top: 15px;&quot;&gt;
Если у вас возникнут какие-нибудь нетривиальные идеи, не поленитесь написать комментарий, поясняющий их.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.barashev.net/feeds/5196287687318527479/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.barashev.net/2015/09/3.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/5196287687318527479'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/5196287687318527479'/><link rel='alternate' type='text/html' href='http://www.barashev.net/2015/09/3.html' title='Домашнее задание №3'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00486288940158906753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6807641511975030935.post-4678872438708037686</id><published>2015-09-18T04:01:00.001+03:00</published><updated>2015-09-18T04:01:43.007+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2015"/><category scheme="http://www.blogger.com/atom/ns#" term="dbms"/><category scheme="http://www.blogger.com/atom/ns#" term="Академический Университет"/><category scheme="http://www.blogger.com/atom/ns#" term="СУБД 2015"/><title type='text'>Домашнее задание №2</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h2 style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 30px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;&quot;&gt;
Задание&lt;/h2&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin-bottom: 10px;&quot;&gt;
Вы делаете информационную систему для рецензирования статей. Она будет работать примерно так:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin-bottom: 10px; margin-top: 0px;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;Авторы присылают вам статью - название, текст и список тематических меток, которые они берут из специального единого классификатора. Кроме этого авторы указывают, на какую конференцию они подают статью. Сами авторы вам с точки зрения системы неинтересны и хранить вы их не собираетесь&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;У каждой конференции есть название, место (одно) и даты проведения (начало и конец)&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;У каждой конференции есть программный комитет. У члена программного комитета есть имя, email и известен список тем, из все того же классификатора, в которых он специалист.&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;Статья отправляется на рецензирование нескольким членам программного комитета и каждый ставит ей какую-то оценку -- целое число в интервале [1..4]&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin-bottom: 10px;&quot;&gt;
Конференций может быть много. Один и тот же ученый может состоять в программных комитетах разных конференций. Член программного комитета может рецензировать много статей. Одноименных объектов не бывает (ни статей, ни конференций, ни ученых).&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin-bottom: 10px;&quot;&gt;
Составьте схему БД для хранения этих данных. Результатом должен быть скрипт из нескольких операторов CREATE TABLE. Хранить нужно все данные, упомянутые выше, за исключением авторов статьи.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;ubertext&quot; style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;
&lt;h2 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 30px; font-weight: 500; line-height: 1.1; margin: 20px 0px 10px; position: relative;&quot;&gt;
Куда присылать&lt;/h2&gt;
&lt;div style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;
Присылайте решения на почту&amp;nbsp;&lt;a href=&quot;mailto:dbms@barashev.net&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #337ab7; text-decoration: none;&quot;&gt;dbms@barashev.net&lt;/a&gt;&amp;nbsp; в виде одного текстового файла с расширением .txt или .sql в кодировке UTF-8. Сжимать файл архиватором не нужно.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;
&lt;div style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;
Если у вас возникнут какие-нибудь нетривиальные идеи, не поленитесь написать комментарий, поясняющий их.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin-bottom: 10px;&quot;&gt;
Срок сдачи: &amp;nbsp;22 сентября 2015 23:59&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.barashev.net/feeds/4678872438708037686/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.barashev.net/2015/09/2.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/4678872438708037686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/4678872438708037686'/><link rel='alternate' type='text/html' href='http://www.barashev.net/2015/09/2.html' title='Домашнее задание №2'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00486288940158906753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6807641511975030935.post-6245844742104139680</id><published>2015-09-10T11:36:00.000+03:00</published><updated>2015-09-10T11:36:13.558+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2015"/><category scheme="http://www.blogger.com/atom/ns#" term="Академический Университет"/><category scheme="http://www.blogger.com/atom/ns#" term="СУБД 2015"/><title type='text'>Домашнее задание №1</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;ubertext&quot; style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;
&lt;div style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;
В приложенном файле находится скрипт, который создает в базе данных две таблицы и заполняет их данными.&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;
В таблице&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Menlo, Monaco, Consolas, &#39;Courier New&#39;, monospace; font-size: 12.6px; padding: 2px 4px;&quot;&gt;Researcher&lt;/code&gt;&amp;nbsp;указаны сведения об ученых-исследователях: имя и название университета. В таблице&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Menlo, Monaco, Consolas, &#39;Courier New&#39;, monospace; font-size: 12.6px; padding: 2px 4px;&quot;&gt;Paper&lt;/code&gt;&amp;nbsp;записаны статьи, поданные на конференции: название статьи, список авторов (отдельные авторы разделены запятыми), название и год конференции (год отделен от названия апострофом), место проведения конференции и булевский флажок, означающий, принята статья на конференцию, или нет.&lt;/div&gt;
&lt;div style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;
Скрипт можно выполнить командой&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Menlo, Monaco, Consolas, &#39;Courier New&#39;, monospace; font-size: 12.6px; padding: 2px 4px;&quot;&gt;psql -h localhost -f hw01_dump.sql&lt;/code&gt;, опционально добавив аргументы&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Menlo, Monaco, Consolas, &#39;Courier New&#39;, monospace; font-size: 12.6px; padding: 2px 4px;&quot;&gt;-d &amp;lt;database&amp;gt;&lt;/code&gt;&amp;nbsp;и&amp;nbsp;&lt;code style=&quot;background-color: #f9f2f4; border-radius: 4px; box-sizing: border-box; color: #c7254e; font-family: Menlo, Monaco, Consolas, &#39;Courier New&#39;, monospace; font-size: 12.6px; padding: 2px 4px;&quot;&gt;-U &amp;lt;username&amp;gt;&lt;/code&gt;&amp;nbsp;и указывая, соответственно, название БД, в которой надо выполнять скрипт и имя пользователя БД, от чьего имени выполняется скрипт&lt;/div&gt;
&lt;h2 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 30px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;&quot;&gt;
Задание&lt;/h2&gt;
&lt;ol style=&quot;box-sizing: border-box; margin-bottom: 10px; margin-top: 0px;&quot;&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;Напишите запрос, который для заданного университета вернет названия статей, в авторы которых входят ученые этого университета&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;Напишите запрос, возвращающий университеты, в которых работают ученые, чьи статьи не были приняты на конференцию&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;Напишите запрос, возвращающий место проведения конференции DBLP&#39;13&lt;/li&gt;
&lt;li style=&quot;box-sizing: border-box;&quot;&gt;Напишите запрос, возвращающий все города из США (USA), в которых проводились конференции.&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;
В процессе написания запросов вы обязательно столкнетесь с некоторыми трудностями. Вы их геройски преодолеете, но подумайте, что можно было бы сделать со схемой и данными, чтобы трудностей было поменьше, и мысли запишите в тексте решения&lt;/div&gt;
&lt;h2 style=&quot;box-sizing: border-box; color: inherit; font-family: inherit; font-size: 30px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;&quot;&gt;
Куда присылать&lt;/h2&gt;
&lt;div style=&quot;box-sizing: border-box; margin-bottom: 10px;&quot;&gt;
Присылайте файлы с кодом и мыслями об улучшении схемы на почту&amp;nbsp;&lt;a href=&quot;mailto:dbms@barashev.net&quot; style=&quot;background-color: transparent; box-sizing: border-box; color: #337ab7; text-decoration: none;&quot;&gt;dbms@barashev.net&lt;/a&gt;&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; box-sizing: border-box; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin-bottom: 10px;&quot;&gt;
Срок сдачи: 15 сентября 2015 23:59&lt;/div&gt;
&lt;br /&gt;
[1] &lt;a href=&quot;https://drive.google.com/file/d/0B0o9buNJq6vtaFdlYUhqUlBGUFU/view?usp=sharing&quot; target=&quot;_blank&quot;&gt;Скрипт hw01_dump.sql&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.barashev.net/feeds/6245844742104139680/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.barashev.net/2015/09/1.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/6245844742104139680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/6245844742104139680'/><link rel='alternate' type='text/html' href='http://www.barashev.net/2015/09/1.html' title='Домашнее задание №1'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00486288940158906753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6807641511975030935.post-7746270130661961872</id><published>2015-09-06T00:50:00.002+03:00</published><updated>2015-09-06T00:52:22.384+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2015"/><category scheme="http://www.blogger.com/atom/ns#" term="Академический Университет"/><category scheme="http://www.blogger.com/atom/ns#" term="Лекционные курсы"/><category scheme="http://www.blogger.com/atom/ns#" term="СУБД 2015"/><title type='text'>Рекомендации по прохождению практики</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Вступительный тест проверен, рекомендации насчёт того, к кому идти на практику смотрите в табличке. Ещё раз напомню, что&lt;br /&gt;
&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;это всего лишь необязательная к исполнению рекомендация.&lt;/li&gt;
&lt;li&gt;при условии адекватного выбора сложность прохождения практики примерно одинаковая.&lt;/li&gt;
&lt;li&gt;на практике у Дмитрия Барашева (обозначен в табличке как ДБ) занимаются прикладным программированием на SQL и, возможно, Python.&lt;/li&gt;
&lt;li&gt;на практике у Дмитрия Зворыгина (обозначен в табличке как ДЗ) занимаются реализацией частей ядра СУБД на C++/Java/других языках&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;

&lt;iframe width=&quot;100%&quot; height=&quot;200px&quot; src=&quot;https://docs.google.com/spreadsheets/d/1k-Lo6BJzMwCIwNBxYGrD9IHVxn62N81ttSB1ZL2ENP0/pubhtml?gid=0&amp;amp;single=true&amp;amp;widget=true&amp;amp;headers=false&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.barashev.net/feeds/7746270130661961872/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.barashev.net/2015/09/blog-post.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/7746270130661961872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/7746270130661961872'/><link rel='alternate' type='text/html' href='http://www.barashev.net/2015/09/blog-post.html' title='Рекомендации по прохождению практики'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00486288940158906753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6807641511975030935.post-1143777104149742191</id><published>2015-09-02T02:40:00.000+03:00</published><updated>2015-09-02T02:40:10.333+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2015"/><category scheme="http://www.blogger.com/atom/ns#" term="Академический Университет"/><category scheme="http://www.blogger.com/atom/ns#" term="Лекционные курсы"/><category scheme="http://www.blogger.com/atom/ns#" term="СУБД 2015"/><title type='text'>Курс &quot;Базы Данных&quot; в Академическом Университете. Осень 2015</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
Кому читается&lt;/h4&gt;
Первый курс магистратуры, направление Software Engineering.&lt;br /&gt;
&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
Где и когда&lt;/h4&gt;
В здании Академического Университета на улице Хлопина. Лекции по средам в 12:00, практика по средам в 14:00.&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
Отчетность&lt;/h4&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Курс состоит из теоретических лекций и практических занятий.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Отчетностью является практический зачёт и письменный дифференцируемый зачет по теоретической части.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Условия получения или неполучения зачёта по практике определяются преподавателем практики&lt;/li&gt;
&lt;li&gt;Теоретический зачет состоит из нескольких (до десяти) заданий-вопросов, на которые нужно дать обоснованный ответ.&lt;/li&gt;
&lt;li&gt;Если практический зачёт получен, то итоговая оценка равна оценке теоретического зачёта. Если он не получен, то из оценки, полученной на теорзачёте, вычитается 1 балл.&lt;/li&gt;
&lt;li&gt;Какие-либо дополнительные задания, которые возможно будут на лекциях, непосредственного влияния на итоговую оценку не оказывают&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Короткое резюме:&lt;/b&gt; &lt;i&gt;если справился с практикой, получишь ровно то, что заработал на теорзачёте. Если не справился с практикой, получишь то, что заработал на теорзачёте минус 1 балл&lt;/i&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
Практика&lt;/h4&gt;
Практика у &lt;i&gt;Дмитрия Барашев&lt;/i&gt;а: изучение методов проектирования схемы БД, написание запросов на SQL. Рекомендуется тем, кто не имеет практического опыта разработки баз данных&lt;br /&gt;
&lt;br /&gt;
Практика у &lt;i&gt;Дмитрия Зворыгина&lt;/i&gt;: реализация своей собственной игрушечной СУБД на языке типа Java/C++.&amp;nbsp;Рекомендуется тем, кто достаточно хорошо знаком с SQL и проектированием БД и готов попробовать более сложные задачи.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
Сложность получения зачета в обоих вариантах одинаковая.&lt;br /&gt;
&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
Контакты&lt;/h4&gt;
Электропочта: &lt;a href=&quot;mailto:dbms@barashev.net&quot;&gt;dbms@barashev.net&lt;/a&gt;&lt;br /&gt;
Веб: &lt;a href=&quot;http://dbms.barashev.net/&quot;&gt;dbms.barashev.net&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.barashev.net/feeds/1143777104149742191/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.barashev.net/2015/09/2015.html#comment-form' title='Комментарии: 1'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/1143777104149742191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/1143777104149742191'/><link rel='alternate' type='text/html' href='http://www.barashev.net/2015/09/2015.html' title='Курс &quot;Базы Данных&quot; в Академическом Университете. Осень 2015'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00486288940158906753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6807641511975030935.post-4410288907905871373</id><published>2014-12-10T01:06:00.002+03:00</published><updated>2015-05-12T04:17:08.026+03:00</updated><title type='text'>Письменный экзамен: плюсы, минусы, подводные камни</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
На матмехе в течении всех восьми лет экзамен или зачет по БД проходил устно и это было кошмаром. Битый час ты пытаешься добиться от несчастного студента элементарных выводов из тщательно переписанных из конспекта на листочек фактов. Студент жалобно молчит, но в конце концов твоими нечеловеческими усилиями рожает мысль, за которую можно поставить трояк.&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://photos-c.ak.instagram.com/hphotos-ak-xpf1/10454019_1445638325685498_462251720_n.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://photos-c.ak.instagram.com/hphotos-ak-xpf1/10454019_1445638325685498_462251720_n.jpg&quot; height=&quot;320&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Из инстаграмма &lt;a href=&quot;http://instagram.com/fevrony&quot; target=&quot;_blank&quot;&gt;клетчатого слона Феврония&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
Твои усилия заключаются в том, чтобы не выгнать и не пристрелить бедолагу. Выгонять у нас как-то не принято, и потом, ты его в дверь, а он в окно, и снова же надо будет мучаться.&lt;br /&gt;
&lt;br /&gt;
Последние пару лет я практикую письменный экзамен, в котором несколько задач, не требующих художественного пересказа всей темы, но требующих, во-первых, ответа, а во-вторых, объяснения ответа. Обычно требуется решить какое-то подмножество задач.&lt;br /&gt;
&lt;br /&gt;
Письменный экзамен прекрасен тем, что в аудитории он идёт ровно столько, сколько отведено, обычно один академический час. Потом ты собираешь ответы и несколько дней проверяешь. И все ответы перед глазами, никто не забыт, ничто не забыто.&lt;br /&gt;
&lt;br /&gt;
Для студента, однако, появляются подводные камни.&lt;br /&gt;
&lt;br /&gt;
Во-первых, нужно дать ответ. Не все справляются. Если проверять злобно, то существенный процент задач можно не засчитывать, потому что среди вихря искрометных мыслей сложно идентифицировать что-то как ответ. Но злобно проверять не хочется, поэтому ищешь. Но иногда таки не находишь, или находишь два разных.&lt;br /&gt;
&lt;br /&gt;
Во-вторых, нужно объяснить ответ, и тут оказывается, что мысль не записанная есть отсутствие мысли&lt;strike&gt;, а мысль записанная есть ложь (С).&lt;/strike&gt; То есть натурально, нельзя, как на устном экзамене, сказать глупость, или часть правды, и скорректировать ответ в зависимости от ширины зрачков экзаменатора. Что записано, то записано, что нет, то нет. Предположения, не высказанные на бумаге, уносятся в небытие.&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://photos-h.ak.instagram.com/hphotos-ak-xap1/10520317_309263715901119_759901620_n.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://photos-h.ak.instagram.com/hphotos-ak-xap1/10520317_309263715901119_759901620_n.jpg&quot; height=&quot;320&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Из инстаграмма&amp;nbsp;&lt;a href=&quot;http://instagram.com/fevrony&quot; target=&quot;_blank&quot;&gt;клетчатого слона Феврония&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
Но если все расписывать очень подробно, будучи несколько не в теме, то можно нарваться и на противоположный камень: будет очевидно, что правильный ответ получен неправильными выводами. Да и тупо времени может не хватить.&lt;br /&gt;
&lt;br /&gt;
В общем, жизнь студента на письменном экзамене весьма непроста. Но и мне достается тоже. Письменные работы за редкими исключениями выглядят вот так&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://photos-f.ak.instagram.com/hphotos-ak-xap1/1390088_215923968583109_1074256342_n.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://photos-f.ak.instagram.com/hphotos-ak-xap1/1390088_215923968583109_1074256342_n.jpg&quot; height=&quot;320&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Из инстаграмма&amp;nbsp;&lt;a href=&quot;http://instagram.com/fevrony&quot; target=&quot;_blank&quot;&gt;клетчатого слона Феврония&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
Пляшущие человечки Шерлока Холмса нервно курят в углу, видя каракули среднестатистического студента. Каракули выводятся вдохновенно, с мечтами о медицинском институте. Расшифровать их бывает сложнее капчи, и часто это шифрование с потерями. Когда видишь хороший почерк, хочется поставить пять без прочтения&lt;strike&gt;, чтобы не разочаровываться.&lt;/strike&gt;&lt;br /&gt;
&lt;br /&gt;
Итак, рецепт хорошего ответа на письменном экзамене прост. Разборчивый почерк, явно отмеченный ответ, разумные пояснения к ответу безо всяких глупостей и последующих &quot;ну я имел в виду&quot; и &quot;очевидно же&quot; на разборе полетов.&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://photos-h.ak.instagram.com/hphotos-ak-xpa1/928070_1499337390304519_240767796_n.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://photos-h.ak.instagram.com/hphotos-ak-xpa1/928070_1499337390304519_240767796_n.jpg&quot; height=&quot;320&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Из инстаграмма&amp;nbsp;&lt;a href=&quot;http://instagram.com/fevrony&quot; target=&quot;_blank&quot;&gt;клетчатого слона Феврония&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.barashev.net/feeds/4410288907905871373/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.barashev.net/2014/12/blog-post.html#comment-form' title='Комментарии: 1'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/4410288907905871373'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/4410288907905871373'/><link rel='alternate' type='text/html' href='http://www.barashev.net/2014/12/blog-post.html' title='Письменный экзамен: плюсы, минусы, подводные камни'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00486288940158906753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6807641511975030935.post-2964037490046759265</id><published>2014-12-08T05:04:00.000+03:00</published><updated>2014-12-08T05:04:31.500+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Papeeria"/><category scheme="http://www.blogger.com/atom/ns#" term="Проекты"/><title type='text'>Новости Папирии: графики и аттракционы</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
В Папирии &lt;a href=&quot;http://blog.papeeria.com/2014/12/5.html&quot; target=&quot;_blank&quot;&gt;появился компилятор графиков&lt;/a&gt; gnuplot. За несколько секунд можно состряпать простую гистограмму из CSV файла, а особые ценители могут побаловать себя скриптами на gnuplot и &lt;a href=&quot;http://blog.papeeria.com/2014/12/help-plot-builder.html&quot; target=&quot;_blank&quot;&gt;прекрасными графиками&lt;/a&gt;.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
И только сегодня &lt;a href=&quot;http://blog.papeeria.com/2014/12/blog-post.html&quot; target=&quot;_blank&quot;&gt;аттракцион невиданной щедрости&lt;/a&gt;: годовая подписка на всё это добро стоит $30, а не $60, как стоила вчера и будет стоить завтра.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.barashev.net/feeds/2964037490046759265/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.barashev.net/2014/12/gnuplot.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/2964037490046759265'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/2964037490046759265'/><link rel='alternate' type='text/html' href='http://www.barashev.net/2014/12/gnuplot.html' title='Новости Папирии: графики и аттракционы'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00486288940158906753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6807641511975030935.post-7830463494552974754</id><published>2014-11-26T15:45:00.000+03:00</published><updated>2014-11-26T15:45:00.180+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2014"/><category scheme="http://www.blogger.com/atom/ns#" term="dbms"/><category scheme="http://www.blogger.com/atom/ns#" term="Академический Университет"/><category scheme="http://www.blogger.com/atom/ns#" term="СУБД 2014"/><title type='text'>Практика 26 ноября. Транзакции</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;iframe src=&quot;https://docs.google.com/presentation/d/1PYzQRUAQrpR-RkDEXf6sxo0jGXGu12iTptkrJZnbNzw/embed?start=false&amp;loop=false&amp;delayms=60000&quot; frameborder=&quot;0&quot; width=&quot;533&quot; height=&quot;429&quot; allowfullscreen=&quot;true&quot; mozallowfullscreen=&quot;true&quot; webkitallowfullscreen=&quot;true&quot;&gt;&lt;/iframe&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.barashev.net/feeds/7830463494552974754/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.barashev.net/2014/11/26.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/7830463494552974754'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/7830463494552974754'/><link rel='alternate' type='text/html' href='http://www.barashev.net/2014/11/26.html' title='Практика 26 ноября. Транзакции'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00486288940158906753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6807641511975030935.post-2059874233815574015</id><published>2014-11-21T03:47:00.001+03:00</published><updated>2014-11-21T03:48:49.604+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2014"/><category scheme="http://www.blogger.com/atom/ns#" term="CSCenter"/><category scheme="http://www.blogger.com/atom/ns#" term="dbms"/><title type='text'>Базы Данных для тех кто еще не, но уже да</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Развлекаю себя в этом осеннем семестре тем. что пытаюсь прочитать &lt;a href=&quot;http://compscicenter.ru/courses/data-bases/2014-autumn/&quot; target=&quot;_blank&quot;&gt;курс &quot;Базы Данных&quot;&lt;/a&gt; студентам, часть из которых его уже слышала (причем даже в моем же исполнении, гыгы), часть скоро услышит, а у третьей части его нет и не будет. И многие при этом, вполне вероятно, на практике с БД хотя бы минимально общались. Не хочется создавать дежавю первым двум частям, но в то же время хочется сделать его интересным и проходимым для третьей части.&lt;br /&gt;
&lt;br /&gt;
Вроде бы получилось. Рассматриваем в основном практические аспекты, теорию оставляю университетскому курсу. Лекции и домашние задания рокировались: сначала нужно попробовать дома решить задачу, а потом уже на лекции разобрать возможные варианты решения. Получается интересно, во всяком случае проверять работы так уж точно.&lt;br /&gt;
&lt;br /&gt;
Возможно, следующим летом к этому прикрутится видеочасть, и в следующем году получится еще интереснее.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.barashev.net/feeds/2059874233815574015/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.barashev.net/2014/11/blog-post.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/2059874233815574015'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/2059874233815574015'/><link rel='alternate' type='text/html' href='http://www.barashev.net/2014/11/blog-post.html' title='Базы Данных для тех кто еще не, но уже да'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6807641511975030935.post-2531723119979971222</id><published>2014-11-19T15:45:00.000+03:00</published><updated>2014-11-19T15:45:00.925+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2014"/><category scheme="http://www.blogger.com/atom/ns#" term="dbms"/><category scheme="http://www.blogger.com/atom/ns#" term="Академический Университет"/><category scheme="http://www.blogger.com/atom/ns#" term="СУБД 2014"/><title type='text'>Практика №8. Триггеры</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;iframe src=&quot;https://docs.google.com/presentation/d/1BZC-JU1qIOiFFB4rq-7SbjhELl6hvTyuYrxwI8Bs0kQ/embed?start=false&amp;loop=false&amp;delayms=60000&quot; frameborder=&quot;0&quot; width=&quot;480&quot; height=&quot;389&quot; allowfullscreen=&quot;true&quot; mozallowfullscreen=&quot;true&quot; webkitallowfullscreen=&quot;true&quot;&gt;&lt;/iframe&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.barashev.net/feeds/2531723119979971222/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.barashev.net/2014/11/8.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/2531723119979971222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/2531723119979971222'/><link rel='alternate' type='text/html' href='http://www.barashev.net/2014/11/8.html' title='Практика №8. Триггеры'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00486288940158906753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6807641511975030935.post-4665426843841084778</id><published>2014-11-12T15:45:00.000+03:00</published><updated>2014-11-12T15:45:00.158+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2014"/><category scheme="http://www.blogger.com/atom/ns#" term="dbms"/><category scheme="http://www.blogger.com/atom/ns#" term="Академический Университет"/><category scheme="http://www.blogger.com/atom/ns#" term="СУБД 2014"/><title type='text'>Практика №7. Хранимые процедуры</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;iframe allowfullscreen=&quot;true&quot; frameborder=&quot;0&quot; height=&quot;389&quot; mozallowfullscreen=&quot;true&quot; src=&quot;https://docs.google.com/presentation/d/1lFEK95dqO4ggccXk51olp--oXZ5ocCv6LOZ_wKHyMVs/embed?start=false&amp;amp;loop=false&amp;amp;delayms=60000&quot; webkitallowfullscreen=&quot;true&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.barashev.net/feeds/4665426843841084778/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.barashev.net/2014/11/7.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/4665426843841084778'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/4665426843841084778'/><link rel='alternate' type='text/html' href='http://www.barashev.net/2014/11/7.html' title='Практика №7. Хранимые процедуры'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00486288940158906753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6807641511975030935.post-2690551661932390685</id><published>2014-10-29T15:45:00.000+03:00</published><updated>2014-10-29T15:45:00.477+03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2014"/><category scheme="http://www.blogger.com/atom/ns#" term="dbms"/><category scheme="http://www.blogger.com/atom/ns#" term="Академический Университет"/><category scheme="http://www.blogger.com/atom/ns#" term="СУБД 2014"/><title type='text'>Практика №6. Представления</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;iframe src=&quot;https://docs.google.com/presentation/d/1_t4jKqqxuyE94oqA5m8Or6z5WziyxG8X4MdlCU_mMPo/embed?start=false&amp;loop=false&amp;delayms=60000&quot; frameborder=&quot;0&quot; width=&quot;480&quot; height=&quot;389&quot; allowfullscreen=&quot;true&quot; mozallowfullscreen=&quot;true&quot; webkitallowfullscreen=&quot;true&quot;&gt;&lt;/iframe&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.barashev.net/feeds/2690551661932390685/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.barashev.net/2014/10/6.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/2690551661932390685'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/2690551661932390685'/><link rel='alternate' type='text/html' href='http://www.barashev.net/2014/10/6.html' title='Практика №6. Представления'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00486288940158906753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6807641511975030935.post-4086158990616754011</id><published>2014-10-13T02:07:00.000+04:00</published><updated>2014-10-13T02:07:09.034+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2014"/><category scheme="http://www.blogger.com/atom/ns#" term="dbms"/><category scheme="http://www.blogger.com/atom/ns#" term="Академический Университет"/><category scheme="http://www.blogger.com/atom/ns#" term="СУБД 2014"/><title type='text'>Еще два варианта практических заданий</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;a href=&quot;https://docs.google.com/a/barashev.net/document/d/18oUiM4JRRvFNpz-MDYcBrJmKIzvyxD5yTaa7UtLzU18/edit?usp=sharing&quot; target=&quot;_blank&quot;&gt;Вариант 3: багтрекер&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://docs.google.com/a/barashev.net/document/d/1Gd4BTXn-Pfu93aD40T05qVLFPGkgA-sJM-Y2sRrFj9E/edit?usp=sharing&quot; target=&quot;_blank&quot;&gt;Вариант 4: кофейная компания&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.barashev.net/feeds/4086158990616754011/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.barashev.net/2014/10/blog-post.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/4086158990616754011'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/4086158990616754011'/><link rel='alternate' type='text/html' href='http://www.barashev.net/2014/10/blog-post.html' title='Еще два варианта практических заданий'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00486288940158906753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6807641511975030935.post-3183982425035340544</id><published>2014-10-08T15:45:00.000+04:00</published><updated>2014-10-08T15:45:00.076+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2014"/><category scheme="http://www.blogger.com/atom/ns#" term="dbms"/><category scheme="http://www.blogger.com/atom/ns#" term="Академический Университет"/><category scheme="http://www.blogger.com/atom/ns#" term="СУБД 2014"/><title type='text'>Практика №5. Агрегатные функции и группировки</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;iframe allowfullscreen=&quot;true&quot; frameborder=&quot;0&quot; height=&quot;429&quot; mozallowfullscreen=&quot;true&quot; src=&quot;https://docs.google.com/presentation/d/1jeGKEdzlptnvjzw5FJ0vIzB8sy6kfVRh-vAvpDAVIRk/embed?start=false&amp;amp;loop=false&amp;amp;delayms=60000&quot; webkitallowfullscreen=&quot;true&quot; width=&quot;533&quot;&gt;&lt;/iframe&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.barashev.net/feeds/3183982425035340544/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.barashev.net/2014/10/5.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/3183982425035340544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/3183982425035340544'/><link rel='alternate' type='text/html' href='http://www.barashev.net/2014/10/5.html' title='Практика №5. Агрегатные функции и группировки'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00486288940158906753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6807641511975030935.post-859473413664871135</id><published>2014-10-01T15:45:00.000+04:00</published><updated>2014-10-01T15:45:00.184+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2014"/><category scheme="http://www.blogger.com/atom/ns#" term="dbms"/><category scheme="http://www.blogger.com/atom/ns#" term="Академический Университет"/><category scheme="http://www.blogger.com/atom/ns#" term="СУБД 2014"/><title type='text'>Практика №4. Простые запросы</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;iframe allowfullscreen=&quot;true&quot; frameborder=&quot;0&quot; height=&quot;389&quot; mozallowfullscreen=&quot;true&quot; src=&quot;https://docs.google.com/presentation/d/1nr023DwTrzQ0vjXMk4fAxWJIiYHX4rFt6RPy1Vdlxww/embed?start=false&amp;amp;loop=false&amp;amp;delayms=60000&quot; webkitallowfullscreen=&quot;true&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;

&lt;iframe allowfullscreen=&quot;true&quot; frameborder=&quot;0&quot; height=&quot;389&quot; mozallowfullscreen=&quot;true&quot; src=&quot;https://docs.google.com/presentation/d/1ZWkmOO6zigTKcLVeqBdgU2fRCO71eR03JQzsv3hV9K4/embed?start=false&amp;amp;loop=false&amp;amp;delayms=60000&quot; webkitallowfullscreen=&quot;true&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.barashev.net/feeds/859473413664871135/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.barashev.net/2014/10/4.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/859473413664871135'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/859473413664871135'/><link rel='alternate' type='text/html' href='http://www.barashev.net/2014/10/4.html' title='Практика №4. Простые запросы'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00486288940158906753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6807641511975030935.post-7575745826519030235</id><published>2014-09-24T15:45:00.000+04:00</published><updated>2014-09-24T15:45:00.348+04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2014"/><category scheme="http://www.blogger.com/atom/ns#" term="dbms"/><category scheme="http://www.blogger.com/atom/ns#" term="Академический Университет"/><category scheme="http://www.blogger.com/atom/ns#" term="СУБД 2014"/><title type='text'>Практика №3. Ограничения и связи</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;iframe allowfullscreen=&quot;true&quot; frameborder=&quot;0&quot; height=&quot;389&quot; mozallowfullscreen=&quot;true&quot; src=&quot;https://docs.google.com/presentation/d/1SvoKdSDktDeRnrDsRn0l6XfUvlv6XNnKrIkI0A3muRs/embed?start=false&amp;amp;loop=false&amp;amp;delayms=60000&quot; webkitallowfullscreen=&quot;true&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://www.barashev.net/feeds/7575745826519030235/comments/default' title='Комментарии к сообщению'/><link rel='replies' type='text/html' href='http://www.barashev.net/2014/09/3.html#comment-form' title='Комментарии: 0'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/7575745826519030235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6807641511975030935/posts/default/7575745826519030235'/><link rel='alternate' type='text/html' href='http://www.barashev.net/2014/09/3.html' title='Практика №3. Ограничения и связи'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/00486288940158906753</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>