{"action":"closed","issue":{"url":"https://api.github.com/repos/Nataliia-Skliarova/testtask/issues/2","repository_url":"https://api.github.com/repos/Nataliia-Skliarova/testtask","labels_url":"https://api.github.com/repos/Nataliia-Skliarova/testtask/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Nataliia-Skliarova/testtask/issues/2/comments","events_url":"https://api.github.com/repos/Nataliia-Skliarova/testtask/issues/2/events","html_url":"https://github.com/Nataliia-Skliarova/testtask/issues/2","id":180294525,"number":2,"title":"#Testtask2","user":{"login":"Nataliia-Skliarova","id":20092790,"avatar_url":"https://avatars.githubusercontent.com/u/20092790?v=3","gravatar_id":"","url":"https://api.github.com/users/Nataliia-Skliarova","html_url":"https://github.com/Nataliia-Skliarova","followers_url":"https://api.github.com/users/Nataliia-Skliarova/followers","following_url":"https://api.github.com/users/Nataliia-Skliarova/following{/other_user}","gists_url":"https://api.github.com/users/Nataliia-Skliarova/gists{/gist_id}","starred_url":"https://api.github.com/users/Nataliia-Skliarova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nataliia-Skliarova/subscriptions","organizations_url":"https://api.github.com/users/Nataliia-Skliarova/orgs","repos_url":"https://api.github.com/users/Nataliia-Skliarova/repos","events_url":"https://api.github.com/users/Nataliia-Skliarova/events{/privacy}","received_events_url":"https://api.github.com/users/Nataliia-Skliarova/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-30T12:41:37Z","updated_at":"2016-10-03T18:26:25Z","closed_at":"2016-10-03T18:26:25Z","body":"Написать следующие запросы:\r\nВывести id, cpu, ram для тех компьютеров, у которых объем памяти 4 Гб.\r\n\tSELECT id,cpu,ram FROM computers WHERE ram=4;\r\n\t\r\nВывести минимальный объем жесткого диска. Вывод: hdd\r\nSELECT min(hdd) as hdd FROM computers;\r\n\r\nВывести количество компьютеров с частотой 2400 МГц. Вывод: count\r\n\tSELECT count(cpu) FROM computers WHERE  cpu=2400;\r\n\t\r\nВывести cpu, ram, hdd компьютера, который заказала Lena\r\n\tSELECT a.cpu, a.ram, a.hdd FROM computers a JOIN orders b ON a.id=b.id WHERE b.customerName=’Lena’\r\n"}}
{"actor":{"display_login":"Nataliia-Skliarova"}}