List the agents that accessed the information system. Do not use equality sign in your condition.The query should return the AGENT_ID, INFORMATION_ID and GLEANED_DATE.
DROP TABLE ANSW;
CREATE TABLE ANSW
AS
SELECT
AGENT_ID,
INFORMATION_ID
FROM
INFO_ACCESS
;
SELECT
GLEANED_DATE
FROM
INFORMATION
WHERE
AGENT_ID IN
(
SELECT
AGENT_ID
FROM
ANSW
)
;
SELECT
ANSW.AGENT_ID,
ANSW.INFORMATION_ID,
INFORMATION.GLEANED_DATE
FROM
ANSW
INNER JOIN
INFORMATION
USING
(AGENT_ID)
;
Could not get the answer.
Please help!
[Edit MC: add code tags, do it yourself next time]
[Updated on: Sun, 31 August 2008 23:57] by Moderator
Report message to a moderator