I'm very new to SQL and was wondering if someone could direct me on how to obtain specific rows of data using the WHERE clause of an SQL file. This is my current WHERE clause:
CREATE or REPLACE view V_Status1
AS
SELECT
A.C0401_aid, B.C0401_description DESCR,
A.c0432_date DATEREQUIRED, A.C0432_sampl_value_r
FROM vhis_data A, T0401_accounts B
WHERE A.C0401_aid = B.C0401_aid
AND (B.C0401_aid = 5486 OR B.C0401_aid = 5489 OR B.C0401_aid = 5490);
5486, 5489 and 5490 represent the accounts that I need data from, but my current clause does not make sense for what I want. I need the data from all three accounts not just one. Please let me know if you need any clarification.