경고는 무엇을 의미합니까?Toad for Oracle Formatter에 대한 조언
두 번째 예제가 첫 번째 예제보다 더 나쁜 이유는 무엇입니까?
SELECT product_id, prod.name name, sample_id
FROM lims.sample JOIN lims.product prod USING (product_id)
대
SELECT product_id, prod.name name, sample_id
FROM (SELECT sample_id, product_id FROM lims.sample)
JOIN lims.product prod
/* ADVICE: [131] This item has not been declared, or it refers to a label */
USING (product_id)
/* ADVICE:
ADVICE SUMMARY
Count Recommendation
----- --------------
1 [131] This item has not been declared, or it refers to a label
The Oracle equivalent error messages are PLS-00320 and
PLS-0321.
*/
는 참고 : 두 쿼리가 잘 실행하고 동일한 결과를 반환합니다.
추측을 환영합니다. – Steven