CS/데이터베이스

DB 데이터베이스 정리 (SELECT)

메이져드컴싸 2020. 12. 28. 17:00

 

# select column1, column2 from table where TRUE of FALSE

select countryCode from COUNTRY where countryCode = 82;

 

 

=> COUNTRY라는 테이블에서 countryCode 가 82인 countryCode 열만 뽑아낸다.