inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

묻고 답해요

176만명의 커뮤니티!! 함께 토론해봐요.

쿼리에 대한 질문이 있습니다.

미해결

다양한 사례로 익히는 SQL 데이터 분석

select page_path , count (*) as page_cnt , count ( distinct sess . sess_id ) as unique_page_cnt from ga . ga _sess_hits his join ga . ga _sess sess on his . sess_id = sess . sess_id where visit_stime >= ( '2016-11-01' :: date - interval '30 days' ) and visit_stime < '2016-11-01' and hit_type = 'PAGE' group by page_path order by 2 desc ; 저는 위와 같이 쿼리를 작성했습니다만, 교육 자료에서 temp_01, temp_02로 각각 나눠서 page_cnt와 unique_page_cnt를 구하는 것에 어떠한 장점이 있어서 교안의 쿼리 대로 작성하는지 궁금합니다. 제가 단순히 생각하기에는 비효율적으로 보여서요! 제 쿼리가 비효율적일 수도 있는데, 장단점을 들어보고 싶습니다.

  • sql
  • postgresql
  • dbms/rdbms
  • 퍼포먼스-마케팅
  • 데이터-엔지니어링
JUNG JONGSEOK 댓글 2 좋아요 0 조회수 175

마지막 강의 소스 코드를 실행할 때

미해결

