수색…
SELECT 문
SELECT는 하나 또는 여러 데이터베이스 테이블에서 데이터 개체 로 데이터 를 읽는 Open-SQL 문입니다.
모든 레코드 선택
* This returns all records into internal table lt_mara. SELECT * FROM mara INTO lt_mara.단일 레코드 선택
* This returns single record if table consists multiple records with same key. SELECT SINGLE * INTO TABLE lt_mara FROM mara WHERE matnr EQ '400-500'.고유 레코드 선택
* This returns records with distinct values. SELECT DISTINCT * FROM mara INTO TABLE lt_mara ORDER BY matnr.집계 함수
* This puts the number of records present in table MARA into the variable lv_var SELECT COUNT( * ) FROM mara INTO lv_var.
Modified text is an extract of the original Stack Overflow Documentation
아래 라이선스 CC BY-SA 3.0
와 제휴하지 않음 Stack Overflow