Preseto에서 100만 기록의 조회 생성
863 단어 Presto
예를 들어 100만건 이상의 기능을 사용할 수 있는지 혹은 사용할 수 없는지 확인하고 싶다.
이 때 다음 조회를 실행합니다.
SELECT ones.n + 10*tens.n + 100*hundreds.n + 1000*thousands.n + 10000*tensthousands.n + 100000*hundredsthousands.n
FROM (VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9)) ones(n),
(VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9)) tens(n),
(VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9)) hundreds(n),
(VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9)) thousands(n),
(VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9)) tensthousands(n),
(VALUES(0),(1),(2),(3),(4),(5),(6),(7),(8),(9)) hundredsthousands(n)
ORDER BY 1
그래서 100만건이 생성됐다.Reference
이 문제에 관하여(Preseto에서 100만 기록의 조회 생성), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/toru-takahashi/items/e1d62221ae1007ae186f텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)