MySQL 비교연산자 LIKE, NOT LIKE


MySQL 비교연산자 LIKE, NOT LIKE

다른 질의어를 배우기 위해 데이터를 다시 입력할 필요가 있다. 이번에는 조금 더 다양한 데이터를 저장할 수 있도록 필드 역시 추가해보자. alter table students add age int not null; alter table students add is_enrolled tinyint; alter table students add enrolled_date date; insert into students (student_name, student_grade, school_name, gender, age, is_enrolled, enrolled_date) values ('홍길동', 2, '활빈고등학교', '남자', 16, 1, 20220201), ('허균', 2, '활빈고등학교', '남자', 32, 1, 20220201), ('연산군', 3, '조선고등학교', '남자', 36, 0, null), ('세종', 3, '조선고등학교', '남자', 42, 1, 20210601), ('홍...


#SQL #MySQL #MariaDB #아포스트로피 #데이터추가 #와일드카드 #워크벤치 #데이터베이스 #데이터검색 #관계형데이터베이스 #workbench #wildcard #apostrophe #search_table_data #RDBMS #NOT_LIKE #LIKE #insert_into #DBMS #auto_increment #자동증가

원문링크 : MySQL 비교연산자 LIKE, NOT LIKE