DATABASE
-
step 2-2. database 언어 chap 2.2020/<programing> <coding> 2020. 3. 21. 11:39
앞부분 저장안해서 날아감 ㅠ 16. 테이블 분리하기 https://youtu.be/LeTeb3ImxI0 topic_backup 데이터 생성 author / topic table 데이터 입력 NOW() 대신 쓰일 수 있는 함수들 CURDATE() : 현재날짜만 CURTIME() : 현재시간만 topic table data input author table data input 17. JOIN https://youtu.be/q0UHWaDRwlk topic table 의 author_id 값과 author table 의 id 값을 엮어서 불러오기 mysql> SELECT*FROM topic LEFT JOIN author ON topic.author_id = author.id; >> 명령어에서 *는 모든 colu..