CREATE VIEW NiceList AS
SELECT * FROM Children
WHERE behavior > 2000
AND parent.income > 40000;
CREATE VIEW NaughtyList AS
SELECT * FROM Children
WHERE behavior <= 2000;
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments