Dev Hyeri

전체 글 481

[SQL KIT] (2024) 오프라인/온라인 판매 데이터 통합하기(설명/코드/정답)

문제 링크 : https://school.programmers.co.kr/learn/courses/30/lessons/131537 POINT. 날짜 함수 UNION 코드. SELECT DATE_FORMAT(SALES_DATE, '%Y-%m-%d') AS SALES_DATE, PRODUCT_ID, USER_ID, SALES_AMOUNT FROM ONLINE_SALE WHERE SALES_DATE LIKE ('2022-03%') UNION SELECT DATE_FORMAT(SALES_DATE, '%Y-%m-%d') AS SALES_DATE, PRODUCT_ID, NULL AS USER_ID, SALES_AMOUNT FROM OFFLINE_SALE WHERE SALES_DATE LIKE ('2022-03%')..

[영국영어] 마지막 순간 eleventh hours(+ 예문)

at the eleventh hours = at the last moment 마지막 순간, 마지막 기회 막판에 Even at the eleventh hours, it's not too late, you know. 거의 마지막 순서, 아직 안 늦었어. Have you finished the project report? 프로젝트 보고서 끝냈어? I just submitted it at the eleventh hour. It was a close call. 나는 방금 제출했어. 간신히 마무리했어. How did the negotiation with the client go? 거래 협상은 어떻게 진행됐어? It was tough, but we reached an agreement at the eleventh h..

[영국영어] 누군가를 자주 보다 see more of somebody(+ 예문)

see more of somebody hear more of somebody 누군가를 자주 보다 So this it is, then? the big day. I suppose I'll be seeing a lot more of you from now on. 어쨌는, 그날이네요? 중요한 날 말이에요. 앞으로 당신을 더 자주 보겠네요. How do you balance your professional and personal life? 일과 삶의 균형을 어떻게 맞추고 있나요? It's important to me. I make sure to manage my time efficiently, allowing me to see more of my family during evenings. 그건 제게 중요해요. 효..

[영국영어] 가정에서 느끼는 행복 domestic bliss (+ 예문)

domestic bliss 가정에서 느끼는 행복, 결혼 You've been glowing lately. Anything special going on? 요즘 얼굴이 좋은데, 무슨 특별한 일이라도 있어? Just celebrating some personal victories. It adds to the overall sense of domestic bliss. 그냥 몇 가지 개인적인 성취를 축하하고 있어. 결혼생활도 평탄하고. Any plans for the weekend? 주말에 뭐 할 거야. Just a quiet weekend at home, maybe a movie night. Sometimes, that's the epitome of domestic bliss. 그냥 집에서 조용한 주말, 아마..

[영국영어]하던 거 계속 하세요 I'd better let you get back to it(+ 예문)

I'd better let you get back to it = I'll leave you to it 하던 거 계속 하세요 Well, I'd better let you get back to it. You have a big speech or something, don't you? 음, 하던 거 계속 해. 중요한 연설도 있고 할 게 많은 텐데. Thanks for explaining the new feature. I know you're busy with your own coding tasks. 새로운 기능 설명해 줘서 고마워요. 업무 때문에 바쁘시죠. No problem at all. I'd better let you get back to it. 아무 문제 없어요. 하던 거 계속하세요 Thanks for..

[영국영어] 어울리다 mingle (+ 예문)

mingle 섞이다, 어울리다 I heard there's a startup meetup happening tomorrow. Are you going to mingle and explore potential collaborations? 내일 스타트업 밋업이 있다고 하던데. 참여해서 다른 멤버들과 어울려볼 생각이야? Absolutely. Startups always have fresh ideas. I'll mingle and see if there are any exciting projects to collaborate on. 완전. 스타트업들은 항상 참신한 아이디어를 가지고 있어. 어울려서 협업할 만한 흥미로운 프로젝트가 있는지 봐야겠어. There's a technology conference next..

[영국영어] 시작하다 begin a new chapter (+ 예문)

begin a new chapter start a new chapter 시작하다, 새로운 장을 열다 Heard you're leaving the company. What's next for you? 퇴사하신다고 들었어요. 앞으로 뭐할 거예요? Yeah, it's time for a change. I've decided to begin a new chapter and explore opportunities in a different industry 맞아, 변화할 때가 됐어. 새로운 장을 시작하고 다른 산업에서 기회를 모색하기로 했어요. You've been attending industry conferences. Planning a career shift? 산업 콘퍼런스 참석하고 있잖아요. 커리어 전환할 ..

[영국영어] 사람들이 보통 하는 것 What people do(+ 예문)

What people do 사람들이 보통 하는 것 This is what people do, Sherlock. They get merried. I warned you, don't get involved. 사람들은 보통 한다고 셜록. 결혼을. 난 경고했다 엮이지 말라고. I was reading about AI algorithms in social media. Do you know what people do with the insight gained from analyzing user behavior? SNS에서 AI 알고리즘에 대해 읽고 있었어. 사용자 행동 분석에서 얻은 통찰을 어떻게 활용하는지 알고 있어? Absolutely. Businesses use it to tailor advertisement..

[SQL KIT] (2024) 재구매가 일어난 상품과 회원 리스트 구하기

문제 링크 : https://school.programmers.co.kr/learn/courses/30/lessons/131536 답. SELECT USER_ID, PRODUCT_ID FROM ONLINE_SALE GROUP BY USER_ID, PRODUCT_ID HAVING COUNT(USER_ID) > 1 ORDER BY USER_ID ASC, PRODUCT_ID DESC 내부 동작 순서 1. FROM 절 2. GROUP BY 절 USER_ID 별로 행을 묶고, 그 안에서 PRODUCT_ID 별로 묶는다 3. HAVING 절 재구매 고객은 하나 이상의 기록이 남았을 테니 GROUP BY에서 USER_ID별로 그룹화한 것이 2개부터인 행만 필터링한다 4. SELECT 절 5. ORDER BY 절 US..

[SQL KIT] (2024) 서울에 위치한 식당 목록 출력하기

문제 링크 : https://school.programmers.co.kr/learn/courses/30/lessons/131118 답. SELECT REST_ID,REST_NAME, FOOD_TYPE, FAVORITES, ADDRESS, ROUND(AVG(REVIEW_SCORE), 2) SCORE FROM REST_INFO JOIN REST_REVIEW USING(REST_ID) WHERE ADDRESS LIKE '서울%' GROUP BY REST_ID ORDER BY SCORE DESC, FAVORITES DESC 내부 동작 순서 1. FROM 절 REST_INFO 테이블의 별칭을 I 로하고 REST_REVIEW 테이블의 별칭을 R로 하며 그 둘을 NNER JOIN 한다. 2. WHERE 절 ADDRE..