{"id":20605180,"url":"https://github.com/arnab-developer/lesson2scripts","last_synced_at":"2026-02-08T20:09:17.414Z","repository":{"id":9361075,"uuid":"11214871","full_name":"Arnab-Developer/Lesson2Scripts","owner":"Arnab-Developer","description":"Database problem solution - Lesson2","archived":false,"fork":false,"pushed_at":"2021-04-09T11:21:06.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-06T10:34:56.832Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TSQL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Arnab-Developer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-06T07:30:48.000Z","updated_at":"2021-12-05T05:48:17.000Z","dependencies_parsed_at":"2022-07-21T11:59:08.699Z","dependency_job_id":null,"html_url":"https://github.com/Arnab-Developer/Lesson2Scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Arnab-Developer/Lesson2Scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arnab-Developer%2FLesson2Scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arnab-Developer%2FLesson2Scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arnab-Developer%2FLesson2Scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arnab-Developer%2FLesson2Scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Arnab-Developer","download_url":"https://codeload.github.com/Arnab-Developer/Lesson2Scripts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arnab-Developer%2FLesson2Scripts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29241696,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T19:36:48.828Z","status":"ssl_error","status_checked_at":"2026-02-08T19:27:12.336Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T09:26:57.650Z","updated_at":"2026-02-08T20:09:17.379Z","avatar_url":"https://github.com/Arnab-Developer.png","language":"TSQL","funding_links":[],"categories":[],"sub_categories":[],"readme":"1. Create a table to store employee information with with (Name, Department, Designation and Basic salary)\n2. Insert some demo data inside the table for (Name, Dept, Desig, Basic) like:\n\n'Rajat', 'ACCTS', 'MGR', 6500\u003cbr /\u003e\n'Madhurima', 'MKTG', 'MGR', 6000\u003cbr /\u003e\n'Rajnish', 'PERS', 'CLRK', 4500\u003cbr /\u003e\n'Rakhi', 'ACCTS', 'CLRK', 3000\u003cbr /\u003e\n'Sachin', 'MKTG', 'SALES', 2000\u003cbr /\u003e\n'Virat', 'PERS', 'MGR', 7000\u003cbr /\u003e\n'Mukesh', 'ACCTS', 'CLRK', 2500\u003cbr /\u003e\n\nNow perform the following operaton:\n\n4. Display only the name of employees.\n5. Display all records of employees whose designation id 'MGR'.\n6. Display only name of employees who are working in 'ACCTS' department.\n7. Display those records whose basic salary is more than 5000.\n8. Display name and department whose basic salary is between 2000 and 3000.\n9. Desplay only the name of employees who are working under 'MKTG' and 'PERS' departments.\n10. Display records whose department is 'MKTG' and designation is 'MGR'.\n11. Display records whose EmployeeId is 3 and 7.\n12. Display records whose name starts with 'R'.\n13. Display records other than 'PERS' department and earning basic below 5000.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farnab-developer%2Flesson2scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farnab-developer%2Flesson2scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farnab-developer%2Flesson2scripts/lists"}