[C#/.NET 8.0]어서와, WinForm은 처음이지?

안녕하세요. 항상 도움 받고있습니다 마지막 강의 소스코드를 실행 할 때, 아래처럼 에러가 나는데 어떤 방향으로 해결하면 좋을까요? 추측하기로는 강의 초반부에 DB가져다가 쓸 때, Nuget콘솔에다가 이름이랑 패스워드등을 넣어서 코드를 생성하셨었는데요 . 그걸 안하고 소스코드를 써서 그런것아닐까싶습니다. 에러 내용: Npgsql.PostgresException: '28P01: ����� "postgres"�� password ������ �����߽��ϴ�'

  • postgresql
  • .net
  • winform
댓글 1 좋아요 0 조회수 179

퍼널 질문드립니다.

미해결

다양한 사례로 익히는 SQL 데이터 분석

안녕하세요 해당 데이터셋에는 퍼널의 순서가 있다보니 각단계별 전환율을 구할 수 있었는데요, 다른 데이터의 경우 퍼널의 순서가 없다면 어떻게 분석을 해야할까요? 예를들어 "로그인 > 장바구니 >구매" 순서가 아닌 "로그인 > 구매" 이렇게 장바구니와 구매를 선택할수 있는 허브역할을 할 수도 있다고 생각되는데요. 이부분에서 개인적으로 공부하는데 막히더군요

  • sql
  • postgresql
  • dbms/rdbms
  • 퍼포먼스-마케팅
  • 데이터-엔지니어링
조만준 댓글 1 좋아요 0 조회수 166

커스텀 파이프에서 value의 타입이 string 이 아닐때

미해결

따라하며 배우는 NestJS

여기서 value.toUpperCase()를 먼저 실행하고 있는데, value에 toUpperCase 메소드가 없는 타입이 온다면 어떻게 될까요?

  • postgresql
  • jwt
  • nestjs
  • typeorm
정수현 댓글 1 좋아요 0 조회수 221

쿠폰 문의

해결됨

[풀스택 입문] Firebase보다 10배 좋은 Supabase

[풀스택 완성] Supabase로 웹사이트 3개 클론하기 (Next.js 14) 할인 쿠폰코드를 적용하려니까 신규 발급이 제한되었거나 발급 수량이 초과된 쿠폰이라고 하네요 ㅠ

  • postgresql
  • next.js
  • tailwindcss
  • supabase
밀당이 댓글 2 좋아요 0 조회수 270

강의와 .md 차이

해결됨

실전! Django 활용

안녕하세요. 강의 잘 보고 있습니다. 깃허브에 제공해주신 섹션 마크다운 파일과 영상과 다를 때가 존재하고, 마크다운 파일에 내용이 적혀져 있지 않을 때도 존재합니다. 여유가 된시다면 main 브랜치에 섹션 마크다운 파일들 내용을 모두 채워주시면 감사하겠습니다. ! 더 보기 좋을 것 같아요

  • python
  • django
  • postgresql
  • orm
  • 동시성
gjtjqkr1 댓글 1 좋아요 1 조회수 144

module에서 import, export, provider, controller..

해결됨

프론트 개발자를 위한 백엔드 101 (NestJS, TypeORM)

안녕하세요 캡쳐 사진은 auth.module인데요 다름이 아니라 import, export, provider, controller 할때 무엇을 적을지 어떻게 명확히 아나요? userModuel같은 경우는 auth.conroller나 service에서 사용되지오 안하고(강의시점), stratigies 파일에서도 사용되지 않았습니다. 이리 구현할 내용을 알고 위에처럼 적으신걸까요?

  • aws
  • postgresql
  • nestjs
  • typeorm
  • aws-rds
YU NA Joe 댓글 2 좋아요 0 조회수 173

슬랙채널 가입이 안됩니다.

해결됨

프론트 개발자를 위한 백엔드 101 (NestJS, TypeORM)

이 부분 해결하는 방법은 아실까요?

  • aws
  • postgresql
  • nestjs
  • typeorm
  • aws-rds
YU NA Joe 댓글 2 좋아요 0 조회수 397

nestjs 기본 구조 설명에서 궁금한게 있습니다.

미해결

따라하며 배우는 NestJS

기본 구조 설명을 듣던 중에 eslintrc.js라는 폴더가 있다고 하시는데 nest가 11.0.2인 버전에서는 없는 것 같아서요. 분명 이 기능을 하는 파일은 있을 텐데.. 혹시 eslint.config.mjs가 아닐까 궁금합니다.

  • postgresql
  • jwt
  • nestjs
  • typeorm
안민선 댓글 0 좋아요 0 조회수 207

Restore에서 Failed

미해결

[C#/.NET 8.0]어서와, WinForm은 처음이지?

안녕하세요 pgAdmin4 설치 부분을 하고있습니다. 17버전에서 Reference 설정하고 시도했을 때, 안됨 15버전으로 설치하고 Reference설정 후 시도해도 안됨 이 때 해 볼만한 방안이 있을까요? 바쁘신데 한 번 봐주시면 감사하겠습니다. 껄껄 아래 에러 내용입니다 . pg_restore: ۾ ͺ ̽ pg_restore: EXTENSION "adminpack" pg_restore: COMMENT "EXTENSION adminpack" pg_restore: TABLE "public.gangnamgu_population" pg_restore: TOC ó ϴ : pg_restore: 215 TOC ׸񿡼 ; 1259 24662 TABLE gangnamgu_population postgres pg_restore: : could not execute query: 오류: "gangnamgu_population" 이름의 릴레이션(relation)이 이미 있습니다 : CREATE TABLE public.gangnamgu_population ( administrative_agency character varying, total_population integer, male_population integer, female_population integer, sex_ratio double precision, number_of_households integer, number_of_people_per_household double precision, id integer NOT NULL ); pg_restore: SEQUENCE "public.gangnamgu_population_id_seq" pg_restore: 216 TOC ׸񿡼 ; 1259 24667 SEQUENCE gangnamgu_population_id_seq postgres pg_restore: : could not execute query: 오류: "gangnamgu_population_id_seq" 이름의 릴레이션(relation)이 이미 있습니다 : CREATE SEQUENCE public.gangnamgu_population_id_seq AS integer START WITH 1 INCREMENT BY 1 NO MINVALUE NO MAXVALUE CACHE 1; pg_restore: SEQUENCE OWNED BY "public.gangnamgu_population_id_seq" pg_restore: DEFAULT "public.gangnamgu_population id" pg_restore: "public.gangnamgu_population" ̺ ڷḦ ó pg_restore: 3319 TOC ׸񿡼 ; 0 24662 TABLE DATA gangnamgu_population postgres pg_restore: : "gangnamgu_population" ̺ COPY : 오류: 중복된 키 값이 "gangnamgu_population_pkey" 고유 제약 조건을 위반함 : (id)=(2) 키가 이미 있습니다. : gangnamgu_population 복사, 1번째 줄 pg_restore: : SEQUENCE SET gangnamgu_population_id_seq pg_restore: CONSTRAINT "public.gangnamgu_population gangnamgu_population_pkey" pg_restore: 3176 TOC ׸񿡼 ; 2606 24675 CONSTRAINT gangnamgu_population gangnamgu_population_pkey postgres pg_restore: : could not execute query: 오류: "gangnamgu_population" 테이블에는 이미 기본키가 있습니다 : ALTER TABLE ONLY public.gangnamgu_population ADD CONSTRAINT gangnamgu_population_pkey PRIMARY KEY (id); pg_restore: : ۾ õǾ : 4

  • postgresql
  • .net
  • winform
skagns601 댓글 1 좋아요 0 조회수 244

Radzen.Blazor.RadzenTheme 오

미해결

[C#/.NET 8.0]어서와, Blazor Server는 처음이지?

InvalidOperationException: A component of type 'Radzen.Blazor.RadzenTheme' has render mode 'InteractiveAutoRenderMode', but the required endpoints are not mapped on the server. When calling 'MapRazorComponents', add a call to 'AddInteractiveWebAssemblyRenderMode'. For example, 'builder.MapRazorComponents<...>.AddInteractiveWebAssemblyRenderMode()' Microsoft.AspNetCore.Components.Endpoints.SSRRenderModeBoundary.AssertRenderModeIsConfigured<TRequiredMode>(Type componentType, IComponentRenderMode specifiedMode, IComponentRenderMode[] configuredModes, string expectedCall) 서비스 등록함 테마 등록함 컨포넌트 입력

  • C#
  • postgresql
  • .net
  • blazor
늘해랑 댓글 4 좋아요 0 조회수 333

Class 설계 후 Razor 에서 호출!

미해결

[C#/.NET 8.0]어서와, Blazor Server는 처음이지?

23:27 ~부터 구현시 강사님 환경하고 수업자 환경하고 다른듯하네요 using BlazorSeverMaster.Components; using BlazorSeverMaster.Components.Account; using BlazorSeverMaster.Data ; using BlazorSeverMaster.interfaces; using BlazorSeverMaster.Models;\ using BlazorSeverMaster.Services ; 위코드를 추가 해야 되네요

  • C#
  • postgresql
  • .net
  • blazor
늘해랑 댓글 1 좋아요 0 조회수 142

wpf 응용 질문

미해결

[C#/.NET 8.0]어서와, Blazor Server는 처음이지?

blazor 강의를 통해 web page에 Db 전시하는걸보고 혹시 현재 .net 4.7.2프레임워크를 사용 중인데 wpf를 통해서 로컬 host에도 이와같이 Db를 전시할 수 있을까요?

  • C#
  • postgresql
  • .net
  • blazor
phmin 댓글 1 좋아요 0 조회수 108

fastapi와 dash 함께 사용하는 경우 문의

미해결

[2025 신규] 어서와, Fast API는 처음이지?

강의에서는 fastapi 앱 서버, dash 앱서버 각각 실행을 한 상태에서 dash에서 request를 수행하셨는데 dataframe을 사용하지 않고 fastai 결과 dictionary 를 받아서 dashboard를 그리는데 유리한 부분이 있을까요? (속도 측면?) fastapi와 dash를 같이 사용할 때 일반적인 방법이나 추천하는 방법이 따로 있을까요?

  • python
  • postgresql
  • FastAPI
  • database
  • python-dash
프로브 댓글 0 좋아요 0 조회수 230

Dbeaver오류

미해결

데이터 분석 SQL Fundamentals

Dbeaver 설치하고 영상처럼 sql연결하였더니 연결오류라고 나옵니다 어떤걸 해결해야할까요 - 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.

  • sql
  • postgresql
  • dbms/rdbms
이장현 댓글 2 좋아요 0 조회수 758

직원 별 가장 높은 매출

미해결

데이터 분석 SQL Fundamentals

14:38초 예제에서 직원별 개별 상품 매출액, 직원별로 가장 높은 매출 대비 개별 상품 매출 비율 구하기 with temp_01 as( select employee_id ,sum(amount)as sum_by_emp_prod --직원별 개별 상품 매출액 -- ,max (amount) as max_emp --직원 별 가장 높은 매출 from orders a join order_items b on a.order_id=b.order_id group by employee_id ) select sum_by_emp_prod ,sum_by_emp_prod/max(sum_by_emp_prod)over(partition by employee_id) from temp_01; group by할때 왜 product_id도 group by하나요? 직원별 개별 상품인데 employee_id와 그룹바이 하면 되는거 아닌가여 ? 직원별로 가장 높은 매출을 max(sum_by_emp_prod)over(partition by employee_id) 이렇게 구하셧는데 with절에서 group by로 해서 with temp_01 as( select employee_id ,sum(amount)as sum_by_emp_prod --직원별 개별 상품 매출액 ,max (amount) as max_emp --직원 별 가장 높은 매출 from orders a join order_items b on a.order_id=b.order_id group by employee_id ) 이렇게 구하면 안되나여?

  • sql
  • postgresql
  • dbms/rdbms
알고리즘가즈앙 댓글 1 좋아요 0 조회수 157

강의순서대로 실습코드순알려주세요.

미해결

데이터 분석 SQL Fundamentals

복습할려는데..실습코드순서를 모르겟어요

  • sql
  • postgresql
  • dbms/rdbms
알고리즘가즈앙 댓글 1 좋아요 0 조회수 170

typeorm ^10.0.2 버전 사용시 No metadata for "BoardRepository" was found. 오류 발생 해결방법.

미해결

따라하며 배우는 NestJS

@nestjs/typeorm: ^10.0.2 버전에서도 정상 동작합니다. 아래 코드 참고하셔서 수정해 보세요. boards.module.ts 파일에서 providers 부분 수정. ... @Module({ imports: [TypeOrmModule.forFeature([Board])], controllers: [BoardsController], providers: [BoardsService, BoardRepository], // BoardRepository 추가 }) export class BoardsModule {} board.repository.ts 파일에서 수정 import { Injectable } from '@nestjs/common'; import { DataSource, Repository } from 'typeorm'; import { Board } from './board.entity'; import { CreateBoardDto } from './dto/create-board.dto'; import { BoardStatus } from './board-status.enum'; @Injectable() // 변경 export class BoardRepository extends Repository<Board> { // constructor 추가 constructor(dataSource: DataSource) { super(Board, dataSource.createEntityManager()); } }

  • postgresql
  • jwt
  • nestjs
  • typeorm
jurjur 댓글 1 좋아요 3 조회수 310

m:n inner join일 경우 cross조인과 동일하게 동작되는건가요?

미해결

데이터 분석 SQL Fundamentals

강의 9:53에 inner join을 했을때 m:n이라서 empno가 7369 인 행이 6건이 출력되었습니다. m:n인 경우 inner join은 cross join와 동작이 동일한걸까요? 둘의 차이점이 멀까요?

  • sql
  • postgresql
  • dbms/rdbms
알고리즘가즈앙 댓글 1 좋아요 0 조회수 183

인기 태그

인프런 TOP Writers

주간 인기글