Get the App
SLTechnology News&Howtos  ›  Database  › 

Example Analysis of Table Link proc sql

Shulou Source: shulou.com Published: 2022-05-31 11:34:36 10月03日 Update

This article shares with you the content of a sample analysis of table linking proc sql. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

/ * 21.1.1 simple connection * / proc sql;select * from resdat.china, resdat.usa;quit/*21.1.3 internal connection * / proc sql;select * from resdat.china, resdat.usawhere china.level=usa.level;quit;/*21.1.3.1 uses the alias of the table * / proc sql;select * from resdat.china as a, resdat.usa as bwhere a. Levellevelb.levelquitoes * * 21.1.3.2 use aliases for self-join of tables * / proc sql Select * from resdat.china a, resdat.china bwhere a.level

Tags: Programs queries operators multiple cases examples table chains analysis content aliases data more articles observations good practical special same two functions Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Docker Redmi Apple MariaDB