QUERY1 SQL↓
select NUMBER1 from (select *, row_number() over (partition by AAA order by AAA desc) p
from BBB t)
where p = 1
  and AAA = :AAA→找出AAA栏位中最新的一笔资料
ORACLE
NUMBER1 型态NUMBER(7)DELPHI 程式
QUERY1.OPEN;
QUERY1.ParamByName('AAA').AsString := EDIT2.TEXT;
EDIT.TEXT := inttostr(round(Query1NUMBER1.Value));→这里输出是0
想输出NUMBER1的值,但EDUT输出却是0,请问为什么会这样呢??