Language

https://youtu.be/pNINXzXaWWM * 공통점 : WHERE 꼭 해줘야한다 .. 안하면 전체가 U, D 됨 UPDATE ... SET ... WHERE ... ; UPDATE topic SET description = 'Oracle is ...', title='Oracle' WHERE id=2; - topic을 수정(UPDATE) - 컬럼명 description을 Oracle is ... 로, title을 Oracle로 변경(SET) - (중요!!!!!) 조건(WHERE) : id가 2인 행을 └ WHERE 안하면 모든 행이 바뀜 ... 결과 SELECT * FROM topic; +----+------------+-------------------+---------------------+..
https://youtu.be/FCnJH6fLc64 SELECT FROM - SELECT ___ FROM ; 사이에 Read 하고 싶은 컬럼명만 입력 SELECT id, title, created, author FROM topic; +----+------------+---------------------+--------+ | id | title | created | author | +----+------------+---------------------+--------+ | 1 | MySQL | 2022-04-17 19:27:40 | egoing | | 2 | ORACLEL | 2022-04-17 19:29:30 | egoing | | 3 | SQL Server | 2022-04-17 19:43:49 |..
https://youtu.be/75LHpeOQiOs CRUD - Create, Read, Update, Delete - Create, Read는 다 됨. Update, Delete는 안되는 경우도 있음 Read SHOW DATABASES; +--------------------+ | Database | +--------------------+ | information_schema | | mysql | | opentutorials | | performance_schema | | test | +--------------------+ db 보여줌 SHOW TABLES IN opentutorials; +-------------------------+ | Tables_in_opentutorials | +-----..
https://www.youtube.com/watch?v=d3ye07XRexs SQL? : Structured Query Language - structured : 관계형 DB는 주로 표로 정리. 이걸 보통 '구조화되었다'고 함 - query : DB에 ~해달라고 '질의'함 - language : 언어 .. 명칭 id title description created 1 MySQL MySQL is... 2018-1-1 2 Query Query is ... 2019-1-1 - table, 표 - row, record, 행 └ 이 표는 행 2개. data 하나하나 - column, 열 └ 이 표는 열 4개. data의 type, 구조 테이블 생성 OPEN opentutorials; CREATE TABLE top..
zeomzzz
'Language' 카테고리의 글 목록 (4 Page)