목록데이터분석/SQL (2)
Archive

이것이 MySQL이다 8.0 (우재남, 한빛미디어) 참고데이터리안 SQL CHEAT SHEET 참고CRUDDML data manipulation language 데이터 조작 언어데이터 조작에 활용.SELECT *FROM table_refWHERE conditionGROUP BY col_nameHAVING conditionORDER BY col_nameLIMIT row_num;INSERT [INTO] table_ref VALUES (val1, val2, ...);UPDATE table_ref SET col1=val1, col2=val2, ...WHERE condition;DELETE FROM table_ref WHERE condition LIMIT num;DDL data definition language..

생활코딩 Coding Everday DATABASE 참고database관계형 DB: Oracle, MySQL, MS SQL Server, PostgreSQL~관계형 DB: MongoDBMySQL의 경우 DB client로 MySQL monitor을 사용할 수도, MySQL workbench를 사용할 수도 있다.MySQL monitor: 명령어 기반, server만 있다면 어디서든 실행할 수 있다는 장점이 있음MySQL workbench: GUI 기반관계형 DB: structured query language SQL관계형 DB의 핵심 기능 JOIN을 활용하면, 중복으로 인한 불필요한 용량을 줄일 수 있다."every table in the database needs to have a single theme..