*파이썬 1주차 강의
-2진수, bit 연산자에 대해 이해하기 어려웠다. 유튜브를 통해 추가 학습해야겠다.
*SQL 1주차 강의
SQL 설치만 하고, 퀘스트 과제 수행함
#sparta_employees 테이블에서 모든 직원의 이름(name)과 직급(position)을 선택하는 쿼리를 작성해주세요.
select name, position
from sparta_employees;
#sparta_employees 테이블에서 중복 없이 모든 직급(position)을 선택하는 쿼리를 작성해주세요.
select distinct position
from sparta_employees;
#sparta_employees 테이블에서 연봉(salary)이 40000과 60000 사이인 직원들을 선택하는 쿼리를 작성해주세요.
select name
from sparta_employees
where salary between 40000 and 60000;
#sparta_employees 테이블에서 입사일(hire_date)이 2023년 1월 1일 이전인 모든 직원들을 선택하는 쿼리를 작성해주세요.
select name
from sparta_employees
where hire_date < '2023-01-01';