전체 글 68

[SQL50] 1251. Average Selling Price

난이도: EASY 문제 링크: https://leetcode.com/problems/average-selling-price/description/?envType=study-plan-v2&envId=top-sql-50문제더보기Table: Prices+---------------+---------+ | Column Name   | Type    | +---------------+---------+ | product_id    | int     | | start_date    | date    | | end_date      | date    | | price         | int     | +---------------+---------+ (product_id, start_date, end_date) i..

[SQL50] 620. Not Boring Movies

난이도: EASY 문제 링크: https://leetcode.com/problems/not-boring-movies/description/?envType=study-plan-v2&envId=top-sql-50문제더보기Table: Cinema+----------------+----------+ | Column Name    | Type     | +----------------+----------+ | id             | int      | | movie          | varchar  | | description    | varchar  | | rating         | float    | +----------------+----------+ id is the primary key (c..

[SQL50] 1729. Find Followers Count

난이도: EASY 문제 링크: https://leetcode.com/problems/find-followers-count/?envType=study-plan-v2&envId=top-sql-50문제더보기Table: Followers+-------------+------+ | Column Name | Type | +-------------+------+ | user_id     | int  | | follower_id | int  | +-------------+------+(user_id, follower_id) is the primary key (combination of columns with unique values) for this table. This table contains the IDs of ..

[SQL50] 596. Classes More Than 5 Students

난이도: EASY 문제 링크: https://leetcode.com/problems/classes-more-than-5-students/description/?envType=study-plan-v2&envId=top-sql-50문제더보기Table: Courses+-------------+---------+ | Column Name | Type    | +-------------+---------+ | student     | varchar | | class       | varchar | +-------------+---------+ (student, class) is the primary key (combination of columns with unique values) for this table. ..

[SQL50] 1141. User Activity for the Past 30 Days I

난이도: EASY 문제 링크: https://leetcode.com/problems/user-activity-for-the-past-30-days-i/description/?envType=study-plan-v2&envId=top-sql-50문제더보기Table: Activity +---------------+---------+ | Column Name   | Type    | +---------------+---------+ | user_id       | int     | | session_id    | int     | | activity_date | date    | | activity_type | enum    | +---------------+---------+ This table may hav..

[SQL50] 2356. Number of Unique Subjects Taught by Each Teacher

난이도: EASY 문제 링크: https://leetcode.com/problems/number-of-unique-subjects-taught-by-each-teacher/description/?envType=study-plan-v2&envId=top-sql-50문제더보기Table: Teacher+-------------+------+ | Column Name | Type | +-------------+------+ | teacher_id  | int  | | subject_id  | int  | | dept_id     | int  | +-------------+------+ (subject_id, dept_id) is the primary key (combinations of columns with ..

[Screen Widget] if 위젯 사용하기

https://learn.outsystems.com/ko-kr/training/journeys/web-developer-662/demo-how-to-use-a-if-widget/o11/573 if 를 두 번 클릭시 조건설정 가능.  Number가 0인지 확인.True일 경우 문구 출력하도록 수정. 기본값이 0이므로 문구출력.Increment 클릭시 해당 문구 제거됨을 확인.Decrement를 클릭하여 다시 0이되면 문구 재출력.  False 분기 안에 양수인지를 구분하는 if위젯 추가. publish하여 브라우저에서 확인. Increment, Decrement를 통해 Number조정시 0인지 양수인지 음수인지 알려주는 문자가 정상적으로 출력됨. 현재 Number를 보여주고 싶으면 Expression 위젯..

Outsystems 2025.02.24

[Screen Widget] Link와 Button 사용하기

https://learn.outsystems.com/ko-kr/training/journeys/web-developer-662/demo-how-to-use-a-link-and-button-widgets/o11/571 링크와 버튼은 비슷하게 사용할 수 있음. 가끔 차이점이나 같은점 물어보는 문제가 있어서 비교차 적어봄.Link는 폼 내부에 넣어도 별다른 영향 없으나, Button은 기본적으로 폼 제출(Submit) 기능.Link 사용페이지 이동이 목적일 때 (예: 홈, 마이페이지, 로그인 페이지 이동)외부 URL로 이동해야 할 때 (www.google.com 같은 외부 링크)네비게이션 메뉴에 사용할 때Button 사용데이터를 저장하거나 폼을 제출할 때 (제출, 등록, 저장 버튼)특정 이벤트를 실행할 때 (..

Outsystems 2025.02.24

[Integrity] Entity 인덱스(+ 참조 무결성)

Entity 인덱스와 엔티티 간의 참조 무결성https://learn.outsystems.com/ko-kr/training/journeys/web-developer-662/data-model-integrity/o11/192  Index(인덱스): DB테이블에서 데이터를 빠르게 검색하기 위해 DB에서 사용하는 데이터 구조.=> 아웃시스템에서는 Entity에서 인덱스를 사용할 수 있다. 인덱스를 생성하는 이유1인덱스 사용시 검색속도 향상, but 추가 비용 발생.- 특성 속성 집합에 대해 인덱스가 정의되어 있으면 해당 속성을 기반으로 데이터를 선택할 때 데이터 검색 속도가 빨라짐.=> reference attribute가 좋은 예, 이러한 인덱스가 자동으로 생성되는 이유.- 사용자 인덱스를 따로 만들 수 있..

Outsystems 2025.02.21

[Entity] Static Entity(정적 엔터티) 만들기

Static Entity(정적 엔터티):애플리케이션에서 사용할 수 있는 미리 정의된 값 목록을 생성하는 특수한 유형의 엔터티. - 정적 엔터티에는 Attributes와 Records가 있으며, static 특성이 있어 런타임에 Records를 변경할 수 없다. 설계(디자인), 개발 중에만 변경 가능.=> 정적 엔터티에는 엔터티 액션이 [get엔터티명] 1개만 있다. - 정적 엔터티는 4가지 기본 속성이 생성됨(Id, Label, Order, Is_Active). => 다른 속성도 추가 가능. - 모든 레코드에는 고유 식별자가 있으며, 애플리케이션 로직에서는 실제 레코드 ID 대신 이 식별자를 사용할 수 있음. => 기억하기 쉽고 애플리케이션 코드를 작성하기 쉬움.Static Entity 만드는 법 Dat..

Outsystems 2025.02.20