본문 바로가기

전체 글

(288)
230208 모두를 위한 딥러닝 Lab12
230207 모두를 위한 딥러닝 Lab07~08
230202 MySQL과 Kafka 연동
[Neo4j] LIMIT / 2023.02.16 https://neo4j.com/docs/cypher-manual/current/clauses/limit/ LIMIT - Cypher Manual `LIMIT` constrains the number of returned rows. neo4j.com *Example Graph create (a {name:'A'}), (b {name:'B'}), (c {name:'C'}), (d {name:'D'}), (e {name:'E'}), (a)-[:KNOWS]->(b), (a)-[:KNOWS]->(c), (a)-[:KNOWS]->(d), (a)-[:KNOWS]->(e) LIMIT는 반환되는 행의 수를 제한함 LIMIT는 양의 정수로 평가되는 모든 식을 허용하지만 노드나 관계를 참조할 수는 없음 1. Return ..
MySQL (Workbench) 설치하기 / 2023.02.15 1. MySQL 사이트 접속 https://www.mysql.com/downloads/ MySQL :: MySQL Downloads MySQL Cluster CGE MySQL Cluster is a real-time open source transactional database designed for fast, always-on access to data under high throughput conditions. MySQL Cluster MySQL Cluster Manager Plus, everything in MySQL Enterprise Edition Learn More » C www.mysql.com - 화면을 스크롤하고, 가장 아래에 있는 MySQL Community (GPL) Downloads..
[Neo4j] SKIP / 2023.02.15 https://neo4j.com/docs/cypher-manual/current/clauses/skip/ SKIP - Cypher Manual `SKIP` defines from which row to start including the rows in the output. neo4j.com *Example Graph create (a {name:'A'}), (b {name:'B'}), (c {name:'C'}), (d {name:'D'}), (e {name:'E'}), (a)-[:KNOWS]->(b), (a)-[:KNOWS]->(c), (a)-[:KNOWS]->(d), (a)-[:KNOWS]->(e) 1. Skip first three rows #처음 세 노드는 건너뛰고 마지막 두 노드만 결과로 반환 M..
[Neo4j] ORDER BY / 2023.02.14 https://neo4j.com/docs/cypher-manual/current/clauses/order-by/ ORDER BY - Cypher Manual `ORDER BY` is a sub-clause following `RETURN` or `WITH`, and it specifies that the output should be sorted and how. neo4j.com *Example Graph create (a {name:'A', age:34, length:170}), (b {name:'B', age:36}), (c {name:'C', age:32, length:185}), (a)-[:KNOWS]->(b), (b)-[:KNOWS]->(c) ORDER BY는 출력을 정렬할 수 있음 1. Ord..
[Neo4j] UNWIND / 2023.02.13 https://neo4j.com/docs/cypher-manual/current/clauses/unwind/ UNWIND - Cypher Manual `UNWIND` expands a list into a sequence of rows. neo4j.com UNWIND :풀다, 펴다 UNWIND를 사용하면 list를 개별 행으로 변환할 수 있음 UNWIND 절에서는 내부 변수의 새 이름을 지정해야 함 1. Unwinding a list 리터럴 목록을 x 행으로 변환하여 반환 #null을 포함한 원래 list의 값은 각각 개별 행으로 반환 UNWIND [1, 2, 3, null] AS x RETURN x, 'val' AS y 2. Creating a distinct list DISTINCT를 사용하여 중복된..