IM具有我的查詢一點語法問題(簡化): select *
from table1 t1
inner join table2 t2 using (pk1)
inner join table3 t3 using (pk2)
where not exists (select1 from table4 t4 where t4.pk1 = t1.pk1)
通過使用 「使用」 關鍵字時,oracl
所以我在我的Oracle數據庫中的以下用戶定義類型: CREATE OR REPLACE TYPE METRIC_IMPERIAL_DISTANCE AS OBJECT
(
METERS_FEET INTEGER,
CENTIMETERS_INCHES INTEGER,
FRACTION NUMBER
)
我可以做到以下幾點: SELECT t_id, get_
我嘗試重用一些列我在甲骨文SQL動態計算,像 SELECT
A*2 AS P,
P+5 AS Q
FROM tablename
其中「表名」有一個名爲「A」柱,但沒有其他colums。這給了我一個 ORA-00904: "P": invalid identifier
我知道如何解決這個使用子查詢像 SELECT P, P+5 AS Q
FROM (SELECT A*
使用布爾類型有參數布爾一個PL/SQL函數: function get_something(name in varchar2, ignore_notfound in boolean);
此功能的第三方工具的一部分,我無法改變這一點。 我想用一個SELECT語句像這裏面的這個功能: select get_something('NAME', TRUE) from dual;
這是不行的,我得到